- Updated
azure-cosmos
to version4.63.2
.
- Updated
azure-cosmos
to version4.63.0
.
- Added hierarchical or sub-partitioning support to 'azure-spring-data-cosmos' - See PR 40928.
- Updated
azure-cosmos
to version4.62.0
.
- Added support for
@Transient
annotation - see PR 40401.
- 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.
- Added support for
@Transient
annotation - see PR 39760.
- 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.
- Exposing the
indexQueryMetrics
to theCosmosConfig
via theapplication.properties
configuration file - See PR 39623.
- Fixed all saveAll/insertAll bulk functionality to populated audit data - See PR 39811.
- Fixed
existsById
API inReactiveCosmosTemplate
to returnMono<Boolean>
containingFalse
in case the item does not exist - See PR 40050.
- Updated
azure-cosmos
to version4.58.0
.
- Exposing the
indexQueryMetrics
to theCosmosConfig
via theapplication.properties
configuration file - See PR 39433.
- Fixed all saveAll/insertAll bulk functionality to populated audit data - See PR 39620.
- Fixed
existsById
API inReactiveCosmosTemplate
to returnMono<Boolean>
containingFalse
in case the item does not exist - See PR 40022
- Updated
azure-cosmos
to version4.58.0
.
- Updated
azure-cosmos
to version4.57.0
.
- Fixed
IllegalStateException
fordelete
- See PR 38996.
- Updated
azure-cosmos
to version4.57.0
.
- Fixed
IllegalStateException
fordelete
- See PR 39010.
- Updated
azure-cosmos
to version4.56.0
.
- Updated
azure-cosmos
to version4.56.0
.
- Fixed issue where running on versions older than Java 21 would throw a
UnsupportedClassVersionError
- See PR 38690.
- Fixed a bug with auto generated id's when using bulk
saveAll
- See PR 38356.
- Updated
azure-cosmos
to version4.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.
- Fixed a bug with auto generated id's when using bulk
saveAll
- See PR 38274.
- Updated
azure-cosmos
to version4.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.
- 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.
- Updated
azure-cosmos
to version4.53.1
. - Updated
Spring Data Commons
to version3.2.0
.
- 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.
- Updated
azure-cosmos
to version4.53.1
. - Updated
Spring Data Commons
to version2.7.18
.
- Updated Spring and Reactive Spring repository
saveAll
anddeleteAll
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.
- Updated
azure-cosmos
to version4.52.0
. - Updated
Spring Data Commons
to version3.1.5
.
- Updated Spring and Reactive Spring repository
saveAll
anddeleteAll
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.
- Updated
azure-cosmos
to version4.52.0
. - Updated
Spring Data Commons
to version2.7.17
.
- Updated
azure-cosmos
to version4.51.0
. - Updated
Spring Data Commons
to version3.1.3
.
- Updated
azure-cosmos
to version4.50.0
. - Updated
Spring Data Commons
to version2.7.16
.
- Fixed an issue with IN statement in annotated queries not working for
Long
data type - See PR 36267.
- Fixed an issue with IN statement in annotated queries not working for
Long
data type - See PR 36249.
- 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
- Fix circular references error when using Cosmos Auditing - See PR 36123.
- 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
- Optimized default implementation of
findById(ID id)
fromCrudRepository
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 version4.47.0
.
- Optimized default implementation of
findById(ID id)
fromCrudRepository
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 version4.46.0
.
- The module
azure-spring-data-cosmos
was moved from sdk/cosmos to sdk/spring - See PR 33905 - Updated
azure-cosmos
to version4.45.1
. - Updated
Spring Boot
to version2.7.11
. - Updated
Spring Data Commons
to version2.7.11
.
- Added a new flag
overwritePolicy
toCosmosIndexingPolicy
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 flagoverwritePolicy
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
- Fixing ARRAY_CONTAINS annotated query bug in Reactive Spring introduced by fixing to IN annotated queries. - See PR 34274
- Updated
azure-cosmos
to version4.44.0
.
- Bug fixed in
ReactiveCosmosTemplate
where returning a Flux was causing an error - See PR 33730
- Updated
azure-cosmos
to version4.42.0
. - Updated
Spring Data Commons
to version2.7.8
.
- Added support for multi-tenancy at the Container level via
CosmosFactory
- See PR 33400
- Updated
azure-cosmos
to version4.41.0
. - Updated
Spring Boot
to version2.7.8
. - Updated
Spring Data Commons
to version2.7.7
.
- Added support for multi-tenancy at the Database level via
CosmosFactory
- See PR 32516 - Added support for Patch API in
CosmosRepository
andReactiveCosmosRepository
- See PR 32630
- Updated
azure-cosmos
to version4.40.0
. - Updated
Spring Boot
to version2.7.7
. - Updated
Spring Data Commons
to version2.7.6
.
- Updated
azure-cosmos
to version4.39.0
.
- Fixed serialization and persistence issues for UUID for JDK 16 and above - See PR 31417
- Updated
azure-cosmos
to version4.38.1
. azure-cosmos
version 4.38.1 fixes two CVEs related to jackson-databind and apache commons-text dependencies.
- Updated
azure-cosmos
to version4.38.0
.
Important
We strongly recommend our customers to use version 3.28.1 and above.
- Updated
azure-cosmos
to version4.37.1
.
- Fixing ARRAY_CONTAINS annotated query bug introduced by fixing to IN annotated queries. - See PR 31179
- Updated
azure-cosmos
to version4.37.0
.
- Exposed
maxBufferedItemCount
feature fromCosmosQueryRequestOptions
throughapplication.properties
flag - See PR 30921 - Exposed
responseContinuationTokenLimitInKb
feature fromCosmosQueryRequestOptions
throughapplication.properties
flag - See PR 30980
- Fixing pagination bug when performing a cross-partition query to fill every page and fix the total page count reporting. - See PR 30694
- Updated
azure-cosmos
to version4.36.0
.
- Added support for NOT CONTAINS. - See PR 30379
- 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
- Updated
azure-cosmos
to version4.35.0
.
- Fixed issues with offset and limit where you cannot use offset and limit. - See PR 29841
- Updated
azure-cosmos
to version4.33.1
.
- Updated
azure-cosmos
to version4.33.0
.
Important
This release supports Spring Boot version 2.7.x and above.
- Updated
azure-cosmos
to version4.32.0
. - Updated
Spring Boot
to version2.7.1
. - Updated
Spring Data Commons
to version2.7.1
.
- Exposed
maxDegreeOfParallelism
feature from CosmosQueryRequestOptions through application.properties flag - See PR 28756
- Updated
azure-cosmos
to version4.31.0
.
- Updated
azure-cosmos
to version4.30.0
. - Updated
Spring Boot
to version2.6.7
.
- Updated
azure-cosmos
to version4.29.0
. - Updated
Spring Boot
to version2.6.6
.
- Updated
azure-cosmos
to version4.28.1
.
- Updated
Spring Boot
to version2.6.3
. - Updated
azure-cosmos
to version4.27.0
. - Added support for container
UniqueKey
policies - See PR 27270
- Fixed an issue with
userAgent
inazure-spring-data-cosmos
being overridden by other spring modules - See PR 27311
- Updated
azure-cosmos
to version4.26.0
.
- Updated
Spring Boot
to version2.6.2
. - Updated
azure-cosmos
to version4.25.0
.
- Updated
azure-cosmos
to version4.24.0
.
- Updated
Spring Boot
to version2.6.1
. - Updated
azure-cosmos
to version4.23.0
.
- Added support for capturing CosmosException diagnostics on
CosmosRepository
andReactiveRepository
APIs. - Solved
UnsatisfiedDependencyException
when upgrading to spring boot 2.6.1 by removingCosmosMappingContextLookup
.
- Updated
azure-cosmos
to version4.21.0
.
- 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.
- Fixed support for slice query in annotated
@Query
queries. - Fixed issue with preserving priority for closed queries.
- Updated
azure-cosmos
to version4.20.1
.
- Added support for setting throughput on database creation.
- Pagination improvement with slice query API.
- Updated
azure-cosmos
to version4.20.0
.
- Added support for UUID id type to spring data cosmos SDK.
- Updated
azure-cosmos
to version 4.19.1.
- Added Spring
ApplicationEventListener
support. - Updated
Spring Boot
to version 2.5.4. - Updated
azure-cosmos
to version 4.19.0.
- Fixed spring data cosmos
query plan
caching. - Fixed query parameter name generation for nested properties containing space.
- Updated
azure-cosmos
to version 4.19.0-beta.1.
- Fixed spring data cosmos
query plan
caching.
- Updated
Spring Boot
to version 2.5.3. - Updated
azure-cosmos
to version 4.18.0.
- 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.
- 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 onRepository
and@Query
annotation.
- Fixed an issue with
MappingCosmosConverter
handling query with value types. - Fixed an issue with
CosmosIndexingPolicy
getting reset on application bootup.
- Updated Spring Boot to spring-boot-dependencies:2.4.5.
- Updated Spring Cloud to spring-cloud-dependencies:2020.0.2.
- Added
slice
support for queries that do not require page count. - Updated
azure-cosmos
to version 4.15.0.
- Updated
azure-cosmos
to version 4.14.0.
- Updated
azure-cosmos
to hotfix version 4.13.1.
Important
This release supports spring boot 2.4.3 and above.
- 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
andSort
for@query
annotated queries.
- Fixed issue when using automatic id generation with the auditable framework.
- Fixed query deserialization issue with
@query
annotated queries.
- Updated
azure-cosmos
version to 4.12.0.
- Fixed
@EnableAuditing
for Java 11 modules.
- Support for composite indexes in
CosmosIndexPolicy
annotation. - Support for changes in
CosmosIndexPolicy
annotation. - Updated azure-cosmos version to 4.11.0.
- Fixed query generation with sort and limit.
- Updated Spring Data Commons version to 2.3.5.RELEASE.
- Updated Spring Core version to 5.2.10.RELEASE.
- Fixed publishing of
spring.factories
file with released jar. - Fixed repository query with repeated parameters.
- Added support for
ARRAY_CONTAINS
CriteriaType
. - Updated azure-cosmos version to 4.7.1.
- Fixed an issue where annotated queries do not pick the annotated container name.
- Updated azure-cosmos dependency to
4.6.0
- 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 allowingtop
andfirst
to be used when defining repository APIs.
- Fixed nested partition key bug when used with
@GeneratedValue
annotation.
- 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 ofString
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 ofList
. - 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.
CosmosDbFactory
toCosmosFactory
.CosmosDBConfig
toCosmosConfig
.CosmosDBAccessException
toCosmosAccessException
.Document
annotation toContainer
annotation.DocumentIndexingPolicy
annotation toCosmosIndexingPolicy
annotation.DocumentQuery
toCosmosQuery
.- application.properties flag
populateQueryMetrics
toqueryMetricsEnabled
.
- 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.