Jason Lunn
c52d80cf04
Ruby FFI implementation ( #13343 )
...
Supersedes #11483 .
Closes #13343
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13343 from protocolbuffers:simultaneous_ffi bcb4bb7842
PiperOrigin-RevId: 550782245
1 year ago
Sandy Zhang
7666e9f521
Update protobuf's upb dep to latest 24.x commit.
1 year ago
Jason Lunn
2402814db6
Add JRuby 9.3 and 9.4 to the test matrix under both Bazel versions. ( #13296 )
...
Prepare for 9.2 to be removed.
Closes #13296
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13296 from protocolbuffers:jruby_version_bump 82924ab6b3
PiperOrigin-RevId: 548279470
1 year ago
Jason Lunn
59e19a7db8
Add JRuby 9.3 and 9.4 to the test matrix under both Bazel versions. ( #13296 )
...
Prepare for 9.2 to be removed.
Closes #13296
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13296 from protocolbuffers:jruby_version_bump 82924ab6b3
PiperOrigin-RevId: 548279470
1 year ago
Jason Lunn
67dee2987b
Sync UPB. ( #13286 )
...
Closes #13286
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13286 from JasonLunn:upd-update-for-ffi bac2123982
PiperOrigin-RevId: 547898482
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
Jie Luo
96ca7d96da
Raise warinings when extend repeated field with none iterable in OSS. OSS will raise errors soon
...
PiperOrigin-RevId: 542037298
2 years ago
Chad Wilson
c95ebb7bd8
deps: Update Guava to 32.0.1 ( #13099 )
...
Follow-up from #12953 to update to `32.0.1` to fix an issue on windows:
https://github.com/google/guava/releases/tag/v32.0.1
The underlying issue likely does not affect protobuf as it does not appear to (directly) use the affected `Files.createTempDir` or `FileBackedOutputStream` code which was apparently broken on Windows in `32.0.0`.
Seems best to update anyway.
Closes #13099
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13099 from chadlwilson:bump-guava-3201 30bd3f7563
PiperOrigin-RevId: 541960623
2 years ago
Protobuf Team Bot
e9391b4b3e
Update rules_java to the latest version
...
PiperOrigin-RevId: 540013522
2 years ago
Jie Luo
3560e2381e
Remove RegisterExtension in message class
...
PiperOrigin-RevId: 539568063
2 years ago
Chad Wilson
cd615a8c65
deps: Update Guava to 32.0.0 ( #12953 )
...
Updates Guava to [32.0.0](https://github.com/google/guava/releases/tag/v32.0.0 ) to include fixes for CVE-2020-8908 and CVE-2023-2976 (https://github.com/google/guava/issues/2575 ) which affects certain builds with shaded usage, e.g ruby via jruby/java platform such as https://rubygems.org/gems/google-protobuf/versions/3.23.2-java
- Protobuf does not appear to (directly) use the affected `Files.createTempDir` or `FileBackedOutputStream` code which might behave differently on Windows.
- Referred to #9707 and #9757 for reference
- Updated transitive dependency versions match https://mvnrepository.com/artifact/com.google.guava/guava/32.0.0-jre (note major version change for `j2objc-annotations` from `1.3` --> `2.8`)
May need backporting to `23.x` branch if sufficiently compatible.
Closes #12953
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/12953 from chadlwilson:update-guava-32 9c396b6759
PiperOrigin-RevId: 538666552
2 years ago
Jie Luo
f36a5c6674
Internal change
...
PiperOrigin-RevId: 534622899
2 years ago
Mike Kruskal
5f97a7f494
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Mike Kruskal
7714d57c91
Define a new set of cmake tests.
...
These more closely follow the standard practices of our users, where dependencies are pre-installed instead of using our provided sub-modules. This will prevent issues such as #12201 from reoccuring.
Additionally, this cl bumps our Abseil dependency to the latest release, and fixes a GTest issue that went previously unnoticed.
PiperOrigin-RevId: 529490402
2 years ago
Deanna Garcia
000755a8a7
Update UPB dep
2 years ago
Deanna Garcia
df32e78d45
Update UPB dep
2 years ago
Deanna Garcia
c4731cdfdd
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Deanna Garcia
99529a2209
Update abseil dependency and reorder dependencies to ensure we use the version specified in protobuf_deps.
...
PiperOrigin-RevId: 528838071
2 years ago
Deanna Garcia
eb96482b3a
Update UPB dep
2 years ago
Deanna Garcia
f7f003f1fd
Update protobuf's UPB dependency in preparation for 23.0-rc2
...
PiperOrigin-RevId: 527686128
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
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
Deanna Garcia
553422572d
Update UPB dep
2 years ago
Eric Salo
dfb71558a2
sync to current upb and enable new unit test on upb
...
PiperOrigin-RevId: 518643876
2 years ago
Protobuf Team Bot
4b5652b030
Re-attach OSGI headers to lite,core, and util. This information was dropped in the move from maven to bazel.
...
PiperOrigin-RevId: 518267412
2 years ago
Jakob Buchgraber
c0c79b2791
Bump upb version
...
PiperOrigin-RevId: 517972179
2 years ago
Deanna Garcia
f3bb8cb8d8
Add sha256 for upb
2 years ago
Deanna Garcia
46680103a7
Update UPB dep
2 years ago
Deanna Garcia
7f6b36ce0c
Revert UPB dep update
2 years ago
Deanna Garcia
d327259c16
Update UPB dep
2 years ago
zhangskz
7d1b0348f7
Update protobuf's upb dep to latest upb protobuf dep update commit ( #11907 )
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
ccbdaa7e9d
Bump upb version to fix ruby flakes
...
PiperOrigin-RevId: 506798675
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
Mike Kruskal
18ab60ca88
Upgrade to Abseil LTS 20230125
...
PiperOrigin-RevId: 505803312
2 years ago
Mike Kruskal
214d3bf409
Migrate dependencies pointing to github-generated tarballs to use zip instead.
...
These triggered non-hermetic build failures due to a change in how github generates tarballs. See https://github.com/keybase/client/issues/10800#issuecomment-375831096 for more info.
PiperOrigin-RevId: 505784554
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
2fbb6bf775
Remove Abseil patch in tests and bump our Bazel version to 20230125.rc3
...
PiperOrigin-RevId: 504625323
2 years ago
Mike Kruskal
a9f1ea6371
Breaking change: Migrate to Abseil's logging library.
...
This deletes our old branches of internal Abseil code in favor of their newly open-sourced library. Notably, this removes the ability to turn CHECK crashes into exceptions.
PiperOrigin-RevId: 504460562
2 years ago
Mike Kruskal
8915a5ae42
Internal changes
...
PiperOrigin-RevId: 504350666
2 years ago
Mike Kruskal
71649680df
Bump to Abseil LTS 20230124 RC2 ( #11646 )
2 years ago
Mike Kruskal
7930cd1f9d
Upgrade to Abseil LTS 20230117 ( #11622 )
...
Closes #11622
PiperOrigin-RevId: 503588252
2 years ago
Mike Kruskal
fa0cdff2ab
Upgrade to Abseil LTS 20230117
2 years ago
deannagarcia
5b27b4f300
Add ruby release targets ( #11468 )
...
Add bazel targets to create ruby release artifacts.
Should be run with:
```
bazel run ruby:release
bazel run ruby:jruby_release
```
Closes #11468
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/11468 from deannagarcia:rubyTargets b7b7eb6865
PiperOrigin-RevId: 503277136
2 years ago
Mike Kruskal
232ecf4a6f
Bump protobuf to latest upb version.
...
PiperOrigin-RevId: 502022138
2 years ago
Mike Kruskal
f95aafde6c
Migrate docker images to the new Artifact Registry location.
...
PiperOrigin-RevId: 501691973
2 years ago
Mike Kruskal
633e8f75d0
Bazelify ruby runtime ( #10525 )
...
This uses https://github.com/protocolbuffers/rules_ruby to fully Bazelify our ruby runtime code. The Rakefile is left in place for now and is still used by our aarch64 tests. With the current implementation ruby behaves similarly to our python wrapper, which selects whatever version is installed in the system. Future enhancements will allow for more hermetic builds via Bazel flags to pin a specific version
Closes #10525
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/10525 from mkruskal-google:rules_ruby 97fa1f70ab
PiperOrigin-RevId: 499283908
2 years ago