- Breaking change: throw error when an observable and a relation have the same name. This did work before, but could lead to very strange bugs.
- Add models sorting with a
comparator
;
store.comparator = 'name'; // To sort on `name` attr on models
store.sort(); // To trigger a manual re-sort
store.comparator = (a, b) => (a.id - b.id); // Pass function for more complex sorting
- Make it easy to disable/modify snake <-> camel case converting of attribute keys. If you have a backend that does use e.g. camelCasing, you can disable this conversion by adding this to your model:
toBackendAttrKey(attrKey) { return attrKey; }
fromBackendAttrKey(attrKey) { return attrKey; }