mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-23 14:29:31 +00:00
Make it more consistent. I've added some PR titles to 0.7, I'm not sure it's 100% comprehensive like this :( The version numbers must match rubygems versions, I fixed it here. Thanks
38 lines
1.3 KiB
Markdown
38 lines
1.3 KiB
Markdown
# UNRELEASED
|
|
|
|
* On Ruby 1.8, we now generate an `id` method that properly serializes `id`
|
|
columns. See issue #127 for more.
|
|
|
|
* Add an alias for `scope` method to be the name of the context. By default
|
|
this is `current_user`. The name is automatically set when using
|
|
`serialization_scope` in the controller.
|
|
|
|
* Pass through serialization options (such as `:include`) when a model
|
|
has no serializer defined.
|
|
|
|
# VERSION 0.7.0
|
|
|
|
* ```embed_key``` option to allow embedding by attributes other than IDs
|
|
* Fix rendering nil with custom serializer
|
|
* Fix global ```self.root = false```
|
|
* Add support for specifying the serializer for an association as a String
|
|
* Able to specify keys on the attributes method
|
|
* Serializer Reloading via ActiveSupport::DescendantsTracker
|
|
* Reduce double map to once; Fixes datamapper eager loading.
|
|
|
|
# VERSION 0.6.0
|
|
|
|
* Serialize sets properly
|
|
* Add root option to ArraySerializer
|
|
* Support polymorphic associations
|
|
* Support :each_serializer in ArraySerializer
|
|
* Add `scope` method to easily access the scope in the serializer
|
|
* Fix regression with Rails 3.2.6; add Rails 4 support
|
|
* Allow serialization_scope to be disabled with serialization_scope nil
|
|
* Array serializer should support pure ruby objects besides serializers
|
|
|
|
# VERSION 0.5.0 (May 16, 2012)
|
|
|
|
* First tagged version
|
|
* Changes generators to always generate an ApplicationSerializer
|