Skip to content

Releases: maxnowack/signaldb

v1.6.0

12 May 07:39
v1.6.0
8283940
Compare
Choose a tag to compare

What's Changed

Added

  • Introduced primaryKeyGenerator. A function that generates a unique ID for the item. If not provided, a default generator will be used (thanks @signalize!)

Fixed

  • Improve performance of checking id index
  • Export Cursor type

Changed

  • Leverage null and undefined values for indexing

New Contributors

Full Changelog: v1.5.4...v1.6.0

v1.5.4

02 May 17:02
v1.5.4
6470f38
Compare
Choose a tag to compare

What's Changed

Fixed

  • Fixed a bug where the index wasn't filtered correctly when it was outdated

Full Changelog: v1.5.3...v1.5.4

v1.5.3

02 May 17:01
v1.5.3
297749f
Compare
Choose a tag to compare

What's Changed

Changed

  • deep clone items before modifying them

New Contributors

Full Changelog: v1.5.2...v1.5.3

v1.5.2

04 Apr 08:43
v1.5.2
a9faa41
Compare
Choose a tag to compare

What's Changed

Changed

New Contributors

Full Changelog: v1.5.1...v1.5.2

v1.5.1

01 Apr 13:34
v1.5.1
7b91ab3
Compare
Choose a tag to compare

What's Changed

Fixed

  • Add missing scope check for internal signals

Full Changelog: v1.5.0...v1.5.1

v1.5.0

26 Mar 09:57
v1.5.0
3cfd779
Compare
Choose a tag to compare

What's Changed

Added

  • Introduce validation event to allow schema validation of items in collections.

New Contributors

Full Changelog: v1.4.0...v1.5.0

v1.4.0

19 Mar 21:49
v1.4.0
a3f8068
Compare
Choose a tag to compare

What's Changed

Added

  • Implemented { upsert: true } option for updateOne and updateMany methods.
  • Implemented replaceOne method.

Changed

  • Check for already existing ids in updateMany

Fixed

  • Fixed checking for existing ids in updateOne and updateMany. There was a bug that made it impossible to update the id of an item.

Full Changelog: v1.3.1...v1.4.0

v1.3.1

19 Feb 09:45
v1.3.1
1ea3254
Compare
Choose a tag to compare

What's Changed

Changed

  • Improved index query performance

Full Changelog: v1.3.0...v1.3.1

v1.3.0

18 Feb 17:05
v1.3.0
6f1ba69
Compare
Choose a tag to compare

What's Changed

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.

Full Changelog: v1.2.4...v1.3.0

v1.2.4

17 Feb 11:35
v1.2.4
3125b40
Compare
Choose a tag to compare

What's Changed

Changed

  • Improved type checking of selectors

Full Changelog: v1.2.3...v1.2.4