- refactored binary indices sorting order
- date values in properties with binary index will be converted to epoch time
- fix to LokiFsStructuredAdapter first time autoload error where file doesn't exist yet
- fixed simplesort descending with binary indices and no filters
- with 'clone' option collection 'insert' events no longer emit internal obj reference
- fix to clone method 'shallow'
- added 'removeMeta' option to chained data calls to shallow clone and remove $loki and meta
- added quickstart examples for node and updated loki sandbox with online web quickstarts
- fixes to async unit tests
- npm release trimmed from 5 megs to 500k (no examples, jsdocs, tests)
- added throttled saves and loads (enabled by default) to ensure no overlapping calls
- unfiltered simplesorts can leverage binary index
- collection.clear now clears indices correctly
- fix to LokiPartitioning adapter resetting maxId across saves
- meta set correctly on batch inserts
- LokiMemoryAdapter now configurable to simulate async
- fix changesApi not enabled after loading database
- added 'adaptiveBinaryIndices' option to collections (default true) to avoid rebuilds on inserts/updates/removes
- added higher performance LokiFsStructuredAdapter for node
- added destructured serialization methods for partitioning and exporting
- added 'addListener' method alias of 'on' method
- LokiFsAdapter doesn't throw exception when file doesn't exist (yet)
- fix for circular structure error when setting ttl
- fix unit testing on windows
- experimental implementation of an incremental adapter
- minor fixes
- updated jsdoc coverage
- fixes to loki indexed adapter
- added nativescript adapter
- added $aeq, $contains, $containsAny, $ne
- fix unique index update with new object
- expose persistence adapters to module export
- fix to loki-crypted-file-adapter
- UniqueIndex and
by()
method - staging API
- count() utility method
- RethinkDB-style joins (eqJoin)
- moved testing to Karma
- moved builds and run to npm instead of gulp
- added $containsAny operator
- statistical functions: average, max, maxRecord, min, minRecord, median, mode
- extract() to extract a flat array of values for one field in each record
- extractNumerical() - same as extract() for numerical values
- pre-insert and pre-update events