Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 6, 2025

Bumps dexie from 4.0.11 to 4.2.1.

Release notes

Sourced from dexie's releases.

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 dexie/Dexie.js#2155
  • fix: 'Dexie' Not Found in Production with Vite/Vinxi dexie-react-hooks by @​Contraboi in dexie/Dexie.js#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: dexie/Dexie.js@b415d92...a978fc0

... (truncated)

Commits
  • 9384a17 Build output
  • 930b13e Merge remote-tracking branch 'origin/releases'
  • d6cc007 Releasing v4.2.1
  • 6f982ad bump sample todo-app version
  • e09b01e dexie-cloud-addon@4.2.2 (fixed default login GUI styling)
  • f337809 Fix styling of default login dialog in dexie-cloud-addon (#2204)
  • 4991356 Feature: Table.upsert() (#2203)
  • 9e6aeae Updated y-dexie readme
  • 13ce549 ToDo sample bugfix (todo item title got stale on blur)
  • 373c0fb Optimize sync of repeated updates of same property (#2201)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [dexie](https://github.com/dexie/Dexie.js) from 4.0.11 to 4.2.1.
- [Release notes](https://github.com/dexie/Dexie.js/releases)
- [Commits](dexie/Dexie.js@v4.0.11...v4.2.1)

---
updated-dependencies:
- dependency-name: dexie
  dependency-version: 4.2.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 6, 2025
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant