Commit Graph

3948 Commits

Author SHA1 Message Date
kssumin
bcc1402be4 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:42:04 +02:00
Mark Paluch
28ebb41ed3 After release cleanups.
See #4899
2025-04-22 10:01:25 +02:00
Mark Paluch
de80b0d8fa Prepare next development iteration.
See #4899
2025-04-22 10:01:23 +02:00
Mark Paluch
55bf10628c Release version 4.3.11 (2024.0.11).
See #4899
2025-04-22 09:58:40 +02:00
Mark Paluch
6ec1c95b24 Prepare 4.3.11 (2024.0.11).
See #4899
2025-04-22 09:58:20 +02:00
Mark Paluch
c0c2d7658e Polishing.
Initialize MongoId also for reactive insertAll(…).

See: #4944
Original pull request: #4945
2025-04-14 15:31:45 +02:00
Christoph Strobl
70146522d3 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-14 15:31:45 +02:00
Woojin Shin
37ecbf6dd0 Fix typo in javadoc of MongoOperations.stream.
Signed-off-by: Woojin Shin <wish.in@icloud.com>

Closes #4942
2025-04-09 14:56:46 +02:00
Mark Paluch
c3aa2942dc 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:20 +02:00
Mark Paluch
008f3b1495 Refine @DocumentReference documentation about self._id references.
Closes #4925
2025-03-19 09:42:43 +01:00
Mark Paluch
ef9215e722 After release cleanups.
See #4896
2025-03-14 07:38:28 +01:00
Mark Paluch
7bcdfb6f10 Prepare next development iteration.
See #4896
2025-03-14 07:38:27 +01:00
Mark Paluch
854f988fde Release version 4.3.10 (2024.0.10).
See #4896
2025-03-14 07:35:59 +01:00
Mark Paluch
ca75071852 Prepare 4.3.10 (2024.0.10).
See #4896
2025-03-14 07:35:41 +01:00
Mark Paluch
9dce90a048 Polishing.
Merge List values in Update. Add tests, reformat code.

See: #4918
Original pull request: #4921
2025-03-12 13:57:07 +01:00
Christoph Strobl
64271c02ec Fix basic update overriding values.
This change makes sure basic update appends values to operations instead of overriding them. This change aligns the behaviour with Update and fixes issues where using the Update annotation with versioned entities can lead to loss of update information.

Closes: #4918
Original pull request: #4921
2025-03-12 13:57:07 +01:00
Mark Paluch
558c982292 After release cleanups.
See #4880
2025-02-14 09:52:50 +01:00
Mark Paluch
16e463c775 Prepare next development iteration.
See #4880
2025-02-14 09:52:49 +01:00
Mark Paluch
3b44d106e4 Release version 4.3.9 (2024.0.9).
See #4880
2025-02-14 09:50:00 +01:00
Mark Paluch
e2b65c486c Prepare 4.3.9 (2024.0.9).
See #4880
2025-02-14 09:49:40 +01:00
Mark Paluch
33b6e3e38d Fix CI server startup.
See: #4529
2025-02-13 16:16:27 +01:00
Mark Paluch
4ebcdf590b Polishing.
Reformat code. Reuse PersistentEntity for mapping instead of resolving TypeInformation from Class.

Original pull request: #4892
See: #4860
2025-02-13 15:40:50 +01:00
Christoph Strobl
f01b1bc996 Fix sort logging in MongoTemplate.
Original pull request: #4892
Closes #4860
2025-02-13 15:40:49 +01:00
Mark Paluch
886daebe0b Update CI Properties.
See #4880
2025-02-11 15:22:25 +01:00
Mark Paluch
75943c066d After release cleanups.
See #4856
2025-01-17 10:34:46 +01:00
Mark Paluch
7ee4bce349 Prepare next development iteration.
See #4856
2025-01-17 10:34:45 +01:00
Mark Paluch
9af5416fc5 Release version 4.3.8 (2024.0.8).
See #4856
2025-01-17 10:32:17 +01:00
Mark Paluch
a9f5230a11 Prepare 4.3.8 (2024.0.8).
See #4856
2025-01-17 10:32:00 +01:00
Mark Paluch
b728614796 Extend license header copyright years to 2025.
See #4866
2025-01-08 09:56:23 +01:00
Mark Paluch
4e6ff397a8 Polishing.
Reduce test class and method visibility. Convert JUnit 4 test to JUnit 5. Reformat code.

Original pull request: #4862
See #4850
2025-01-07 14:34:54 +01:00
Christoph Strobl
da5c062061 Wrap Criteria is and regex comparison if necessary.
This commit wraps simple values and Patterns if to avoid creating invalid query objects.

Original pull request: #4862
Closes #4850
2025-01-07 14:34:51 +01:00
Christoph Strobl
639e2c21f6 After release cleanups.
See #4833
2024-12-13 10:54:22 +01:00
Christoph Strobl
3e8d411da8 Prepare next development iteration.
See #4833
2024-12-13 10:54:20 +01:00
Christoph Strobl
32212b0f1b Release version 4.3.7 (2024.0.7).
See #4833
2024-12-13 10:51:12 +01:00
Christoph Strobl
e37cf837d5 Prepare 4.3.7 (2024.0.7).
See #4833
2024-12-13 10:50:50 +01:00
Christoph Strobl
3ee23b2827 Avoid unnecessary mapping of Sort object.
Closes: #4846
2024-12-11 10:38:08 +01:00
Christoph Strobl
24d1f48bdb Fix IndexOptions.expireAfter setting wrong property.
Resolves: #4851
2024-12-11 10:29:50 +01:00
Christoph Strobl
ad39a43582 Align @Indexed(expireAfter) with expireAfterSeconds.
This commit fixes an issue where expireAfter=0s behaves differently from expireAfterSeconds=0 where the former would not be applied.

Closes #4844
Original pull request: #4848
2024-12-10 09:54:14 +01:00
Mark Paluch
d6fe3c0ec7 After release cleanups.
See #4816
2024-11-15 11:47:58 +01:00
Mark Paluch
2fc02572fc Prepare next development iteration.
See #4816
2024-11-15 11:47:56 +01:00
Mark Paluch
7833199d82 Release version 4.3.6 (2024.0.6).
See #4816
2024-11-15 11:45:37 +01:00
Mark Paluch
647d312e64 Prepare 4.3.6 (2024.0.6).
See #4816
2024-11-15 11:45:21 +01:00
Christoph Strobl
c14be606cf Fix flakey test.
Original pull request: #4824
Closes #4804
2024-11-12 09:28:41 +01:00
Christoph Strobl
d0ee280f09 Retain order doing reactive save operations with multiple elements.
Ensure subscription order on multi document operations.

Original pull request: #4824
Closes #4804
2024-11-12 09:28:41 +01:00
Mark Paluch
6200440326 Update CI Properties.
See #4816
2024-11-07 09:59:10 +01:00
Mark Paluch
d125594f62 Upgrade to Maven Wrapper 3.9.9.
See #4826
2024-11-07 09:48:03 +01:00
Mark Paluch
266ec15e90 After release cleanups.
See #4787
2024-10-18 11:39:05 +02:00
Mark Paluch
a438ad8877 Prepare next development iteration.
See #4787
2024-10-18 11:39:04 +02:00
Mark Paluch
c0ba209be7 Release version 4.3.5 (2024.0.5).
See #4787
2024-10-18 11:36:33 +02:00
Mark Paluch
d0fe19c164 Prepare 4.3.5 (2024.0.5).
See #4787
2024-10-18 11:36:16 +02:00