Releases: TeamworkGuy2/lokijs-collections
Releases · TeamworkGuy2/lokijs-collections
lokijs-collections 0.20.2
Changed
- Improved
first()
andsingle()
implementation - Some additional documentation
lokijs-collections 0.20.1
Added
- Added
DataCollection.single()
to provide single object lookup functionality
lokijs-collections 0.20.0
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
Changed
- Fixed an issue with Query not matching valid queries
- Renamed/changed Query definition to LokiQueryLike<E, K>
lokijs-collections 0.19.1
Changed
- Improved DataCollection
E
andP
types and fixedQuery<E>
type bug
lokijs-collections 0.19.0
Changed
DataCollection<E, O>
changed toDataCollection<E, P>
-O
represented an optional props version ofE
,P
now represents the required primary key props of theE
model andPartial<E>
is used internally in place ofO
- 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
Changed
- Updated some documentation
- Updated to TypeScript 2.3, added tsconfig.json, use @types/ definitions
lokijs-collections 0.18.1
Changed
- ModelDefinitionsSet.cloneDtoPropertyTemplate() now includes 'server.toLocal'
lokijs-collections 0.18.0
Changed
- DataCollectionModel fieldNames, primaryKeys, and autoGeneratedKeys type changed from string to keyof
lokijs-collections 0.17.0
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