Skip to content

Latest commit

 

History

History
151 lines (100 loc) · 8.43 KB

CHANGELOG.adoc

File metadata and controls

151 lines (100 loc) · 8.43 KB

Spring Cloud GCP Changelog

Spring Cloud GCP is a set of integrations between Spring Framework and Google Cloud Platform. It makes it much easier for Spring framework users to run their applications on Google Cloud Platform.

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 commit history on GitHub.

1.2.2.RELEASE (2020-03-04)

General

  • Switched to using GCP Libraries BOM for managing GCP library versions (#2109)

  • Core auto-configuration can now be disabled with spring.cloud.gcp.core.enabled=false (#2147)

  • Reference documentation improvements

  • Two new modules: Firebase Auth and Secret Manager

Datastore

  • Support lazy loading entities using @LazyReference (#2104)

  • Made existsById more efficient by retrieving only the key field (#2127)

  • Projections now work with the Slice return type (#2133) and GQL queries (#2139) in repositories

  • Improved repository method name validation (#2155)

  • Fixed delete for void repository method return type (#2169)

Firebase (NEW)

  • Introduced Firebase Authentication module (#2111)

Firestore

  • Added IN support in name-based queries (#2054)

Pub/Sub

  • ACK_MODE is now configurable using stream binders (#2079)

  • Added HealthIndicator implementation (#2030)

  • Fixed: PubSubReactiveFactory.poll doesn’t handle exceptions thrown by the PubSubSubscriberOperations (#2229)

    • NOTE: previously silently ignored exceptions are now forwarded to the Flux

Secret Manager (NEW)

  • Bootstrap Property Source which loads secrets from Secret Manager to be accessible as environment properties to your application (#2168)

  • SecretManagerTemplate implementation (#2195)

  • New Secret Manager sample app (#2190)

Spanner

  • Fixed java.util.Date conversion and added LocalDate and LocalDateTime support (#2067)

  • Added support for non-Key ID types in Spring Data REST repositories (#2049)

  • Optimized eager loading for interleaved properties (#2110) (#2165)

  • Enable using PENDING_COMMIT_TIMESTAMP in Spring Data Spanner (#2203)

Storage

  • Added ability to provide initial file contents on blob creation (#2097)

  • You can now use a comparator with GcsStreamingMessageSource to process blobs from Cloud Storage in an ordered manner. (#2117)

  • Fixed GCS emulator BlobInfo update time initialization (#2113)

Trace

  • Hid trace scheduler from Spring Sleuth (#2158)

1.2.1.RELEASE (2019-12-20)

Spanner

  • Fixed java.sql.Timestamp to com.google.cloud.Timestamp conversion (#2064)

Pub/Sub

  • Fixed AUTO_ACK acking behavior in PubSubInboundChannelAdapter (#2075)

1.2.0.RELEASE (2019-11-26)

BigQuery

  • New module

  • Autoconfiguration for the BigQuery client objects with credentials needed to interface with BigQuery

  • A Spring Integration message handler for loading data into BigQuery tables in your Spring integration pipelines

Cloud Foundry

  • Created a separate starter for Cloud Foundry: spring-cloud-gcp-starter-cloudfoundry

Datastore

  • Datastore emulator support and auto-configuration

  • Entity Inheritance Hierarchies support

  • Query by example

  • Support Pagination for @Query annotated methods

  • Support key fields in name-based query methods

  • Events and Auditing support

  • Support for multiple namespaces

  • Spring Boot Actuator Support for Datastore Health Indicator (#1423)

Firestore

  • Spring Data Reactive Repositories for Cloud Firestore

  • Cloud Firestore Spring Boot Starter

Logging

  • Additional metadata support for JSON logging (#1310)

  • Add service context for Stackdriver Error Reporting

  • Add option to add custom json to log messages

  • A separate module for Logging outside of autoconfiguration (#1455)

Pub/Sub

  • PubsubTemplate publish to topics in other projects (#1678)

  • PubsubTemplate subscribe in other projects (#1880)

  • Reactive support for Pub/Sub subscription (#1461)

  • Spring Integration - Pollable Message Source (using Pub/Sub Synchronous Pull) (#1321)

  • Pubsub stream binder via synchronous pull (#1419)

  • Add keepalive property to pubsub; set default at 5 minutes (#1807)

  • Change thread pools to create daemon threads that do not prevent JVM shutdown (#2010)

    • This is a change in behavior for non-web applications that subscribe to a Cloud Pub/Sub topic. The subscription threads used to keep the application alive, but will now allow the application to shut down if no other work needs to be done.

  • Added original message to the throwable for Pub/Sub publish failures (#2020)

IAP

  • Added support to allow multiple IAP audience claims (#1856)

Spanner

  • Expose Spanner failIfPoolExhausted property (#1889)

  • Lazy fetch support for interleaved collections (#1460)

  • Bounded staleness option support (#1727)

  • Spring Data Spanner Repositories In clause queries support (#1701)

  • Spanner array param binding

  • Events and Auditing support

  • Multi-Instance support (#1530)

  • Fixed conversion for timestamps older than unix epoch (#2043)

  • Fixed REST Repositories PUT by populating key fields when virtual key property is set (#2053)

Spring Cloud Bus

  • Spring Cloud Config and Bus over Pub/Sub sample/docs (#1550)

Vision

  • Cloud Vision Document OCR support

1.1.0.RELEASE (2019-01-22)

1.0.0.RELEASE (2018-09-18)