Skip to content

Commit

Permalink
Add release notes for 2.0.3 (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
elefeint committed Jun 9, 2021
1 parent 157e38c commit 04bc3e9
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
23 changes: 23 additions & 0 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,29 @@ https://spring.io/projects/spring-cloud-gcp[Spring Cloud GCP] is a set of integr
This document provides a high-level overview of the changes introduced in Spring Cloud GCP by release.
For a detailed view of what has changed, refer to the https://github.com/GoogleCloudPlatform/spring-cloud-gcp/commits/main[commit history] on GitHub.

== 2.0.3 (2021-06-08)

=== General
* Upgraded to GCP Libraries BOM 20.6.0
* Added version management for `com.google.cloud.sql:jdbc-socket-factory-core` (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/466[#466])

=== Cloud Pub/Sub
* Exposed publisher endpoint for message ordering (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/421[#421])
* Pub/Sub Health Indicator timeout increased to 2 seconds (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/420[#420]).
* Gated Cloud Pub/Sub emulator autoconfiguration Pub/Sub module being present and enabled (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/446[#446])
* `PubSubMessageHandler` now passes the original message to new success/failure callbacks, allowing applications to track message publish status (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/482[#482]).
The old `PubSubMessageHandler.setPublishCallback()` method is now deprecated.

=== Cloud Spanner
* Stopped Cloud Spanner emulator autoconfiguration from triggering default credentials creation (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/457[#457]).
* Added ability to customize arbitrary `SpannerOptions` settings by configuring a `SpannerOptionsCustomizer` bean (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/489[#489]).

=== Cloud SQL
* Added IAM authentication option for PostgreSQL (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/488[#488]).
* Enabled placeholder interpretation in Cloud SQL properties (https://github.com/GoogleCloudPlatform/spring-cloud-gcp/pull/495[#495]).

Thanks to our community contributors, @herder and @melburne!

== 2.0.2 (2021-03-25)

=== General
Expand Down
2 changes: 1 addition & 1 deletion docs/src/main/asciidoc/spring-integration-pubsub.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ If none is provided, the adapter waits indefinitely for a response.
It is possible to set user-defined callbacks for the `publish()` call in `PubSubMessageHandler` through the `setSuccessCallback()` and `setFailureCallback()` methods (either one or both may be set).
These give access to the Pub/Sub publish message ID in case of success, or the root cause exception in case of error.
Both callbacks include the original message as the second argument.
The old `setPublishFutureCallback()` method that only gave access to message ID or root cause exception is deprecated and will be removed in a future release.
The old `setPublishCallback()` method that only gave access to message ID or root cause exception is deprecated and will be removed in a future release.

[source,java,indent=0]
----
Expand Down

0 comments on commit 04bc3e9

Please sign in to comment.