github Azure/azure-sdk-for-java azure-spring-data-2-3-cosmos_3.0.0-beta.1

latest releases: spring-cloud-azure-dependencies_5.11.0, spring-cloud-azure_5.11.0, spring-cloud-azure-starter-appconfiguration-config_5.11.0...
pre-release3 years ago

3.0.0-beta.1 (2020-08-17)

New features

  • Updated group id to com.azure.
  • Updated artifact id to azure-spring-data-2-3-cosmos.
  • Updated azure-cosmos SDK dependency to 4.3.2-beta.1.
  • Support for auditing entities - automatic management of createdBy, createdDate, lastModifiedBy and lastModifiedDate annotated fields.
  • @GeneratedValue annotation support for automatic id generation for id fields of String type.
  • Multi-database configuration support for single cosmos account with multiple databases and multiple cosmos accounts with multiple databases.
  • Support for @Version annotation on any string field.
  • Updated sync APIs return types to Iterable types instead of List.
  • Exposed CosmosClientBuilder from Cosmos SDK as spring bean to @Configuration class.
  • Updated CosmosConfig to contain query metrics and response diagnostics processor implementation.
  • Support for returning Optional data type for single result queries.

Renames

  • CosmosDbFactory to CosmosFactory.
  • CosmosDBConfig to CosmosConfig.
  • CosmosDBAccessException to CosmosAccessException.
  • Document annotation to Container annotation.
  • DocumentIndexingPolicy annotation to CosmosIndexingPolicy annotation.
  • DocumentQuery to CosmosQuery.
  • application.properties flag populateQueryMetrics to queryMetricsEnabled.

Key bug fixes

  • Scheduling diagnostics logging task to Parallel threads to avoid blocking Netty I/O threads.
  • Fixed optimistic locking on delete operation.
  • Fixed issue with escaping queries for IN clause.
  • Fixed issue by allowing long data type for @Id.
  • Fixed issue by allowing boolean, long, int, double as data types for @PartitionKey annotation.
  • Fixed IgnoreCase & AllIgnoreCase keywords for ignore case queries.
  • Removed default request unit value of 4000 when creating containers automatically.

Don't miss a new azure-sdk-for-java release

NewReleases is sending notifications on new releases.