Skip to content

Commit

Permalink
Revert to snapshots and add whats new
Browse files Browse the repository at this point in the history
  • Loading branch information
dsyer committed Jan 15, 2025
1 parent 406532e commit 4efd23a
Show file tree
Hide file tree
Showing 19 changed files with 46 additions and 30 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ If you’re 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>
Expand All @@ -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")
}
```

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-server-netty-shaded/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = 'com.example'
version = '0.3.0'
version = '0.4.0-SNAPSHOT'

java {
toolchain {
Expand All @@ -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'
}
}

Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-server-netty-shaded/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-server/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = 'com.example'
version = '0.3.0'
version = '0.4.0-SNAPSHOT'

java {
toolchain {
Expand All @@ -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'
}
}

Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-tomcat-secure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-tomcat/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-webflux/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group = 'com.example'
version = '0.3.0'
version = '0.4.0-SNAPSHOT'

java {
toolchain {
Expand All @@ -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'
}
}

Expand Down
4 changes: 2 additions & 2 deletions samples/grpc-webflux/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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 />
Expand All @@ -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>
Expand Down
4 changes: 2 additions & 2 deletions samples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-dependencies/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ If you’re 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>
Expand All @@ -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")
}
----

Expand Down
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-spring-boot-autoconfigure/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-spring-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion spring-grpc-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 4efd23a

Please sign in to comment.