diff --git a/.travis.yml b/.travis.yml index 00c75ff..d8ab0e9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,7 +9,6 @@ services: - mongodb rvm: - - 2.3.8 - 2.4.9 - 2.5.7 - 2.6.5 diff --git a/CHANGELOG.md b/CHANGELOG.md index 1cc8933..5654747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Draper Changelog +## 4.0.0 - 2020-02-05 + +### Breaking Changes +* Drop support for Ruby < 2.4 [#852](https://github.com/drapergem/draper/pull/852), [#872](https://github.com/drapergem/draper/pull/872) +* Don't delegate public methods overridden by a private method in the decorator [#849](https://github.com/drapergem/draper/pull/849) + +### Fixes +* Add preservation of decorator options on QueryMethods [#868](https://github.com/drapergem/draper/pull/868) +* Add `#respond_to_missing?` to `CollectionDecorator` so it correctly responds to ORM methods [#850](https://github.com/drapergem/draper/pull/850) +* Fix deprecation warning with the new Rails 6 `ActionView::Base` constructor [#866](https://github.com/drapergem/draper/pull/866) +* Fix deprecation warning with Ruby 2.7 [#870](https://github.com/drapergem/draper/pull/870) + +### Other Changes +* Add SimpleCov for code coverage analysis [#851](https://github.com/drapergem/draper/pull/851) +* Update RSpec syntax in the README [#855](https://github.com/drapergem/draper/pull/855) +* Update continuous integration configuration [#861](https://github.com/drapergem/draper/pull/861), [#862](https://github.com/drapergem/draper/pull/862), [#863](https://github.com/drapergem/draper/pull/863), [#872](https://github.com/drapergem/draper/pull/872) + ## 3.1.0 * Rails 6 support [#841](https://github.com/drapergem/draper/pull/841) * Include ORM query methods in `CollectionDecorator` (e.g. `includes`) [#845](https://github.com/drapergem/draper/pull/845) diff --git a/README.md b/README.md index f687c71..a7b65fb 100644 --- a/README.md +++ b/README.md @@ -108,7 +108,7 @@ Decorators are the ideal place to: ## Installation -As of version 3.0.0, Draper is only compatible with Rails 5 / Ruby 2.2 and later. Add Draper to your Gemfile. +As of version 4.0.0, Draper only officially supports Rails 5.2 / Ruby 2.4 and later. Add Draper to your Gemfile. ```ruby gem 'draper' diff --git a/lib/draper/version.rb b/lib/draper/version.rb index 03b9f5f..284743b 100644 --- a/lib/draper/version.rb +++ b/lib/draper/version.rb @@ -1,3 +1,3 @@ module Draper - VERSION = '3.1.0' + VERSION = '4.0.0' end