diff --git a/CHANGELOG.md b/CHANGELOG.md index 02d76ea..3c21ec6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,14 @@ +# 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). diff --git a/README.md b/README.md index 1b9b98e..cea2322 100644 --- a/README.md +++ b/README.md @@ -384,6 +384,16 @@ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org). +### Different Rails versions + +To setup development for specific major Rails version use: + +``` +RAILS=5 bundle install +# or +RAILS=5 bundle update +``` + ## Contributing Bug reports and pull requests are welcome on GitHub at https://github.com/telegram-bot-rb/telegram-bot. diff --git a/lib/telegram/bot/version.rb b/lib/telegram/bot/version.rb index ea64b7e..bf9e4e4 100644 --- a/lib/telegram/bot/version.rb +++ b/lib/telegram/bot/version.rb @@ -1,6 +1,6 @@ module Telegram module Bot - VERSION = '0.7.4'.freeze + VERSION = '0.8.0'.freeze def self.gem_version Gem::Version.new VERSION