Skip to content

Commit 8383911

Browse files
author
Vlad Balin
committed
updated readme
1 parent 426f843 commit 8383911

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
master: [![Master Build Status](https://travis-ci.org/Volicon/backbone.nestedTypes.svg?branch=master)](https://travis-ci.org/Volicon/backbone.nestedTypes)
44
develop: [![Develop Build Status](https://travis-ci.org/Volicon/backbone.nestedTypes.svg?branch=develop)](https://travis-ci.org/Volicon/backbone.nestedTypes)
55

6-
Version 1.1.2 highlights:
6+
Version 1.1.5 highlights:
77

88
- 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.
1011
- Models has reference to the parent model through `this._owner`
1112
- 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.
1213
- 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.
1314
- 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.
1415
- 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.
1519
- 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.
1620

1721
Major change you need to do now:

0 commit comments

Comments
 (0)