Releases: yuval-a/deriveODM
Releases · yuval-a/deriveODM
3.3.0
Version 3.1.0
- ChangeStream support is now optional, and turned off by default for all data object instances.
- Added
watch(on)
instance method for toggling on/off ChangeStream support.
2.8.0
2.2.0
Version 2.1.6
- Default
SyncManager
sync interval changed to 0, and is now called withsetImmediate
. - Added support for deleting data object properties using the
delete
keyword, which will trigger anunset
on the equivalent property of the DB document. - Added new assignment with
$callback
syntax for updating properties and attaching callbacks to be called once an update occurs in the DB. - Now uses ChangeStream (collection event watcher) to detect and trigger DB changes (when available) with fallback to the "manual" detection when using single DB instances.
- Fixed warning when trying to access
_id
- Deprecated
$onUpdate
. - Fixed a rare race condition bug.
1.6.2
1.5.0
- Switched to
fast-clone
package instead of the slowerclone
. - Refactored main syncing method of
SyncManager
engine, to clone the queues to local variables, as to release them for the next operations sooner an more quickly. - Added conditions to lock/unlock methods, to not emit uneccesary events.
- Added statc
mainIndex
method to model classes - to allow getting theMainIndex