CHANGES.md in representable-2.2.0 vs CHANGES.md in representable-2.2.1
- old
+ new
@@ -1,11 +1,20 @@
+# 2.2.1
+
+## API change.
+
+* Options in `Definition` are now Cloneable. That means they will deep-clone when they contain values that are `Cloneable`. This allows clean cloning of deeply nested configuration hashes, e.g. for `deserializer: {instance: ->{}}` in combination with inheritance across representers.
+
+ The former behavior was not to clone, which would allow sub-representers to bleed into the parent options, which is _wrong_. However, this fix shouldn't affect anyone but me.
+
+
# 2.2.0
## New Stuff
* Introduce `Representable::Cached` that will keep the mapper, which in turn will keep the bindings, which in turn will keep their representer, in case they're nested. You have to include this feature manually and you can expect a 50% and more speed-up for rendering and parsing. Not to speak about the reduced memory footprint.
- ``ruby
+ ```ruby
class SongDecorator < Representable::Decorator
include Representable::JSON
feature Representable::Cached
# ..