Skip to content

Latest commit

 

History

History
66 lines (55 loc) · 3.73 KB

CHANGELOG.rst

File metadata and controls

66 lines (55 loc) · 3.73 KB

RESThub Backbone stack changelog

This changelog references the major changes (features, important bugs and security fixes) of resthub-spring-stack project. Some changes break backwards compatibility, check out the UPGRADE section before you upgrade your application.

2.1.2 version (07-26-2013)

  • Replace Backbone Relational by Backbone Associations
  • Default RESThub View render improvements : merge instead of replace behaviour
  • Backbone 1.0 critical patches
  • Change synchronization policy of validation api
  • Fix war packaging configuration
  • Fix Backbone localstorage adapter
  • Fix Backbone Validation infinite loop
  • Upgrade Handlebars to 1.0
  • Upgrade Twitter Bootstrap to 2.3.2
  • Fix tutorial
  • Fix todo example

2.1.1 version (05-17-2013)

Following libraries updated and may lead to some minor incompatibility, most significant ones are detailed bellow :
  • Renamed Collection's "update" to set, for parallelism with the similar model.set(), and contrast with reset. It's now the default updating mechanism after a fetch. If you'd like to continue using "reset", pass {reset: true}.
  • Your route handlers will now receive their URL parameters pre-decoded.
  • Supports Backbone 1.0.0
  • Implemented the add, merge and remove options on Collection.add when working with RelationalModels. This also works when using set to change the key on nested relations.
  • RequireJS 2.1.4 to 2.1.5
  • Update to latest async.js
  • Handlebars 1.0 beta6 to 1.0 rc3
  • Update to latest keymaster.js
  • Underscore.String from 2.0.0 to 2.3.0
  • Underscore.String is exported as _s, not _.str anymore

2.1.0 version (03-26-2013)

Following libraries updated and may lead to some minor incompatibility, most significant ones are detailed bellow :
  • View.dispose() has been replaced by View.stopListening()
  • You should use listenTo() and stopListening() instead of on() and off() since they allow automatic event cleanup when the view is destroyed
  • Model validation is now only enforced by default in Model#save and no longer enforced by default upon construction or in Model#set, unless the {validate:true} option is passed.
  • PubSub has been removed and replaced by using directly Backbone, which now extends Events so it can be used as a global event bus

New features and fixes

  • Cache buster when using IE in order to avoid lot of bugs caused by IE aggressive caching strategy
  • Fix IE7 and IE8 compatibility
  • Get model validation constraints from server (see resthub/resthub-spring-stack#165) and translate these cosntraints to effective client Backbone Validation constraints.

2.0.0 version (12-03-2013)

Initial release