Skip to content

fix(noise): enable @libp2p/noise - #3620

Merged
tabcat merged 7 commits into
libp2p:mainfrom
tabcat:enable-noise
Sep 2, 2026
Merged

fix(noise): enable @libp2p/noise#3620
tabcat merged 7 commits into
libp2p:mainfrom
tabcat:enable-noise

Conversation

@tabcat

@tabcat tabcat commented Sep 2, 2026

Copy link
Copy Markdown
Member

Description

Enables the package imported in #3618:

  • monorepo-standard package.json (including sideEffects: false and module-sync export conditions) and tsconfig.json; upstream CI/editor/pnpm scaffolding removed (including pnpm-lock.yaml, which resolves the open dependabot alerts against it)
  • protobuf regenerated with the monorepo's protons
  • tests, lint, dep-check, doc-check and docs generation on (26 tests passing on node and browsers, 9 passing against go-libp2p daemons); the temporary docs and spell-check exclusions from chore: merge js-libp2p-noise into the monorepo #3618 lifted
  • registered with release-please, manifest seeded at the current upstream version 17.0.0 so the first release computes 17.0.1
  • package docs and runtime identity renamed to @libp2p/noise, with a "Formerly published as @chainsafe/libp2p-noise" note

No behavior changes: the only source edits are lint-fixed import extensions, the regenerated protobuf and the identity strings.

Part of the noise maintenance migration (#3604).

Notes & open questions

In-repo consumers stay on @chainsafe/libp2p-noise until a follow-up switches them over after the first @libp2p/noise release is published. Remaining @chainsafe/libp2p-noise references across the repo (docs, tables, fixtures) are deliberately deferred to that same follow-up, not an oversight.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Monorepo-standard package.json and tsconfig, upstream CI/editor/pnpm scaffolding removed, docs and spell-check exclusions lifted.
Lint-fixed import extensions, @libp2p/yamux devDep, package docs renamed to @libp2p/noise (README regenerated).
The staticNoiseKey example is rewritten against the current API, runtime-verified and compiled by doc-check.
@tabcat
tabcat marked this pull request as ready for review September 2, 2026 08:26
@tabcat
tabcat requested a review from a team as a code owner September 2, 2026 08:26
@tabcat
tabcat merged commit 185d901 into libp2p:main Sep 2, 2026
45 of 48 checks passed
@tabcat tabcat mentioned this pull request Sep 2, 2026
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