Commit Graph

3982 Commits

Author SHA1 Message Date
Christoph Strobl
4ec26ff745 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:20 +02:00
Mark Paluch
8ab97cfa9f After release cleanups.
See #4953
2025-05-16 10:51:19 +02:00
Mark Paluch
663bb46f7e Prepare next development iteration.
See #4953
2025-05-16 10:51:18 +02:00
Mark Paluch
a385f5fd2c Release version 4.4.6 (2024.1.6).
See #4953
2025-05-16 10:48:33 +02:00
Mark Paluch
0bdb3eb3de Prepare 4.4.6 (2024.1.6).
See #4953
2025-05-16 10:48:12 +02:00
Mark Paluch
5194ecda0f Update CI Properties.
See #4953
2025-05-12 09:00:08 +02:00
Mark Paluch
619904363f Adopt to documentation feature-flags in Commons.
See #4954
2025-05-09 10:25:16 +02:00
Christoph Strobl
fb3ad918fe Fix SetOperation.toValueOf rendering for field references.
Use single field reference instead of invalid multi field.

See: #4933
2025-05-05 09:41:32 +02:00
kssumin
ddf61dceb0 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:41:27 +02:00
Mark Paluch
bb13d9b9aa After release cleanups.
See #4923
2025-04-22 10:47:46 +02:00
Mark Paluch
e433338aed Prepare next development iteration.
See #4923
2025-04-22 10:47:45 +02:00
Mark Paluch
b0ae16463d Release version 4.4.5 (2024.1.5).
See #4923
2025-04-22 10:45:18 +02:00
Mark Paluch
97398b6259 Prepare 4.4.5 (2024.1.5).
See #4923
2025-04-22 10:44:59 +02:00
Mark Paluch
2d7f0831e9 Clarify QueryDSL usage in reference documentation.
Closes #4951
2025-04-22 08:52:17 +02:00
Mark Paluch
c4188eb36f Polishing.
Initialize MongoId also for reactive insertAll(…).

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

Closes #4942
2025-04-09 14:56:41 +02:00
Mark Paluch
ab6919e243 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:15 +02:00
Mark Paluch
921d035f8d Refine @DocumentReference documentation about self._id references.
Closes #4925
2025-03-19 09:42:36 +01:00
Mark Paluch
b226c8e00e After release cleanups.
See #4897
2025-03-14 08:20:02 +01:00
Mark Paluch
a260fc1d92 Prepare next development iteration.
See #4897
2025-03-14 08:20:01 +01:00
Mark Paluch
f5359d518e Release version 4.4.4 (2024.1.4).
See #4897
2025-03-14 08:17:34 +01:00
Mark Paluch
8cae50e6b6 Prepare 4.4.4 (2024.1.4).
See #4897
2025-03-14 08:17:16 +01:00
Mark Paluch
722a7f6a7c Polishing.
Merge List values in Update. Add tests, reformat code.

See: #4918
Original pull request: #4921
2025-03-12 13:56:57 +01:00
Christoph Strobl
17605807d3 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:56:57 +01:00
Mark Paluch
a3a3e2246a Refine Querydsl documentation.
See #4894
2025-03-05 11:23:16 +01:00
Mark Paluch
bfaa81e132 Polishing.
Reformat code. Reuse PersistentEntity for mapping instead of resolving TypeInformation from Class.

Original pull request: #4892
See: #4860
2025-03-05 11:22:56 +01:00
Christoph Strobl
279a28de33 Fix sort logging in MongoTemplate.
Original pull request: #4892
Closes #4860
2025-03-05 11:22:56 +01:00
Mark Paluch
2702706f5b After release cleanups.
See #4881
2025-02-14 10:42:42 +01:00
Mark Paluch
a152aebba9 Prepare next development iteration.
See #4881
2025-02-14 10:42:41 +01:00
Mark Paluch
ff076518b5 Release version 4.4.3 (2024.1.3).
See #4881
2025-02-14 10:40:04 +01:00
Mark Paluch
f25b015dc6 Prepare 4.4.3 (2024.1.3).
See #4881
2025-02-14 10:39:45 +01:00
Mark Paluch
2874b1eea2 Refine Querydsl documentation.
Closes #4894
2025-02-13 09:19:23 +01:00
Mark Paluch
98405570f7 Polishing.
Add missing jakarta classifiers.

See #4811
2025-02-13 08:53:55 +01:00
Mark Paluch
02416fae0f Update CI Properties.
See #4881
2025-02-11 15:22:44 +01:00
Mark Paluch
bd01afb8b6 After release cleanups.
See #4855
2025-01-17 11:39:59 +01:00
Mark Paluch
16c5dbc358 Prepare next development iteration.
See #4855
2025-01-17 11:39:58 +01:00
Mark Paluch
78536b591f Release version 4.4.2 (2024.1.2).
See #4855
2025-01-17 11:37:35 +01:00
Mark Paluch
99d4480f94 Prepare 4.4.2 (2024.1.2).
See #4855
2025-01-17 11:37:19 +01:00
Mark Paluch
d9a58b6796 Polishing.
Consistently use entity.isIdProperty(…) to determine whether a property is the identifier.

Original pull request: #4878
See #4877
2025-01-16 15:38:31 +01:00
Christoph Strobl
1edbdcb383 Fix reading back id field value when multiple id property candidates exist.
We now check if a property identifies as the entities id property when populating values read from the source document.

Original pull request: #4878
Closes #4877
2025-01-16 15:38:31 +01:00
Christoph Strobl
101481737b Polishing.
Original Pull Request: #4822
2025-01-16 11:00:13 +01:00
Giacomo Baso
486bf84a7d Trim BindlableMongoExpression input.
Trim the given source so that wrapping checks still work for text blocks.
Fix a typo in Javadoc.

Resolves: #4821
Original Pull Request: #4822
2025-01-16 10:59:58 +01:00
Mark Paluch
212c7e9efe Extend license header copyright years to 2025.
See #4867
2025-01-08 09:58:44 +01:00
Mark Paluch
fea69daaad 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:35:05 +01:00
Christoph Strobl
1eca35093c 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:35:02 +01:00
Christoph Strobl
5947fb5334 After release cleanups.
See #4834
2024-12-13 09:38:12 +01:00
Christoph Strobl
fcb876fada Prepare next development iteration.
See #4834
2024-12-13 09:38:10 +01:00
Christoph Strobl
ba95a2f23f Release version 4.4.1 (2024.1.1).
See #4834
2024-12-13 09:34:47 +01:00
Christoph Strobl
95af39d071 Prepare 4.4.1 (2024.1.1).
See #4834
2024-12-13 09:34:26 +01:00