Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 51 lines (32 sloc) 2.108 kb
f105006 Ben Pickles Version 0.6.0.
authored
1 # Changelog
2
c7ec181 Ben Pickles Version 0.8.1.
authored
3 ## 0.8.1
4
578d0c1 Ben Pickles Custom class methods should be available after chaining.
authored
5 * Custom class methods should be available after chaining.
6
9123e4f Ben Pickles Version 0.8.0.
authored
7 ## 0.8.0
8
9 * Move model collection methods into a separate object allowing you to customise the defaults in a single place.
10 * Move model instance methods into a separate object. This allows you to redefine the defaults once rather than having to pass the same custom method to multiple models at declaration time.
11 * Defining a model now takes three arguments: name, class methods, instance methods.
12
13 ## 0.7.3
14
15 * Fix callbacks in IE.
16 * Fix broken Ajax tests in IE6 and IE7.
17
1160851 Ben Pickles Version 0.7.1.
authored
18 ## 0.7.1
19
20 * `Model.RestPersistence` now recognises a 422 response as validation failure and populates the model's errors object with the response data.
21 * `Model.errors` is now an object and has a similar interface to ActiveModel.
22 * Fix that `changes` should only be merged after a successful `save` (create/update).
23 * Calling Model#attr() with no arguments returns a combined object of attributes/changes.
24 * Fix that `Model.RestPersistence` Ajax failures should correctly run the supplied callback.
25 * Add `count` method to `Model.Collection`.
26 * Collection methods now access the collection through the `all` method so that `select`, `each`, etc work as expected if it's overwritten.
27
ceddb12 Ben Pickles Version 0.7.0.
authored
28 ## 0.7.0
29
30 * Events are now bound directly to a model rather than using jQuery `bind`. Collections also now have the concept of events with "add" and "remove" built-in.
31
32 ## 0.6.1
33
63f4a3a Ben Pickles `update` should trigger "update" event, add separate `merge` method.
authored
34 * `update` should trigger "update" event, add separate `merge` method.
6966778 Ben Pickles Fix that persistence failure should not trigger corresponding event.
authored
35 * Fix that persistence failure should not trigger corresponding event.
36
f105006 Ben Pickles Version 0.6.0.
authored
37 ## 0.6.0
38
39 * Pass only a single callback to save/destroy which is called with a boolean to indicate success/failure.
40 * Bundle release into a single, versioned Javascript file plus minified version.
41 * Change behaviour of `Model.Collection` and don't let duplicates (scoped by id) of the same model to be stored. [Laurie Young]
42
43 ## 0.5.1
44
45 * Fix that setting a null value with `attr` should be read back correctly from `changes`.
46 * `errors` array shouldn't have to be manually `reset` when implementing `validate`.
47
48 ## 0.5.0
49
50 * First tagged release.
Something went wrong with that request. Please try again.