Skip to content

chore(deps): Bump @evolu/nodejs from 4.4.3 to 4.6.0 - #77

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/evolu/nodejs-4.6.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/evolu/nodejs-4.6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor

Bumps @evolu/nodejs from 4.4.3 to 4.6.0.

Release notes

Sourced from @​evolu/nodejs's releases.

@​evolu/nodejs@​4.6.0

Minor Changes

  • b352b38: Sent an empty text frame with each relay ping, so clients notice connections that die without closing

    The WebSocket API answers pings without telling JavaScript, in browsers, React Native and Node alike, so a client could not tell a connection that died silently from an idle one. The relay now sends an empty text frame as each connection's first frame and right after each ping, which clients from @evolu/common 8.26.0 watch; older clients ignore it. A proxy in front of the relay must allow more than thirty seconds of idle time, as it already had to for the pings.

    pingInterval of createRelay must now be at most thirty seconds, relayHeartbeatInterval, and a longer one panics before the relay opens its database.

Patch Changes

  • Updated dependencies [b352b38]
  • Updated dependencies [f4ed930]
  • Updated dependencies [d6838fb]
    • @​evolu/common@​8.26.0

@​evolu/nodejs@​4.5.0

Minor Changes

  • f4e7be7: Added deleteOwner to Relay, which deletes an owner's data

    A relay operator can now delete everything a relay stores for an owner, its messages, timestamps, usage, and write key, such as the data of a customer who leaves a paid relay, without editing the relay's database file. relay.deleteOwner(ownerId) waits for the owner's write in progress and closes the connections subscribed to the owner. Refuse the owner's writes first with isOwnerWithinQuota, or its devices upload their data again on their next sync. isOwnerAllowed is not enough, because it checks only the OwnerId a connection names when it connects.

    Storage no longer has deleteOwner, which sync never called; BaseSqliteStorage and the new RelaySqliteStorage have it. createRelaySqliteStorage now returns a RelaySqliteStorage, whose deleteOwner returns a Task instead of deleting right away, so run it, as in await run(storage.deleteOwner(ownerIdBytes)). A call such as storage.deleteOwner(ownerIdBytes) still compiles but deletes nothing. A custom implementation of Relay needs deleteOwner.

    import {
      assertType,
      type OwnerId,
      type OwnerIdBytes,
      type Result,
      type Run,
      type Task,
      type UnknownError,
    } from "@evolu/common";
    import type { Relay, RelaySqliteStorage } from "@evolu/common/local-first";
    // The relay's isOwnerWithinQuota answers with !deletedOwnerIds.has(ownerId).
    const deletedOwnerIds = new Set<OwnerId>();
    const deleteCustomer = (
    relay: Relay,
    ownerId: OwnerId,
    ): Task<void, UnknownError> => {
    deletedOwnerIds.add(ownerId);
    return relay.deleteOwner(ownerId);
    };
    assertType<ReturnType<typeof deleteCustomer>, Task<void, UnknownError>>();

... (truncated)

Commits
  • 21c085a Version Packages
  • b20abd6 Merge remote-tracking branch 'origin/main' into claude/evolu-delete-database-...
  • 3181c99 Add a Local-Only playground to the web app that deletes its data with Evolu.d...
  • f4ed930 Implement Evolu.deleteDatabase in @​evolu/common, @​evolu/web, @​evolu/react-nat...
  • b352b38 Replace relay connections that die without closing in @​evolu/common and send ...
  • d6838fb Give databases kept in memory a name of their own in @​evolu/common, @​evolu/we...
  • d797f8e Update sql-parser-cst to 0.42.4 and restore cross join on in @​evolu/common
  • c4952ec Version Packages
  • 1e73148 Store a new owner's write key only with its first accepted relay write in @​ev...
  • 54c9ce0 Skip the React Native app jobs when @​evolu/react-native changes only its vers...
  • 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 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 [@evolu/nodejs](https://github.com/evoluhq/evolu) from 4.4.3 to 4.6.0.
- [Release notes](https://github.com/evoluhq/evolu/releases)
- [Commits](https://github.com/evoluhq/evolu/compare/@evolu/nodejs@4.4.3...@evolu/nodejs@4.6.0)

---
updated-dependencies:
- dependency-name: "@evolu/nodejs"
  dependency-version: 4.6.0
  dependency-type: direct:production
  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 Nov 6, 2026
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.

0 participants