Release 3.0.0 (#780)
* Release 3.0.0 * Add breaking change #768 to changelog. * Add recently merged changes to the changelog. * Add configuration and custom default controller to the changelog. * Add entry to changelog for pull request 720 * Add entry to changelog for Rails 5 API-only support. * Add changelog entry for pull request #795. * Add changelog entry for pull request #796. * Add changelog entry for enumerable optimization. * Update maintainer information in README. * Add pull request #799 to changelog. * Add compatability documentation to readme.
This commit is contained in:
parent
f441d11dcd
commit
531953006b
18
CHANGELOG.md
18
CHANGELOG.md
|
@ -1,5 +1,23 @@
|
|||
# Draper Changelog
|
||||
|
||||
## 3.0.0 - 2017
|
||||
|
||||
### Breaking Changes
|
||||
* Rename UninferrableSourceError to UninferrableObjectError [#768](https://github.com/drapergem/draper/pull/768)
|
||||
* Remove conflicting source aliases: `source`, `to_source`, `source_class` and `source_class?` [#786](https://github.com/drapergem/draper/pull/786)
|
||||
|
||||
### New Features
|
||||
* Generator for creating `ApplicationDecorator` that other decorators inherit from [#796](https://github.com/drapergem/draper/pull/796)
|
||||
* Draper configuration with ability to customize the controller Draper uses [#788](https://github.com/drapergem/draper/pull/788)
|
||||
* Added support for Rails 5 API-only applications [#793](https://github.com/drapergem/draper/pull/793)
|
||||
* Added support for Rails runner [#739](https://github.com/drapergem/draper/pull/739)
|
||||
|
||||
### Other Changes
|
||||
* Clear view context when the controller changes [#799](https://github.com/drapergem/draper/pull/799)
|
||||
* Removed previously deprecated functionality [#785](https://github.com/drapergem/draper/pull/785)
|
||||
* Only delegate === if other is an instance of a class that inherits from `Decorator` [#720](https://github.com/drapergem/draper/pull/720)
|
||||
* Always default to `CollectionDecorator` when `NameError` is raised [#795](https://github.com/drapergem/draper/pull/795)
|
||||
* Fixed issues in order to support Rails 5.1
|
||||
* Fixed a bug where helpers were used inside a decorator and this decorator was used outside of controller context
|
||||
|
||||
## 3.0.0.pre1 - 2016-07-10
|
||||
|
|
14
README.md
14
README.md
|
@ -107,17 +107,10 @@ Decorators are the ideal place to:
|
|||
|
||||
## Installation
|
||||
|
||||
Add Draper to your Gemfile. If you're using `Rails 5`, use the `3.0.0` version
|
||||
pre-release
|
||||
As of version 3.0.0, Draper is only compatible with Rails 5 / Ruby 2.2 and later. Add Draper to your Gemfile.
|
||||
|
||||
```ruby
|
||||
gem 'draper', '3.0.0.pre1'
|
||||
```
|
||||
|
||||
Otherwise, use the latest released version
|
||||
|
||||
```ruby
|
||||
gem 'draper'
|
||||
gem 'draper'
|
||||
```
|
||||
|
||||
After that, run `bundle install` within your app's directory.
|
||||
|
@ -633,7 +626,7 @@ great community of open source
|
|||
|
||||
### Current maintainers
|
||||
|
||||
* Sean Linsley
|
||||
* Cliff Braton (cliff.braton@gmail.com)
|
||||
|
||||
### Historical maintainers
|
||||
|
||||
|
@ -641,3 +634,4 @@ great community of open source
|
|||
* Steve Klabnik (steve@jumpstartlab.com)
|
||||
* Vasiliy Ermolovich
|
||||
* Andrew Haines
|
||||
* Sean Linsley
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
module Draper
|
||||
VERSION = "3.0.0.pre1"
|
||||
VERSION = '3.0.0'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue