Clayton Walker
d580fde63a
Add Automatic-Module-Name ( #14562 )
...
Adds Automatic-Module-Name after it was lost during the maven-bazel migration (and subsequent re-addition of osgi bundle support).
Updates OsgiWrapper to support adding the Automatic-Module-Name header to the list of properties supported by the `osgi_java_library` rule.
Fixes #12639
Closes #14562
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14562 from Sineaggi:add-automatic-module-name a27b3e6695
PiperOrigin-RevId: 579748655
1 year ago
Jie Luo
1231af10c7
merge 25.x to main ( #14617 )
...
Closes #14617
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/14617 from anandolee:25.x ac86c5ef32
PiperOrigin-RevId: 578996979
1 year ago
Protobuf Team Bot
3ea774370a
Internal change
...
PiperOrigin-RevId: 578944754
1 year ago
Protobuf Team Bot
6b5d8db01f
Updating version.json and repo version numbers to: 25.0
1 year ago
Protobuf Team Bot
ba1aab2baf
Updating version.json and repo version numbers to: 25.0-rc2
1 year ago
Protobuf Team Bot
896f3d8ced
Updating version.json and repo version numbers to: 25.0-rc1
1 year ago
Kurt Alfred Kluever
833ded7298
Clean up assertions in `DurationsTest` and `TimestampsTest` a bit.
...
PiperOrigin-RevId: 572279223
1 year ago
Protobuf Team Bot
8f8513835c
Timestamps.parse: Add error handling for invalid hours/minutes in the timezone offset.
...
Before this CL, bad offsets result in a NumberFormatException (from parseLong) instead of the documented ParseException/IllegalArgumentException.
PiperOrigin-RevId: 572266056
1 year ago
Protobuf Team Bot
b86b9ff337
Internal change.
...
PiperOrigin-RevId: 568232318
1 year ago
Sandy Zhang
81068e8e8c
Internal change
...
PiperOrigin-RevId: 566426899
1 year ago
Joshua Haberman
7853a5e301
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 563956563
1 year ago
Joshua Haberman
f78eaa9aa2
Shorten our license headers into an abbreviated form that references LICENSE instead of including it in full.
...
PiperOrigin-RevId: 563888947
1 year ago
ericsalo
843b74e601
Main 202308091812 ( #13489 )
...
Closes #13489
COPYBARA_INTEGRATE_REVIEW=https://github.com/protocolbuffers/protobuf/pull/13489 from protocolbuffers:main-202308091812 e729f0bf5a
PiperOrigin-RevId: 555301642
1 year ago
Protobuf Team Bot
aba9a7f1a3
Internal change
...
PiperOrigin-RevId: 555251853
1 year ago
Protobuf Team Bot
093e258a71
Updating version.json and repo version numbers to: 24.0
1 year ago
Kurt Alfred Kluever
279d627b1e
Improve javadocs of `Timestamps.now()`.
...
PiperOrigin-RevId: 553183786
1 year ago
Protobuf Team Bot
3487ae0c01
Updating version.json and repo version numbers to: 24.0-rc3
1 year ago
Protobuf Team Bot
034ec9d9f6
Updating version.json and repo version numbers to: 24.0-rc2
1 year ago
Protobuf Team Bot
05835e374d
Updating version.json and repo version numbers to: 24.0-rc1
1 year 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
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
Deanna Garcia
433c35dbcb
Remove osgi dependency from main java libraries.
...
//java:core, //java:lite, and //java:util shouldn't have this extra dependency. For now, we just add a separate version but we will look into using the java_library in protobuf_versioned_java_library in the future.
PiperOrigin-RevId: 527643325
2 years ago
Deanna Garcia
167e3e5081
Remove osgi dependency from main java libraries.
...
//java:core, //java:lite, and //java:util shouldn't have this extra dependency. For now, we just add a separate version but we will look into using the java_library in protobuf_versioned_java_library in the future.
PiperOrigin-RevId: 527643325
2 years ago
Protobuf Team Bot
b21d6be78b
Updating version.json and repo version numbers to: 23.0-rc1
2 years ago
Kurt Alfred Kluever
295f1125ce
Adds `Timestamps.now()`.
...
PiperOrigin-RevId: 526160914
2 years ago
Protobuf Team Bot
482156c0f9
Updating version.json and repo version numbers to: 22.3
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
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
Deanna Garcia
99ed01009f
Add version to intra proto dependencies and add kotlin stdlib dependency
2 years ago
Deanna Garcia
d80c12d322
Add $ back for osgi header
2 years ago
deannagarcia
15bd2c21cf
Merge 22.x back to main ( #12169 )
...
Closes #12169
PiperOrigin-RevId: 515161008
2 years ago
Deanna Garcia
8ac2337595
Remove $ in pom files
2 years ago
Protobuf Team Bot
839e8d25ea
Updating version.json and repo version numbers to: 22.1
2 years ago
Deanna Garcia
1456462a14
Add java8 tests and build flags
2 years ago
Sandy Zhang
541914157e
Migrate away from examining the syntax of a proto file via reflection.
...
PiperOrigin-RevId: 511806036
2 years ago
Deanna Garcia
e909bfc517
Add OSGi headers to pom files.
...
This addresses https://github.com/protocolbuffers/protobuf/issues/12017 .
PiperOrigin-RevId: 511587640
2 years ago
Deanna Garcia
d3ceff3def
Add OSGi headers to pom files.
...
This addresses https://github.com/protocolbuffers/protobuf/issues/12017 .
PiperOrigin-RevId: 511587640
2 years ago
deannagarcia
9ee7b565c2
Fix pom_template dependencies. All pom files need a dependency section and kotlin + util need to depend on protobuf-java and kotlin-lite should depend on protobuf-javalite. ( #12009 )
...
This fixes https://github.com/protocolbuffers/protobuf/issues/11976
PiperOrigin-RevId: 511252224
2 years ago
Deanna Garcia
9b5a2c6f6f
Fix pom_template dependencies. All pom files need a dependency section and kotlin + util need to depend on protobuf-java and kotlin-lite should depend on protobuf-javalite.
...
This fixes https://github.com/protocolbuffers/protobuf/issues/11976
PiperOrigin-RevId: 511252224
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
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
Protobuf Team Bot
fa7a079c11
Updating version.json and repo version numbers to: 22.0-rc2
2 years ago
Protobuf Team Bot
2b406251e4
Updating version.json and repo version numbers to: 22.0-rc1
2 years ago