1 | # Change Log
|
2 |
|
3 | All notable changes to this project will be documented in this file.
|
4 | This project adheres to [Semantic Versioning](http://semver.org/).
|
5 |
|
6 | ## [0.56.0][0.56.0] - 2021-12-07
|
7 |
|
8 | Added:
|
9 |
|
10 | 1. Support Bot API v5.5: (@danielperez9430)
|
11 |
|
12 | * Add method *banChatSenderChat()*
|
13 | * Add method *unbanChatSenderChat()*
|
14 |
|
15 | Fixes:
|
16 |
|
17 | * Tests for support with new invite link format
|
18 |
|
19 | ## [0.55.0][0.55.0] - 2021-11-06
|
20 |
|
21 | Added:
|
22 |
|
23 | 1. Support Bot API v5.4: (@danielperez9430)
|
24 |
|
25 | * Add method *approveChatJoinRequest()*
|
26 | * Add method *declineChatJoinRequest()*
|
27 | * Add support for new updates:
|
28 | * *chat_join_request*
|
29 |
|
30 | Fixes:
|
31 |
|
32 | * Method *editMessageMedia*: Now you can send a local file (`"attach://" + filePatch`)
|
33 |
|
34 | ## [0.54.0][0.54.0] - 2021-06-29
|
35 |
|
36 | Added:
|
37 |
|
38 | 1. Support Bot API v5.3: (@danielperez9430)
|
39 |
|
40 | * Add method *deleteMyCommands()*
|
41 | * Add method *banChatMember()*
|
42 | * Add method *getChatMemberCount()*
|
43 |
|
44 | New Test:
|
45 |
|
46 | * deleteMyCommands
|
47 | * banChatMember
|
48 | * getChatMemberCount
|
49 |
|
50 | Deprecated:
|
51 | * Method *kickChatMember()*
|
52 | * Method *getChatMembersCount()*
|
53 |
|
54 | ## [0.53.0][0.53.0] - 2021-04-26
|
55 |
|
56 | Added:
|
57 |
|
58 | 1. Support Bot API v5.2:(@danielperez9430)
|
59 |
|
60 | * Add support for new messageTypes:
|
61 | * *voice_chat_scheduled*
|
62 |
|
63 | ## [0.52.0][0.52.0] - 2021-03-20
|
64 |
|
65 | Added:
|
66 |
|
67 | 1. Support Bot API v5.1: (by @danielperez9430)
|
68 |
|
69 | * Add method *createChatInviteLink()*
|
70 | * Add method *editChatInviteLink()*
|
71 | * Add method *revokeChatInviteLink()*
|
72 | * Add support for new messageTypes:
|
73 | * *voice_chat_started*
|
74 | * *voice_chat_ended*
|
75 | * *voice_chat_participants_invited*
|
76 | * *message_auto_delete_timer_changed*
|
77 | * *chat_invite_link*
|
78 | * *chat_member_updated*
|
79 | * Add support for new updates:
|
80 | * *my_chat_member*
|
81 | * *chat_member*
|
82 |
|
83 | New Test: (by @danielperez9430)
|
84 |
|
85 | * createChatInviteLink
|
86 | * editChatInviteLink
|
87 | * revokeChatInviteLink
|
88 |
|
89 | ## [0.51.0][0.51.0] - 2020-11-04
|
90 |
|
91 | Added:
|
92 |
|
93 | 1. Support Bot API v5.0: (by @danielperez9430)
|
94 |
|
95 | * Add method *copyMessage()*
|
96 | * Add method *unpinAllChatMessages()*
|
97 | * Add method *close()*
|
98 | * Add method *logOut()*
|
99 |
|
100 | Changed: (by @danielperez9430)
|
101 |
|
102 | * Remove trailing-spaces
|
103 | * Fix Bugs in Test
|
104 |
|
105 | New Test: (by @danielperez9430)
|
106 |
|
107 | * copyMessage
|
108 | * unpinAllChatMessages
|
109 |
|
110 | ## [0.50.0][0.50.0] - 2020-05-2020
|
111 |
|
112 | Added:
|
113 |
|
114 | 1. Support Bot API v4.8: (by @danielperez9430)
|
115 | * Add methods: *sendDice()*
|
116 | 2. Support Bot API v4.7: (by @danielperez9430)
|
117 | * Add methods: *getMyCommands()*,*setMyCommands()*
|
118 | 3. Support Bot API v4.5: (by @danielperez9430)
|
119 | * Add methods: *setChatAdministratorCustomTitle()*
|
120 | 4. Support Bot API v4.4: (by @danielperez9430)
|
121 | * Add methods: *setChatPermissions()*
|
122 | 5. Support for poll_answer (by @JieJiSS)
|
123 | 6. Add request options in file stream (by @zhangpanyi )
|
124 |
|
125 | Changed: (by @danielperez9430)
|
126 |
|
127 | * New message type: *dice*
|
128 | * Fix Bugs in tests
|
129 | * Fix regex compare (by @ledamint)
|
130 | * Fix listening for error events when downloading files (by @Kraigo)
|
131 |
|
132 | New Test: (by @danielperez9430)
|
133 |
|
134 | * sendDice
|
135 | * getMyCommands
|
136 | * setMyCommands
|
137 | * setChatAdministratorCustomTitle
|
138 | * setChatPermissions
|
139 |
|
140 | ## [0.40.0][0.40.0] - 2019-05-04
|
141 |
|
142 | Added:
|
143 |
|
144 | 1. Support Bot API v4.2: (by @kamikazechaser)
|
145 | * Add methods: *TelegramBot#sendPoll()*, *TelegramBot#stopPoll()*
|
146 | * Support events: *poll*
|
147 | 2. Support Bot API v4.0: (by @kamikazechaser)
|
148 | * Add methods: *TelegramBot#editMessageMedia()*, *TelegramBot#sendAnimation()*
|
149 | * Support new message types: *passport_data*, *animation*
|
150 |
|
151 | * * *
|
152 |
|
153 | ## [0.30.0][0.30.0] - 2017-12-21
|
154 |
|
155 | Added:
|
156 |
|
157 | 1. Support Bot API v3.5: (by @GochoMugo)
|
158 | * Allow `provider_data` parameter in *TelegramBot#sendInvoice*
|
159 | * Add method *TelegramBot#sendMediaGroup()*
|
160 | 2. Support Bot API v3.4: (by @kamikazechaser)
|
161 | * Add methods *TelegramBot#editMessageLiveLocation*, *TelegramBot#stopMessageLiveLocation* (#439)
|
162 | * Add methods *TelegramBot#setChatStickerSet*, *TelegramBot#deleteChatStickerSet* (#440)
|
163 | 3. Add methods:
|
164 | * *TelegramBot#getFileStream* (#442) (by @GochoMugo, requested-by @Xaqron)
|
165 | 4. Add options to *TelegramBot#stopPolling()* (by @GochoMugo)
|
166 | 5. Add `metadata` argument in `message` event (and friends e.g. `text`, `audio`, etc.) (#409) (by @jlsjonas, @GochoMugo)
|
167 | 6. Add forward-compatibility i.e. support future additional Telegram options (by @GochoMugo)
|
168 | 7. Add support for Node.js v9 (by @GochoMugo)
|
169 | 8. Document *TelegramBot.errors*, *TelegramBot.messageTypes* (by @GochoMugo)
|
170 |
|
171 | Changed:
|
172 |
|
173 | 1. Update *TelegramBot#answerCallbackQuery()* signature (by @GochoMugo)
|
174 | 2. Improve default error logging of `polling_error` and `webhook_error` (#377)
|
175 | 3. Update dependencies
|
176 |
|
177 | Deprecated:
|
178 |
|
179 | 1. Sending files: *(See [usage guide][usage-sending-files])* (by @hufan-akari, @GochoMugo)
|
180 | * Error will **not** be thrown if `Buffer` is used and file-type could **not** be detected.
|
181 | * Filename will **not** be set to `data.${ext}` if `Buffer` is used
|
182 | * Content type will **not** default to `null` or `undefined`
|
183 |
|
184 | Fixed:
|
185 |
|
186 | 1. Fix the offset infinite loop bug (#265, #36) (by @GochoMugo)
|
187 | 2. Fix game example (#449, #418) (by @MCSH)
|
188 |
|
189 | * * *
|
190 |
|
191 | ## [0.29.0][0.29.0] - 2017-10-22
|
192 |
|
193 | Added:
|
194 |
|
195 | 1. Add Bot API v3.2 methods:
|
196 | * (#429) *TelegramBot#getStickerSet* (by @CapacitorSet, @LibertyLocked)
|
197 | * (#430) *TelegramBot#uploadStickerFile* (by @CapacitorSet)
|
198 | * *TelegramBot#createNewStickerSet*, *TelegramBot#addStickerToSet*, *TelegramBot#setStickerPositionInSet*, *TelegramBot#deleteStickerFromSet* (by @GochoMugo)
|
199 | 2. Supports API v3.3
|
200 |
|
201 | Deprecated:
|
202 |
|
203 | 1. Auto-enabling Promise cancellation (#319) (by @GochoMugo)
|
204 |
|
205 | * * *
|
206 |
|
207 | ## [0.28.0][0.28.0] - 2017-08-06
|
208 |
|
209 | Added:
|
210 |
|
211 | 1. (#361) Support Bot API v3.1 (by @Lord-Protector, @kamikazechaser)
|
212 | 2. (#332) Support Bot API v3.0 (by @kamikazechaser, @GochoMugo)
|
213 | 3. Add *TelegramBot#removeTextListener()* (by @GochoMugo)
|
214 | 4. (#342) Add game example (by @MCSH)
|
215 | 5. (#315) List 'bot-brother' project in community section in README (by @saeedhei)
|
216 |
|
217 | Changed:
|
218 |
|
219 | 1. (#367) Update *TelegramBot#answerCallbackQuery()* signature (by @mnb3000)
|
220 |
|
221 | Fixed:
|
222 |
|
223 | 1. (#325) Fix global regexp state reset (by @Sirius-A)
|
224 | 2. (#363) Fix download file path on windows (by @kucherenkovova)
|
225 | 3. (#346) Fix anchor webhook link in docs (by @Coac)
|
226 |
|
227 | * * *
|
228 |
|
229 | ## [0.27.1][0.27.1] - 2017-04-07
|
230 |
|
231 | Added:
|
232 |
|
233 | 1. (#287) Add Express WebHook example (by @kamikazechaser)
|
234 |
|
235 | Fixed:
|
236 |
|
237 | 1. (#291) Improve docs (by @preco21)
|
238 | 2. (#298) Fix running on Node v5 (by @jehy)
|
239 | 3. (#307) Fix badge links in README (by @JaakkoLipsanen)
|
240 | 4. Fix defaulting value of `options.polling.params.timeout` (by @GochoMugo)
|
241 | 5. Fix typos in Github issue template (by @GochoMugo, requested-by @GingerPlusPlus)
|
242 |
|
243 | * * *
|
244 |
|
245 | ## [0.27.0][0.27.0] - 2017-02-10
|
246 |
|
247 | Added:
|
248 |
|
249 | 1. Add constructor options:
|
250 | * (#243) `options.polling.params` (by @GochoMugo, requested-by @sidelux)
|
251 | 2. Add methods:
|
252 | * (#74) *TelegramBot#removeReplyListener()* (by @githugger)
|
253 | 3. (#283) Add proper error handling (by @GochoMugo)
|
254 | 4. (#272) Add health-check endpoint (by @mironov)
|
255 | * `options.webHook.healthEndpoint`
|
256 | 5. (#152) Add test for TelegramBot#sendDocument() using 'fileOpts'
|
257 | param (by @evolun)
|
258 | 6. Document `options.webHook.host` (by @GochoMugo)
|
259 | 7. (#264) Add Bot API version to README (by @kamikazechaser)
|
260 | 8. Add examples:
|
261 | - (#271) WebHook on Heroku (by @TheBeastOfCaerbannog)
|
262 | - (#274) WebHook on Zeit Now (by @Ferrari)
|
263 |
|
264 | Changed:
|
265 |
|
266 | 1. (#147) Use *String#indexOf()*, instead of *RegExp#test()*, to
|
267 | find token in webhook request (by @AVVS)
|
268 |
|
269 | Fixed:
|
270 |
|
271 | * Fix bug:
|
272 | - (#275, #280) fix es6 syntax error on Node.js v4.x (by @crazyabdul)
|
273 | - (#276) promise.warning from `request-promise` (by @GochoMugo,
|
274 | reported-by @preco21)
|
275 | - (#281) fix handling error during polling (by @GochoMugo,
|
276 | reported-by @dimawebmaker)
|
277 | - (#284) fix error during deletion of already-set webhook, during
|
278 | polling (by @GochoMugo, reported-by @dcparga)
|
279 | 1. Fix links in documentation (by @Ni2c2k)
|
280 |
|
281 | * * *
|
282 |
|
283 | ## [0.26.0][0.26.0] - 2017-01-20
|
284 |
|
285 | Added:
|
286 |
|
287 | 1. Add *TelegramBot* constructor options:
|
288 | * `options.https`
|
289 | * `options.baseApiUrl`
|
290 | * `options.filepath`
|
291 | 2. Add methods:
|
292 | * *TelegramBot#stopPolling()*
|
293 | * *TelegramBot#isPolling()*
|
294 | * *TelegramBot#openWebHook()*
|
295 | * *TelegramBot#closeWebHook()*
|
296 | * *TelegramBot#hasOpenWebHook()*
|
297 | * *TelegramBot#deleteWebHook()*
|
298 | * *TelegramBot#getWebHookInfo()*
|
299 |
|
300 | Changed:
|
301 |
|
302 | 1. Use POST requests by default
|
303 | 2. Ensure all relevant methods return Promises
|
304 | 3. Document auto-deletion of webhook during polling
|
305 | 4. Deprecate support for Node.js v0.12
|
306 | 5. Fix consistency of methods signatures
|
307 | 6. Rename *TelegramBot#initPolling()* to *TelegramBot#startPolling()*
|
308 | * Deprecate *TelegramBot#initPolling()*
|
309 |
|
310 | Fixed:
|
311 |
|
312 | 1. Handle error during formatting `formData`
|
313 | 2. Fix ES6 syntax
|
314 |
|
315 | *Credits/Blames: Unless explicitly stated otherwise, above work was
|
316 | done by @GochoMugo*
|
317 |
|
318 | * * *
|
319 |
|
320 | ## [0.25.0][0.25.0] - 2016-12-21
|
321 |
|
322 | Added:
|
323 |
|
324 | 1. Supports the API v2.3 updates (by @kamikazechaser)
|
325 | 2. Add *TelegramBot* constructor option:
|
326 | * `options.request`: proxy extra request options (by @tarmolov)
|
327 | * `options.onlyFirstMatch` (by @GingerPlusPlus)
|
328 | 3. Add methods:
|
329 | * *TelegramBot#sendVenue()* (by Tketa)
|
330 | * *TelegramBot#sendContact()* (by @GochoMugo)
|
331 | * *TelegramBot#getGameHighScores()* (by @jishnu7)
|
332 |
|
333 | Fixed:
|
334 |
|
335 | 1. Fix request performance issue (by @preco21)
|
336 | 2. Fix typos (by oflisback)
|
337 |
|
338 | [usage-sending-files]:https://github.com/yagop/node-telegram-bot-api/blob/master/doc/usage.md#sending-files-options
|
339 |
|
340 | [0.25.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.25.0
|
341 | [0.26.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.26.0
|
342 | [0.27.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.27.0
|
343 | [0.27.1]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.27.1
|
344 | [0.28.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.28.0
|
345 | [0.29.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.29.0
|
346 | [0.30.0]:https://github.com/yagop/node-telegram-bot-api/releases/tag/v0.30.0
|
347 | [Unreleased]:https://github.com/yagop/node-telegram-bot-api/compare/v0.30.0...master
|