CHANGELOG.md in rapporteur-1.1.0 vs CHANGELOG.md in rapporteur-2.0.0

- old
+ new

@@ -2,10 +2,33 @@ ## [HEAD][unreleased] / unreleased * No significant changes. +## [2.0.0][v2.0.0] / 2013-05-31 + +* Removed active_model_serializers dependency. +* Extracted time and revision checks into Checks::TimeCheck and + Checks::RevisionCheck, and applied them as the default checks. +* Updated Checker#add_error to allow for I18n interpolated values. +* Updated Checker#add_check to take a block in addition to a lambda or object + that responds to #call. +* Added Checker#halt! which checks can call to short-circuit processing of any + further checks. + +### :boom: Backward incompatible changes + +* Flattened the messages key in the JSON response. All messages are now + included at the top level of the hash. +* It's now possible to remove all checks by calling Checker#clear. This + includes the default TimeCheck and RevisionCheck checks. +* Simplified the I18n scope to "rapporteur.errors.{attribute}.{key}". This + means that Checker#add_error now takes at least 2 arguments, similarly to + ActiveModel::Errors#add. +* Added a facade for all Checker interaction. Clients should not use + Rapporteur::Checker.add_check et al, in favor of using Rapporteur.add_check. + ## [1.1.0][v1.1.0] / 2013-05-30 * Add the ability to define custom successful response messages via add_message. This allows Check authors to relay automated information forward to other external systems. @@ -18,8 +41,9 @@ ## 1.0.0 / 2013-05-19 * Initial public release. -[unreleased]: https://github.com/codeschool/rapporteur/compare/v1.1.0...master +[unreleased]: https://github.com/codeschool/rapporteur/compare/v2.0.0...master +[v2.0.0]: https://github.com/codeschool/rapporteur/compare/v1.1.0...v2.0.0 [v1.1.0]: https://github.com/codeschool/rapporteur/compare/v1.0.1...v1.1.0 [v1.0.1]: https://github.com/codeschool/rapporteur/compare/v1.0.0...v1.0.1