diff --git a/pom.xml b/pom.xml
index 48de8d8..90b363b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -5,7 +5,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
https://github.com/spring-projects-experimental/spring-grpc
diff --git a/samples/grpc-client/build.gradle b/samples/grpc-client/build.gradle
index 8ea482e..ffdf331 100644
--- a/samples/grpc-client/build.gradle
+++ b/samples/grpc-client/build.gradle
@@ -6,7 +6,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-client/pom.xml b/samples/grpc-client/pom.xml
index f88243f..e665887 100644
--- a/samples/grpc-client/pom.xml
+++ b/samples/grpc-client/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-client-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Client Sample
Demo project for Spring gRPC
@@ -40,7 +40,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-client/src/test/java/org/springframework/grpc/sample/DefaultDeadlineSetupTests.java b/samples/grpc-client/src/test/java/org/springframework/grpc/sample/DefaultDeadlineSetupTests.java
index 9d2442b..2b641aa 100644
--- a/samples/grpc-client/src/test/java/org/springframework/grpc/sample/DefaultDeadlineSetupTests.java
+++ b/samples/grpc-client/src/test/java/org/springframework/grpc/sample/DefaultDeadlineSetupTests.java
@@ -35,7 +35,7 @@ public class DefaultDeadlineSetupTests {
class Deadline {
static boolean serverJarAvailable() {
- return new File("../grpc-server/target/grpc-server-sample-0.6.0-SNAPSHOT.jar").exists();
+ return new File("../grpc-server/target/grpc-server-sample-0.6.0.jar").exists();
}
@Test
@@ -52,7 +52,7 @@ public class DefaultDeadlineSetupTests {
static CommonsExecWebServerFactoryBean grpcServer() {
return CommonsExecWebServerFactoryBean.builder()
.classpath(classpath -> classpath
- .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0-SNAPSHOT"))
+ .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0"))
.files("target/test-classes"));
}
@@ -83,7 +83,7 @@ public class DefaultDeadlineSetupTests {
class WithoutDeadline {
static boolean serverJarAvailable() {
- return new File("../grpc-server/target/grpc-server-sample-0.6.0-SNAPSHOT.jar").exists();
+ return new File("../grpc-server/target/grpc-server-sample-0.6.0.jar").exists();
}
@Test
@@ -100,7 +100,7 @@ public class DefaultDeadlineSetupTests {
static CommonsExecWebServerFactoryBean grpcServer() {
return CommonsExecWebServerFactoryBean.builder()
.classpath(classpath -> classpath
- .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0-SNAPSHOT"))
+ .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0"))
.files("target/test-classes"));
}
diff --git a/samples/grpc-client/src/test/java/org/springframework/grpc/sample/GrpcClientApplicationTests.java b/samples/grpc-client/src/test/java/org/springframework/grpc/sample/GrpcClientApplicationTests.java
index 59505f0..5df5e03 100644
--- a/samples/grpc-client/src/test/java/org/springframework/grpc/sample/GrpcClientApplicationTests.java
+++ b/samples/grpc-client/src/test/java/org/springframework/grpc/sample/GrpcClientApplicationTests.java
@@ -26,7 +26,7 @@ public class GrpcClientApplicationTests {
}
static boolean serverJarAvailable() {
- return new File("../grpc-server/target/grpc-server-sample-0.6.0-SNAPSHOT.jar").exists();
+ return new File("../grpc-server/target/grpc-server-sample-0.6.0.jar").exists();
}
@Test
@@ -42,7 +42,7 @@ public class GrpcClientApplicationTests {
static CommonsExecWebServerFactoryBean grpcServer() {
return CommonsExecWebServerFactoryBean.builder()
.classpath(classpath -> classpath
- .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0-SNAPSHOT"))
+ .entries(new MavenClasspathEntry("org.springframework.grpc:grpc-server-sample:0.6.0"))
.files("target/test-classes"));
}
diff --git a/samples/grpc-oauth2/build.gradle b/samples/grpc-oauth2/build.gradle
index 605e46c..e651502 100644
--- a/samples/grpc-oauth2/build.gradle
+++ b/samples/grpc-oauth2/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -27,7 +27,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-oauth2/pom.xml b/samples/grpc-oauth2/pom.xml
index c169163..bfcb382 100644
--- a/samples/grpc-oauth2/pom.xml
+++ b/samples/grpc-oauth2/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-oauth2-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC OAuth2 Server Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-reactive/build.gradle b/samples/grpc-reactive/build.gradle
index 4b96d58..e133cf9 100644
--- a/samples/grpc-reactive/build.gradle
+++ b/samples/grpc-reactive/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-reactive/pom.xml b/samples/grpc-reactive/pom.xml
index 14ee032..601c229 100644
--- a/samples/grpc-reactive/pom.xml
+++ b/samples/grpc-reactive/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-reactive-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Reactive Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-secure/build.gradle b/samples/grpc-secure/build.gradle
index bb3fc2f..6a59833 100644
--- a/samples/grpc-secure/build.gradle
+++ b/samples/grpc-secure/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-secure/pom.xml b/samples/grpc-secure/pom.xml
index 7cd4c65..a5898b8 100644
--- a/samples/grpc-secure/pom.xml
+++ b/samples/grpc-secure/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-secure-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Secure Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-server-netty-shaded/build.gradle b/samples/grpc-server-netty-shaded/build.gradle
index 632001e..cbf2abc 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.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-server-netty-shaded/pom.xml b/samples/grpc-server-netty-shaded/pom.xml
index b1230ee..60d7afa 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.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Server Sample Netty Shaded
Demo project for Spring Boot
@@ -25,7 +25,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-server/build.gradle b/samples/grpc-server/build.gradle
index 92bb846..76b80be 100644
--- a/samples/grpc-server/build.gradle
+++ b/samples/grpc-server/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-server/pom.xml b/samples/grpc-server/pom.xml
index 1782702..ec04b4d 100644
--- a/samples/grpc-server/pom.xml
+++ b/samples/grpc-server/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-server-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Server Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-tomcat-secure/build.gradle b/samples/grpc-tomcat-secure/build.gradle
index ed4b2f1..26d97c3 100644
--- a/samples/grpc-tomcat-secure/build.gradle
+++ b/samples/grpc-tomcat-secure/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-tomcat-secure/pom.xml b/samples/grpc-tomcat-secure/pom.xml
index 4ba26fc..d52fb22 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.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Tomcat Secure Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-tomcat/build.gradle b/samples/grpc-tomcat/build.gradle
index 54672a7..872a1f5 100644
--- a/samples/grpc-tomcat/build.gradle
+++ b/samples/grpc-tomcat/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-tomcat/pom.xml b/samples/grpc-tomcat/pom.xml
index ea0108e..5725556 100644
--- a/samples/grpc-tomcat/pom.xml
+++ b/samples/grpc-tomcat/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-tomcat-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Tomcat Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/grpc-webflux/build.gradle b/samples/grpc-webflux/build.gradle
index 95120af..5229318 100644
--- a/samples/grpc-webflux/build.gradle
+++ b/samples/grpc-webflux/build.gradle
@@ -7,7 +7,7 @@ plugins {
}
group = 'com.example'
-version = '0.6.0-SNAPSHOT'
+version = '0.6.0'
java {
toolchain {
@@ -23,7 +23,7 @@ repositories {
dependencyManagement {
imports {
- mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0-SNAPSHOT'
+ mavenBom 'org.springframework.grpc:spring-grpc-dependencies:0.6.0'
}
}
diff --git a/samples/grpc-webflux/pom.xml b/samples/grpc-webflux/pom.xml
index e1c8584..1295dfb 100644
--- a/samples/grpc-webflux/pom.xml
+++ b/samples/grpc-webflux/pom.xml
@@ -11,7 +11,7 @@
org.springframework.grpc
grpc-webflux-sample
- 0.6.0-SNAPSHOT
+ 0.6.0
Spring gRPC Webflux Sample
Demo project for Spring gRPC
@@ -38,7 +38,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
import
diff --git a/samples/pom.xml b/samples/pom.xml
index ead5b5c..6ab546e 100644
--- a/samples/pom.xml
+++ b/samples/pom.xml
@@ -6,12 +6,12 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
org.springframework.grpc
parent-samples
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
Parent Demo
diff --git a/spring-grpc-build-dependencies/pom.xml b/spring-grpc-build-dependencies/pom.xml
index e7a6641..03a43c2 100644
--- a/spring-grpc-build-dependencies/pom.xml
+++ b/spring-grpc-build-dependencies/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc-build-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
Spring gRPC build dependencies
diff --git a/spring-grpc-client-spring-boot-starter/pom.xml b/spring-grpc-client-spring-boot-starter/pom.xml
index b7c0b31..941cc03 100644
--- a/spring-grpc-client-spring-boot-starter/pom.xml
+++ b/spring-grpc-client-spring-boot-starter/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-client-spring-boot-starter
jar
diff --git a/spring-grpc-core/pom.xml b/spring-grpc-core/pom.xml
index 993ad48..416b0b9 100644
--- a/spring-grpc-core/pom.xml
+++ b/spring-grpc-core/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-core
jar
diff --git a/spring-grpc-dependencies/pom.xml b/spring-grpc-dependencies/pom.xml
index 2208cb0..c7145cf 100644
--- a/spring-grpc-dependencies/pom.xml
+++ b/spring-grpc-dependencies/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc-dependencies
- 0.6.0-SNAPSHOT
+ 0.6.0
pom
Spring gRPC (Bill of Materials)
diff --git a/spring-grpc-docs/pom.xml b/spring-grpc-docs/pom.xml
index 2f85ad5..480c26f 100644
--- a/spring-grpc-docs/pom.xml
+++ b/spring-grpc-docs/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-docs
Spring gRPC Docs
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 44fe7db..1a766e6 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
@@ -2,10 +2,28 @@
:page-section-summary-toc: 1
-[[what-s-new-in-0-4-0-since-0-3-0]]
-== What's New in 0.6.0-SNAPSHOT Since 0.3.0
+[[what-s-new-in-0-6-0-since-0-5-0]]
+== What's New in 0.6.0 Since 0.5.0
-This section covers the changes made from version 0.3.0 to version 0.6.0-SNAPSHOT.
+This section covers the changes made from version 0.5.0 to version 0.6.0.
+
+=== Renamed Client Autowired Annotations
+The old `@GrpcClient` annotation has been renamed to `@ImportGrpcClients` to better reflect its purpose, and to be more consistent with changes in the Spring framework.
+The customizer that is applied to generated gRPC clients is now a `GrpcClientFactoryCustomizer` - it's main use is to modify the channel that a client is created with beyond the limits of what can be configured with `spring.grpc.client.*` properties.
+
+[[what-s-new-in-0-5-0-since-0-4-0]]
+== What's New in 0.5.0 Since 0.4.0
+
+This section covers the changes made from version 0.4.0 to version 0.5.0.
+
+=== Automatic Configuration of gRPC Clients
+The `@EnableGrpcClients` and nested `@GrpcClient` annotations can now be used to automatically configure gRPC clients.
+Each `@GrpcClient` can be used to enumerate the stub types explicitly, or to scan a base package for stubs.
+
+[[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.3.0 to version 0.4.0.
=== Fine-grained starter modules
The following fine-grained Spring Boot starter modules have been added:
diff --git a/spring-grpc-server-spring-boot-starter/pom.xml b/spring-grpc-server-spring-boot-starter/pom.xml
index a3084eb..0b890a1 100644
--- a/spring-grpc-server-spring-boot-starter/pom.xml
+++ b/spring-grpc-server-spring-boot-starter/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-server-spring-boot-starter
jar
diff --git a/spring-grpc-server-web-spring-boot-starter/pom.xml b/spring-grpc-server-web-spring-boot-starter/pom.xml
index 8f14e51..c63e4e9 100644
--- a/spring-grpc-server-web-spring-boot-starter/pom.xml
+++ b/spring-grpc-server-web-spring-boot-starter/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-server-web-spring-boot-starter
jar
diff --git a/spring-grpc-spring-boot-autoconfigure/pom.xml b/spring-grpc-spring-boot-autoconfigure/pom.xml
index 84fd8be..d10f634 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.6.0-SNAPSHOT
+ 0.6.0
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 cb3775d..4493f8f 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.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-spring-boot-starter
jar
diff --git a/spring-grpc-test/pom.xml b/spring-grpc-test/pom.xml
index 3a698e1..1362235 100644
--- a/spring-grpc-test/pom.xml
+++ b/spring-grpc-test/pom.xml
@@ -6,7 +6,7 @@
org.springframework.grpc
spring-grpc
- 0.6.0-SNAPSHOT
+ 0.6.0
spring-grpc-test
Spring gRPC Test