You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
node-telegram-bot-api/CHANGELOG.md

5.7 KiB

Change Log

All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.

Unreleased

Added:

  1. Add Bot API v3.4 methods:
  • (#439) TelegramBot#editMessageLiveLocation, TelegramBot#stopMessageLiveLocation (by @kamikazechaser)
  • (#440) TelegramBot#setChatStickerSet, TelegramBot#deleteChatStickerSet (by @kamikazechaser)
  1. Support Bot API v3.5:
  • Support provider_data parameter in TelegramBot#sendInvoice (by @GochoMugo)
  1. Add options to TelegramBot#stopPolling() (by @GochoMugo)
  2. Add metadata argument in message event (and friends e.g. text, audio, etc.) (#409) (by @jlsjonas, @GochoMugo)
  3. Add forward-compatibility i.e. support future additional Telegram options (by @GochoMugo)
  4. Add support for Node.js v9 (by @GochoMugo)
  5. Document TelegramBot.errors, TelegramBot.messageTypes (by @GochoMugo)

Changed:

  1. Update TelegramBot#answerCallbackQuery() signature (by @GochoMugo)
  2. Improve default error logging of polling_error and webhook_error

Fixed:

  1. Fix game example (by @MCSH)

0.29.0 - 2017-10-22

Added:

  1. Add Bot API v3.2 methods:
  1. Supports API v3.3

Deprecated:

  1. Auto-enabling Promise cancellation (#319) (by @GochoMugo)

0.28.0 - 2017-08-06

Added:

  1. (#361) Support Bot API v3.1 (by @Lord-Protector, @kamikazechaser)
  2. (#332) Support Bot API v3.0 (by @kamikazechaser, @GochoMugo)
  3. Add TelegramBot#removeTextListener() (by @GochoMugo)
  4. (#342) Add game example (by @MCSH)
  5. (#315) List 'bot-brother' project in community section in README (by @saeedhei)

Changed:

  1. (#367) Update TelegramBot#answerCallbackQuery() signature (by @mnb3000)

Fixed:

  1. (#325) Fix global regexp state reset (by @Sirius-A)
  2. (#363) Fix download file path on windows (by @kucherenkovova)
  3. (#346) Fix anchor webhook link in docs (by @Coac)

0.27.1 - 2017-04-07

Added:

  1. (#287) Add Express WebHook example (by @kamikazechaser)

Fixed:

  1. (#291) Improve docs (by @preco21)
  2. (#298) Fix running on Node v5 (by @jehy)
  3. (#307) Fix badge links in README (by @JaakkoLipsanen)
  4. Fix defaulting value of options.polling.params.timeout (by @GochoMugo)
  5. Fix typos in Github issue template (by @GochoMugo, requested-by @GingerPlusPlus)

0.27.0 - 2017-02-10

Added:

  1. Add constructor options:
  1. Add methods:
  1. (#283) Add proper error handling (by @GochoMugo)
  2. (#272) Add health-check endpoint (by @mironov)
  • options.webHook.healthEndpoint
  1. (#152) Add test for TelegramBot#sendDocument() using 'fileOpts' param (by @evolun)
  2. Document options.webHook.host (by @GochoMugo)
  3. (#264) Add Bot API version to README (by @kamikazechaser)
  4. Add examples:

Changed:

  1. (#147) Use String#indexOf(), instead of RegExp#test(), to find token in webhook request (by @AVVS)

Fixed:

  1. Fix links in documentation (by @Ni2c2k)

0.26.0 - 2017-01-20

Added:

  1. Add TelegramBot constructor options:
  • options.https
  • options.baseApiUrl
  • options.filepath
  1. Add methods:
  • TelegramBot#stopPolling()
  • TelegramBot#isPolling()
  • TelegramBot#openWebHook()
  • TelegramBot#closeWebHook()
  • TelegramBot#hasOpenWebHook()
  • TelegramBot#deleteWebHook()
  • TelegramBot#getWebHookInfo()

Changed:

  1. Use POST requests by default
  2. Ensure all relevant methods return Promises
  3. Document auto-deletion of webhook during polling
  4. Deprecate support for Node.js v0.12
  5. Fix consistency of methods signatures
  6. Rename TelegramBot#initPolling() to TelegramBot#startPolling()
  • Deprecate TelegramBot#initPolling()

Fixed:

  1. Handle error during formatting formData
  2. Fix ES6 syntax

Credits/Blames: Unless explicitly stated otherwise, above work was done by @GochoMugo


0.25.0 - 2016-12-21

Added:

  1. Supports the API v2.3 updates (by @kamikazechaser)
  2. Add TelegramBot constructor option:
  1. Add methods:
  • TelegramBot#sendVenue() (by Tketa)
  • TelegramBot#sendContact() (by @GochoMugo)
  • TelegramBot#getGameHighScores() (by @jishnu7)

Fixed:

  1. Fix request performance issue (by @preco21)
  2. Fix typos (by oflisback)