Protobuf Team Bot
9310d2e817
Breaking Change: Remove obsolete runtime internalBuildGeneratedFileFrom which was for backwards compatibility with old gencode.
...
Remove `sentinel.proto` and references to it.
This was announced in https://protobuf.dev/news/2023-12-05/ per our Cross-Version Runtime Guarantees: https://protobuf.dev/support/cross-version-runtime-guarantee/
PiperOrigin-RevId: 597849821
11 months ago
Sandy Zhang
519284a559
Remove LegacyDescriptorsUtil.java and JRuby's use of legacy descriptor APIs
...
This is not a breaking change since this has not been released yet.
PiperOrigin-RevId: 597824548
11 months ago
Protobuf Team Bot
03440ec744
Auto-generate files after cl/597662892
11 months ago
Protobuf Team Bot
81e5433f5c
Auto-generate files after cl/597629658
11 months ago
Protobuf Team Bot
06327f0a7c
Auto-generate files after cl/597573362
11 months ago
Protobuf Team Bot
41c8f2a5c6
Auto-generate files after cl/597378801
11 months ago
Protobuf Team Bot
1610bf149e
Auto-generate files after cl/597341799
11 months ago
Protobuf Team Bot
6820a563e2
Auto-generate files after cl/597327159
11 months ago
Protobuf Team Bot
9bee747dcf
Auto-generate files after cl/597279852
11 months ago
Protobuf Team Bot
8c1f635716
Auto-generate files after cl/597126288
11 months ago
Protobuf Team Bot
408b497d4e
Auto-generate files after cl/597088960
11 months ago
Protobuf Team Bot
afd94185f7
Auto-generate files after cl/597019522
11 months ago
Protobuf Team Bot
f2c187df28
Auto-generate files after cl/596962024
11 months ago
Joshua Haberman
dbd4dcede0
Breaking Change: Removed `syntax` and added `has_presence?`/`is_packed?`.
...
Closes #15313
PiperOrigin-RevId: 596962024
11 months ago
Protobuf Team Bot
e1253cd905
Auto-generate files after cl/596706308
11 months ago
Protobuf Team Bot
4e90eadcb3
Auto-generate files after cl/596588385
11 months ago
Protobuf Team Bot
1a21cb57b7
Auto-generate files after cl/596390524
11 months ago
Eric Salo
d228a44a2f
upb: fix some more compiler warnings in Ruby about missing return values
...
PiperOrigin-RevId: 596390202
11 months ago
Jason Lunn
bb38ba5575
Fix separate issues in JRuby's "native" `dup` and `inspect` methods. ( #15265 )
...
Update the stress test to exercise `proto3_optional` fields.
Closes #15265
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15265 from protocolbuffers:fix_jruby_proto3_optional 4040e13a7b
PiperOrigin-RevId: 596028361
11 months ago
Joshua Haberman
a8b8ea02b7
Breaking Change: fixed json_encode/json_decode to use the message's pool.
...
This bug arises only in the uncommon case where there is more than one DescriptorPool. In such a case, JSON encode/decode should always use the pool of the message being encoded/decoded, not the generated pool.
Closes #15281
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/15281 from protocolbuffers:ruby-json-pool-fix 91e2dc55dc
PiperOrigin-RevId: 596027770
11 months ago
Joshua Haberman
31313b1652
Breaking Change: freeze is now recursive, affecting all sub-messages, maps, and repeated fields.
...
PiperOrigin-RevId: 595779782
11 months ago
Protobuf Team Bot
7e32450ccd
Auto-generate files after cl/595733611
11 months ago
Joshua Haberman
fd699383f4
Breaking Change: Fixed inconsistencies in `Message#to_h`, [as previously announced]( https://protobuf.dev/news/2023-12-27/ ).
...
Fixes: https://github.com/protocolbuffers/protobuf/issues/6167
PiperOrigin-RevId: 595733611
11 months ago
Joshua Haberman
5cfc9e775d
Breaking Change: Dropped support for Ruby DSL, [as previously announced]( https://engdoc.corp.google.com/eng/doc/devguide/proto/news/2023-12-27.md#ruby-breaking-changes ).
...
The generated code has not used the DSL since 23.0 (released May 8, 2023).
PiperOrigin-RevId: 595481605
11 months ago
Eric Salo
df57e5474b
upb: fix Ruby bug which allowed map.delete(key) on a frozen map
...
Also clean up some compiler warnings about exiting from non-void functions without returning a value.
PiperOrigin-RevId: 595185251
11 months ago
Protobuf Team Bot
3d9916caca
Auto-generate files after cl/595137531
11 months ago
Protobuf Team Bot
18d4a7651b
Auto-generate files after cl/595018281
11 months ago
Protobuf Team Bot
de5ea1e6a4
Auto-generate files after cl/595002227
11 months ago
Protobuf Team Bot
cb8a31ee3d
Auto-generate files after cl/594992691
11 months ago
Protobuf Team Bot
2b79738d5f
Auto-generate files after cl/594654099
12 months ago
Protobuf Team Bot
499c748e39
Auto-generate files after cl/594514934
12 months ago
Protobuf Team Bot
61b82528ba
Auto-generate files after cl/594337191
12 months ago
Protobuf Team Bot
1597bf4971
Auto-generate files after cl/594322509
12 months ago
Protobuf Team Bot
c2c01b6166
Auto-generate files after cl/594280505
12 months ago
Joshua Haberman
442e079677
Removed Ruby compatibility tests.
...
In Ruby protobuf 4.26.0 we are intentionally breaking compatibility with our generated code from Protobuf 3.0.0. So these tests are now obsolete.
PiperOrigin-RevId: 594157323
12 months ago
Protobuf Team Bot
e9ea4a5154
Auto-generate files after cl/594135760
12 months ago
Joshua Haberman
75455eae6c
Fixed compiler warnings in the Ruby C extension.
...
PiperOrigin-RevId: 594106078
12 months ago
Protobuf Team Bot
9b4aff2a43
Auto-generate files after cl/594089137
12 months ago
Protobuf Team Bot
80b5fe437b
Auto-generate files after cl/594074354
12 months ago
Protobuf Team Bot
c4a7b036ad
Auto-generate files after cl/593870914
12 months ago
Protobuf Team Bot
4c7434560d
Auto-generate files after cl/593859422
12 months ago
Charles OuGuo
f869cfa479
In Ruby repeated fields, each_index actually iterates over the index ( #11767 )
...
Currently we're aliasing `each_index` to `each_with_index`, incorrectly passing both the index and the value of a repeated field to the block.
What we want is to just pass the index. Luckily this is a method on Ruby arrays, so we just wrap the native Ruby array method.
Fixes https://github.com/protocolbuffers/protobuf/issues/7806
Closes #11767
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11767 from shaldengeki:shaldengeki-repeated-field-each-index-returns-actual-index 874916c21d
PiperOrigin-RevId: 593835025
12 months ago
Protobuf Team Bot
da56def7c2
Auto-generate files after cl/593821827
12 months ago
Protobuf Team Bot
e27855032a
Auto-generate files after cl/592935088
12 months ago
Protobuf Team Bot
4a8f21ea94
Auto-generate files after cl/592863926
12 months ago
Protobuf Team Bot
6964e2c9d4
Auto-generate files after cl/592856106
12 months ago
Protobuf Team Bot
a0e8195490
Auto-generate files after cl/592847506
12 months ago
Protobuf Team Bot
df7e74b1d4
Auto-generate files after cl/592844285
12 months ago
Protobuf Team Bot
8981fe5cab
Auto-generate files after cl/592677762
12 months ago
Protobuf Team Bot
1db9465104
Auto-generate files after cl/592392732
12 months ago