audghks1996
673d33a49a
Add Kotlin extension to accept Kotlin's Pair in `BulkOperations`.
...
Closes #4911
Original pull request: #4912
Signed-off-by: audghks1996 <audghks1996@naver.com>
9 months ago
Mark Paluch
5cb0fa80ea
Polishing.
...
Merge List values in Update. Add tests, reformat code.
See: #4918
Original pull request: #4921
9 months ago
Christoph Strobl
8e9728ca78
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
9 months ago
Christoph Strobl
d08f0bc162
Remove links to gitter.
...
Closes : #4919
9 months ago
Mark Paluch
31a3b21aa6
Polishing.
...
Refine documentation. Simplify NumberToNumberConverter. Replace Environment-based configuration with config API.
See: #3444
Original pull request: #4916
9 months ago
Christoph Strobl
2b6730d1da
Introduce Configuration for `BigDecimal` representation.
...
We now allow configuring the default representation for BigDecimal and BigInteger values, still defaulting to string. BigDecimal can be configured to use Decimal128 by default.
Closes : #3444
Original pull request: #4916
9 months ago
Mark Paluch
f13d826a69
Refine Querydsl documentation.
...
See #4894
10 months ago
Christoph Strobl
d79031b60d
Apply sort to replace and bulk operation updates
...
Allow using sort parameter from the query for template replace as well as bulk update & replace operations.
We now also mapped fields used in sort to the domain type considering field annotations.
Also updated javadoc and reference documentation.
Original Pull Request: #4888
10 months ago
Florian Lüdiger
019d915fa2
Add query sort parameter for updateFirst method.
...
Closes : #4797
Original Pull Request: #4888
Signed-off-by: Florian Lüdiger <florian.luediger@googlemail.com>
10 months ago
Mark Paluch
d7c40a4e6f
Polishing.
...
Introduce ReactiveValidatingEntityCallback, extract BeanValidationDelegate. Document Bean Validation callbacks.
See #4901
Original pull request: #4910
10 months ago
felgentraeger
54c7d8f8fe
Introduce `ValidatingEntityCallback`.
...
Closes #4901
Original pull request: #4910
Signed-off-by: felgentraeger <rene.felgentraeger@gvl.de>
10 months ago
Mark Paluch
ceac2b879e
After release cleanups.
...
See #4835
10 months ago
Mark Paluch
c402060efe
Prepare next development iteration.
...
See #4835
10 months ago
Mark Paluch
c5057d9741
Release version 4.5 M1 (2025.0.0).
...
See #4835
10 months ago
Mark Paluch
e01930642e
Prepare 4.5 M1 (2025.0.0).
...
See #4835
10 months ago
Christoph Strobl
49db28dc77
Polishing.
...
Move SliceUtils to another package for reuse. Slightly alter its API, add tests and update javadoc.
Original Pull Request: #4890
10 months ago
Mark Paluch
63783e6d09
Add support for `findBy(…)` using predicate that returns a `Slice`.
...
Closes : #4889
Original Pull Request: #4890
10 months ago
Mark Paluch
fee8485988
Remove MongoDB 4.x driver compatibility stage.
...
MongoDB 4.x doesn't ship with Vector types.
See: #4529
See: #4706
10 months ago
Mark Paluch
f52783469b
Polishing.
...
Reformat code. Reuse PersistentEntity for mapping instead of resolving TypeInformation from Class.
Original pull request: #4892
See: #4860
10 months ago
Christoph Strobl
f6f34c349c
Fix sort logging in `MongoTemplate`.
...
Original pull request: #4892
Closes #4860
10 months ago
Mark Paluch
c1e5deea73
Polishing.
...
Sync properties with Spring Data Build.
Original pull request: #4893
See #4529
10 months ago
Christoph Strobl
202b00419d
Remove MongoDB 4.4 and 5.x test stages.
...
Stop testing against MongoDB server versions that are EOL already.
MongoDB 4.4: EOL Feb. 2024
MongoDB 5.0: EOL Oct. 2024
Original pull request: #4893
Closes #4529
10 months ago
Mark Paluch
8eedec2036
Refine Querydsl documentation.
...
Closes #4894
10 months ago
Mark Paluch
0edbcffdf4
Polishing.
...
Add missing jakarta classifiers.
See #4811
10 months ago
Mark Paluch
dde5a66e94
Update CI Properties.
...
See #4835
10 months ago
Mark Paluch
a53ea25de2
Polishing.
...
Remove Field type. Refactor container to subclass MongoDBAtlasLocalContainer. Introduce wait/synchronization to avoid container crashes on create index + list search indexes.
See #4706
Original pull request: #4882
11 months ago
Christoph Strobl
2d7d7bf004
Extend integration tests.
...
See #4706
Original pull request: #4882
11 months ago
Mark Paluch
e8e110e31d
Add VectorIndex and SearchIndexDefinition abstraction.
...
See #4706
Original pull request: #4882
11 months ago
Marcin Grzejszczak
1645d6c7e4
Converted vector operations to search operations.
...
See #4706
Original pull request: #4882
11 months ago
Christoph Strobl
2b93bf385c
Add support for `$vectorSearch` aggregation stage.
...
Closes #4706
Original pull request: #4882
11 months ago
Christoph Strobl
dd4579c563
Upgrade to MongoDB driver 5.3.1.
...
Closes : #4883
11 months ago
Mark Paluch
e403985c16
Polishing.
...
Consistently use entity.isIdProperty(…) to determine whether a property is the identifier.
Original pull request: #4878
See #4877
11 months ago
Christoph Strobl
0beff08000
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
11 months ago
Christoph Strobl
14985a9523
Polishing.
...
Original Pull Request: #4822
11 months ago
Giacomo Baso
2955aab3b8
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
11 months ago
Mark Paluch
9e18fa4a6d
Switch from CLA to DCO.
...
See spring-projects/spring-data-build#2471
11 months ago
Mark Paluch
1b0fd3a2ee
Upgrade to MongoDB driver 5.3.0-beta0.
...
Closes #4871
11 months ago
Mark Paluch
3c0b8e6c42
Extend license header copyright years to 2025.
...
See #4869
11 months ago
Mark Paluch
74654cd7c7
Polishing.
...
Refine naming. Reformat code.
Original pull request: #4858
See #4857
11 months ago
Christoph Strobl
d8700261db
Support Expressions in $slice operator.
...
This commit allows AggregationExpressions to be used for itemCount and offset of the Slice expression.
Original pull request: #4858
Closes #4857
11 months ago
Mark Paluch
a11324050e
Polishing.
...
Reduce test class and method visibility. Convert JUnit 4 test to JUnit 5. Reformat code.
Original pull request: #4862
See #4850
11 months ago
Christoph Strobl
91c6fcd785
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
11 months ago
Christoph Strobl
471a77cbd8
Polishing.
...
Make sure type used in protected method is visible in defined scope.
See: #4846
1 year ago
Christoph Strobl
b43c09d1f4
Avoid unnecessary mapping of Sort object.
...
Closes : #4846
1 year ago
Christoph Strobl
538399adee
Fix IndexOptions.expireAfter setting wrong property.
...
Resolves : #4851
1 year ago
Christoph Strobl
f910839dca
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
1 year ago
Mark Paluch
0a29d13774
Refactor String-based repository aggretation methods into common utility callback.
...
Also, support aggregation result projections for reactive flows.
See #4839
Original pull request: #4841
1 year ago
Christoph Strobl
f2a9d1f1b3
Fix interface projections for string based aggregations.
...
Closes #4839
Original pull request: #4841
1 year ago
Faron Dutton
2580af2935
Adds failing unit-test for StringBasedAggregation projections.
...
See #4839
Original pull request: #4841
1 year ago
Mark Paluch
5b86b2fa88
Polishing.
...
Switch to Flux.fromIterable(…) from StreamUtils in deleteAll(Iterable). Use switch expressions, refine toList/toCollection arrangement. Guard tests against absent ReplicaSet.
See #4838
Original pull request: #4843
1 year ago