Eric Anderson
32d85d8309
Start 1.61.0 development cycle
2023-11-15 07:41:12 -08:00
Terry Wilson
bf9ccc68f5
Start 1.60.0 development cycle
2023-10-04 10:29:43 -07:00
yifeizhuang
9424f8b4c7
Start 1.59.0 development cycle ( #10519 )
2023-08-24 11:25:28 -07:00
Eric Anderson
ceadf6df6d
Upgrade to Gradle 8.3
...
Examples are updated to use the new version as well, which wasn't done
last time in f3f4ed4ef . That noticed some things that were missed
before.
2023-08-18 09:59:57 -07:00
Eric Anderson
f8baa9ca1d
Upgrade protobuf-java and protoc to 3.24.0
2023-08-14 09:20:39 -07:00
Eric Anderson
f3f4ed4ef3
Upgrade to Gradle 8.2.1 and upgrade plugins
...
Most changes are migrating from conventions to the equivalent
extensions. JMH, AppEngine, and Jib plugins trigger future compatibility
warnings with `--warning-mode all`.
The movement of configurations was to allow sourceSets to create the
configurations and then we just configure them. When configurations were
before sourceSets, we'd implicitly create the configuration.
The examples were _not_ updated to the newer Gradle, although the
non-Android examples work with the newer Gradle. The Android examples
use an older Android Gradle Plugin which will need to be upgraded first.
https://github.com/grpc/grpc-java/issues/10445
2023-08-02 13:29:44 -07:00
Sergii Tkachenko
419767f968
Upgrade dependencies post v1.57.x branch cut ( #10359 )
...
### Dependency updates
#### Update successfully to the latest
- [x] `androidx.core:core 1.10.0 -> 1.10.1`
- [x] `com.google.api.grpc:proto-google-common-protos 2.17.0 -> 2.22.0`
- [x] `com.google.cloud:google-cloud-logging 3.14.5 -> 3.15.5`
- [x] `com.google.truth:truth 1.0.1 -> 1.1.5`
- [x] `com.puppycrawl.tools:checkstyle 8.28 -> 10.12.1`
- [x] `org.robolectric:robolectric 4.9.2 -> 4.10.3`
- [x] Auto-value
- [x] `com.google.auto.value:auto-value 1.10.1 -> 1.10.2`
- [x] `com.google.auto.value:auto-value-annotations 1.10.1 -> 1.10.2`
- [x] Protobuf
- [x] `com.google.protobuf:protobuf-java 3.22.3 -> 3.23.4`
- [x] `com.google.protobuf:protobuf-java-util 3.22.3 -> 3.23.4`
- [x] `com.google.protobuf:protobuf-javalite 3.22.3 -> 3.23.4`
- [x] `com.google.protobuf:protoc 3.22.3 -> 3.23.4`
- [x] Errorprone
- [x] `com.google.errorprone:error_prone_annotations 2.18.0 -> 2.20.0`
- [x] `com.google.errorprone:error_prone_core 2.18.0 -> 2.20.0`
- ~`libs.checkstylejava8 = com.puppycrawl.tools:checkstyle 9.3 -> 10.12.1`~ -- pinned to last version supporting java8, update not needed
#### Updated to non-latest
- [x] `com.squareup.okio:okio 1.17.5 ->` ~`3.4.0`~ `2.10.0` -- updating to 3.x failed due to them [introducing gradle multiplatform artifacts](https://github.com/square/okio/blob/master/CHANGELOG.md#version-320 ). Error in [the comment below](https://github.com/grpc/grpc-java/pull/10359#issuecomment-1632853307 .).
- [x] `org.checkerframework:checker-qual 3.33.0 ->` ~`3.36.0`~ -- removed, no longer needed
- [x] Mockito - updated to `4.11.0`. Versions 5.x break some tests. Errors in [the comment below](https://github.com/grpc/grpc-java/pull/10359#issuecomment-1632834435 ).
- `org.mockito:mockito-android 3.12.4 ->` ~`5.4.0`~ `4.11.0`
- `org.mockito:mockito-core 3.12.4 ->` ~`5.4.0`~ `4.11.0`
#### Not updated
- Cronet -- upgrade failed, created a blocker ticket https://github.com/grpc/grpc-java/issues/10396
- ~`org.chromium.net:cronet-api 108.5359.79 -> 113.5672.61`~
- ~`org.chromium.net:cronet-embedded 108.5359.79 -> 113.5672.61`~
- Google auth -- upgrade blocked by https://github.com/grpc/grpc-java/pull/9118
- ~`com.google.auth:google-auth-library-credentials 1.4.0 -> 1.19.0`~
- ~`com.google.auth:google-auth-library-oauth2-http 1.4.0 -> 1.19.0`~
- Guava -- not upgraded: 32.1.0 [broke gradle modules](https://github.com/google/guava/releases/tag/v32.1.0 )
- ~`libs.guava = com.google.guava:guava 32.0.1-android -> 32.1.1-jre`~
- ~`libs.guava.jre = com.google.guava:guava 32.0.1-jre -> 32.1.1-jre`~
- ~`libs.guava.testlib = com.google.guava:guava-testlib 32.0.1-android -> 32.1.1-jre`~
### checkForUpdates results
```
> Task :checkForUpdates
androidx.core:core 1.10.0 -> 1.10.1
com.google.auto.value:auto-value 1.10.1 -> 1.10.2
com.google.auto.value:auto-value-annotations 1.10.1 -> 1.10.2
org.checkerframework:checker-qual 3.33.0 -> 3.36.0
com.puppycrawl.tools:checkstyle 8.28 -> 10.12.1
org.chromium.net:cronet-api 108.5359.79 -> 113.5672.61
org.chromium.net:cronet-embedded 108.5359.79 -> 113.5672.61
com.google.errorprone:error_prone_annotations 2.18.0 -> 2.20.0
com.google.errorprone:error_prone_core 2.18.0 -> 2.20.0
com.google.errorprone:error_prone_core 2.10.0 -> 2.20.0
com.google.api.grpc:proto-google-common-protos 2.17.0 -> 2.22.0
com.google.auth:google-auth-library-credentials 1.4.0 -> 1.19.0
com.google.auth:google-auth-library-oauth2-http 1.4.0 -> 1.19.0
com.google.cloud:google-cloud-logging 3.14.5 -> 3.15.5
com.google.guava:guava 32.0.1-android -> 32.1.1-jre
com.google.guava:guava 32.0.1-jre -> 32.1.1-jre
com.google.guava:guava-testlib 32.0.1-android -> 32.1.1-jre
org.mockito:mockito-android 3.12.4 -> 5.4.0
org.mockito:mockito-core 3.12.4 -> 5.4.0
com.squareup.okio:okio 1.17.5 -> 3.4.0
com.google.protobuf:protobuf-java 3.22.3 -> 3.23.4
com.google.protobuf:protobuf-java-util 3.22.3 -> 3.23.4
com.google.protobuf:protobuf-javalite 3.22.3 -> 3.23.4
com.google.protobuf:protoc 3.22.3 -> 3.23.4
org.robolectric:robolectric 4.9.2 -> 4.10.3
com.google.truth:truth 1.0.1 -> 1.1.5
```
2023-07-21 10:15:05 -07:00
Larry Safran
0aaa2e0434
Bump version ( #10378 )
...
* Start 1.58.0 development cycle
2023-07-13 13:06:21 -07:00
Sergii Tkachenko
17b2df78ec
Start 1.57.0 development cycle ( #10229 )
2023-05-30 18:02:40 -07:00
Eric Anderson
27edab007d
Start 1.56.0 development cycle
2023-04-21 15:56:00 -07:00
Eric Anderson
1551cc7403
Upgrade Protobuf Java to 3.22.3 (aka 22.3)
...
The version used by protoc-gen-grpc-java will be upgraded separately,
because of large C++ build changes necessary. But that won't impact
users at all. We are upgrading to protoc 22.3; only the grpc plugin is
not upgraded.
Bazel is upgraded for both Java and C++.
2023-04-17 13:16:20 -07:00
Terry Wilson
3332199106
Start 1.55.0 development cycle ( #9939 )
2023-03-07 18:14:31 -08:00
yifeizhuang
4876996d84
Start 1.54.0 development cycle ( #9857 )
2023-01-25 10:56:58 -08:00
Eric Anderson
44847bf4e9
Upgrade JUnit to 4.13.2
...
ExpectedException is deprecated, so I fixed the new warnings. However,
we are still using ExpectedException many places and had previously
supressed the warning. See
https://github.com/grpc/grpc-java/issues/7467 . I did not fix those
existing instances that had suppressed the warning, since it is
unrelated to the upgrade and we have been free to fix them at any time
since we dropped Java 7.
2023-01-20 09:33:11 -08:00
Larry Safran
ccb5d945c0
Start 1.53.0 development cycle ( #9757 )
2022-12-14 18:07:57 -08:00
Sergii Tkachenko
eb1e5a11c6
Start 1.52.0 development cycle
2022-11-07 11:56:25 -08:00
Eric Anderson
85bdca45fa
Bump Protobuf to 3.21.7
2022-09-30 14:02:45 -07:00
Eric Anderson
5b62d22802
Start 1.51.0 development cycle
2022-09-26 16:37:56 -07:00
Terry Wilson
01aff58178
Start 1.50.0 development cycle ( #9433 )
2022-08-10 08:17:59 -07:00
Eric Anderson
c0790283ec
Bump protobuf to 3.21.1 ( #9311 )
...
Fixes #9264
2022-06-30 11:18:49 -07:00
yifeizhuang
377e3ce557
Start 1.49.0 development cycle ( #9322 )
2022-06-29 11:00:27 -07:00
Sergii Tkachenko
9cb3c6e688
Start 1.48.0 development cycle
2022-05-18 13:57:28 -07:00
Eric Anderson
4a137d6ef0
Start 1.47.0 development cycle
2022-04-11 10:41:33 -07:00
Terry Wilson
ec3db2b454
Start 1.46.0 development cycle ( #8939 )
2022-02-23 08:23:41 -08:00
Eric Anderson
7cf048eb28
Drop Java 7 support
...
Oracle's Premier Support for Java 7 ended in July 2019. Per gRFC P5,
dropping support for the only release. Android is able to desugar many
Java 8 language features.
2022-01-18 07:17:51 -08:00
yifeizhuang
26f0d611db
Start 1.45.0 development cycle ( #8825 )
2022-01-12 12:08:22 -08:00
Eric Anderson
e0dca93c6a
Bump to Gradle 7.3.3
...
Android Gradle plugin bumped to 4.2.0 in examples, for Gradle 7 compat
and to match main build.
Jib 3 changed default base image away from distroless, but we do want
to use distroless.
2022-01-10 10:28:42 -08:00
Eric Anderson
80c3be0f80
Bump protobuf to 3.19.2
2022-01-06 09:08:50 -08:00
Eric Anderson
efd968bcbb
Upgrade Protobuf to 3.19.1 and Guava to 30.1.1
...
Protobuf uses Guava 30.1.1, so I upgrade it at the same time. It also
caused an update to rules_jvm_external and reworking the Bazel build.
Protobuf no longer requires bind() so they were dropped. Although
Protobuf's protobuf_deps() brings in rules_jvm_external, and so we don't
need to define it ourselves, it seems better to define it directly and
not depend on transitive deps since we use it directly.
Protobuf now has support for maven_install() by exposing
PROTOBUF_MAVEN_ARTIFACTS, which required reorganizing the WORKSPACE to
use maven_install() after loading protobuf. Protobuf still doesn't
define target overrides for itself so we still maintain those. When
reorganizing the WORKSPACE I noticed http_archive should ideally be
above io_grpc_grpc_java as most users will need it there, so I fixed
that since there were lots of other load()-reordering already.
2021-12-09 10:35:39 -08:00
ZHANG Dapeng
65c00cf24e
Start 1.44.0 development cycle ( #8729 )
2021-11-30 11:53:56 -08:00
Sergii Tkachenko
6d41b4283a
Start 1.43.0 development cycle
2021-10-20 13:47:03 -04:00
Eric Anderson
1f1396f3f0
Start 1.42.0 development cycle
2021-09-08 09:10:20 -07:00
yifeizhuang
343eed1c04
Start 1.41.0 development cycle ( #8351 )
2021-07-28 15:27:55 -07:00
Chengyuan Zhang
f2ed41aca0
Bump Protobuf Gradle Plugin to 0.8.17 ( #8336 )
2021-07-21 19:30:38 -07:00
ZHANG Dapeng
e980ebd118
Start 1.40.0 development cycle ( #8263 )
2021-06-16 08:04:43 -07:00
Eric Anderson
29618a6bb6
Bump Protobuf to 3.17.2
...
Removed some references to the protobuf version from COMPILING.md and
compiler/README.md to make updates a tiny bit easier.
2021-06-07 11:20:48 -07:00
Eric Anderson
50012832de
Bump Protobuf Gradle Plugin to 0.8.16
...
This version works around a warning about DuplicateStrategy in Gradle 6
that will be an error in Gradle 7 caused by [a bug in the plugin][1].
Bumping the version makes a clean build with `--warning-mode all` (at
least if skipping Android and codegen).
[1]: https://github.com/google/protobuf-gradle-plugin/issues/470
2021-06-04 07:55:58 -07:00
Eric Gribkoff
c0eca6de25
Start 1.39.0 development cycle ( #8147 )
2021-05-05 16:30:38 -07:00
Sergii Tkachenko
e4b292aa9b
Start 1.38.0 development cycle
2021-03-25 18:49:03 -04:00
Chengyuan Zhang
f4ef5acfd9
gradle, README: Bump protobuf-gradle-plugin version to 0.8.15 ( #7891 )
2021-02-11 15:41:18 -08:00
Eric Anderson
2140480736
Start 1.37.0 development cycle
2021-02-11 13:53:10 -08:00
Eric Gribkoff
f2f3bbeb5d
Start 1.36.0 development cycle ( #7770 )
2020-12-30 17:14:04 -08:00
Eric Anderson
ec70b64610
Bump Gradle and plugin versions
...
Android plugins weren't touched, since they will need a lot more testing
when doing so.
2020-12-17 15:02:27 -08:00
Chengyuan Zhang
f5bbe12c9f
Start 1.35.0 development cycle ( #7641 )
2020-11-18 13:59:40 -08:00
ZHANG Dapeng
9b73e2365d
Start 1.34.0 development cycle
2020-10-06 16:10:51 -07:00
Eric Anderson
eca8bf8e62
Start 1.33.0 development cycle
2020-08-26 16:13:21 -07:00
Eric Gribkoff
7d97443cd7
Start 1.32.0 development cycle ( #7214 )
2020-07-15 13:51:06 -07:00
Eric Anderson
dc30d85765
Swap to new Google Maven Central mirror URL
...
As seen at https://maven-central.storage.googleapis.com/index.html . The old
URL still has content, but apparently is no longer being updated. For example,
jetty-alpn-agent-2.0.10.pom is not present.
2020-07-10 08:45:49 -05:00
ZHANG Dapeng
0d6546719a
all: bump protobuf to 3.12.0
...
Version 3.12.0 is needed for the feature of support for proto3 field presence #7051
2020-05-20 16:30:59 -07:00
Chengyuan Zhang
d667a67d15
Start 1.31.0 development cycle ( #7050 )
2020-05-19 16:46:16 -07:00