Skip to content

Commit

Permalink
Update whats-new.adoc with fine-grained starters
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Bono <[email protected]>
  • Loading branch information
onobc committed Feb 8, 2025
1 parent 6013e59 commit fc2e734
Showing 1 changed file with 7 additions and 21 deletions.
28 changes: 7 additions & 21 deletions spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,27 +5,13 @@
[[what-s-new-in-0-4-0-since-0-3-0]]
== What's New in 0.4.0 Since 0.3.0

This section covers the changes made from version 0.2.0 to version 0.3.0.
This section covers the changes made from version 0.3.0 to version 0.4.0.

=== Channel Factory
The `GrpcChannelFactory` has a new interface and its methods now return a `Channel` (instead of a `ChannelBuilder`).
The `createChannel()` method is overloaded with a new method that accepts a `ChannelBuilderOptions` which can be used to configure the channel before it is created.
=== Fine-grained starter modules
The following fine-grained Spring Boot starter modules have been added:

=== Client Side Observability
A gRPC client will generate a new span for each RPC call. The span will be automatically closed when the call is completed.
- `spring-grpc-client-spring-boot-starter` provides Netty gRPC client
- `spring-grpc-server-spring-boot-starter` provides Netty gRPC server
- `spring-grpc-server-spring-boot-starter` provides Servlet gRPC server

=== Security in Servlet Containers
Spring Security works with gRPC servers running in servlet containers. You can use all your favourite Spring Security features to secure your gRPC services.

[[what-s-new-in-0-3-0-since-0-2-0]]
== What's New in 0.3.0 Since 0.2.0

This section covers the changes made from version 0.2.0 to version 0.3.0.

=== Client Interceptors
You can now add xref:client.adoc#client-interceptor[Client Interceptors] to created gRPC channels.

=== Breaking Changes

==== GrpcChannelConfigurer renamed
The `GrpcChannelConfigurer` has been renamed to `GrpcChannelBuilderCustomizer` to more accurately represent its purpose and be consistent with the server-side terminology.
The current coarse-grained starter `spring-grpc-spring-boot-starter` still provides Netty gRPC server and client.

0 comments on commit fc2e734

Please sign in to comment.