Skip to content

Commit 6233321

Browse files
committed
Version 1.3.0
1 parent 3e340b1 commit 6233321

File tree

2 files changed

+20
-13
lines changed

2 files changed

+20
-13
lines changed

CHANGELOG.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,20 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
55

66
## [Unreleased]
77
### Added
8-
- Allow usage of table prefixes and custom encoding.
9-
- Add error message when trying to use getUpdates without database connection.
108
### Changed
11-
- Bumped to core version 0.54.0
12-
- Bumped dependencies.
139
### Deprecated
1410
### Removed
1511
### Fixed
1612
### Security
1713

14+
## [1.3.0] - 2018-07-21
15+
### Added
16+
- Allow usage of table prefixes and custom encoding.
17+
- Add error message when trying to use getUpdates without database connection.
18+
### Changed
19+
- Bumped to core version 0.54.0
20+
- Bumped dependencies.
21+
1822
## [1.2.2] - 2017-08-26
1923
### Added
2024
- Linked version numbers in changelog for easy verification of code changes.
@@ -121,6 +125,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
121125
[0.44.0-bc-parameter-structure]: https://github.com/php-telegram-bot/telegram-bot-manager/wiki/Breaking-backwards-compatibility#parameter-structure-changed "Parameter structure changed"
122126

123127
[Unreleased]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/master...develop
128+
[1.3.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.2.2...1.3.0
124129
[1.2.2]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.2.1...1.2.2
125130
[1.2.1]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.2.0...1.2.1
126131
[1.2.0]: https://github.com/php-telegram-bot/telegram-bot-manager/compare/1.1.0...1.2.0

README.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Installation and usage is pretty straight forward:
2020
Either run this command in your command line:
2121

2222
```bash
23-
composer require php-telegram-bot/telegram-bot-manager:^1.2
23+
composer require php-telegram-bot/telegram-bot-manager:^1.3
2424
```
2525

2626
**or**
@@ -29,7 +29,7 @@ For existing Composer projects, edit your project's `composer.json` file to requ
2929

3030
```yaml
3131
"require": {
32-
"php-telegram-bot/telegram-bot-manager": "^1.2"
32+
"php-telegram-bot/telegram-bot-manager": "^1.3"
3333
}
3434
```
3535
and then run `composer update`
@@ -42,12 +42,12 @@ It is possible however, to override the core version that this library requires:
4242

4343
```yaml
4444
"require": {
45-
"php-telegram-bot/telegram-bot-manager": "^1.2",
46-
"longman/telegram-bot": "dev-develop as 0.52"
45+
"php-telegram-bot/telegram-bot-manager": "^1.3",
46+
"longman/telegram-bot": "dev-develop as 0.54"
4747
}
4848
```
4949

50-
This example will pull the develop version of the core library, making it appear to be version 0.48, which then satisfies the requirement.
50+
This example will pull the develop version of the core library, making it appear to be version 0.54, which then satisfies the requirement.
5151

5252
### Performing actions
5353

@@ -247,11 +247,12 @@ $bot = new BotManager([
247247
// (array) Mysql credentials to connect a database (necessary for [`getUpdates`](#using-getupdates-method) method!).
248248
'mysql' => [
249249
'host' => '127.0.0.1',
250+
'port' => 3306, // optional
250251
'user' => 'root',
251252
'password' => 'root',
252253
'database' => 'telegram_bot',
253-
'table_prefix' => 'tbl_prfx_', // optional
254-
'encoding' => 'utf8mb4', // optional
254+
'table_prefix' => 'tbl_prfx_', // optional
255+
'encoding' => 'utf8mb4', // optional
255256
],
256257

257258
// (array) List of configurable paths.
@@ -318,11 +319,12 @@ $bot = new BotManager([
318319
// Extras.
319320
'mysql' => [
320321
'host' => '127.0.0.1',
322+
'port' => 3306, // optional
321323
'user' => 'root',
322324
'password' => 'root',
323325
'database' => 'telegram_bot',
324-
'table_prefix' => 'tbl_prfx_', // optional
325-
'encoding' => 'utf8mb4', // optional
326+
'table_prefix' => 'tbl_prfx_', // optional
327+
'encoding' => 'utf8mb4', // optional
326328
],
327329
]);
328330
```

0 commit comments

Comments
 (0)