Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: protocolbuffers/protobuf-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.0.1
Choose a base ref
...
head repository: protocolbuffers/protobuf-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.0.2
Choose a head ref
  • 16 commits
  • 39 files changed
  • 3 contributors

Commits on Dec 9, 2025

  1. Configuration menu
    Copy the full SHA
    9f216f3 View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2025

  1. Replace Node.js version header generator with C++ implementation (#261)

    Replaces the Node.js-based generate-version-header.js script with a C++
    implementation to eliminate the Node.js runtime dependency from the build
    process. The new C++ tool reads package.json and generates the same
    version.h header file.
    
    Also fixes Closure Compiler errors under strict mode in
    extension_field_binary_info.js and map.js by properly assigning
    goog.requireType calls to const variables instead of using standalone
    goog.requireType calls.
    
    Changes:
    - Add generator/generate-version-header.cc with C++ implementation
    - Remove generate-version-header.js
    - Update generator/BUILD.bazel to use cc_binary instead of Node.js script
    - Add rules_cc dependency to MODULE.bazel
    - Update BUILD.bazel to remove deleted script from exports_files
    - Fix goog.requireType usage in extension_field_binary_info.js and map.js
    pcj authored Dec 18, 2025
    Configuration menu
    Copy the full SHA
    a908831 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2025

  1. Add Bazel Central Registry (BCR) publishing support (#262)

    * Replace Node.js version header generator with C++ implementation
    
    Replaces the Node.js-based generate-version-header.js script with a C++
    implementation to eliminate the Node.js runtime dependency from the build
    process. The new C++ tool reads package.json and generates the same
    version.h header file.
    
    Also fixes Closure Compiler errors under strict mode in
    extension_field_binary_info.js and map.js by properly assigning
    goog.requireType calls to const variables instead of using standalone
    goog.requireType calls.
    
    Changes:
    - Add generator/generate-version-header.cc with C++ implementation
    - Remove generate-version-header.js
    - Update generator/BUILD.bazel to use cc_binary instead of Node.js script
    - Add rules_cc dependency to MODULE.bazel
    - Update BUILD.bazel to remove deleted script from exports_files
    - Fix goog.requireType usage in extension_field_binary_info.js and map.js
    
    * Add BCR boilerplate
    
    * Add //:javascript target
    
    * Add patch to remove dist-related bazel targets from root BUILD file
    
    * Mark rules_pkg as a dev dependency
    
    * bcr: remove non-google maintainer
    
    * Remove version string in MODULE.bazel
    
    * Add e2e/bcr to bazelignore
    
    Also add .bazelrc configuration to disallow auto-importing previously native symbols (e.g. sh_binary)
    pcj authored Dec 19, 2025
    Configuration menu
    Copy the full SHA
    ed7064f View commit details
    Browse the repository at this point in the history

Commits on Jan 8, 2026

  1. Configuration menu
    Copy the full SHA
    a0c2db7 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. 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.
    dibenede authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    475d672 View commit details
    Browse the repository at this point in the history
  2. Tweak source archive URL for BCR publish workflow

    The workflow is currently using an URL that resembles cross-compiled
    protoc-gen-js zips without architecture info. Swap to using the URL
    for the zips.
    dibenede committed Jan 9, 2026
    Configuration menu
    Copy the full SHA
    85035fc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b784079 View commit details
    Browse the repository at this point in the history
  4. 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.
    dibenede committed Jan 9, 2026
    Configuration menu
    Copy the full SHA
    7d64c8d View commit details
    Browse the repository at this point in the history

Commits on Jan 12, 2026

  1. Use bazel build for BCR release test command

    By default, the release_ruleset wants to use `bazel test //...`, but
    this will fail since we have no tests registered with bazel (we use
    jasmine via gulp). Instead, just try to build the tarball as a basic
    check.
    dibenede committed Jan 12, 2026
    Configuration menu
    Copy the full SHA
    016866a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    34756fc View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. Switch BCR release workflow javascript source tarball, bump version (#…

    …271)
    
    Switch BCR release workflow javascript source tarball, bump version
    dibenede authored Jan 14, 2026
    Configuration menu
    Copy the full SHA
    edcf435 View commit details
    Browse the repository at this point in the history
  2. add MODULE.bazel and licenses to BCR package, bump pre-release version

    While the traditional dist tarball includes MODULE.bazel, it has an
    architecture specific name that is inappropriate for BCR. The tar'd
    javascript filegroup is closer to what we want, but the release
    process fails when it doesn't find MODULE.bazel.
    
    This change just splits the difference and adds MODULE.bazel to the
    javascript filegroup.
    dibenede committed Jan 14, 2026
    Configuration menu
    Copy the full SHA
    9eb5f39 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. Configuration menu
    Copy the full SHA
    d0a7fc0 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2026

  1. Update for bazel 9 and protobuf 33.4 (#274)

    * Bazel 9 cleans up a deprecated flag that is still lingering, but should be a no-op.
    * Update workflows to use protobuf 33.4
    dibenede authored Feb 9, 2026
    Configuration menu
    Copy the full SHA
    261daec View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2026

  1. Configuration menu
    Copy the full SHA
    1cb4478 View commit details
    Browse the repository at this point in the history
  2. bump version v4.0.2

    Fix bug in @protocolbuffers/protoc-gen-js package that causes it to
    erroneously download an older version (v4.0.0) of the plugin.
    dibenede committed Feb 23, 2026
    Configuration menu
    Copy the full SHA
    88c63a0 View commit details
    Browse the repository at this point in the history
Loading