github.com/protocolbuffers/protobuf breaking changes

go

11 curated breaking changes across major versions of github.com/protocolbuffers/protobuf. Use this as a migration checklist before bumping dependencies.

11
changes
Breaking changes by transition
  • v25.9 \u2192 v35.0-rc1breaking

    Dropped support for Bazel 7. (https://github.com/protocolbuffers/protobuf/commit/181675806987071b1a9af6e22b881cf9c3dca73e)

  • v33.4 \u2192 v34.0-rc1.1breaking

    Refine the conditions for the MSVC constinit workaround (https://github.com/protocolbuffers/protobuf/commit/38927bf2b93a42e2a155b49f9d610c70cc5942ec)

  • v33.4 \u2192 v34.0-rc1.1breaking

    Feat(bazel): wire up prebuilt protoc toolchain (#24115) (https://github.com/protocolbuffers/protobuf/commit/cc23698b486e690ea2eb873cc7596a87c74a3ba6)

  • v33.4 \u2192 v34.0-rc1.1breaking

    Migrate `proto_descriptor_set` (#23369) (https://github.com/protocolbuffers/protobuf/commit/8d4dfdd39a7a242a9ed631a6ab2192c57dd9b9c8)

  • v33.4 \u2192 v34.0-rc1.1breaking

    Add bounds checking to ExtractSubrange. (https://github.com/protocolbuffers/protobuf/commit/5687acc54cab007591b60d23e7f055209df03eac)

  • v33.4 \u2192 v34.0-rc1.1breaking

    This CL starts failing on `[unverified_lazy = true]` on extensions, which have been (https://github.com/protocolbuffers/protobuf/commit/d2a42e74b9ee7d7a11c5bca95ab7b49c0d4fea27)

  • v34.0-rc2 \u2192 v34.0breaking

    Dropped support for Bazel 7. (https://github.com/protocolbuffers/protobuf/commit/304c9ba5311db66a3b5dde7ed4ccafe9e0c0c893)

  • v34.0-rc2 \u2192 v34.0breaking

    Don't check for native protobuf flags if the proto fragment doesn't exist. (#25803) (https://github.com/protocolbuffers/protobuf/commit/5975f138121c6ae2a48958f2cdece711dc23bd36)

  • v34.0-rc2 \u2192 v34.0breaking

    Fix the prefer_prebuilt_protoc alias to use the correct originally announced location (https://github.com/protocolbuffers/protobuf/commit/732ed49b0ae330830ba08d2b761ce0a77b48cb73)

  • v34.0-rc2 \u2192 v34.0breaking

    Actually fix breaking change related to `upb_proto_reflection_library` (https://github.com/protocolbuffers/protobuf/commit/86d434bc3022db3c7069466a967362dc4592a4a2)

  • v34.0-rc2 \u2192 v34.0breaking

    Fix breaking change related to `upb_c_proto_library` and `upb_proto_reflection_library` (https://github.com/protocolbuffers/protobuf/commit/b0150c0f13bd1467ec8cfedcc521d3b2c7d14e57)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/go/github.com/protocolbuffers/protobuf
github.com/protocolbuffers/protobuf breaking changes — Go migration guide | DepScope