Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency dexie to v4.0.7 #4941

Merged
merged 1 commit into from
May 27, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 27, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
dexie (source) 4.0.1 -> 4.0.7 age adoption passing confidence

Release Notes

dexie/Dexie.js (dexie)

v4.0.7: Dexie v4.0.7

Compare Source

  • Tighten non-idempotent CRDT operations (PR #​2000)
  • Align dexie and dexie-cloud-addon versions: 4.0.7

v4.0.5: Dexie v4.0.5

Compare Source

Features

New CRDT operations: add() and remove() (#​1936)

New operations that works consistently across sync: Mathematical addition/subtraction as well as adding or removing string or numbers from array properties.

Add to set

It is now possible to add items to an array property using a sync consistent operation "add":

import { add } from "dexie";

db.friends.update(friend.id, {
  hobbies: add([
    "skating",
    "football"
  ])
});
Remove from set
import { remove } from "dexie";

db.friends.update(friend.id, {
  hobbies: remove([
    "curling"
  ])
});
Mathematical addition and subtraction (number)
import { add, remove } from "dexie";

await db.transaction('rw', db.accounts, () => {
  db.accounts.update(accountId1, { balance: remove(100) });
  db.accounts.update(accountId2, { balance: add(100) });
});
Mathematical addition and subtraction (bigint)
import { add, remove } from "dexie";

await db.transaction('rw', db.accounts, () => {
  db.accounts.update(accountId1, { balance: remove(100n) });
  db.accounts.update(accountId2, { balance: add(100n) });
});

Typings

  • #​1998 TInsertType in table methods on Dexie and Transaction

Bug fixes

  • export ./dist/dexie.mjs (#​1997)
  • Fix missing idbtrans in transaction (#​1985)

[email protected]

v4.0.4: Dexie v4.0.4

Compare Source

Fixes #​1955 for real this time (the fix in 4.0.2 wasn't correct enough for npm)

v4.0.3

Compare Source

v4.0.2: Dexie v4.0.2

Compare Source

Patch Release

[email protected]

  • Fixes issue #​1946 - liveQueries of compound index involving auto-incremented primary key as part failed to update.
  • ~~Fixes issue #​1955 - tsconfig.json in root referering to nonexisting tsconfig in non-bundled src directory.~~ Fixed for real in 4.0.4.

[email protected]

  • Allow logging in with demo account in default login GUI and customized login GUI. User can write an imported @​demo.local address in the email dialog and can skip the OTP step.

Configuration

📅 Schedule: 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 has been generated by Mend Renovate. View repository job log here.

@h3poteto h3poteto merged commit c709ba7 into main May 27, 2024
2 checks passed
@h3poteto h3poteto deleted the renovate/dexie-4.x-lockfile branch May 27, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant