Skip to content

Commit ddf5729

Browse files
committed
Upgrade changelog and add "Notes" section to make it more useful for external integrations.
1 parent 2511406 commit ddf5729

File tree

1 file changed

+68
-12
lines changed

1 file changed

+68
-12
lines changed

CHANGELOG.md

Lines changed: 68 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,17 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
77
### Added
88
### Changed
99
- Touched up readme including header and badges.
10+
- Updated changelog to be more useful for external integrations like [Tidelift] and GitHub releases.
1011
### Deprecated
1112
### Removed
1213
- Abstract methods from `InputMedia` interface, as method annotations didn't work for propagation.
1314
### Fixed
1415
### Security
1516

1617
## [0.58.0] - 2019-06-26
17-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.58.0-sql-migration] on your database.
18+
### Notes
19+
- [:ledger: View full changelog][0.58.0][:page_with_curl: DB migration script][0.58.0-sql-migration]
20+
- Logging now uses [PSR-3] `LoggerInterface`. Learn more about how to use it here: #964
1821
### Added
1922
- New funding and support details. (#971)
2023
- Custom issue templates. (#972)
@@ -35,13 +38,16 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
3538
- Broken `StickerSet::getStickers()` method. (#969)
3639
- Smaller code and docblock fixes. (#973)
3740
### Security
38-
- Security disclosure managed by Tidelift. (#971)
41+
- Security disclosure managed by [Tidelift]. (#971)
3942
- Don't allow a user to call system commands directly. (#970)
4043

4144
## [0.57.0] - 2019-06-01
42-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.57.0-sql-migration] on your database.
45+
### Notes
46+
- [:ledger: View full changelog][0.57.0][:page_with_curl: DB migration script][0.57.0-sql-migration]
47+
- :grey_exclamation: This is a big update and involves a bunch of MySQL database updates, so please *review the changelog carefully*.
48+
4349
### Added
44-
- New logo! (#954)
50+
- New logo! :tada: (#954)
4551
- Bot API 4.2 (Polls). (#948)
4652
- `getIsMember()` method to `ChatMember` entity. (#948)
4753
- `getForwardSenderName()` method to `Message` entity. (#948)
@@ -52,8 +58,11 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
5258
- Missing DB table name specifier in `/cleanup` command. (#947)
5359

5460
## [0.56.0] - 2019-04-15
61+
### Notes
62+
- [:ledger: View full changelog][0.56.0][:page_with_curl: DB migration script][0.56.0-sql-migration]
63+
- :grey_exclamation: This is a big update, so please *review the changelog carefully*!
5564
### Added
56-
- Helper for sending `InputMedia` objects using `Request::sendMediaGroup()` and `Request::editMediaMessage()` methods. (#934)
65+
- Helper for sending `InputMedia` objects using `Request::sendMediaGroup()` and `Request::editMediaMessage()` methods.
5766
- Allow passing absolute file path for InputFile fields, instead of `Request::encodeFile($path)`. (#934)
5867
### Changed
5968
- All Message field types dynamically search for an existing Command class that can handle them. (#940)
@@ -67,13 +76,16 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
6776
- PHPCS: static before visibility declaration. (#945)
6877

6978
## [0.55.1] - 2019-01-06
79+
### Notes
80+
- [:ledger: View full changelog][0.55.1]
7081
### Added
7182
- Add missing `Request::editMessageMedia()` and `CallbackQuery::getChatInstance()` methods. (#916)
7283
### Fixed
7384
- Return correct message type. (#913)
7485

7586
## [0.55.0] - 2018-12-20
76-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.55.0-sql-migration] on your database.
87+
### Notes
88+
- [:ledger: View full changelog][0.55.0][:page_with_curl: DB migration script][0.55.0-sql-migration]
7789
### Added
7890
- Bot API 4.0 and 4.1 (Telegram Passport) (#870, #871)
7991
- Test PHP 7.3 with Travis. (#903)
@@ -83,11 +95,14 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
8395
- Added missing `video_note` to `Message` types.
8496

8597
## [0.54.1] - 2018-10-23
98+
### Notes
99+
- [:ledger: View full changelog][0.54.1]
86100
### Fixed
87101
- `sendToActiveChats` now works correctly for any valid Request action. (#898)
88102

89103
## [0.54.0] - 2018-07-21
90-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.54.0-sql-migration] on your database.
104+
### Notes
105+
- [:ledger: View full changelog][0.54.0][:page_with_curl: DB migration script][0.54.0-sql-migration]
91106
### Added
92107
- `ChatAction` class to simplify chat action selection. (#859)
93108
- Telegram Games platform! (#732)
@@ -100,7 +115,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
100115
- Response from `getStickerSet`. (#838)
101116

102117
## [0.53.0] - 2018-04-01
103-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.53.0-sql-migration] on your database.
118+
### Notes
119+
- [:ledger: View full changelog][0.53.0][:page_with_curl: DB migration script][0.53.0-sql-migration]
104120
### Added
105121
- Implemented new changes for Bot API 3.6 (streamable InputMediaVideo, connected website). (#799)
106122
- `Telegram::getLastUpdateId()` method, returns ID of the last update that was processed. (#767)
@@ -115,17 +131,22 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
115131
- Send messages correctly via `/sendtochannel`. (#803)
116132

117133
## [0.52.0] - 2018-01-07
134+
### Notes
135+
- [:ledger: View full changelog][0.52.0]
118136
### Fixed
119137
- Entity relations and wrong types for payments. (#731)
120138
- Allow empty string for `switch_inline_query` and `switch_inline_query_current_chat` (InlineKeyboardButton). (#736)
121139
- Fix empty date entry for User and Chat entities, using the current timestamp instead. (#738)
122140

123141
## [0.51.0] - 2017-12-05
124-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.51.0-sql-migration] on your database.
142+
### Notes
143+
- [:ledger: View full changelog][0.51.0][:page_with_curl: DB migration script][0.51.0-sql-migration]
125144
### Added
126145
- Implemented new changes for Bot API 3.5 (InputMedia, MediaGroup). (#718)
127146

128147
## [0.50.0] - 2017-10-17
148+
### Notes
149+
- [:ledger: View full changelog][0.50.0]
129150
### Added
130151
- Finish implementing payments, adding all missing type checks and docblock methods. (#647)
131152
- Implemented new changes for Bot API 3.4 (Live Locations). (#675)
@@ -137,6 +158,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
137158
- Check inline keyboard button parameter value correctly. (#672)
138159

139160
## [0.49.0] - 2017-09-17
161+
### Notes
162+
- [:ledger: View full changelog][0.49.0]
140163
### Added
141164
- Donation section and links in readme.
142165
- Missing payment methods in `Request` class.
@@ -148,7 +171,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
148171
- Channel selection when using `DB::selectChats()`.
149172

150173
## [0.48.0] - 2017-08-26
151-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.48.0-sql-migration] on your database.
174+
### Notes
175+
- [:ledger: View full changelog][0.48.0][:page_with_curl: DB migration script][0.48.0-sql-migration]
152176
### Added
153177
- New entities, methods, update types and inline keyboard button for Payments (Bot API 3.0).
154178
- Add new methods, fields and objects for working with stickers (Bot API 3.2).
@@ -160,12 +184,16 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
160184
- Correctly save `reply_to_message` to DB.
161185

162186
## [0.47.1] - 2017-08-06
187+
### Notes
188+
- [:ledger: View full changelog][0.47.1]
163189
### Added
164190
- Linked version numbers in changelog for easy verification of code changes.
165191
### Fixed
166192
- Private-only commands work with edited messages now too.
167193

168194
## [0.47.0] - 2017-08-06 [YANKED]
195+
### Notes
196+
- [:ledger: View full changelog][0.47.0]
169197
### Changed
170198
- Updated readme to latest state of 0.47.0.
171199
### Fixed
@@ -175,6 +203,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
175203
- [:exclamation:][0.47.0-bc-private-only-admin-commands] New command parameter `$private_only` to enforce usage in private chats only (set by default for Admin commands).
176204

177205
## [0.46.0] - 2017-07-15
206+
### Notes
207+
- [:ledger: View full changelog][0.46.0]
178208
### Added
179209
- Callbacks can be added to be executed when callback queries are called.
180210
- New Bot API 3.1 changes (#550).
@@ -183,7 +213,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
183213
- [:exclamation:][0.46.0-bc-request-class-refactor] Big refactor of the `Request` class, removing most custom method implementations.
184214

185215
## [0.45.0] - 2017-06-25
186-
:exclamation: After updating to this version, you will need to execute the [SQL migration script][0.45.0-sql-migration] on your database.
216+
### Notes
217+
- [:ledger: View full changelog][0.45.0][:page_with_curl: DB migration script][0.45.0-sql-migration]
187218
### Added
188219
- Documents can be sent by providing its contents via Psr7 stream (as opposed to passing a file path).
189220
- Allow setting a custom Guzzle HTTP Client for requests (#511).
@@ -204,10 +235,14 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
204235
- Request limiter has been fixed to correctly support channels.
205236

206237
## [0.44.1] - 2017-04-25
238+
### Notes
239+
- [:ledger: View full changelog][0.44.1]
207240
### Fixed
208241
- Erroneous exception when using webhook without a database connection.
209242

210243
## [0.44.0] - 2017-04-25
244+
### Notes
245+
- [:ledger: View full changelog][0.44.0]
211246
### Added
212247
- Proper standalone `scrutinizer.yml` config.
213248
- Human-readable `last_error_date_string` for debug command.
@@ -219,6 +254,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
219254
- [:exclamation:][0.44.0-bc-update-content-type] Format of Update content type using `$update->getUpdateContent()`.
220255

221256
## [0.43.0] - 2017-04-17
257+
### Notes
258+
- [:ledger: View full changelog][0.43.0]
222259
### Added
223260
- Travis CI webhook for Support Bot.
224261
- Interval for request limiter.
@@ -232,6 +269,8 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
232269
- Prevent handling the same Telegram updates multiple times, throw exception instead.
233270

234271
## [0.42.0] - 2017-04-09
272+
### Notes
273+
- [:ledger: View full changelog][0.42.0]
235274
### Added
236275
- Added `getBotId()` to directly access bot ID.
237276
### Changed
@@ -242,22 +281,30 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
242281
- Tests are more reliable now, using a properly formatted API key.
243282

244283
## [0.41.0] - 2017-03-25
284+
### Notes
285+
- [:ledger: View full changelog][0.41.0]
245286
### Added
246287
- `$show_in_help` attribute for commands, to set if it should be displayed in the `/help` command.
247288
- Link to new Telegram group: `https://telegram.me/PHP_Telegram_Bot_Support`
248289
- Introduce change log.
249290

250291
## [0.40.1] - 2017-03-07
292+
### Notes
293+
- [:ledger: View full changelog][0.40.1]
251294
### Fixed
252295
- Infinite message loop, caused by incorrect Entity variable.
253296

254297
## [0.40.0] - 2017-02-20
298+
### Notes
299+
- [:ledger: View full changelog][0.40.0]
255300
### Added
256301
- Request limiter for incoming requests.
257302
### Fixed
258303
- Faulty formatting in logger.
259304

260305
## [0.39.0] - 2017-01-20
306+
### Notes
307+
- [:ledger: View full changelog][0.39.0]
261308
### Added
262309
- Newest bot API changes.
263310
- Allow direct access to PDO object (`DB::getPdo()`).
@@ -270,10 +317,14 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
270317
- Various bugs and recommendations by Scrutinizer.
271318

272319
## [0.38.1] - 2016-12-25
320+
### Notes
321+
- [:ledger: View full changelog][0.38.1]
273322
### Fixed
274323
- Usage of self-signed certificates in conjunction with the new `allowed_updates` webhook parameter.
275324

276325
## [0.38.0] - 2016-12-25
326+
### Notes
327+
- [:ledger: View full changelog][0.38.0]
277328
### Added
278329
- New `switch_inline_query_current_chat` option for inline keyboard.
279330
- Support for `channel_post` and `edited_channel_post`.
@@ -282,17 +333,21 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
282333
- Update WebhookInfo entity and `setWebhook` to allow passing of new arguments.
283334

284335
## [0.37.1] - 2016-12-24
336+
### Notes
337+
- [:ledger: View full changelog][0.37.1]
285338
### Fixed
286339
- Keyboards that are built without using the KeyboardButton objects.
287340
- Commands that are called via `/command@botname` by correctly passing them the bot name.
288341

289342
## [0.37.0] - 2016-12-13
343+
### Notes
344+
- [:ledger: View full changelog][0.37.0]
290345
### Changed
291346
- Logging improvements to Botan integration.
292347
### Deprecated
293348
- Move `hideKeyboard` to `removeKeyboard`.
294349

295-
[0.58.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/develop/utils/db-schema-update/0.57.0-0.58.0.sql
350+
[0.58.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.57.0-0.58.0.sql
296351
[0.58.0-bc-return-value-of-empty-entity-properties]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#return-value-of-empty-entity-properties
297352
[0.58.0-bc-startcommand-is-now-a-usercommand]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#startcommand-is-now-a-usercommand
298353
[0.57.0-sql-migration]: https://github.com/php-telegram-bot/core/tree/master/utils/db-schema-update/0.56.0-0.57.0.sql
@@ -314,6 +369,7 @@ Exclamation symbols (:exclamation:) note something of importance e.g. breaking c
314369
[0.44.0-bc-update-content-type]: https://github.com/php-telegram-bot/core/wiki/Breaking-backwards-compatibility#update-getupdatecontent
315370
[example-bot]: https://github.com/php-telegram-bot/example-bot
316371
[PSR-3]: https://www.php-fig.org/psr/psr-3
372+
[Tidelift]: https://tidelift.com/subscription/pkg/packagist-longman-telegram-bot?utm_source=packagist-longman-telegram-bot&utm_medium=referral&utm_campaign=changelog
317373

318374
[Unreleased]: https://github.com/php-telegram-bot/core/compare/master...develop
319375
[0.58.0]: https://github.com/php-telegram-bot/core/compare/0.57.0...0.58.0

0 commit comments

Comments
 (0)