Releases: maxnowack/signaldb
Releases · maxnowack/signaldb
v1.6.0
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
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
What's Changed
Changed
- deep clone items before modifying them
New Contributors
- @signalize made their first contribution in #1595
Full Changelog: v1.5.2...v1.5.3
v1.5.2
What's Changed
Changed
- Export
DotNotation
andGetType
types (thanks @maxfriedmann!)
New Contributors
- @maxfriedmann made their first contribution in #1591
Full Changelog: v1.5.1...v1.5.2
v1.5.1
v1.5.0
v1.4.0
What's Changed
Added
- Implemented
{ upsert: true }
option forupdateOne
andupdateMany
methods. - Implemented
replaceOne
method.
Changed
- Check for already existing ids in
updateMany
Fixed
- Fixed checking for existing ids in
updateOne
andupdateMany
. 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
v1.3.0
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