# Unreleased # 0.15.7 - Add support for editMessageMedia similar to sendMediaGroup. # 0.15.6 - Rails 7.0 support. - Fix sending File objects in nested objects in sendMediaGroup. - Update to Bot API 5.7 # 0.15.4 - Update to Bot API 5.3 # 0.15.3 - Ruby 3.0 support: fix translation helpers. # 0.15.2 - Ruby 3.0 support. Drop support for Ruby < 2.4. # 0.15.1 - Rails 6.1 support. # 0.15.0 - Add `:path` option to `telegram_webhook` route helper. - __Breaking change!__ Default route is generated using hashed bot token. Please reconfigure webhook after update (`rake telegram:bot:set_webhook`). - Update to Bot API 5.0, add rake tasks for `deleteWebhook`, `close` & `logOut`. - Add `server` option for client to support local bot API servers. # 0.14.4 - Update to Bot API 4.7 # 0.14.3 - Rails 6.0 support. - Update to Bot API 4.4. # 0.14.2 - Add reply helpers: `answer_pre_checkout_query`, `answer_shipping_query`. - Update to Bot API 4.3. # 0.14.1 - Read config from secrets when credentials don't provide it in rails >= 5.2. - Remove botan.io support. It's already shut down, so it should not be a braking change. https://github.com/botanio/sdk#this-service-will-be-shut-down-on-25th-may-2018 - Update to Bot API 4.1. # 0.14.0 - Make integration & controller specs consistent. __Breaking changes__ for controller specs: - Changed signature `dispatch(bot, update) => dispatch(update, bot)`. - `update` helper is symbolized by default. - `build_update(type, data)` is dropped in favor of `deep_stringify(type => data)`. - Provide support for integration testing of bots in poller mode and non-Rails apps. __Breaking changes__: - Requiring `telegram/bot/rspec/integration` is deprecated in favor of `telegram/bot/rspec/integration/rails`. - `:telegram_bot` rspec tag is replaced with `telegram_bot: :rails`. - __Breaking change__. Use bang-methods as actions for commands. This prevents calling context contextual actions and payload specific actions with commands. Translation helper strips `!` from action name for lazy translations. - __Breaking change__. Drop `.context_handler`, `.context_to_action!` methods. Use pass action name directly to `#save_context`. It's the same as `.context_to_action!` is enabled by default. - Class-level helper for lazy translations. # 0.13.1 - Extracted typed response mappings to telegram-bot-types gem. It now provides definitions for all API v3.5 methods. - Fix #chat for non-message updates with TypedUpdates enabled # 0.13.0 - `rescue_from`. - Support for `credentials` store in Rails 5.2. - Deprecate `telegram_webhooks` in favor of `telegram_webhook`. It was too complicated and such routes looked ugly. # 0.12.4 - Fix spec helpers for callback queries. # 0.12.3 - New methods from Bot API v3.5 - Collect all api helper-methods in Client::ApiHelper module. - Add `bin/fetch-telegram-methods` to update API methods list from website. # 0.12.1 - Fix `set_webhook` rake task for async bots with self-issued certificates. - Make `#session` raise error when store is not configured, don't use Rails.cache as fallback for session_store. - Allow use different sessions for MessageContext. # 0.12.0 - New API methods and payload types (up to Bot API 3.2). - Fix rails 5.1.x support. - RSpec context for callback_query updates. - `edit_message` helper. - ClientStub saves and returns token. Fixes testing multiple bots. - Raise descriptive error when accessing not-configured bot. # 0.11.3 - Release dependencies for Rails 5.1. # 0.11.2 - Rails 5.1 deep symbolized secrets support. # 0.11.1 - Fixed poller for typed response. # 0.11.0 - Remove Bot::StaleChat in favor of Bot::Forbidden, as Telegram adds more and more new descriptions. Please open an issue if you face a problem. # 0.10.2 - Support `(edited_)channel_post` updates. - New methods from 2.3, 2.3.1 API updates. # 0.10.0 - Integration helpers for RSpec. - Fix for ruby 2.2.0 bug by @bob-frost. # 0.9.0 - Async API requests. - One more description for StaleChat error. - edit_message_* methods. - API methods from 2016-10-03 update - Fix typo in module name: CallbackQueyContext -> CallbackQueryContext. - Take `chat` from `message` for callback queries - RSpec matchers. # 0.8.0 - Fixed `#reply_with`, now it sets `reply_to_message_id` as it's supposed to. Added `#respond_with` which works the same way, but doesn't set `reply_to_message_id`. Please, replace all occurrences of `reply_with` to `respond_with` to keep it working the old way. - Fixes for Rails 5: - Controller callbacks - Middleware - Setup travis builds # 0.7.4 - Rails 5 support by @dreyks (#4). # 0.7.3 - Fixed issues with poller in production (#3) # 0.7.2 - Bot API 2.1 - Fixed possible crashes when payload type is not supported. Provides empty session when neither `from` nor `chat` is defined. # 0.7.0 - New Bot API methods. - Helpers for inline keyboards, support for callback_query (with contextual actions). - Changed action methods signature - `#inline_query(payload) -> #inline_query(query, offset)` - `#chosen_inline_result(payload)` -> `#chosen_inline_result(result_id, query)` - MessageContext doesn't use second #process call to run contextual action. - Botan.io metrics. # 0.6.0 - StaleChat error. - Encode arrays as json in request body. # 0.5.0 - MessageContext. - Running controller action without update. - Client.wrap supports symbols. - Improved testing utils: ability to process multiple updates on same controller instance, stubbing all clients in application.