Skip to content

Releases: TeamworkGuy2/lokijs-collections

lokijs-collections 0.20.2

17 Oct 19:47
Compare
Choose a tag to compare

Changed

  • Improved first() and single() implementation
  • Some additional documentation

lokijs-collections 0.20.1

17 Oct 19:46
Compare
Choose a tag to compare

Added

  • Added DataCollection.single() to provide single object lookup functionality

lokijs-collections 0.20.0

17 Oct 19:46
Compare
Choose a tag to compare

Added

  • Added DataCollection.lookup() to provide primary key lookup functionality

Changed

  • Renamed DataCollection and InMemDb findOne() -> first()
  • Improved LokiQueryLike interface
  • Added more method documentation

Removed

  • Removed/renamed InMemDb.findSinglePropQuery() -> InMemDb.data()

lokijs-collections 0.19.2

17 Oct 19:46
Compare
Choose a tag to compare

Changed

  • Fixed an issue with Query not matching valid queries
  • Renamed/changed Query definition to LokiQueryLike<E, K>

lokijs-collections 0.19.1

17 Oct 19:46
Compare
Choose a tag to compare

Changed

  • Improved DataCollection E and P types and fixed Query<E> type bug

lokijs-collections 0.19.0

17 Oct 19:45
Compare
Choose a tag to compare

Changed

  • DataCollection<E, O> changed to DataCollection<E, P> - O represented an optional props version of E, P now represents the required primary key props of the E model and Partial<E> is used internally in place of O
    • Improved type of 'query' parameters used by data(), find(), updateWhere(), and similar methods
  • Added missing types and tightened type requirements on various InMemDb and DataCollection methods
  • Added additional DataPersister methods to allow for more control of the underlying persistent data source

lokijs-collections 0.18.2

17 Oct 19:45
Compare
Choose a tag to compare

Changed

  • Updated some documentation
  • Updated to TypeScript 2.3, added tsconfig.json, use @types/ definitions

lokijs-collections 0.18.1

17 Oct 19:45
Compare
Choose a tag to compare

Changed

  • ModelDefinitionsSet.cloneDtoPropertyTemplate() now includes 'server.toLocal'

lokijs-collections 0.18.0

17 Oct 19:44
Compare
Choose a tag to compare

Changed

  • DataCollectionModel fieldNames, primaryKeys, and autoGeneratedKeys type changed from string to keyof

lokijs-collections 0.17.0

17 Oct 19:44
Compare
Choose a tag to compare

Changed

  • Renamed LokiDbImpl -> InMemDbImpl
  • Renamed LokiDbImplTest -> InMemDbImplTest
  • Some test case refactoring, new CloneBenchmarkTest and TestModels files

Removed

  • InMemDbImpl.benchmarkClone() method moved to new CloneBenchmarkTest file