Skip to content

Latest commit

 

History

History
547 lines (409 loc) · 23.9 KB

File metadata and controls

547 lines (409 loc) · 23.9 KB

Release History

5.16.0 (2024-09-09)

Other Changes

  • Updated azure-cosmos to version 4.63.2.

5.15.0 (2024-08-07)

Other Changes

  • Updated azure-cosmos to version 4.63.0.

5.14.0 (2024-07-05)

Features Added

  • Added hierarchical or sub-partitioning support to 'azure-spring-data-cosmos' - See PR 40928.

Other Changes

  • Updated azure-cosmos to version 4.62.0.

5.13.0 (2024-06-06)

Features Added

  • Added support for @Transient annotation - see PR 40401.

Bugs Fixed

  • Fixing bug with annotated queries that have no where clause but do have a sort - See PR 40165.
  • Fixing bug with Spring JPA keywords that don't lead to criteria creation - See PR 40204.

3.46.0 (2024-06-03)

Features Added

  • Added support for @Transient annotation - see PR 39760.

Bugs Fixed

  • Fixing bug with annotated queries that have no where clause but do have a sort - See PR 40083.
  • Fixing bug with Spring JPA keywords that don't lead to criteria creation - See PR 40167.

5.12.0 (2024-05-09)

Features Added

  • Exposing the indexQueryMetrics to the CosmosConfig via the application.properties configuration file - See PR 39623.

Bugs Fixed

  • Fixed all saveAll/insertAll bulk functionality to populated audit data - See PR 39811.
  • Fixed existsById API in ReactiveCosmosTemplate to return Mono<Boolean> containing False in case the item does not exist - See PR 40050.

Other Changes

  • Updated azure-cosmos to version 4.58.0.

3.45.0 (2024-05-07)

Features Added

  • Exposing the indexQueryMetrics to the CosmosConfig via the application.properties configuration file - See PR 39433.

Bugs Fixed

  • Fixed all saveAll/insertAll bulk functionality to populated audit data - See PR 39620.
  • Fixed existsById API in ReactiveCosmosTemplate to return Mono<Boolean> containing False in case the item does not exist - See PR 40022

Other Changes

  • Updated azure-cosmos to version 4.58.0.

5.11.0 (2024-03-29)

Other Changes

  • Updated azure-cosmos to version 4.57.0.

3.44.0 (2024-03-28)

Bugs Fixed

  • Fixed IllegalStateException for delete - See PR 38996.

Other Changes

  • Updated azure-cosmos to version 4.57.0.

5.10.0 (2024-03-01)

Bugs Fixed

  • Fixed IllegalStateException for delete - See PR 39010.

Other Changes

  • Updated azure-cosmos to version 4.56.0.

3.43.0 (2024-02-28)

Other Changes

  • Updated azure-cosmos to version 4.56.0.

5.9.1 (2024-02-08)

Bugs Fixed

  • Fixed issue where running on versions older than Java 21 would throw a UnsupportedClassVersionError - See PR 38690.

5.9.0 (2024-02-04)

Bugs Fixed

  • Fixed a bug with auto generated id's when using bulk saveAll - See PR 38356.

Other Changes

  • Updated azure-cosmos to version 4.54.0.
  • Implemented a custom scheduler for azure-spring-data-cosmos - See PR 38029.
  • Optimized querying entities with nested partition keys by passing the nested partition key in CosmosQueryRequestOptions - See PR 38356.

3.42.0 (2024-02-02)

Bugs Fixed

  • Fixed a bug with auto generated id's when using bulk saveAll - See PR 38274.

Other Changes

  • Updated azure-cosmos to version 4.54.0.
  • Implemented a custom scheduler for azure-spring-data-cosmos - See PR 37840.
  • Optimized querying entities with nested partition keys by passing the nested partition key in CosmosQueryRequestOptions - See PR 38274.

5.8.0 (2023-12-14)

Bugs Fixed

  • Fixed an issue with optional query parameters being used for annotated queries - See PR 37558.
  • Fixed an issue with populating the azure-spring-data-cosmos version number in the UserAgent - See PR 37642.
  • Fixed a bug with annotated queries that contain new lines in the query definition - See PR 38098.

Other Changes

  • Updated azure-cosmos to version 4.53.1.
  • Updated Spring Data Commons to version 3.2.0.

3.41.0 (2023-12-14)

Bugs Fixed

  • Fixed an issue with optional query parameters being used for annotated queries - See PR 37558.
  • Fixed an issue with populating the azure-spring-data-cosmos version number in the UserAgent - See PR 37642.
  • Fixed a bug with annotated queries that contain new lines in the query definition - See PR 38050.

Other Changes

  • Updated azure-cosmos to version 4.53.1.
  • Updated Spring Data Commons to version 2.7.18.

5.7.0 (2023-11-07)

Features Added

  • Updated Spring and Reactive Spring repository saveAll and deleteAll APIs to use bulk functionality implementation. NOTE: azure-spring-data-cosmos is currently unable to set throughput control limits at the request level, which will need to be achieved by creating multiple clients. - See PR 37475.

Other Changes

  • Updated azure-cosmos to version 4.52.0.
  • Updated Spring Data Commons to version 3.1.5.

3.40.0 (2023-11-07)

Features Added

  • Updated Spring and Reactive Spring repository saveAll and deleteAll APIs to use bulk functionality implementation. NOTE: azure-spring-data-cosmos is currently unable to set throughput control limits at the request level, which will need to be achieved by creating multiple clients. - See PR 36611.

Other Changes

  • Updated azure-cosmos to version 4.52.0.
  • Updated Spring Data Commons to version 2.7.17.

5.6.0 (2023-10-24)

Other Changes

  • Updated azure-cosmos to version 4.51.0.
  • Updated Spring Data Commons to version 3.1.3.

3.39.0 (2023-10-23)

Other Changes

  • Updated azure-cosmos to version 4.50.0.
  • Updated Spring Data Commons to version 2.7.16.

5.5.0 (2023-08-28)

Bugs Fixed

  • Fixed an issue with IN statement in annotated queries not working for Long data type - See PR 36267.

3.38.0 (2023-08-25)

Bugs Fixed

  • Fixed an issue with IN statement in annotated queries not working for Long data type - See PR 36249.

5.4.0 (2023-08-02)

Features Added

  • Added Diagnostic Threshold configuration support. In order to use diagnostics they must be enabled on the supplied CosmosClientBuilder as part of configuration. - See PR 36134

Bugs Fixed

  • Fix circular references error when using Cosmos Auditing - See PR 36123.

3.37.0 (2023-08-01)

Features Added

  • Added Diagnostic Threshold configuration support. In order to use diagnostics they must be enabled on the supplied CosmosClientBuilder as part of configuration. - See PR 35546

3.36.0 (2023-06-29)

Other Changes

  • Optimized default implementation of findById(ID id) from CrudRepository so that it will execute point reads where id is also the partition key, and log a warning where it is not. The new behaviour is more optimal, especially for large containers with many partitions - see PR 35261.
  • Updated azure-cosmos to version 4.47.0.

5.3.0 (2023-06-28)

Features Added

  • Support Spring Boot 3 - See PR 34874.
  • Support Spring Data Commons 3 - See PR 34878.

Other Changes

  • Optimized default implementation of findById(ID id) from CrudRepository so that it will execute point reads where id is also the partition key, and log a warning where it is not. The new behavior is more optimal, especially for large containers with many partitions - see PR 35403.
  • Updated azure-cosmos to version 4.46.0.

3.35.0 (2023-05-25)

Other Changes

  • The module azure-spring-data-cosmos was moved from sdk/cosmos to sdk/spring - See PR 33905
  • Updated azure-cosmos to version 4.45.1.
  • Updated Spring Boot to version 2.7.11.
  • Updated Spring Data Commons to version 2.7.11.

3.34.0 (2023-04-21)

Breaking Changes

  • Added a new flag overwritePolicy to CosmosIndexingPolicy that when set to true (by default it is false) will allow the user to overwrite the Indexing policy in Portal using the Indexing Policy defined in the SDK. This will affect users who change the Indexing Policy they have defined on the container and want that to overwrite what is in portal, you will now need to set the flag overwritePolicy to true for this to happen. The reason we have added this breaking change is that allowing overwrite of an existing indexing policy is considered too risky to be a default behavior. The risk is that you may be removing indexes through multiple indexing policy changes, and in that case the query engine may not provide consistent or complete results until all index transformations are complete. So we are changing the default behavior so that users must opt in to overwriting the indexing policy that exists. - See PR 33171

Bugs Fixed

  • Fixing ARRAY_CONTAINS annotated query bug in Reactive Spring introduced by fixing to IN annotated queries. - See PR 34274

Other Changes

  • Updated azure-cosmos to version 4.44.0.

3.33.0 (2023-03-17)

Bugs Fixed

  • Bug fixed in ReactiveCosmosTemplate where returning a Flux was causing an error - See PR 33730

Other Changes

  • Updated azure-cosmos to version 4.42.0.
  • Updated Spring Data Commons to version 2.7.8.

3.32.0 (2023-02-17)

Features Added

  • Added support for multi-tenancy at the Container level via CosmosFactory - See PR 33400

Other Changes

  • Updated azure-cosmos to version 4.41.0.
  • Updated Spring Boot to version 2.7.8.
  • Updated Spring Data Commons to version 2.7.7.

3.31.0 (2023-01-13)

Features Added

  • Added support for multi-tenancy at the Database level via CosmosFactory - See PR 32516
  • Added support for Patch API in CosmosRepository and ReactiveCosmosRepository - See PR 32630

Other Changes

  • Updated azure-cosmos to version 4.40.0.
  • Updated Spring Boot to version 2.7.7.
  • Updated Spring Data Commons to version 2.7.6.

3.30.0 (2022-11-16)

Other Changes

  • Updated azure-cosmos to version 4.39.0.

3.29.1 (2022-10-21)

Bugs Fixed

  • Fixed serialization and persistence issues for UUID for JDK 16 and above - See PR 31417

Other Changes

  • Updated azure-cosmos to version 4.38.1.
  • azure-cosmos version 4.38.1 fixes two CVEs related to jackson-databind and apache commons-text dependencies.

3.29.0 (2022-10-12)

Other Changes

  • Updated azure-cosmos to version 4.38.0.

3.28.1 (2022-10-07)

Important

We strongly recommend our customers to use version 3.28.1 and above.

Other Changes

  • Updated azure-cosmos to version 4.37.1.

3.28.0 (2022-09-30)

Bugs Fixed

  • Fixing ARRAY_CONTAINS annotated query bug introduced by fixing to IN annotated queries. - See PR 31179

Other Changes

  • Updated azure-cosmos to version 4.37.0.

3.27.0 (2022-09-15)

Features Added

  • Exposed maxBufferedItemCount feature from CosmosQueryRequestOptions through application.properties flag - See PR 30921
  • Exposed responseContinuationTokenLimitInKb feature from CosmosQueryRequestOptions through application.properties flag - See PR 30980

Bugs Fixed

  • Fixing pagination bug when performing a cross-partition query to fill every page and fix the total page count reporting. - See PR 30694

Other Changes

  • Updated azure-cosmos to version 4.36.0.

3.26.0 (2022-08-19)

Features Added

  • Added support for NOT CONTAINS. - See PR 30379

Bugs Fixed

  • Fixed issues with pagination when an offset is passed in with the pageable object. - See PR 29462
  • Fixed an issue with @Query annotation using IN queries in azure-spring-data-cosmos which were not working - See PR 30123
  • Fixed sorted queries to utilize composite indexes. - See PR 30199
  • Fixed issues with pagination when accessing a page other than the first page. - See PR 30276

Other Changes

  • Updated azure-cosmos to version 4.35.0.

3.25.0 (2022-07-22)

Bugs Fixed

  • Fixed issues with offset and limit where you cannot use offset and limit. - See PR 29841

Other Changes

  • Updated azure-cosmos to version 4.33.1.

3.24.0 (2022-07-14)

Other Changes

  • Updated azure-cosmos to version 4.33.0.

3.23.0 (2022-06-27)

Important

This release supports Spring Boot version 2.7.x and above.

Features Added

  • Updated azure-cosmos to version 4.32.0.
  • Updated Spring Boot to version 2.7.1.
  • Updated Spring Data Commons to version 2.7.1.

Other Changes

  • Performance improvement for case-insensitive queries - See PR 29597 and PR 29644

3.22.0 (2022-06-08)

Features Added

  • Exposed maxDegreeOfParallelism feature from CosmosQueryRequestOptions through application.properties flag - See PR 28756

Other Changes

  • Updated azure-cosmos to version 4.31.0.

3.21.0 (2022-05-20)

Other Changes

  • Updated azure-cosmos to version 4.30.0.
  • Updated Spring Boot to version 2.6.7.

3.20.0 (2022-04-22)

Other Changes

  • Updated azure-cosmos to version 4.29.0.
  • Updated Spring Boot to version 2.6.6.

3.19.1 (2022-04-08)

Other Changes

  • Updated azure-cosmos to version 4.28.1.

3.19.0 (2022-03-10)

Features Added

  • Updated Spring Boot to version 2.6.3.
  • Updated azure-cosmos to version 4.27.0.
  • Added support for container UniqueKey policies - See PR 27270

Bugs Fixed

  • Fixed an issue with userAgent in azure-spring-data-cosmos being overridden by other spring modules - See PR 27311

3.18.0 (2022-02-11)

Features Added

  • Updated azure-cosmos to version 4.26.0.

3.17.0 (2022-01-14)

Features Added

  • Updated Spring Boot to version 2.6.2.
  • Updated azure-cosmos to version 4.25.0.

3.16.0 (2021-12-21)

Features Added

  • Updated azure-cosmos to version 4.24.0.

3.15.0 (2021-12-10)

Features Added

  • Updated Spring Boot to version 2.6.1.
  • Updated azure-cosmos to version 4.23.0.

Bugs Fixed

  • Added support for capturing CosmosException diagnostics on CosmosRepository and ReactiveRepository APIs.
  • Solved UnsatisfiedDependencyException when upgrading to spring boot 2.6.1 by removing CosmosMappingContextLookup.

3.14.0 (2021-11-12)

Features Added

  • Updated azure-cosmos to version 4.21.0.

Bugs Fixed

  • Fixed issue with spring onLoad event not firing for paged queries.
  • Exceptions thrown from spring application event listeners for onLoad events will now propagate up the call stack.

3.13.1 (2021-10-27)

Bugs Fixed

  • Fixed support for slice query in annotated @Query queries.
  • Fixed issue with preserving priority for closed queries.
  • Updated azure-cosmos to version 4.20.1.

3.13.0 (2021-10-14)

New Features

  • Added support for setting throughput on database creation.
  • Pagination improvement with slice query API.
  • Updated azure-cosmos to version 4.20.0.

3.12.0 (2021-09-24)

New Features

  • Added support for UUID id type to spring data cosmos SDK.
  • Updated azure-cosmos to version 4.19.1.

3.11.0 (2021-09-09)

New Features

  • Added Spring ApplicationEventListener support.
  • Updated Spring Boot to version 2.5.4.
  • Updated azure-cosmos to version 4.19.0.

Bugs Fixed

  • Fixed spring data cosmos query plan caching.
  • Fixed query parameter name generation for nested properties containing space.

3.11.0-beta.1 (2021-09-02)

New Features

  • Updated azure-cosmos to version 4.19.0-beta.1.

Bugs Fixed

  • Fixed spring data cosmos query plan caching.

3.10.0 (2021-08-16)

New Features

  • Updated Spring Boot to version 2.5.3.
  • Updated azure-cosmos to version 4.18.0.

3.9.0 (2021-07-08)

New Features

  • Added PartitionKey support to spring data single partition queries.
  • Updated Spring Boot to version 2.5.2.
  • Updated azure-cosmos to version 4.17.0.

3.8.0 (2021-06-11)

New Features

  • Updated Spring Boot to version 2.5.0.
  • Updated azure-cosmos to version 4.16.0.
  • Added Autoscale RU support feature.
  • Added support for countBy* methods on Repository and @Query annotation.

Bugs Fixed

  • Fixed an issue with MappingCosmosConverter handling query with value types.
  • Fixed an issue with CosmosIndexingPolicy getting reset on application bootup.

3.7.0 (2021-05-12)

New Features

3.6.0 (2021-04-06)

New Features

  • Updated azure-cosmos to version 4.14.0.

3.5.1 (2021-03-24)

Bugs Fixed

  • Updated azure-cosmos to hotfix version 4.13.1.

3.5.0 (2021-03-11)

Important

This release supports spring boot 2.4.3 and above.

New Features

  • Updated spring-boot to major version 2.4.3.
  • Updated spring-core to major version 5.3.4.
  • Updated spring-data-commons to major version 2.4.5.
  • Updated azure-cosmos version to 4.13.0.
  • Added support for org.springframework.data.domain.Persistable entity type.
  • Added support to log SQL Queries.
  • Added support for Pageable and Sort for @query annotated queries.

Bugs Fixed

  • Fixed issue when using automatic id generation with the auditable framework.
  • Fixed query deserialization issue with @query annotated queries.

3.4.0 (2021-02-09)

New Features

  • Updated azure-cosmos version to 4.12.0.

Bugs Fixed

  • Fixed @EnableAuditing for Java 11 modules.

3.3.0 (2021-01-15)

New Features

  • Support for composite indexes in CosmosIndexPolicy annotation.
  • Support for changes in CosmosIndexPolicy annotation.
  • Updated azure-cosmos version to 4.11.0.

Bugs Fixed

  • Fixed query generation with sort and limit.

3.2.0 (2020-12-11)

New Features

  • Updated Spring Data Commons version to 2.3.5.RELEASE.
  • Updated Spring Core version to 5.2.10.RELEASE.

Bugs Fixed

  • Fixed publishing of spring.factories file with released jar.
  • Fixed repository query with repeated parameters.

3.1.0 (2020-10-21)

New Features

  • Added support for ARRAY_CONTAINS CriteriaType.
  • Updated azure-cosmos version to 4.7.1.

Bugs Fixed

  • Fixed an issue where annotated queries do not pick the annotated container name.

3.0.0 (2020-09-30)

New Features

  • Updated azure-cosmos dependency to 4.6.0

3.0.0-beta.2 (2020-09-17)

New Features

  • Updated artifact id to azure-spring-data-cosmos.
  • Updated azure-cosmos dependency to 4.5.0.
  • Query Annotation support for native queries.
  • Support for Java 11.
  • Added support for Nested Partition Key by exposing partitionKeyPath field in @Container annotation.
  • Added support for limit query type allowing top and first to be used when defining repository APIs.

Bugs Fixed

  • Fixed nested partition key bug when used with @GeneratedValue annotation.

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

New Features

  • Updated group id to com.azure.
  • Updated artifact id to azure-spring-data-cosmos-core.
  • Updated azure-cosmos SDK dependency to 4.3.2-beta.2.
  • 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.

Bugs Fixed

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