Skip to content

build(deps): update dependency dexie to v4.4.2#1230

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/dexie-4.x
Open

build(deps): update dependency dexie to v4.4.2#1230
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/dexie-4.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Aug 18, 2025

This PR contains the following updates:

Package Change Age Confidence
dexie (source) 4.0.114.4.2 age confidence

Release Notes

dexie/Dexie.js (dexie)

v4.4.2: Dexie.js v4.4.2

Compare Source

This is a maintenance release containing several bug fixes accumulated since v4.4.1.

Related Package Releases

Package Version
dexie 4.4.2
dexie-cloud-addon 4.4.8
dexie-react-hooks 4.4.0
dexie-export-import 4.4.0

Bug Fixes

dexie-cloud-addon
  • fix: Allow anonymous blob download — previously anonymous users could not download offloaded blobs. Also fixes a crash in Service Worker context when Dexie.ignoreTransaction() was called (#​2287)
  • fix: HMR protection of awareness provider — prevents hot module replacement from breaking the Y.js awareness connection in dev environments (9debfc0)
  • fix: Add configurable: true to awareness defineProperty — fixes compatibility issues with certain bundlers and proxies (#​2280)
  • fix: Strip primary key from changeSpecs in update mutations — incorrect inclusion of primary key could cause sync failures in certain edge cases (#​2277)
  • fix: Preserve syncState on logout to prevent spinner — logging out no longer resets sync state, avoiding an unwanted loading spinner on re-login (#​2276)
  • fix: Update wrappedCursor.value in non-blob and error paths in blob resolve middleware (f470167)

Other Changes

  • Upgraded dependencies and fixed npm audit warnings
  • Formatted codebase with Prettier (#​2282)

v4.4.1: Dexie v4.4.1

Compare 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

Package Version
dexie 4.4.1
dexie-cloud-addon 4.4.6
dexie-cloud-common 1.0.59
dexie-react-hooks 4.4.0
dexie-export-import 4.4.0

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.

  • Automatic offloading: Binaries ≥ 4 KB are offloaded to blob storage during sync
  • Lazy resolution: BlobRefs are resolved back to their original types on first read
  • Optional Lazy blob mode: Configure blobMode: 'lazy' to download blobs on-demand instead of eagerly after sync (default is 'eager')
  • Progress tracking: Observable db.cloud.blobProgress for download progress
import Dexie from 'dexie';
import dexieCloud from 'dexie-cloud-addon';

const db = new Dexie('mydb', { addons: [dexieCloud] });
db.version(1).stores({ photos: '@​id, title' });
db.cloud.configure({ databaseUrl: '...', blobMode: 'eager' });

// Store binary data — syncs normally, offloads transparently
await db.photos.add({
  title: 'Vacation',
  image: new Blob([imageData], { type: 'image/jpeg' })
});
📝 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.

  • Configurable threshold: maxStringLength option (default: 32768 characters)
  • Transparent: Offloaded strings resolve back to regular strings on read
  • IndexedDB unchanged: Full strings remain in local IndexedDB
db.cloud.configure({
  databaseUrl: '...',
  maxStringLength: 32768 // Strings longer than this are offloaded (default)
});

Bug Fixes

  • fix(dexie-export-import): Fix UTF-8 corruption for non-ASCII strings during import (#​2259)
  • fix(dexie-cloud): Always offload Blob/File objects regardless of size (#​2182)
  • fix(react-hooks): Avoid direct React.use access for React < 19
  • fix(dexie): liveQuery could miss to emit values in certain rare circumstances

Other Changes

  • feat(dexie-cloud): Add copy-to-clipboard button for whitelist command (#​2261)
  • Use FinalizationRegistry for Dexie.connections and enforce maxConnections (#​2254)

v4.4.0: Dexie v4.4.0

Compare 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

Package Version
dexie 4.4.0
dexie-cloud-addon 4.4.3
dexie-cloud-common 1.0.59
dexie-react-hooks 4.4.0
dexie-export-import 4.4.0

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.

  • Automatic offloading: Binaries ≥ 4 KB are offloaded to blob storage during sync
  • Lazy resolution: BlobRefs are resolved back to their original types on first read
  • Optional Lazy blob mode: Configure blobMode: 'lazy' to download blobs on-demand instead of eagerly after sync (default is 'eager')
  • Progress tracking: Observable db.cloud.blobProgress for download progress
import Dexie from 'dexie';
import dexieCloud from 'dexie-cloud-addon';

const db = new Dexie('mydb', { addons: [dexieCloud] });
db.version(1).stores({ photos: '@&#8203;id, title' });
db.cloud.configure({ databaseUrl: '...', blobMode: 'eager' });

// Store binary data — syncs normally, offloads transparently
await db.photos.add({
  title: 'Vacation',
  image: new Blob([imageData], { type: 'image/jpeg' })
});
📝 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.

  • Configurable threshold: maxStringLength option (default: 32768 characters)
  • Transparent: Offloaded strings resolve back to regular strings on read
  • IndexedDB unchanged: Full strings remain in local IndexedDB
db.cloud.configure({
  databaseUrl: '...',
  maxStringLength: 32768 // Strings longer than this are offloaded (default)
});

Bug Fixes

  • fix(dexie-export-import): Fix UTF-8 corruption for non-ASCII strings during import (#​2259)
  • fix(dexie-cloud): Always offload Blob/File objects regardless of size (#​2182)
  • fix(react-hooks): Avoid direct React.use access for React < 19

Other Changes

  • feat(dexie-cloud): Add copy-to-clipboard button for whitelist command (#​2261)
  • Use FinalizationRegistry for Dexie.connections and enforce maxConnections (#​2254)

v4.3.0

Compare Source

v4.2.1: Dexie v4.2.1

Compare Source

New package versions

  • dexie@​4.2.1
  • y-dexie@​4.2.1
  • dexie-cloud-addon@​4.2.2

dexie

dexie-cloud-addon

y-dexie

  • Updated README

Full Changelog: dexie/Dexie.js@v4.2.0...v4.2.1

v4.2.0: Dexie v4.2.0

Compare Source

New Stable Packages

  • dexie@​4.2.0
  • y-dexie@​4.2.0
  • dexie-react-hooks@​4.2.0
  • dexie-cloud-addon@​4.2.0

What's Changed since Latest Stable (dexie@​4.0.11)

  • New add-on "y-dexie" that integrates the powerful Y.js library with dexie.
  • Support "y-dexie" and Y.js in dexie-cloud-addon
  • New hook useDocument() in dexie-react-hooks for Y.js integration.
  • Fix Named Export 'Dexie' Not Found in Production with Vite/Vinxi by @​thijssmudde in #​2155
  • fix: 'Dexie' Not Found in Production with Vite/Vinxi dexie-react-hooks by @​Contraboi in #​2162

New Contributors

Migration from 4.1.x-beta

Dexie 4.1.x has been tagged @next and 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:

  1. npm install y-dexie
  2. Instead of import { DexieYProvider } from 'dexie' --> import { DexieYProvider } from 'y-dexie'
  3. Instead of DexieyYProvider<Y.Doc> --> DexieYProvider.
  4. No need to pass Y to Dexie constructor, but instead, pass the yDexie addon:
    import yDexie from 'y-dexie';
    ...
    const db = new Dexie('foo', { addons: [yDexie] });
    With dexieCloud addon, make sure to pass yDexie first: { addons: [yDexie, dexieCloud] }
  5. Declare Y.Doc properties as prop:Y.Doc instead of just prop:Y
    db.version(1).stores({
      friends: `
        ++id,
        name,
        age,
        friendNotes: Y.Doc` // where friendNotes holds the Y.Doc instance
    });

If you need a sample PR of these changes, have a look at dexie/dexie-cloud-starter#8

Full Changelog: b415d92...a978fc0


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 18, 2025
@renovate renovate Bot requested a review from a team August 18, 2025 11:41
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 94026d0 to 531303a Compare August 19, 2025 12:10
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 531303a to a9156e2 Compare August 31, 2025 11:37
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from a9156e2 to 02ac14f Compare September 25, 2025 18:02
@renovate renovate Bot changed the title build(deps): update dependency dexie to v4.2.0 build(deps): update dependency dexie to v4.2.1 Oct 6, 2025
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 02ac14f to 328731d Compare October 6, 2025 15:36
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 328731d to 7856b6d Compare October 21, 2025 09:12
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 7856b6d to 985dbff Compare November 10, 2025 22:14
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 985dbff to 788ee89 Compare December 3, 2025 16:44
@renovate renovate Bot changed the title build(deps): update dependency dexie to v4.2.1 build(deps): update dependency dexie to v4.3.0 Jan 30, 2026
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch 2 times, most recently from 5e1e5c6 to 7dbb321 Compare February 2, 2026 15:50
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 7dbb321 to 2d4c42b Compare March 5, 2026 16:45
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 2d4c42b to 4c10c8a Compare March 26, 2026 22:51
@renovate renovate Bot changed the title build(deps): update dependency dexie to v4.3.0 build(deps): update dependency dexie to v4.4.1 Mar 26, 2026
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 4c10c8a to 3dfa67a Compare March 31, 2026 15:38
@renovate renovate Bot changed the title build(deps): update dependency dexie to v4.4.1 build(deps): update dependency dexie to v4.4.2 Mar 31, 2026
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from 3dfa67a to e01192a Compare April 10, 2026 08:41
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from e01192a to e28f4c6 Compare April 29, 2026 16:59
@renovate renovate Bot force-pushed the renovate/dexie-4.x branch from e28f4c6 to d4d8005 Compare May 12, 2026 14:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants