Releases: DistributedObjectProtocol/dop
Releases · DistributedObjectProtocol/dop
Added deep and shadow options on method dop.set
Added deep and shadow options on method dop.set and fixed bug with scoped name functions because webpack remove them when uglify
dop.action and passed ESLint
0.25.0 dop.action and passed ESLint
Intercept implemented
0.24.0 dop.intercept implemented
Changed integers for patch instructions (New object, Splice, Swap)
0.23.0 Changed integers for patch instructions (New object, Splice, Swap)
Changed onsubscribe instruction on protocol to be more standard
0.22.10 Changed onsubscribe instruction on protocol to be more standard
Removed addComputed
0.22.8 Removed addComputed
Fixed bug on Snapshot.undo/redo
0.22.7 Fixed bug on Snapshot when emiting mutations in undo or redo
Removed collectFirst
We can pass a function to collect to determine the position of the collector in the queue. The filter must be assigned once collector is created.
Removed unobserve method in observers objects
0.22.0 Fixed bug when setPatch deep properties when parents are undefined
Computed values and some API changes
- Implemented computed values
- Removed dop.observe, dop.unobserve, dop.observeProperty, dop.unobserveProperty
- dop.createObserver is the way to create observers
- Changed the system of observers based absolute paths instead of storing inside of the object
- To observe properties now we have to user observer.observe and pass a string as a name of the property