This is not strictly necessary, but I think it will be convenient to have a
single Bazel target that represents all the crates we want to publish with each
release.
PiperOrigin-RevId: 732219832
With bazel 8, we need to explicitly import symbols. This is a first pass at a few I found, but there are likely more we will find when we introduce bazel 8 tests
PiperOrigin-RevId: 732190343
The main benefit here is enabling unpacking in an expression context whereas previously multiple statements were required. The return/raise API is also more idiomatic to Python than the current one using an out parameter and status return.
PiperOrigin-RevId: 731911306
We'd like to add new extensions backwards-incompatibly with a new extension number (and reserve a few for the future if we want to do this again). Thanks!
Closes#20485
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/20485 from andrewparmet:patch-1 f16b2bf455
PiperOrigin-RevId: 731797661
Sometimes it's useful to pass in the size directly instead of implicitly
relying on the ArenaString logic to also handle ReadSize (which involves
decoding a varint so it's not trivial work).
PiperOrigin-RevId: 731574814
Change "oldrefcount = 0" to "oldrefcount = self._getRefcounts()" to make sure the ref is counted. This will match python 3.12's change for reference (the original "oldrefcount=0" added 1 ref in 3.11, but does not increase reference count in 3.12).
PiperOrigin-RevId: 731103561
Users relying on internal upb functions may be broken as these are meant to be *internal*. In the interim, users may need to update their code by using the new Map iteration API.
PiperOrigin-RevId: 730929091
Use the `substitute_rust_release_version()` macro instead of a one-off genrule.
Also update lib.rs to reflect that we now generate a `generated.rs` file that
exports code for all the .proto files, instead of having a primary `pb.rs`
file.
PiperOrigin-RevId: 730882117
The upb_Message_GetUnknown() implementation was deleted as part of the changes for merged unknowns/extensions storage. However, its function prototype wasn't deleted yet in the header file.
PiperOrigin-RevId: 730456440
`google-protobuf` only support JRuby >= 9.4(Ruby 3.1 compatibility). So there is no need to consider versions under it.
Closes#20411
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/20411 from y-yagi:remove_code_for_unsupported_jruby c12058f9cb
PiperOrigin-RevId: 729608777