@@ -241,3 +241,69 @@ Features:
241
241
- [ #610 ] ( https://github.com/rails-api/active_model_serializers/pull/610 ) ArraySerializer (@bolshakov )
242
242
- [ #607 ] ( https://github.com/rails-api/active_model_serializers/pull/607 ) ruby syntax highlights (@zigomir )
243
243
- [ #602 ] ( https://github.com/rails-api/active_model_serializers/pull/602 ) Add DSL for associations (@JordanFaust )
244
+
245
+ ### 0.8.1
246
+
247
+ * Fix bug whereby a serializer using 'options' would blow up.
248
+
249
+ ### 0.8.0
250
+
251
+ * Attributes can now have optional types.
252
+
253
+ * A new DefaultSerializer ensures that POROs behave the same way as ActiveModels.
254
+
255
+ * If you wish to override ActiveRecord::Base#to_Json, you can now require
256
+ 'active_record/serializer_override'. We don't recommend you do this, but
257
+ many users do, so we've left it optional.
258
+
259
+ * Fixed a bug where ActionController wouldn't always have MimeResponds.
260
+
261
+ * An optinal caching feature allows you to cache JSON & hashes that AMS uses.
262
+ Adding 'cached true' to your Serializers will turn on this cache.
263
+
264
+ * URL helpers used inside of Engines now work properly.
265
+
266
+ * Serializers now can filter attributes with ` only ` and ` except ` :
267
+
268
+ ```
269
+ UserSerializer.new(user, only: [:first_name, :last_name])
270
+ UserSerializer.new(user, except: :first_name)
271
+ ```
272
+
273
+ * Basic Mongoid support. We now include our mixins in the right place.
274
+
275
+ * On Ruby 1.8, we now generate an ` id ` method that properly serializes ` id `
276
+ columns. See issue #127 for more.
277
+
278
+ * Add an alias for ` scope ` method to be the name of the context. By default
279
+ this is ` current_user ` . The name is automatically set when using
280
+ ` serialization_scope ` in the controller.
281
+
282
+ * Pass through serialization options (such as ` :include ` ) when a model
283
+ has no serializer defined.
284
+
285
+ ### 0.7.0
286
+
287
+ * ``` embed_key ``` option to allow embedding by attributes other than IDs
288
+ * Fix rendering nil with custom serializer
289
+ * Fix global ``` self.root = false ```
290
+ * Add support for specifying the serializer for an association as a String
291
+ * Able to specify keys on the attributes method
292
+ * Serializer Reloading via ActiveSupport::DescendantsTracker
293
+ * Reduce double map to once; Fixes datamapper eager loading.
294
+
295
+ ### 0.6.0
296
+
297
+ * Serialize sets properly
298
+ * Add root option to ArraySerializer
299
+ * Support polymorphic associations
300
+ * Support : each_serializer in ArraySerializer
301
+ * Add ` scope ` method to easily access the scope in the serializer
302
+ * Fix regression with Rails 3.2.6; add Rails 4 support
303
+ * Allow serialization_scope to be disabled with serialization_scope nil
304
+ * Array serializer should support pure ruby objects besides serializers
305
+
306
+ ### 0.5.0 (May 16, 2012)
307
+
308
+ * First tagged version
309
+ * Changes generators to always generate an ApplicationSerializer
0 commit comments