Skip to content

fix(deps): update dependency dexie-react-hooks to v4#385

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

fix(deps): update dependency dexie-react-hooks to v4#385
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/dexie-react-hooks-4.x

Conversation

@renovate

@renovate renovate Bot commented Nov 3, 2025

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
dexie-react-hooks (source) ^1.1.7^4.0.0 age confidence

Release Notes

dexie/Dexie.js (dexie-react-hooks)

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: '@​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.2.0: Dexie v4.2.0

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 Nov 3, 2025
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from c93db74 to 43f503e Compare November 10, 2025 17:45
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from 43f503e to 2b0faba Compare November 25, 2025 16:17
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from c39022c to fad8df2 Compare December 3, 2025 18:59
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from fad8df2 to 34fa892 Compare December 30, 2025 15:39
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from 34fa892 to 0ad01aa Compare January 19, 2026 19:08
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 3 times, most recently from bd0c01f to 3301528 Compare February 2, 2026 10:43
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from 3301528 to b876e2d Compare February 9, 2026 13:55
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 5 times, most recently from 1970b11 to ae465a1 Compare February 26, 2026 14:32
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from 286c739 to f6791e7 Compare March 19, 2026 09:09
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from 543680b to bfacd16 Compare March 26, 2026 20:32
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from bfacd16 to d2b5894 Compare April 1, 2026 16:05
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 3 times, most recently from 189bf27 to 883ece8 Compare April 14, 2026 11:34
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from 883ece8 to da22101 Compare April 16, 2026 09:40
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from da22101 to 3b01f4a Compare April 29, 2026 12:05
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from 3b01f4a to fe3f39f Compare May 12, 2026 09:16
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from 2b8ff5b to f6cf4d6 Compare June 1, 2026 19:53
@sonarqubecloud

sonarqubecloud Bot commented Jun 1, 2026

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch 2 times, most recently from d7b48a0 to b87c1fc Compare June 15, 2026 09:55
@sonarqubecloud

Copy link
Copy Markdown

@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from b87c1fc to eccbef1 Compare June 15, 2026 12:13
@renovate
renovate Bot force-pushed the renovate/dexie-react-hooks-4.x branch from eccbef1 to 0536536 Compare July 12, 2026 16:16
@sonarqubecloud

Copy link
Copy Markdown

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