CHANGES.markdown in roar-rails-1.0.2 vs CHANGES.markdown in roar-rails-1.1.0

- old
+ new

@@ -1,20 +1,28 @@ +## 1.1.0 + +**Roar 1.1 (and Representable 3.0) support** (see [Roar CHANGES](https://github.com/trailblazer/roar/blob/master/CHANGES.markdown#110)) + +* Require Roar >= 1.1.0. +* Improved support for JSON API (now requires separate [roar-jsonapi](https://github.com/trailblazer/roar-jsonapi) gem). +* Fix Uber version requirement. + ## 1.0.2 * Make Roar version requirement stricter: restrict to 1.0.x series. -* Initial support for Rails 5 support. +* Initial support for Rails 5. ## 1.0.1 * Added a dependency on `responders` gem for Rails 4.2 support * `#render` from `ControllerAdditions::Render` now accepts a status code * Added support for JSON-API. ## 1.0.0 * Requires Roar >= 1.0.0. -* In `#consume!` roar-rails now finds the correct representer for the `Content-type:` header. In former version the representer name was infered using the `Accept:` header, which was totally wrong. Thanks to @pgaertig for fixing that. +* In `#consume!` roar-rails now finds the correct representer for the `Content-type:` header. In former version the representer name was inferred using the `Accept:` header, which was totally wrong. Thanks to @pgaertig for fixing that. ## 0.1.6 * Added `ControllerAdditions::Render` to support `#render` in controller actions with representers. * Roar-rails now works properly with rails-api. @@ -45,10 +53,10 @@ * Added the `represented_formats: [...]` option to be passed to `#respond_with` for either suppressing roar-rails from extending/decorating models when rendering or to fine-tune so this will only happen on white-listed formats as `:hal`. This can also be set globally using `config.representer.represented_formats`. ## 0.1.0 * `ActiveRecord::Relation` is now detected as a collection and the appropriate representer should be found. -* Entity (singular) representers are now correctly infered even if you only specified `collection:` in `::represents`. That works by querying the model. +* Entity (singular) representers are now correctly inferred even if you only specified `collection:` in `::represents`. That works by querying the model. * Entity representers are now *namespaced* when guessed (i.e., when you didn't specify them explicitly in `::represents`) as it works with collection representers already. If you have a namespaced controller and it suddenly doesn't find its entity representer anymore, either namespace the representer or specify its name in `::represents`. ## 0.0.14 * Moved logic to infer representer names from `ControllerAdditions` to `RepresenterComputer` class.