Skip to content

build(deps): bump ueberdb2 from 5.0.48 to 6.0.2#7734

Merged
SamTV12345 merged 4 commits into
developfrom
dependabot/npm_and_yarn/ueberdb2-6.0.2
May 16, 2026
Merged

build(deps): bump ueberdb2 from 5.0.48 to 6.0.2#7734
SamTV12345 merged 4 commits into
developfrom
dependabot/npm_and_yarn/ueberdb2-6.0.2

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 11, 2026

Bumps ueberdb2 from 5.0.48 to 6.0.2.

Commits
  • da9a3d0 6.0.2
  • eea0844 feat: remove old vite import
  • ead691c 6.0.1
  • b852144 feat: use esm only (#951)
  • 3af918b build(deps-dev): bump @​types/node from 25.6.0 to 25.6.2 (#950)
  • d8a6108 build(deps): bump mongodb from 7.1.1 to 7.2.0 (#948)
  • bf10294 build(deps): bump cassandra-driver from 4.8.0 to 4.9.0 (#949)
  • 4cc6281 build(deps-dev): bump oxlint from 1.60.0 to 1.63.0 (#946)
  • 03af6bc build(deps): bump @​elastic/elasticsearch from 9.3.4 to 9.4.0 (#947)
  • bc4f1db build(deps-dev): bump rolldown from 1.0.0-rc.16 to 1.0.0 (#945)
  • 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)

@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot Bot commented on behalf of github May 12, 2026

A newer version of ueberdb2 exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@JohnMcLear
Copy link
Copy Markdown
Member

I think rustydb might have a bug so going to let this one simmer for a few weeks and see if someone isolates it, if not I'll have to debug. For now, leave it to simmer :)

SamTV12345 added a commit to ether/ep_set_title_on_pad that referenced this pull request May 16, 2026
ueberdb2 v6 is promise-only — the legacy `db.get(key, cb)` callback is
never called, so any code path that relied on it (e.g. exportFileName's
callback being nested inside the db.get callback) hangs forever and
times out the export pipeline. This was the cause of the Etherpad
backend test timeouts in ether/etherpad#7734.

- exportFileName: convert to async and await db.get directly so the
  hook returns once the title is read (or the read fails).
- clientVars: same pattern — await the title read instead of relying
  on the legacy callback firing.
- handleMessage saveRoomTitle: await db.set so the write is observed.
- Drop `db.dbSettings.cache = 0` (broken in v6: settings are frozen
  and the cache option moved to wrapperSettings; the mutation was a
  no-op in v6 and would crash if dbSettings were null).
- Use the `ep_etherpad-lite/node/db/DB` wrapper module instead of
  reaching into `.db` directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
dependabot Bot and others added 4 commits May 16, 2026 19:04
Bumps [ueberdb2](https://github.com/ether/ueberDB) from 5.0.48 to 6.0.2.
- [Changelog](https://github.com/ether/ueberDB/blob/main/CHANGELOG.md)
- [Commits](ether/ueberDB@v5.0.48...v6.0.2)

---
updated-dependencies:
- dependency-name: ueberdb2
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
ueberdb2 v6 ships ESM-only with an "import"-only exports map, which
broke `require('ueberdb2')` from src/'s CJS modules (gen:api crashed
with ERR_PACKAGE_PATH_NOT_EXPORTED). v6 also tightened the public
types: get/getSub now return `Promise<unknown>` instead of `any`, and
remove() no longer accepts the deprecated callback argument.

- DB.ts, ImportEtherpad.ts: load Database via dynamic `import()` so
  CJS consumers can pull in the ESM-only package; keep type imports.
- Pad.ts: switch Database to `import type`, cast `unknown` results
  from db.get()/getSub() at the four use sites that compose against
  typed values, and drop the deprecated `null` second argument from
  the two db.remove() calls.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
ueberdb2 v6 moved its DB drivers from `dependencies` to optional
`peerDependencies`, so `dirty-ts` is no longer installed transitively.
The CI backend tests on Windows (and any new install using the
settings.json.template default `dbType: "dirty"`) need it.

The other 12 drivers from v5's transitive set are already direct deps
in src/package.json. This commit just covers the one that was missed.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
v6.0.3 ships ether/ueberDB#958 — unwrap the CJS `__esModule`/default
wrapping on `import Dirty from 'dirty-ts'`. Without it, every consumer
using `dbType: "dirty"` (the settings.json.template default) crashes
at init with `TypeError: Dirty is not a constructor`.

Bumped in src/package.json and bin/package.json; lockfile refreshed.
Backend test suite (1115 tests) passes locally against v6.0.3 with
`dbType: "dirty"`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@SamTV12345 SamTV12345 force-pushed the dependabot/npm_and_yarn/ueberdb2-6.0.2 branch from 2deeb72 to e26c5c8 Compare May 16, 2026 17:09
@SamTV12345 SamTV12345 merged commit 8b9d9f3 into develop May 16, 2026
37 of 40 checks passed
@SamTV12345 SamTV12345 deleted the dependabot/npm_and_yarn/ueberdb2-6.0.2 branch May 16, 2026 18: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 javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants