Deanna Garcia
c7d979dbf4
Update UPB dependency
...
PiperOrigin-RevId: 524423191
2 years ago
Protobuf Team Bot
482156c0f9
Updating version.json and repo version numbers to: 22.3
2 years ago
Protobuf Team Bot
41287bd5d5
Implement "reserved" for extension declaration.
...
This can be useful when an extension field/declaration is deleted in schema to avoid data corruption.
It also adds a check for duplicate numbers in the declarations.
PiperOrigin-RevId: 523269837
2 years ago
Mike Kruskal
145900f06c
Open-source extension declaration definition.
...
PiperOrigin-RevId: 519752053
2 years ago
Eric Salo
dfb71558a2
sync to current upb and enable new unit test on upb
...
PiperOrigin-RevId: 518643876
2 years ago
Mike Kruskal
d480470dfc
Internal changes
...
PiperOrigin-RevId: 518088680
2 years ago
Jakob Buchgraber
c0c79b2791
Bump upb version
...
PiperOrigin-RevId: 517972179
2 years ago
Mike Kruskal
0c12139893
Automated rollback of commit 9e8435ac40
.
...
PiperOrigin-RevId: 517595570
2 years ago
Protobuf Team Bot
9e8435ac40
Automated rollback of commit 1c23a17f09
.
...
PiperOrigin-RevId: 517494787
2 years ago
Mike Kruskal
1c23a17f09
Switch option target to a repeated field
...
PiperOrigin-RevId: 517453262
2 years ago
zhangskz
b15bf628e5
Merge 22.x back to main ( #12200 )
...
Closes #12200
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12200 from protocolbuffers:main-202303101853 1efa2e7205
PiperOrigin-RevId: 515722578
2 years ago
Mike Kruskal
25dfc39b11
Internal changes
...
PiperOrigin-RevId: 515648197
2 years ago
Protobuf Team Bot
81f89d509d
Updating version.json and repo version numbers to: 22.2
2 years ago
deannagarcia
15bd2c21cf
Merge 22.x back to main ( #12169 )
...
Closes #12169
PiperOrigin-RevId: 515161008
2 years ago
Protobuf Team Bot
839e8d25ea
Updating version.json and repo version numbers to: 22.1
2 years ago
Protobuf Team Bot
72eb4652b7
Parallelize the build of the PHP extension
...
PiperOrigin-RevId: 513922943
2 years ago
Mike Kruskal
0a480ad51a
Use pwd instead of realpath for macos
...
Closes https://github.com/protocolbuffers/protobuf/issues/10567
PiperOrigin-RevId: 512750155
2 years ago
Mike Kruskal
649cc30872
Open-source some of our string_view tests.
...
This support was added in 22.x, but we don't have any tests locking it down.
Closes https://github.com/protocolbuffers/protobuf/issues/8096
PiperOrigin-RevId: 510242380
2 years ago
Deanna Garcia
7f6b36ce0c
Revert UPB dep update
2 years ago
Protobuf Team Bot
a847a8dc4b
Updating version.json and repo version numbers to: 22.0
2 years ago
Protobuf Team Bot
4dd7a1e380
Updating version.json and repo version numbers to: 22.0-rc3
2 years ago
zhangskz
7d1b0348f7
Update protobuf's upb dep to latest upb protobuf dep update commit ( #11907 )
2 years ago
Andrei Tcaci
363fa89b1f
RepeatedField: unset by index ( #11425 )
...
Instead of using `array_pop()` to remove last element use `unset()` to remove by index
Closes #11425
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11425 from Leprechaunz:unset-by-index a47fba57e4
PiperOrigin-RevId: 508691545
2 years ago
Sandy Zhang
6a00a20eea
Fix merge issue: Update upb dep to commit fixing ruby flake. Also fixes bad amalgamation update from bad merge.
2 years ago
Mike Kruskal
9104075c10
Migrate remaining cross-architecture tests to GHA
...
PiperOrigin-RevId: 506995031
2 years ago
Mike Kruskal
ccbdaa7e9d
Bump upb version to fix ruby flakes
...
PiperOrigin-RevId: 506798675
2 years ago
Mike Kruskal
f0ef44d1e1
Migrate remaining macOS tests to GHA actions
...
PiperOrigin-RevId: 506744609
2 years ago
Protobuf Team Bot
fa7a079c11
Updating version.json and repo version numbers to: 22.0-rc2
2 years ago
deannagarcia
68806c04a8
Update UPB dep ( #11782 )
2 years ago
Mike Kruskal
4a4862b394
Bump upb version to pull in windows/python bazel fix
...
PiperOrigin-RevId: 506510613
2 years ago
Deanna Garcia
59cfc2f165
Update protobuf's UPB dep to include the most recent changes.
...
PiperOrigin-RevId: 506093740
2 years ago
Protobuf Team Bot
2b406251e4
Updating version.json and repo version numbers to: 22.0-rc1
2 years ago
Mike Kruskal
75088504b0
Remove noisy LOG statement in Message Differencer
...
PiperOrigin-RevId: 504871200
2 years ago
zhangskz
d5d5567577
Update protobuf upb dep ( #11668 )
...
Closes #11668
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11668 from zhangskz:protobuf-upb-dep 0ebcbda9b5
PiperOrigin-RevId: 504707372
2 years ago
Mike Kruskal
232ecf4a6f
Bump protobuf to latest upb version.
...
PiperOrigin-RevId: 502022138
2 years ago
Brent Shaffer
8e636d53e9
fix: php 8.2 dynamic property warning in MapFieldIter ( #11485 )
...
addresses #11243
Defines `$key_type` in `MapFieldIter`, so as not to trigger PHP 8.2 warning. Note that this will change the visibility of `$key_type` from public in previous versions to private in this version. This is a breaking change, but anyone using `$key_type` in this way is misusing the library, so I think it's acceptable.
Closes #11485
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11485 from bshaffer:fix-php-82-dynamic-warning-in-MapFieldIter b45c34d2be
PiperOrigin-RevId: 501040413
2 years ago
Brent Shaffer
ade256e153
chore: fix php lint ( #11417 )
...
fixes https://github.com/protocolbuffers/protobuf/issues/11387
Addresses misc PHPDoc formatting issues.
Note: This does the bare minimum to suppress the errors. In some cases, most notably in `CodedInputStream`, the `@param` tag is still missing a typehint, and should have one added (in those cases, the variable is being passed in as `int`, but then used in the function as `string`, so it will take consideration)
Closes #11417
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11417 from bshaffer:fix-php-lint 32c665d1e2
PiperOrigin-RevId: 499952558
2 years ago
Eric Salo
b7d54ace5e
switch PHP and Ruby over to the new upb_Map_Delete()
...
We would like for upb_Map_Delete() to optionally return the deleted value.
Unfortunately this will require several steps since we are crossing repos.
Step #4 : advance the upb version used by protobuf and update PHP/Ruby accordingly.
PiperOrigin-RevId: 498426185
2 years ago
Eric Salo
b598b2dd1f
switch PHP and Ruby to using upb_Map_Delete2()
...
We would like for upb_Map_Delete() to optionally return the deleted value.
Unfortunately this will require several steps since we are crossing repos.
Step #2 : Point PHP and Ruby at the new temporary function.
point the protobuf repo at latest upb
regenerate the amalgamation files
PiperOrigin-RevId: 497310441
2 years ago
Matt Fowles Kulukundis
1697e4558b
Main 202212161220 ( #11340 )
...
Closes #11340
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11340 from protocolbuffers:main-202212161220 c39ccb73fb
PiperOrigin-RevId: 496029356
2 years ago
Protobuf Team Bot
9238c4843a
Add debug_redact field option to protobuf.
...
PiperOrigin-RevId: 496016877
2 years ago
Mike Kruskal
c39ccb73fb
Fix bad merge from 21.x
2 years ago
Mike Kruskal
6b87d6f445
Add a deprecated message and enum option for restoring legacy json field validation.
...
See https://github.com/protocolbuffers/protobuf/pull/10750 for more information.
PiperOrigin-RevId: 495354518
2 years ago
Protobuf Team Bot
f0dc78d7e6
Updating version.json and repo version numbers to: 21.12
2 years ago
Joshua Haberman
7b0ca6995d
Updated release branch to latest upb. ( #11258 )
...
* Updated release branch to latest upb.
* Updated amalgamated files.
2 years ago
Eric Salo
1050599cb0
update protobuf_deps.bzl to pull in the latest upb
...
PiperOrigin-RevId: 494793478
2 years ago
Mike Kruskal
032c9c8ada
Internal changes
...
PiperOrigin-RevId: 493986824
2 years ago
Protobuf Team Bot
99eb7fa891
Updating version.json and repo version numbers to: 21.11
2 years ago
Protobuf Team Bot
a474c5b9ff
Updating version.json and repo version numbers to: 21.11
2 years ago
Eric Salo
9d17e97927
sync with current 21.x upb
2 years ago