Skip to content

Commit 6351dc3

Browse files
committed
Merge branch 'develop' into add_missing_db_fields
2 parents 24ce6b7 + 488f68d commit 6351dc3

36 files changed

+626
-180
lines changed

CHANGELOG.md

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,40 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
66
## [Unreleased]
77
:exclamation: After updating to this version, you will need to execute the [SQL migration script][unreleased-sql-migration] on your database.
88
### Added
9+
- Bot API 4.2 (Polls).
10+
- `getIsMember()` method to `ChatMember` entity.
11+
- `getForwardSenderName()` method to `Message` entity.
12+
- `forward_sender_name` (and forgotten `forward_signature`) DB fields.
913
- Added missing API fields to Entities and DB.
1014
- Created database tables for `shipping_query` and `pre_checkout_query`.
1115
### Changed
1216
### Deprecated
1317
### Removed
1418
### Fixed
19+
- Missing DB table name specifier in `/cleanup` command. (#947)
1520
### Security
1621

22+
## [0.56.0] - 2019-04-15
23+
### Added
24+
- Helper for sending `InputMedia` objects using `Request::sendMediaGroup()` and `Request::editMediaMessage()` methods. (#934)
25+
- Allow passing absolute file path for InputFile fields, instead of `Request::encodeFile($path)`. (#934)
26+
### Changed
27+
- All Message field types dynamically search for an existing Command class that can handle them. (#940)
28+
- Upgrade dependencies. (#945)
29+
### Deprecated
30+
- Botan.io service has been discontinued. (#925)
31+
- Most built-in System Commands will be handled by GenericmessageCommand by default in a future release and will require a custom implementation. (#940)
32+
### Fixed
33+
- Constraint errors in `/cleanup` command. (#930)
34+
- Return correct objects for requests. (#934)
35+
- PHPCS: static before visibility declaration. (#945)
36+
37+
## [0.55.1] - 2019-01-06
38+
### Added
39+
- Add missing `Request::editMessageMedia()` and `CallbackQuery::getChatInstance()` methods.
40+
### Fixed
41+
- Return correct message type.
42+
1743
## [0.55.0] - 2018-12-20
1844
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.55.0-sql-migration] on your database.
1945
### Added
@@ -230,7 +256,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
230256
### Deprecated
231257
- Move `hideKeyboard` to `removeKeyboard`.
232258

233-
[unreleased-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.55.0-unreleased.sql
259+
[unreleased-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/unreleased.sql
234260
[0.55.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.54.1-0.55.0.sql
235261
[0.55.0-bc-move-animation-out-of-games-namespace]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#move-animation-out-of-games-namespace
236262
[0.54.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.53.0-0.54.0.sql
@@ -250,6 +276,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
250276
[example-bot]: https://github.com/php-telegram-bot/example-bot
251277

252278
[Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop
279+
[0.56.0]: https://github.com/php-telegram-bot/core/compare/0.55.1...0.56.0
280+
[0.55.1]: https://github.com/php-telegram-bot/core/compare/0.55.0...0.55.1
253281
[0.55.0]: https://github.com/php-telegram-bot/core/compare/0.54.1...0.55.0
254282
[0.54.1]: https://github.com/php-telegram-bot/core/compare/0.54.0...0.54.1
255283
[0.54.0]: https://github.com/php-telegram-bot/core/compare/0.53.0...0.54.0

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@
2828
"ext-curl": "*",
2929
"ext-json": "*",
3030
"ext-mbstring": "*",
31-
"monolog/monolog": "^1.23",
31+
"monolog/monolog": "^1.24",
3232
"guzzlehttp/guzzle": "^6.3"
3333
},
3434
"require-dev": {
35-
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4",
36-
"squizlabs/php_codesniffer": "^3.3"
35+
"phpunit/phpunit": "^4.8|^5.7|^6.5|^7.4|^8.1",
36+
"squizlabs/php_codesniffer": "^3.4"
3737
},
3838
"autoload": {
3939
"psr-4": {

composer.lock

Lines changed: 87 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)