Revert to snapshots and add whats new

This commit is contained in:
Dave Syer
2025-01-15 09:04:13 +00:00
parent 406532e44e
commit 4efd23aa4e
19 changed files with 46 additions and 30 deletions

View File

@@ -187,7 +187,7 @@ If youre a Maven user, you can use the dependencies by adding the following t
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -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")
}
```

View File

@@ -5,7 +5,7 @@
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<url>https://github.com/spring-projects-experimental/spring-grpc</url>

View File

@@ -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'
}
}

View File

@@ -11,7 +11,7 @@
</parent>
<groupId>com.example</groupId>
<artifactId>grpc-server-netty-shaded</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<name>Spring gRPC Server Sample Netty Shaded</name>
<description>Demo project for Spring Boot</description>
<properties>
@@ -25,7 +25,7 @@
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -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'
}
}

View File

@@ -11,7 +11,7 @@
</parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>grpc-server-sample</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<name>Spring gRPC Server Sample</name>
<description>Demo project for Spring gRPC</description>
<url />
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -11,7 +11,7 @@
</parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>grpc-tomcat-secure-sample</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<name>Spring gRPC Server Sample</name>
<description>Demo project for Spring gRPC</description>
<url />
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -11,7 +11,7 @@
</parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>grpc-tomcat-sample</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<name>Spring gRPC Server Sample</name>
<description>Demo project for Spring gRPC</description>
<url />
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -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'
}
}

View File

@@ -11,7 +11,7 @@
</parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>grpc-webflux-sample</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<name>Spring gRPC Server Sample</name>
<description>Demo project for Spring gRPC</description>
<url />
@@ -38,7 +38,7 @@
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>

View File

@@ -6,12 +6,12 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>parent-samples</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Parent Demo</name>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-core</artifactId>
<packaging>jar</packaging>

View File

@@ -6,7 +6,7 @@
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>Spring gRPC dependencies</name>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-docs</artifactId>
<name>Spring gRPC Docs</name>

View File

@@ -193,7 +193,7 @@ If youre a Maven user, you can use the dependencies by adding the following t
<dependency>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc-dependencies</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
<type>pom</type>
<scope>import</scope>
</dependency>
@@ -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")
}
----

View File

@@ -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.

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-spring-boot-autoconfigure</artifactId>
<packaging>jar</packaging>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-spring-boot-starter</artifactId>
<packaging>jar</packaging>

View File

@@ -6,7 +6,7 @@
<parent>
<groupId>org.springframework.grpc</groupId>
<artifactId>spring-grpc</artifactId>
<version>0.3.0</version>
<version>0.4.0-SNAPSHOT</version>
</parent>
<artifactId>spring-grpc-test</artifactId>
<name>Spring gRPC Test</name>