Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
4813c6d
core,xds: Fix backend_service plumbing for subchannel metrics (#12735)
becomeStar Apr 14, 2026
fcb12bd
Start 1.82.0 development cycle (#12758)
AgraVator Apr 14, 2026
72b24f6
direct-path-interconnect
shivaspeaks Apr 15, 2026
9b65e38
direct-path-interconnect
shivaspeaks Apr 15, 2026
8fd809f
xds: remove dependency from WRR to LoadBalancerConfigFactory (#12756)
sauravzg Apr 16, 2026
13b4b97
xds: Propagate status cause through XdsDepManager
ejona86 Apr 9, 2026
b38df6c
core: Reduce per-stream idle memory by 20%
ejona86 Apr 17, 2026
ec10992
okhttp: HPACK should fail on varint overflow
ejona86 Apr 20, 2026
7561d0b
Cancel DelayedClientCall when application listener throws (#12761)
jnowjack-lucidchart Apr 22, 2026
cc841ee
jakarta: Include tests in jacoco report
ejona86 Apr 21, 2026
b7e01a6
binder: add a jacocoTestReport task
jdcormie Apr 21, 2026
3e276b0
xds: Add header mutations library (#12494)
sauravzg Apr 28, 2026
13236b7
binder: mv OneWayBinderProxies so it can be used by binder/src/test too
jdcormie Apr 9, 2026
67c9f2e
binder: add a decorator that can queue txns for manual delivery later
jdcormie Apr 9, 2026
76bad8d
api: Create a truth subject for io.grpc.Status
jdcormie Apr 9, 2026
5a57cba
binder: Add unit tests for ServerInbound message reassembly
jdcormie Apr 9, 2026
7138088
binder: refactor BinderServer creation so tests can access the Builder
jdcormie Apr 9, 2026
01c0a90
binder: Add unit tests for ClientInbound's message reassembly
jdcormie Apr 9, 2026
bb153a8
xds: Trust Manager fix for when SAN validation against SNI sent doesn…
kannanjgithub Apr 29, 2026
f430131
okhttp: enable TLS 1.3 on Android, retain TLS 1.2-only for desktop JVM
bengtsson1-flir May 1, 2026
01a43ec
xds: add missing `@RunWith` Annotation (#12791)
shivaspeaks May 4, 2026
f90b881
Update README etc to reference 1.81.0 (#12784)
AgraVator May 4, 2026
f4125c5
xds: Reload cert/key even if only one of them changes
ejona86 Apr 27, 2026
da98b04
Upgrading Build Environment to Ubuntu 24.04
kannanjgithub May 5, 2026
d862835
core: Make NameResolverFactoryToProviderFacade transparent w.r.t io.g…
jdcormie Jan 14, 2026
d92ca44
binder: Give clear error when message is larger than parcel
ejona86 May 5, 2026
0ddad69
core: Clarify missing content-type on HTTP error responses (#12720)
becomeStar May 6, 2026
53461b6
xds: skip DiscoveryRequest for unsubscribed types on stream ready (#1…
paulmurhy123 May 6, 2026
ce9bc06
binder: Remove redundant ServerInbound.serverTransport field (#12734)
jdcormie May 6, 2026
08e7e9d
netty: extract default permit keepalive time to GrpcUtil constant (#1…
therepanic May 6, 2026
f021bef
compiler: Avoid compile error on weird proto file names
ejona86 May 6, 2026
397d3e7
okhttp: Optimize HPACK to index :path
kenkangxgwe May 6, 2026
c666c47
api: Delete io.grpc.Uri#getQuery and Builder#setQuery
jdcormie Apr 30, 2026
c27ab63
api: Add a parser/editor for URL encoded query params
jdcormie May 1, 2026
324fce7
xds: pre-parse custom metric names in WRR load balancer (#12773)
sauravzg May 7, 2026
3aaa6ed
merge from master
shivaspeaks May 7, 2026
a52050e
rework with QueryParams
shivaspeaks May 7, 2026
45cf39c
use one bootstrap file
shivaspeaks May 7, 2026
39bce96
resolve comments
shivaspeaks May 7, 2026
8106aae
remove empty ampersand edge case
shivaspeaks May 7, 2026
20bf74a
use QueryParams instance to handle target
shivaspeaks May 8, 2026
69ebc41
remove redundant if-else
shivaspeaks May 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module(
name = "grpc-java",
version = "1.81.0-SNAPSHOT", # CURRENT_GRPC_VERSION
version = "1.82.0-SNAPSHOT", # CURRENT_GRPC_VERSION
compatibility_level = 0,
repo_name = "io_grpc_grpc_java",
)
Expand Down Expand Up @@ -47,6 +47,7 @@ IO_GRPC_GRPC_JAVA_ARTIFACTS = [
]
# GRPC_DEPS_END

bazel_dep(name = "abseil-cpp", version = "20250512.1")
bazel_dep(name = "bazel_jar_jar", version = "0.1.11.bcr.1")
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "googleapis", version = "0.0.0-20240326-1c8d509c5", repo_name = "com_google_googleapis")
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ For a guided tour, take a look at the [quick start
guide](https://grpc.io/docs/languages/java/quickstart) or the more explanatory [gRPC
basics](https://grpc.io/docs/languages/java/basics).

The [examples](https://github.com/grpc/grpc-java/tree/v1.80.0/examples) and the
[Android example](https://github.com/grpc/grpc-java/tree/v1.80.0/examples/android)
The [examples](https://github.com/grpc/grpc-java/tree/v1.81.0/examples) and the
[Android example](https://github.com/grpc/grpc-java/tree/v1.81.0/examples/android)
are standalone projects that showcase the usage of gRPC.

Download
Expand All @@ -56,42 +56,42 @@ Download [the JARs][]. Or for Maven with non-Android, add to your `pom.xml`:
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-netty-shaded</artifactId>
<version>1.80.0</version>
<version>1.81.0</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-protobuf</artifactId>
<version>1.80.0</version>
<version>1.81.0</version>
</dependency>
<dependency>
<groupId>io.grpc</groupId>
<artifactId>grpc-stub</artifactId>
<version>1.80.0</version>
<version>1.81.0</version>
</dependency>
```

Or for Gradle with non-Android, add to your dependencies:
```gradle
runtimeOnly 'io.grpc:grpc-netty-shaded:1.80.0'
implementation 'io.grpc:grpc-protobuf:1.80.0'
implementation 'io.grpc:grpc-stub:1.80.0'
runtimeOnly 'io.grpc:grpc-netty-shaded:1.81.0'
implementation 'io.grpc:grpc-protobuf:1.81.0'
implementation 'io.grpc:grpc-stub:1.81.0'
```

For Android client, use `grpc-okhttp` instead of `grpc-netty-shaded` and
`grpc-protobuf-lite` instead of `grpc-protobuf`:
```gradle
implementation 'io.grpc:grpc-okhttp:1.80.0'
implementation 'io.grpc:grpc-protobuf-lite:1.80.0'
implementation 'io.grpc:grpc-stub:1.80.0'
implementation 'io.grpc:grpc-okhttp:1.81.0'
implementation 'io.grpc:grpc-protobuf-lite:1.81.0'
implementation 'io.grpc:grpc-stub:1.81.0'
```

For [Bazel](https://bazel.build), you can either
[use Maven](https://github.com/bazelbuild/rules_jvm_external)
(with the GAVs from above), or use `@io_grpc_grpc_java//api` et al (see below).

[the JARs]:
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.80.0
https://search.maven.org/search?q=g:io.grpc%20AND%20v:1.81.0

Development snapshots are available in [Sonatypes's snapshot
repository](https://central.sonatype.com/repository/maven-snapshots/).
Expand Down Expand Up @@ -123,7 +123,7 @@ For protobuf-based codegen integrated with the Maven build system, you can use
<configuration>
<protocArtifact>com.google.protobuf:protoc:3.25.8:exe:${os.detected.classifier}</protocArtifact>
<pluginId>grpc-java</pluginId>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.80.0:exe:${os.detected.classifier}</pluginArtifact>
<pluginArtifact>io.grpc:protoc-gen-grpc-java:1.81.0:exe:${os.detected.classifier}</pluginArtifact>
</configuration>
<executions>
<execution>
Expand Down Expand Up @@ -153,7 +153,7 @@ protobuf {
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.80.0'
artifact = 'io.grpc:protoc-gen-grpc-java:1.81.0'
}
}
generateProtoTasks {
Expand Down Expand Up @@ -186,7 +186,7 @@ protobuf {
}
plugins {
grpc {
artifact = 'io.grpc:protoc-gen-grpc-java:1.80.0'
artifact = 'io.grpc:protoc-gen-grpc-java:1.81.0'
}
}
generateProtoTasks {
Expand Down
6 changes: 6 additions & 0 deletions api/src/main/java/io/grpc/EquivalentAddressGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ public final class EquivalentAddressGroup {
*/
public static final Attributes.Key<String> ATTR_LOCALITY_NAME =
Attributes.Key.create("io.grpc.EquivalentAddressGroup.LOCALITY");
/**
* The backend service associated with this EquivalentAddressGroup.
*/
@Attr
static final Attributes.Key<String> ATTR_BACKEND_SERVICE =
Attributes.Key.create("io.grpc.EquivalentAddressGroup.BACKEND_SERVICE");
/**
* Endpoint weight for load balancing purposes. While the type is Long, it must be a valid uint32.
* Must not be zero. The weight is proportional to the other endpoints; if an endpoint's weight is
Expand Down
6 changes: 6 additions & 0 deletions api/src/main/java/io/grpc/InternalEquivalentAddressGroup.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ private InternalEquivalentAddressGroup() {}
* twice that of another endpoint, it is intended to receive twice the load.
*/
public static final Attributes.Key<Long> ATTR_WEIGHT = EquivalentAddressGroup.ATTR_WEIGHT;

/**
* The backend service associated with this EquivalentAddressGroup.
*/
public static final Attributes.Key<String> ATTR_BACKEND_SERVICE =
EquivalentAddressGroup.ATTR_BACKEND_SERVICE;
}
Loading
Loading