Mark Paluch
9fbf0f2fb8
Prepare 4.5.1 (2025.0.1).
...
See #4974
2025-06-13 13:39:13 +02:00
Ricardo Mello
d0ee28155f
Update Documentation.
...
Updated code sample so that it includes the required `keyId(...)` configuration for Queryable Encryption using the Range algorithm.
Closes : #4991
Signed-off-by: Ricardo Mello <ricardohsmello@gmail.com >
2025-06-13 07:48:11 +02:00
Mark Paluch
772a359b41
Polishing.
...
Replace if statement with ternary operator.
See #4994
2025-06-11 14:45:39 +02:00
michaldo
7293d578ea
Always include Collection tag in MongoDB observations.
...
Use default "none" collection name when command doesn't define a collection.
Signed-off-by: michaldo <michaldo@github.io >
Closes : #4994
2025-06-11 14:45:39 +02:00
Christoph Strobl
ab7f645022
Upgrade to MongoDB driver 5.5.1
...
Closes : #4996
2025-06-10 08:07:43 +02:00
Mark Paluch
effeab47f4
Polishing.
...
Fix test.
See #4988
Original pull request: #4992
# Conflicts:
# spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/CollectionOptions.java
# spring-data-mongodb/src/main/java/org/springframework/data/mongodb/core/schema/QueryCharacteristics.java
2025-06-05 09:28:44 +02:00
Mark Paluch
4904a9ce35
Polishing.
...
Fix Javadoc, make QueryCharacteristics a Streamable for easier usage during mapping, reformat code for reduced nesting levels.
See #4988
Original pull request: #4992
2025-06-04 15:11:16 +02:00
Christoph Strobl
b7d7d455d1
Add support for non-queryable encrypted fields in CollectionOptions.
...
Closes #4988
Original pull request: #4992
2025-06-04 15:11:16 +02:00
Christoph Strobl
1a3e8aa0d6
Fix missing precision value when creating encryption settings.
...
Original pull request: #4993
Closes : #4989
2025-06-04 14:53:36 +02:00
Mark Paluch
d27f4a683d
Polishing.
...
Refine deprecations.
Original pull request: #4986
See #4969
2025-06-02 09:43:33 +02:00
Mark Paluch
c3695d9d5a
Polishing.
...
Guard Queryable Encryption tests against standalone server usage.
Original pull request: #4986
See #4969
2025-06-02 09:43:33 +02:00
Christoph Strobl
b4865e9965
Update $out stage rendering to documented format.
...
This commit makes sure to use the documented command format when rendering the $out aggregation stage.
Original pull request: #4986
Closes #4969
2025-06-02 09:43:29 +02:00
Mark Paluch
0e169aa23e
Document createCollection(…) annotation usage.
...
Closes : #4978
Original Pull Request: #4979
2025-05-28 10:30:34 +02:00
Mark Paluch
030035cd4f
After release cleanups.
...
See #4954
2025-05-16 11:31:36 +02:00
Mark Paluch
cc79b500ba
Prepare next development iteration.
...
See #4954
2025-05-16 11:31:35 +02:00
Mark Paluch
5fcf2ca3a7
Release version 4.5 GA (2025.0.0).
...
See #4954
2025-05-16 11:28:30 +02:00
Mark Paluch
b229fa5be1
Prepare 4.5 GA (2025.0.0).
...
See #4954
2025-05-16 11:28:09 +02:00
Mark Paluch
df3abef717
Polishing.
...
Refine MongoVector factory methods for a more natural adoption and terminology when creating vectors.
See #4706
2025-05-15 09:27:58 +02:00
Mark Paluch
d37fa9e94d
Update CI Properties.
...
See #4954
2025-05-12 09:33:04 +02:00
Mark Paluch
28fdc1c9d9
Update CI Properties.
...
See #4954
2025-05-12 09:00:22 +02:00
Mark Paluch
cfbb83a80b
Update CI Properties.
...
See #4954
2025-05-12 08:56:21 +02:00
Mark Paluch
9f44d8bfb6
Update CI Properties.
...
See #4954
2025-05-12 08:55:53 +02:00
Mark Paluch
b947e9dc1c
Adopt to documentation feature-flags in Commons.
...
See #4954
2025-05-09 10:25:07 +02:00
Christoph Strobl
2b8b59aec2
Upgrade to MongoDB driver 5.5.0
...
Closes : #4962
2025-05-07 14:16:06 +02:00
Christoph Strobl
e419764023
Skip setting vector search limit if unlimited.
...
Skip setting limit if unlimited and rely on server side command validation.
Closes : #4963
2025-05-07 11:23:12 +02:00
Christoph Strobl
ee1a94f009
Fix SetOperation.toValueOf rendering for field references.
...
Use single field reference instead of invalid multi field.
See: #4933
2025-05-05 09:40:42 +02:00
kssumin
f3bd67e12b
Fix AddFieldsOperationBuilder to treat String value as Field reference
...
This commit modifies the AddFieldsOperationBuilder to correctly treat String values as field references.
When a String value is passed, it is now interpreted as a reference to another field, following MongoDB's field reference syntax.
Resolves : #4933
Original Pull Request: #4959
Signed-off-by: kssumin <201566@jnu.ac.kr >
2025-05-05 09:40:33 +02:00
Mark Paluch
9496d1bf65
After release cleanups.
...
See #4924
2025-04-22 11:26:48 +02:00
Mark Paluch
dbf8f2d264
Prepare next development iteration.
...
See #4924
2025-04-22 11:26:47 +02:00
Mark Paluch
706a8ee3ff
Release version 4.5 RC1 (2025.0.0).
...
See #4924
2025-04-22 11:24:11 +02:00
Mark Paluch
792f13b6d2
Prepare 4.5 RC1 (2025.0.0).
...
See #4924
2025-04-22 11:23:51 +02:00
Mark Paluch
ff0fd94bcd
Clarify QueryDSL usage in reference documentation.
...
Closes #4951
2025-04-22 09:33:58 +02:00
Christoph Strobl
9dee60af15
Polishing.
...
Update test, since tags, rename method.
Original Pull Requests: #4935 & #4943
2025-04-22 09:33:58 +02:00
Nathan McDonald
5db56b2d4d
Add support for sorting simple arrays by direction.
...
Add method to provide sorting direction to sort array aggregation.
Related to: #4929
Original Pull Request: #4935
Signed-off-by: Nathan McDonald <nathan.mcdonald@uk.ey.com >
2025-04-22 09:33:58 +02:00
Ranzy Blessings
98f871b012
Add support for sorting simple arrays (integers/strings) with SortArray ()
...
- Added methods `byValueAscending()` and `byValueDescending()` to the SortArray class
to support sorting simple array types (e.g., integers, strings) in ascending and descending order.
- Updated tests to verify the correct functionality of sorting arrays by value.
- Refactored SortArray to handle sorting of simple types without requiring a property for sorting.
For more details, refer to: https://www.mongodb.com/docs/manual/reference/operator/aggregation/sortArray/
Resolves : #4929
Original Pull Request: #4943
Signed-off-by: Ranzy Blessings <ranzyblessings.inbox@gmail.com >
2025-04-22 09:33:58 +02:00
Mark Paluch
4bd5a1f113
Use awaitility version property.
...
Closes #4948
2025-04-22 09:33:57 +02:00
Alex Bevilacqua
c8d2d83b0a
Update mongo-search-indexes.adoc.
...
Remove quantization from VectorSearch docs.
Closes : #4931
Signed-off-by: Alex Bevilacqua <alex@alexbevi.com >
2025-04-22 09:33:57 +02:00
Jeff Yemin
d2b7b80dd7
Update mongo-encryption.adoc
...
Closes : #4947
Signed-off-by: Jeff Yemin <jeff.yemin@mongodb.com >
2025-04-22 09:33:57 +02:00
Mark Paluch
5eaeb926fd
Polishing.
...
Guard tests for encryption functionality.
Original Pull Request: #4885
2025-04-22 09:33:57 +02:00
Mark Paluch
985bb8bfa5
Polishing.
...
Initialize MongoId also for reactive insertAll(…).
See: #4944
Original pull request: #4945
2025-04-22 09:33:57 +02:00
Christoph Strobl
34c49e0a06
Fix @MongoId mapping for insertAll.
...
This commit fixes an issue where id properties annotated with MongoId had not been converted into the desired target type when inserting a collection of objects instead a single one.
Resolves : #4944
Original pull request: #4945
2025-04-22 09:33:57 +02:00
Christoph Strobl
272a062473
Update Javadoc.
...
Original Pull Request: #4885
2025-04-22 09:33:57 +02:00
Mark Paluch
e89548a846
Polishing.
...
Original Pull Request: #4885
2025-04-22 09:33:56 +02:00
Christoph Strobl
5235aabf29
Introduce Queryable annotation and add Schema derivation.
...
This commit decouples queryable encryption from explicit encryption and introduces the Queryable annotation to represent different query types like range and equality.
Additionally it removes value conversion from range encryption and fixes update mapping of range encrypted fields.
Original Pull Request: #4885
2025-04-22 09:33:56 +02:00
Ross Lawley
9b7a4e5a37
Adding queryable encryption range support
...
Supports range style queries for encrypted fields
Closes : #4185
Original Pull Request: #4885
2025-04-22 09:33:56 +02:00
Mark Paluch
1b629bc887
Use MongoDB BOM for version management.
...
Closes #4946
2025-04-14 09:39:33 +02:00
Woojin Shin
7a0e60b418
Fix typo in javadoc of MongoOperations.stream.
...
Signed-off-by: Woojin Shin <wish.in@icloud.com >
Closes #4942
2025-04-09 14:56:31 +02:00
Mark Paluch
0ae2054326
Adopt to deprecated QueryMethod constructor.
...
Closes #4941
2025-04-09 12:04:41 +02:00
Christoph Strobl
0054952230
Deprecate JMX support.
...
Original pull request: #4936
Closes #4927
2025-04-09 11:04:57 +02:00
Mark Paluch
6f11c08064
Retrieve MongoDB driver version reflectively.
...
To avoid inlining of the final/static version value, we're using reflection to look up the version value.
Closes #4937
2025-04-09 08:41:11 +02:00