Skip to content

Changelog for @signaldb/core

[1.3.1] - 2025-02-19

Changed

  • Improved index query performance

[1.3.0] - 2025-02-18

Added

  • Implement exclusion of specific items when querying indices (when a selector contains $nin or $ne)

Fixed

  • Emit getItems event on collections regardless of an index hit

Removed

  • Removed auto-loading of developer tools and moved the loading to the @signaldb/devtools package. To load the developer tools, you now need to import @signaldb/devtools somewhere in your frontend code. Make sure that it doesn't get imported when running your code in production mode.

[1.2.4] - 2025-02-17

Changed

  • Improved type checking of selectors

[1.2.3] - 2025-02-11

Changed

  • Replace EventTarget-based emitter with a native implementation (thanks @Jordan-Mysten)

[1.2.2] - 2025-02-03

Fixed

  • Fixed check if @signaldb/devtools package is available for some environments (addition to #1359)

[1.2.1] - 2025-02-01

Fixed

  • Fixed a bug where the build environment was complaining about missing @signaldb/devtools package (#1359)

Added

  • Enabled type checking in query selectors

[1.2.0] - 2025-01-13

Added

  • isReady method on Collection 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 from combinePersistenceAdapters
  • BREAKING: support for old IndexProviders was removed

Released under the MIT License.