Skip to content

Releases: protocolbuffers/protobuf-javascript

v4.0.2

Choose a tag to compare

@dibenede dibenede released this 24 Feb 07:48
  • stop hardcoding protoc-gen-js plugin version in download script. This fixes an issue where @protocolbuffers/protoc-gen-js only downloads v4.0.0, which lacks support for editions 2024

Full Changelog: v4.0.1...v4.0.2

EDIT: Feb. 27, 2026: macos and windows releases were mistakenly double-zipped, causing further problems for the @protocolbuffers/protoc-gen-js's download script. Re-uploading the inner zip files to fix.

v4.0.2-rc7

Choose a tag to compare

@dibenede dibenede released this 20 Jan 15:35
d0a7fc0

Using bzlmod with Bazel 7 or later:

Add to your MODULE.bazel file:

bazel_dep(name = "protobuf_javascript", version = "v4.0.2-rc7")

What's Changed

  • adjust path for archive and bump pre-release version by @dibenede in #273

Full Changelog: v4.0.2-rc6...v4.0.2-rc7

v4.0.2-rc6

Choose a tag to compare

@dibenede dibenede released this 14 Jan 20:54

Using bzlmod with Bazel 7 or later:

Add to your MODULE.bazel file:

bazel_dep(name = "protobuf_javascript", version = "v4.0.2-rc6")

What's Changed

  • add MODULE.bazel and licenses to BCR package, bump pre-release version by @dibenede in #272

Full Changelog: v4.0.2-rc5...v4.0.2-rc6

v4.0.2-rc5

v4.0.2-rc5 Pre-release
Pre-release

Choose a tag to compare

@dibenede dibenede released this 14 Jan 05:29
edcf435

Using bzlmod with Bazel 7 or later:

Add to your MODULE.bazel file:

bazel_dep(name = "protobuf_javascript", version = "v4.0.2-rc5")

What's Changed

  • Switch BCR release workflow javascript source tarball, bump version by @dibenede in #271

Full Changelog: v4.0.2-rc4...v4.0.2-rc5

v4.0.2-rc4

v4.0.2-rc4 Pre-release
Pre-release

Choose a tag to compare

@dibenede dibenede released this 12 Jan 16:56
Bump version to 4.0.2-rc4 for testing BCR workflow

v4.0.2-rc3

v4.0.2-rc3 Pre-release
Pre-release

Choose a tag to compare

@dibenede dibenede released this 09 Jan 18:51
Add placeholder google-protobuf.js file to fix missing input

Release workflow currently errors out with `//:dist_files: missing
input file '//:google-protobuf.js'` because we normally only generate
it as part of the cross-compiled binary and npm releases. However,
this seems to be causing problems for the BCR release process because
the build target is broken without it.

This change just adds a placeholder file to smooth things over.

Bump version to 4.0.2-rc2 for testing BCR workflow

Choose a tag to compare

@dibenede dibenede released this 09 Jan 17:30
v4.0.2-rc2

Bump version to v4.0.2-rc2 or testing BCR workflow

v4.0.2-rc1

v4.0.2-rc1 Pre-release
Pre-release

Choose a tag to compare

@dibenede dibenede released this 09 Jan 16:55
475d672
Bump version to 4.0.2-rc1 for testing BCR workflow (#265)

The BCR publishing workflow requires a tag, and we can't use v4.0.1
since it didn't yet contain the actions. We will hold off doing an
actual plugin release to npm until BCR is settled.

v4.0.1

Choose a tag to compare

@dibenede dibenede released this 19 Nov 09:39
e50318a
  • Add support for protobuf edition 2024
  • Add --version argument to protoc-gen-js binary for easier version checking. E.g. running ./protoc-gen-js will yield 4.0.1.

v4.0.0

Choose a tag to compare

@dibenede dibenede released this 18 Aug 16:58

What's Changed

  • Backport: binary proto serialization/deserialization changes and enable protobuf Editions 2023 (breaking change)
  • Backport: Fix JSPB binary utf8 decoding and validate by default (breaking change)
  • Do not ignore descriptor extensions
  • Limit global resolution to globalThis by (breaking change)