Skip to content

Bump sharedb from 6.0.5 to 7.0.0 - #49

Merged
alecgibson merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sharedb-7.0.0
Oct 28, 2026
Merged

alecgibson merged 1 commit into
mainfrom
dependabot/npm_and_yarn/sharedb-7.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 27, 2026

Copy link
Copy Markdown
Contributor

Bumps sharedb from 6.0.5 to 7.0.0.

Release notes

Sourced from sharedb's releases.

v7.0.0

  • share/sharedb#725 — 💥 BREAKING: Reject json0 ops that ot-json0 can only apply
    • A json0 op that isn't an array of components (eg a bare {p: ['x'], oi: 1}) used to commit as a silent no-op, and crashed servers using $fixup(). It's now rejected with ERR_OT_OP_BADLY_FORMED.
    • doc.submitOp() is unaffected, since it already normalizes ops. Code calling backend.submit() directly should wrap bare components in an array: [{p: ['x'], oi: 1}]
    • doc.submitOp() now calls back with an error instead of throwing if the type throws while normalizing the op
  • GHSA-94fr-2wj7-v4vj, GHSA-4fp7-5cq7-7mr6 — Type-check the versions, ids and collections clients send
    • Fixes an issue where a message with an unconvertible value (eg {toString: 1}) could crash a ShareDB server process
    • Fixes an issue where a non-string query collection name could let a client bypass access checks in query and readSnapshots middleware
    • Thanks to @​shreyanshj10 for the original crash fix in #742, and to @​dawidreedsy for reporting the middleware bypass!
  • share/sharedb#743 — Stop a failed subscribeBulk() orphaning in-flight streams
  • share/sharedb#745 — Stop stale remote presence catch-up looping forever
  • share/sharedb#750 — Ignore pollInterval and pollDebounce from clients
    • Set these on the database adapter instead, or map your own option onto context.options in query middleware
  • share/sharedb#753 — Only call _subscribe() once for concurrent subscribes to a channel
  • share/sharedb#754 — Document how to stop clients spoofing op src
Commits
  • ea090f5 7.0.0
  • 2a94770 Merge commit from fork
  • 8651246 Merge pull request #725 from share/reject-json0-ops-ot-json0-cannot-compose
  • d606be6 💥 Reject json0 ops that ot-json0 can only apply
  • 79ed575 Merge pull request #766 from share/pin-ubuntu-2204
  • 737dfdc 👷‍♀️ Pin CI to ubuntu-22.04 until MongoDB 8.0.35 ships
  • 9e4e428 Merge pull request #754 from share/worktree-glittery-dazzling-kahan
  • b71e373 🔒️ Type-check the versions, ids and collections clients send
  • 3446273 Merge pull request #753 from share/coalesce-concurrent-subscribes
  • ad54aa4 Merge pull request #750 from share/ignore-client-poll-options
  • 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 [sharedb](https://github.com/share/sharedb) from 6.0.5 to 7.0.0.
- [Release notes](https://github.com/share/sharedb/releases)
- [Changelog](https://github.com/share/sharedb/blob/main/CHANGELOG.md)
- [Commits](share/sharedb@v6.0.5...v7.0.0)

---
updated-dependencies:
- dependency-name: sharedb
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

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 27, 2026
@alecgibson
alecgibson merged commit 35f729a into main Oct 28, 2026
8 checks passed
@alecgibson
alecgibson deleted the dependabot/npm_and_yarn/sharedb-7.0.0 branch October 28, 2026 10:54
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