Release v4.0.0 (#872)
* Update the changelog * Update the readme * Bump draper version * Drop support for Ruby 2.3 in CI
This commit is contained in:
parent
e31a54e92d
commit
19c48c2008
|
@ -9,7 +9,6 @@ services:
|
|||
- mongodb
|
||||
|
||||
rvm:
|
||||
- 2.3.8
|
||||
- 2.4.9
|
||||
- 2.5.7
|
||||
- 2.6.5
|
||||
|
|
17
CHANGELOG.md
17
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)
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Draper
|
||||
VERSION = '3.1.0'
|
||||
VERSION = '4.0.0'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue