|
3 | 3 | master: [](https://travis-ci.org/Volicon/backbone.nestedTypes) |
4 | 4 | develop: [](https://travis-ci.org/Volicon/backbone.nestedTypes) |
5 | 5 |
|
6 | | -Version 1.1.2 highlights: |
| 6 | +Version 1.1.5 highlights: |
7 | 7 |
|
8 | 8 | - npm package name is changed to just 'nestedtypes'. Thus, `npm install nestedtypes`. |
9 | | -- It export all the stuff which is required to use it as drop-in backbonejs replacement in your project. |
| 9 | +- Removed backbone dependency. Currently, stable backbone 1.1.2 is linked in. |
| 10 | +- Can be used as drop-in backbonejs replacement in your project. |
10 | 11 | - Models has reference to the parent model through `this._owner` |
11 | 12 | - When the same model is shared between tho other models, attempt to serialize the model which is not an owner will result in [Serialization Error] warning. In most of the cases, this warning is the sign of weird errors, because after loading data this shared models won't be shared any more. |
12 | 13 | - Collections has new `changes` event, which can be used directly on collection instead of 'add remove change reset'. It's efficient, and fired only once during compound changes. |
13 | 14 | - There are Collection.transaction( func ) method which can be used ad-hoc to group sequence of changes coming from inside of func to the single transaction, thus, firing just one 'changes' event. Helpful for reducing an amount of renders. |
14 | 15 | - Every method declared on Collection can be turned to be transactional when its definition is wrapped in Nested.transaction. |
| 16 | +- Experimental features: |
| 17 | + - lazily evaluated hard references `Model.take( ref )` and `Collection.take( ref )`. ref is the reference like in |
| 18 | + - attribute proxies for mixing in attributes, `a : MyModel.proxy()`. `a` members will be directly accessible in owner model. |
15 | 19 | - There are completely new mechancs of Stores, which will be documented later, and will allow us to refactor collections with mutual references which has to be requested together (such as users-roles-channelSets). It will be documented later. |
16 | 20 |
|
17 | 21 | Major change you need to do now: |
|
0 commit comments