Protobuf Team Bot
05835e374d
Updating version.json and repo version numbers to: 24.0-rc1
1 year ago
Mike Kruskal
9d43502e10
Update upb dependency ( #13271 )
...
Closes #13271
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13271 from mkruskal-google:main 8fbcf76d25
PiperOrigin-RevId: 547269038
1 year ago
Brett McBride
d603b4199e
adding provide to php composer.json ( #13141 )
...
Adding composer config to allow the native protobuf extension to provide ext-protobuf.
This allows libraries to require at least one protobuf implementation. If the extension is not available, it can be provided by the native package. If the extension is available but the native package is required, the native will be installed.
Importantly, for libraries which require at least one of them to be installed, composer will complain if neither is available.
Closes #13141
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13141 from brettmc:php-provides-ext 72d3e447f3
PiperOrigin-RevId: 546312826
1 year ago
Matt Kulukundis
a5516ca6cc
Require PHP version >=8.0, Ruby >=2.7, and Python >=3.8
...
If you are running an older version of PHP, you can install a previous release
of the protobuf PHP extension by running pecl install protobuf-3.23.3.
PiperOrigin-RevId: 546056449
1 year ago
Sandy Zhang
96c601d8b4
Delete extension declaration `is_repeated` (in favor of `repeated`) and `target_obsolete_do_not_use`.
...
PiperOrigin-RevId: 545757296
1 year ago
Mike Kruskal
4f9e41767a
Release prototype of Protobuf Editions.
...
This represents the future direction of protobuf, replacing proto2/proto3 syntax with editions. These will enable more incremental evolution of protobuf APIs through features, which are individual behaviors (such as whether field presence is explicit or implicit). For more details see https://protobuf.dev/editions/overview/ .
This PR contains a working implementation of editions for the protoc frontend and C++ code generation, along with various infrastructure improvements to support it. It gives early access for anyone who wants to a preview of editions, but has no effect on proto2/proto3 syntax. It is flag-guarded behind the `--experimental_editions` flag, and is an experimental feature with no guarantees.
PiperOrigin-RevId: 544805690
1 year ago
Jan Ehrhardt
4d9bbac167
Enable building PHP extension on Windows ( #13097 )
...
This PR adds a config.w32 for the PHP extension and includes it in the tgz for PECL.
I used this to build php_protobuf.dll for PHP 8.2.7.
See https://github.com/phalcon/cphalcon/issues/16318#issuecomment-1592534432 for the request to build the extension and the result.
Please review and merge.
Closes #13097
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13097 from Jan-E:php-windows 4259af1668
PiperOrigin-RevId: 542050878
2 years ago
Jie Luo
3560e2381e
Remove RegisterExtension in message class
...
PiperOrigin-RevId: 539568063
2 years ago
Mike Kruskal
12e0f1d66a
Regenerate amalgamation files
...
PiperOrigin-RevId: 536843635
2 years ago
Protobuf Team Bot
ab678477cd
Updates supported PHP versions.
...
This update addresses the issue raised in [GitHub Issue #12760 ](https://github.com/protocolbuffers/protobuf/issues/12760 ).
PiperOrigin-RevId: 532116533
2 years ago
deannagarcia
0e23f18865
Merge to main after 23.0 release ( #12721 )
...
Closes #12721
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12721 from protocolbuffers:main-202305082101 36482b4c68
PiperOrigin-RevId: 530664393
2 years ago
Protobuf Team Bot
67d9ea87f3
Internal change
...
PiperOrigin-RevId: 530619366
2 years ago
Protobuf Team Bot
6e511679de
Updating version.json and repo version numbers to: 23.0
2 years ago
Protobuf Team Bot
d8f44cc2fb
Updating version.json and repo version numbers to: 23.0-rc3
2 years ago
Protobuf Team Bot
51f51ac4ef
Updating version.json and repo version numbers to: 23.0-rc2
2 years ago
Protobuf Team Bot
b21d6be78b
Updating version.json and repo version numbers to: 23.0-rc1
2 years ago
Deanna Garcia
b26afb5a86
Update protobuf's UPB dep in preparation for the 23.0-rc1 release.
...
PiperOrigin-RevId: 527061210
2 years ago
Protobuf Team Bot
469f0277b8
Add a field to ExtensionRangeOptions to mark an extension range is verified or not.
...
An extension range is either of verification state "UNVERIFIED" or "DECLARATION". If "DECLARATION", all extension fields of the range must be declared, or build error otherwise. The current default is "UNVERIFIED", but we will flip the default later.
Deprecate `is_repeated` in favor of `repeated`.
PiperOrigin-RevId: 526184056
2 years ago
Deanna Garcia
bd6a0cf15b
Delete old numpy_test.py file and replace references with the new one.
...
This is the final step to make numpy/pip_deps a test-only dependency.
PiperOrigin-RevId: 525785717
2 years ago
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