Changelog for @signaldb/core
Added
- Enabled type checking in query selectors
[1.2.0] - 2025-01-13
Added
isReady
method onCollection
to wait for the collection to be ready
Changed
- Don't load developer tools automatically in production (thanks @lorof)
[1.1.0] - 2025-01-10
Added
- Support for @signaldb/devtools
- Allow specifying a name for a collection
- Added
Collections.onCreation
method to listen for collection creation - Added
Collections.onDispose
method to listen for collection disposal - Added
Collections.getCollections
method to get all collections
Changed
- Switched from native EventEmitter to custom class that is based on EventTarget
- Remove all listeners when disposing a collection
[1.0.0] - 2024-12-16
Added
- Added JSDoc comments to all public APIs
- Added method to globally configure field tracking
- Added method for configuring field tracking on a collection
- Allow configuring field tracking in collection options
Removed
- BREAKING:
createLocalStorageAdapter
was moved to@signaldb/localstorage
- BREAKING:
createOPFSAdapter
was moved to@signaldb/opfs
- BREAKING:
createFilesystemAdapter
was moved to@signaldb/fs
- BREAKING:
PersistentCollection
was removed entirely - BREAKING:
SyncManager
was moved to@signaldb/sync
- BREAKING:
ReplicatedCollection
was removed entirely - BREAKING:
options
parameter was removed fromcombinePersistenceAdapters
- BREAKING: support for old
IndexProviders
was removed