From 4efd23aa4e145e09b01dd26ceb2083b4ea30ff89 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Wed, 15 Jan 2025 09:04:13 +0000 Subject: [PATCH] Revert to snapshots and add whats new --- README.md | 4 ++-- pom.xml | 2 +- samples/grpc-server-netty-shaded/build.gradle | 4 ++-- samples/grpc-server-netty-shaded/pom.xml | 4 ++-- samples/grpc-server/build.gradle | 4 ++-- samples/grpc-server/pom.xml | 4 ++-- samples/grpc-tomcat-secure/pom.xml | 4 ++-- samples/grpc-tomcat/pom.xml | 4 ++-- samples/grpc-webflux/build.gradle | 4 ++-- samples/grpc-webflux/pom.xml | 4 ++-- samples/pom.xml | 4 ++-- spring-grpc-core/pom.xml | 2 +- spring-grpc-dependencies/pom.xml | 2 +- spring-grpc-docs/pom.xml | 2 +- .../modules/ROOT/pages/getting-started.adoc | 4 ++-- .../antora/modules/ROOT/pages/whats-new.adoc | 18 +++++++++++++++++- spring-grpc-spring-boot-autoconfigure/pom.xml | 2 +- spring-grpc-spring-boot-starter/pom.xml | 2 +- spring-grpc-test/pom.xml | 2 +- 19 files changed, 46 insertions(+), 30 deletions(-) diff --git a/README.md b/README.md index 0a164e91..3235cc4d 100644 --- a/README.md +++ b/README.md @@ -187,7 +187,7 @@ If you’re a Maven user, you can use the dependencies by adding the following t org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import @@ -201,7 +201,7 @@ As shown in the snippet below this can then be followed by version-less declarat ```gradle dependencies { - implementation platform("org.springframework.grpc:spring-grpc-dependencies:0.3.0") + implementation platform("org.springframework.grpc:spring-grpc-dependencies:0.4.0-SNAPSHOT") } ``` diff --git a/pom.xml b/pom.xml index 8605fbc6..89ffdef6 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT pom https://github.com/spring-projects-experimental/spring-grpc diff --git a/samples/grpc-server-netty-shaded/build.gradle b/samples/grpc-server-netty-shaded/build.gradle index 0aeec025..14d82009 100644 --- a/samples/grpc-server-netty-shaded/build.gradle +++ b/samples/grpc-server-netty-shaded/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'com.example' -version = '0.3.0' +version = '0.4.0-SNAPSHOT' java { toolchain { @@ -24,7 +24,7 @@ repositories { dependencyManagement { imports { - mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.3.0' + mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.4.0-SNAPSHOT' } } diff --git a/samples/grpc-server-netty-shaded/pom.xml b/samples/grpc-server-netty-shaded/pom.xml index cd861c27..0c80ff0c 100644 --- a/samples/grpc-server-netty-shaded/pom.xml +++ b/samples/grpc-server-netty-shaded/pom.xml @@ -11,7 +11,7 @@ com.example grpc-server-netty-shaded - 0.3.0 + 0.4.0-SNAPSHOT Spring gRPC Server Sample Netty Shaded Demo project for Spring Boot @@ -25,7 +25,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import diff --git a/samples/grpc-server/build.gradle b/samples/grpc-server/build.gradle index a210a079..385541e2 100644 --- a/samples/grpc-server/build.gradle +++ b/samples/grpc-server/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'com.example' -version = '0.3.0' +version = '0.4.0-SNAPSHOT' java { toolchain { @@ -24,7 +24,7 @@ repositories { dependencyManagement { imports { - mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.3.0' + mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.4.0-SNAPSHOT' } } diff --git a/samples/grpc-server/pom.xml b/samples/grpc-server/pom.xml index b0f96f1c..4b635c2f 100644 --- a/samples/grpc-server/pom.xml +++ b/samples/grpc-server/pom.xml @@ -11,7 +11,7 @@ org.springframework.grpc grpc-server-sample - 0.3.0 + 0.4.0-SNAPSHOT Spring gRPC Server Sample Demo project for Spring gRPC @@ -38,7 +38,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import diff --git a/samples/grpc-tomcat-secure/pom.xml b/samples/grpc-tomcat-secure/pom.xml index 43ce7571..4f3c73f4 100644 --- a/samples/grpc-tomcat-secure/pom.xml +++ b/samples/grpc-tomcat-secure/pom.xml @@ -11,7 +11,7 @@ org.springframework.grpc grpc-tomcat-secure-sample - 0.3.0 + 0.4.0-SNAPSHOT Spring gRPC Server Sample Demo project for Spring gRPC @@ -38,7 +38,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import diff --git a/samples/grpc-tomcat/pom.xml b/samples/grpc-tomcat/pom.xml index 5c44c409..201548ac 100644 --- a/samples/grpc-tomcat/pom.xml +++ b/samples/grpc-tomcat/pom.xml @@ -11,7 +11,7 @@ org.springframework.grpc grpc-tomcat-sample - 0.3.0 + 0.4.0-SNAPSHOT Spring gRPC Server Sample Demo project for Spring gRPC @@ -38,7 +38,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import diff --git a/samples/grpc-webflux/build.gradle b/samples/grpc-webflux/build.gradle index 306fe1b7..b3e04c4c 100644 --- a/samples/grpc-webflux/build.gradle +++ b/samples/grpc-webflux/build.gradle @@ -7,7 +7,7 @@ plugins { } group = 'com.example' -version = '0.3.0' +version = '0.4.0-SNAPSHOT' java { toolchain { @@ -24,7 +24,7 @@ repositories { dependencyManagement { imports { - mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.3.0' + mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.4.0-SNAPSHOT' } } diff --git a/samples/grpc-webflux/pom.xml b/samples/grpc-webflux/pom.xml index 4081b9d6..b4e0773c 100644 --- a/samples/grpc-webflux/pom.xml +++ b/samples/grpc-webflux/pom.xml @@ -11,7 +11,7 @@ org.springframework.grpc grpc-webflux-sample - 0.3.0 + 0.4.0-SNAPSHOT Spring gRPC Server Sample Demo project for Spring gRPC @@ -38,7 +38,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import diff --git a/samples/pom.xml b/samples/pom.xml index b7201b2d..6030afad 100644 --- a/samples/pom.xml +++ b/samples/pom.xml @@ -6,12 +6,12 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT org.springframework.grpc parent-samples - 0.3.0 + 0.4.0-SNAPSHOT pom Parent Demo diff --git a/spring-grpc-core/pom.xml b/spring-grpc-core/pom.xml index 59a131a2..065d7612 100644 --- a/spring-grpc-core/pom.xml +++ b/spring-grpc-core/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT spring-grpc-core jar diff --git a/spring-grpc-dependencies/pom.xml b/spring-grpc-dependencies/pom.xml index 4ad0e2d1..7f8f5d7b 100644 --- a/spring-grpc-dependencies/pom.xml +++ b/spring-grpc-dependencies/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom Spring gRPC dependencies diff --git a/spring-grpc-docs/pom.xml b/spring-grpc-docs/pom.xml index a6cdbfa5..d28e9400 100644 --- a/spring-grpc-docs/pom.xml +++ b/spring-grpc-docs/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT spring-grpc-docs Spring gRPC Docs diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc index 2e2a4d8b..a1c3ee0f 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc @@ -193,7 +193,7 @@ If you’re a Maven user, you can use the dependencies by adding the following t org.springframework.grpc spring-grpc-dependencies - 0.3.0 + 0.4.0-SNAPSHOT pom import @@ -208,7 +208,7 @@ As shown in the snippet below this can then be followed by version-less declarat [source,gradle] ---- dependencies { - implementation platform("org.springframework.grpc:spring-grpc-dependencies:0.3.0") + implementation platform("org.springframework.grpc:spring-grpc-dependencies:0.4.0-SNAPSHOT") } ---- diff --git a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc index 63f60ca9..f595b5ec 100644 --- a/spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc +++ b/spring-grpc-docs/src/main/antora/modules/ROOT/pages/whats-new.adoc @@ -1,8 +1,24 @@ = What's new? +:page-section-summary-toc: 1 + +[[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. + +=== 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. + +=== 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. + +=== 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 -:page-section-summary-toc: 1 This section covers the changes made from version 0.2.0 to version 0.3.0. diff --git a/spring-grpc-spring-boot-autoconfigure/pom.xml b/spring-grpc-spring-boot-autoconfigure/pom.xml index bc6e5fe6..5eeb96e0 100644 --- a/spring-grpc-spring-boot-autoconfigure/pom.xml +++ b/spring-grpc-spring-boot-autoconfigure/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT spring-grpc-spring-boot-autoconfigure jar diff --git a/spring-grpc-spring-boot-starter/pom.xml b/spring-grpc-spring-boot-starter/pom.xml index 245ef551..42b5ff93 100644 --- a/spring-grpc-spring-boot-starter/pom.xml +++ b/spring-grpc-spring-boot-starter/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT spring-grpc-spring-boot-starter jar diff --git a/spring-grpc-test/pom.xml b/spring-grpc-test/pom.xml index fc12f2a2..428523ac 100644 --- a/spring-grpc-test/pom.xml +++ b/spring-grpc-test/pom.xml @@ -6,7 +6,7 @@ org.springframework.grpc spring-grpc - 0.3.0 + 0.4.0-SNAPSHOT spring-grpc-test Spring gRPC Test