All Versions
31
Latest Version
Avg Release Cycle
116 days
Latest Release
-
Changelog History
Page 2
Changelog History
Page 2
-
v0.14.0 Changes
June 07, 2018- ๐ 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 ofdeep_stringify(type => data)
.
- Changed signature
- โ
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 oftelegram/bot/rspec/integration/rails
. :telegram_bot
rspec tag is replaced withtelegram_bot: :rails
.
- Requiring
- ๐ฅ 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.
- ๐ Make integration & controller specs consistent.
Breaking changes for controller specs:
-
v0.13.1 Changes
May 28, 2018- 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
-
v0.13.0 Changes
February 02, 2018rescue_from
.- ๐ Support for
credentials
store in Rails 5.2. - Deprecate
telegram_webhooks
in favor oftelegram_webhook
. It was too complicated and such routes looked ugly.
-
v0.12.4 Changes
January 19, 2018 -
v0.12.3 Changes
November 24, 2017- ๐ 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.
-
v0.12.1 Changes
October 06, 2017- ๐ 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.
- ๐ Fix
-
v0.12.0 Changes
- ๐ 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.
-
v0.11.3 Changes
- ๐ Release dependencies for Rails 5.1.
-
v0.11.2 Changes
- ๐ Rails 5.1 deep symbolized secrets support.
-
v0.11.1 Changes
- ๐ Fixed poller for typed response.