Skip to content

Latest commit

 

History

History
58 lines (51 loc) · 2.31 KB

CHANGELOG.md

File metadata and controls

58 lines (51 loc) · 2.31 KB

Changelog

1.5.0

  • 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)

1.4.3

  • 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

1.4.2

  • 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

1.4.1

  • minor fixes
  • updated jsdoc coverage

1.4.0

  • 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

1.3.0

  • 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