lib/yaks/breaking_changes.rb in yaks-0.4.4 vs lib/yaks/breaking_changes.rb in yaks-0.5.0
- old
+ new
@@ -2,9 +2,31 @@
# These are displayed in a post-install message when installing the
# gem to aid upgraiding
BreakingChanges = {
+
+'0.5.0' => %q~
+
+Breaking Changes in Yaks 0.5.0
+==============================
+
+Yaks now serializes its output, you no longer have to convert to JSON
+yourself. Use `skip :serialize' to get the old behavior, or
+`json_serializer` to use a different JSON implementation.
+
+The single `after' hook has been replaced with a set of `before',
+`after', `around' and `skip' hooks.
+
+If you've created your own subclass of `Yaks::Format' (previously:
+`Yaks::Serializer'), then you need to update the call to
+`Format.register'.
+
+These are potentially breaking changes. See the CHANGELOG and README
+for full documentation.
+
+~,
+
'0.4.3' => %q~
Breaking Changes in Yaks 0.4.3
==============================