build(deps): update dependency dexie to v4.4.4#1230
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
94026d0 to
531303a
Compare
531303a to
a9156e2
Compare
a9156e2 to
02ac14f
Compare
02ac14f to
328731d
Compare
328731d to
7856b6d
Compare
7856b6d to
985dbff
Compare
985dbff to
788ee89
Compare
5e1e5c6 to
7dbb321
Compare
7dbb321 to
2d4c42b
Compare
2d4c42b to
4c10c8a
Compare
4c10c8a to
3dfa67a
Compare
3dfa67a to
e01192a
Compare
e01192a to
e28f4c6
Compare
e28f4c6 to
d4d8005
Compare
d4d8005 to
af35cbb
Compare
af35cbb to
289860d
Compare
289860d to
df10dfb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.0.11→4.4.4Release Notes
dexie/Dexie.js (dexie)
v4.4.4: Dexie v4.4.4Compare Source
This is a maintenance release that resolves a bug in
useLiveQuerycaching and includes a TypeScript typing enhancement.Related Package Releases
Bug Fixes
dexie@4.4.4
useLiveQueryfails to detect updates when mutating queried objects in-place and callingput()— In default/cloned cache mode (cache: 'cloned'), mutating queried objects in-place and subsequently callingput()on them would pollute the cache directly, preventing subsequent live-queries from detecting the change because the "before" and "after" states in the cache became identical. Live-queries now deeply clone results on read to completely isolate query results from in-place consumer mutations. (#2310). Reported in #2309 by @laukaichung. Fixed by @liz709 and @dfahlander .Other Changes
dexie@4.4.4
table4parameter to the typescript type definition ofDexie.transaction(), aligning it with other table parameters. Contributed by @renbaoshuo (#2311)v4.4.3: Dexie v4.4.3Compare Source
This is a maintenance release with bug fixes and a configuration API improvement.
Related Package Releases
Bug Fixes
dexie@4.4.3
fix:
delByKeyPath()creates empty intermediate objects on missing path —Dexie.delByKeyPath(obj, "foo.bar")on an object withoutfoowould create{foo: {}}as a side effect instead of doing nothing. This caused a real-world bug in dexie-cloud-addon where clearing a dotted key from a changeSpec (e.g.claims.sub) would leave{claims: {}}in the spec, which then overwrote the inline primary key withundefined, resulting in:DataError: Evaluating the object store's key path did not yield a value. Fixed insetByKeyPathto bail out early when value isundefinedand the intermediate path doesn't exist. (#2303)fix: Collection.sortBy() mutates frozen array in immutable cache mode — calling
.sortBy()on a table when using immutable cache mode could throwTypeError: Cannot assign to read only propertybecauseArray.sort()was called on a frozen array. Fixed by sorting on a copy instead. (#2294)dexie-cloud-addon@4.4.12
rename:
maxStringLength→largeStringThreshold— the string offloading option is renamed for clarity. The old name is kept as a backward-compatible alias. (#2290)fix: blob writebacks routed through BlobSavingQueue to avoid PSD context loss — after an async native
fetch(blob download), Dexie's PSD zone is no longer active, causingtable.mutate()to crash withCannot read properties of undefined (reading 'table'). This surfaced as[dexie-cloud:blobResolve] Failed to resolve BlobRefs. Fixed by always routing blob writebacks throughBlobSavingQueue.saveBlobs(), which opens a proper Dexie rw-transaction in a fresh JS task. Fixes lazy blob mode crash when using Dexie hooks with dexie-cloud-addon. (#2302)fix: eager blob downloader could starve RAM — the eager downloader triggered
blobResolveMiddlewarewhich resolved all pending blobs into memory at once. Fixed by downloading blobs in chunks with a query limit, so memory usage stays bounded regardless of how many blobs are pending. (#2302)fix: in-flight blob downloads are now deduplicated — if a blob is requested after download starts but before it is persisted, the existing download promise is reused instead of starting a new download. (#2302)
fix: use
cache: no-storefor blob fetch requests — avoids the browser caching raw blob responses and double-storing them. (#2302)dexie-cloud-addon@4.4.13
$loginsupdate — when a user received a server update for the$loginstable, dexie-cloud-addon tried to clearclaims.subfrom the changeSpec usingdelByKeyPath. Due to the bug above, this left{claims: {}}in the spec, overwriting the inline primary key withundefinedand causingDataError: Evaluating the object store's key path did not yield a value. Fixed by guarding against empty changeSpec objects after key deletion. (#2304)Other Changes
dexie-observableanddexie-syncableREADME updated to mark them as legacy/unmaintained, with a recommendation to usedexie-cloud-addonfor sync. (#2298)v4.4.2: Dexie.js v4.4.2Compare Source
This is a maintenance release containing several bug fixes accumulated since v4.4.1.
Related Package Releases
Bug Fixes
dexie-cloud-addon
Dexie.ignoreTransaction()was called (#2287)9debfc0)configurable: trueto awarenessdefineProperty— fixes compatibility issues with certain bundlers and proxies (#2280)changeSpecsinupdatemutations — incorrect inclusion of primary key could cause sync failures in certain edge cases (#2277)syncStateon logout to prevent spinner — logging out no longer resets sync state, avoiding an unwanted loading spinner on re-login (#2276)wrappedCursor.valuein non-blob and error paths in blob resolve middleware (f470167)Other Changes
v4.4.1: Dexie v4.4.1Compare Source
This release introduces Blob Offloading and String Offloading for Dexie Cloud, enabling efficient handling of large binary and text data. It also includes IDB 3.0 optimizations and several bug fixes.
Related Package Releases
New Features
⚡ IDB 3.0 Optimizations
Leverages IndexedDB 3.0
getAll(options)for more efficient key range queries, reducing overhead for collection operations.📦 Blob Offloading for Dexie Cloud
Large binary data (Blob, File, ArrayBuffer, TypedArray) is now automatically offloaded to cloud blob storage during sync. Data is stored normally in IndexedDB — offloading happens transparently during the sync process.
blobMode: 'lazy'to download blobs on-demand instead of eagerly after sync (default is 'eager')db.cloud.blobProgressfor download progress📝 String Offloading for Dexie Cloud
Long strings are now offloaded to blob storage during sync, keeping IndexedDB data compact while preserving full string content in the cloud.
maxStringLengthoption (default: 32768 characters)Bug Fixes
Other Changes
v4.4.0: Dexie v4.4.0Compare Source
This release introduces Blob Offloading and String Offloading for Dexie Cloud, enabling efficient handling of large binary and text data. It also includes IDB 3.0 optimizations and several bug fixes.
Related Package Releases
New Features
⚡ IDB 3.0 Optimizations
Leverages IndexedDB 3.0
getAll(options)for more efficient key range queries, reducing overhead for collection operations.📦 Blob Offloading for Dexie Cloud
Large binary data (Blob, File, ArrayBuffer, TypedArray) is now automatically offloaded to cloud blob storage during sync. Data is stored normally in IndexedDB — offloading happens transparently during the sync process.
blobMode: 'lazy'to download blobs on-demand instead of eagerly after sync (default is 'eager')db.cloud.blobProgressfor download progress📝 String Offloading for Dexie Cloud
Long strings are now offloaded to blob storage during sync, keeping IndexedDB data compact while preserving full string content in the cloud.
maxStringLengthoption (default: 32768 characters)Bug Fixes
Other Changes
v4.3.0Compare Source
v4.2.1: Dexie v4.2.1Compare Source
New package versions
dexie
dexie-cloud-addon
y-dexie
Full Changelog: dexie/Dexie.js@v4.2.0...v4.2.1
v4.2.0: Dexie v4.2.0Compare Source
New Stable Packages
What's Changed since Latest Stable (dexie@4.0.11)
useDocument()in dexie-react-hooks for Y.js integration.New Contributors
Migration from 4.1.x-beta
Dexie 4.1.x has been tagged
@nextand contained experimental Y.js support. The Y.js support has since been moved into its own add-on 'y-dexie'.If the built-in Y.js support in dexie@4.1.x has been used, a migration is needed:
npm install y-dexieimport { DexieYProvider } from 'dexie'-->import { DexieYProvider } from 'y-dexie'DexieyYProvider<Y.Doc>-->DexieYProvider.Yto Dexie constructor, but instead, pass theyDexieaddon:{ addons: [yDexie, dexieCloud] }prop:Y.Docinstead of justprop:YIf you need a sample PR of these changes, have a look at dexie/dexie-cloud-starter#8
Full Changelog:
b415d92...a978fc0Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.