build(deps): bump ueberdb2 from 5.0.48 to 6.0.2#7734
Merged
Conversation
6 tasks
Contributor
Author
|
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. |
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>
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>
2deeb72 to
e26c5c8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps ueberdb2 from 5.0.48 to 6.0.2.
Commits
da9a3d06.0.2eea0844feat: remove old vite importead691c6.0.1b852144feat: use esm only (#951)3af918bbuild(deps-dev): bump@types/nodefrom 25.6.0 to 25.6.2 (#950)d8a6108build(deps): bump mongodb from 7.1.1 to 7.2.0 (#948)bf10294build(deps): bump cassandra-driver from 4.8.0 to 4.9.0 (#949)4cc6281build(deps-dev): bump oxlint from 1.60.0 to 1.63.0 (#946)03af6bcbuild(deps): bump@elastic/elasticsearchfrom 9.3.4 to 9.4.0 (#947)bc4f1dbbuild(deps-dev): bump rolldown from 1.0.0-rc.16 to 1.0.0 (#945)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)