Commit Graph

3820 Commits

Author SHA1 Message Date
Christoph Strobl
af6da0f67d Upgrade to MongoDB driver 5.0.
Closes: #4663
2024-03-18 11:50:48 +01:00
Mark Paluch
3747b3ed44 After release cleanups.
See #4643
2024-03-15 11:09:58 +01:00
Mark Paluch
893e6368a8 Prepare next development iteration.
See #4643
2024-03-15 11:09:57 +01:00
Mark Paluch
74856ce819 Release version 4.3 M2 (2024.0.0).
See #4643
2024-03-15 11:07:31 +01:00
Mark Paluch
126a7a3c0e Prepare 4.3 M2 (2024.0.0).
See #4643
2024-03-15 11:07:09 +01:00
Mark Paluch
77a205c229 Polishing.
Tweak naming. Add Javadoc and documentation.

See #1628
Original pull request: #4552
2024-03-12 14:05:31 +01:00
Christoph Strobl
d721579655 Introduce MongoTransactionResolver.
See #1628
Original pull request: #4552
2024-03-12 14:05:31 +01:00
Yan Kardziyaka
1f2cf88243 Declarative way for setting MongoDB transaction options.
Closes #1628
Original pull request: #4552
2024-03-12 14:05:30 +01:00
Mark Paluch
ac5c724ede Skip value conversion of Pattern and BsonRegularExpression in QueryMapper.
QueryMapper no longer attempts to convert regex objects when a field has an explicit write target.

Closes #4649
2024-02-27 14:56:12 +01:00
ashni
46afd6f40d Update encryption section in reference documentation.
Updating links for CSFLE.

Closes: #4638
2024-02-20 11:30:53 +01:00
Mark Paluch
954f52ca79 Apply AggregationOptions.maxTime to MongoTemplate.aggregateStream().
Closes #4644
2024-02-19 15:26:57 +01:00
Christoph Strobl
5cb61ea8f9 After release cleanups.
See #4562
2024-02-16 14:41:25 +01:00
Christoph Strobl
1fd5404345 Prepare next development iteration.
See #4562
2024-02-16 14:41:23 +01:00
Christoph Strobl
9bc9b5998b Release version 4.3 M1 (2024.0.0).
See #4562
2024-02-16 14:37:37 +01:00
Christoph Strobl
0569ddea49 Prepare 4.3 M1 (2024.0.0).
See #4562
2024-02-16 14:36:59 +01:00
Christoph Strobl
fe7c5f1042 Polishing.
Reduce method visibility, Remove unused variable.
Add test and move off deprecated code in test.

Original Pull Request: #4635
2024-02-13 12:59:30 +01:00
Mark Paluch
8670d2d369 Polishing.
Add deprecations, refine nullability arrangements.

Original Pull Request: #4635
2024-02-13 12:57:38 +01:00
Mark Paluch
e6dd5a3565 Add support for Value Expressions.
Closes: #4634
Original Pull Request: #4635
2024-02-13 12:56:50 +01:00
gyungrai.wang
374ebb801b Fix string to objectId mapping error when using query method.
Closes #4490
Original pull request: #4519
2024-02-12 15:19:37 +01:00
Mark Paluch
f386e05b8f Polishing.
Refine nullability declarations and NPE guards. Reformat code.

See #4510
Original pull request: #4517
2024-02-12 15:19:37 +01:00
Christoph Strobl
37d66034f8 Fix property value conversion in query mapper for nested values.
Closes #4510
Original pull request: #4517
2024-02-12 15:19:37 +01:00
Christoph Strobl
f052256837 Polishing.
Delegate constructor calls and fix formatting in tests.

Original Pull Request: #4607
2024-02-08 13:17:22 +01:00
francoiskha
5db4132658 Remove deprecated constructor usage in test.
Original Pull Request: #4607
2024-02-08 13:15:00 +01:00
francoiskha
ebdffb249f Allow to provide custom MongoHandlerObservationConvention.
This commit adds an additional constructor to MongoObservationCommandListener that allows to set a custom MongoHandlerObservationConvention.

Closes: #4321
Original Pull Request: #4607
2024-02-08 13:12:25 +01:00
Eric Haag
e70a662943 Update Revved up by Develocity badge.
Closes: #4621
2024-02-08 12:18:32 +01:00
Christoph Strobl
9de82c2d3e Expose server version to build cache.
Original pull request: #4633
Closes: #4631
2024-02-08 09:33:41 +01:00
Mark Paluch
d53455166d Refine Artifactory build name.
See #4562
2024-01-31 15:22:16 +01:00
Mark Paluch
f62e5f3c6e Read DTO projection properties only once.
We ensure to not read DTO properties multiple times if these are already read by their persistence creator.

Closes #4626
2024-01-29 09:09:11 +01:00
Mark Paluch
51e2e7e870 Polishing.
Reformat code. Add missing hints for reflective version detection.

Original pull request: #4624
See: #4578
2024-01-26 15:16:31 +01:00
Christoph Strobl
c26c054a55 Update documentation.
Original pull request: #4624
Closes: #4623
2024-01-26 14:35:13 +01:00
Mark Paluch
122ce29130 Refactor adapter.
Move into util package. Remove circular dependencies, add nullability annotations, fix Javadoc.

Original pull request: #4624
See: #4578
2024-01-26 14:35:13 +01:00
Christoph Strobl
bce85c4419 Assert compatibility with MongoDB Driver 5.
We now are compatible with MongoDB driver versions 4 and 5. Driver versions can be interchanged and our adapter bridges changed methods via reflection. Usage of removed functionality is either ignored or fails with an exception.

Original pull request: #4624
Closes: #4578
2024-01-26 14:35:12 +01:00
Mark Paluch
3bc214c016 Make MongoHandlerContext public to leverage contextual information to customize Observations.
Closes #4622
2024-01-23 15:03:00 +01:00
Jongwoo Han
9804f88cc7 Fix typo in Javadoc.
Closes #4620
2024-01-22 08:59:05 +01:00
Christoph Strobl
f31a072f07 Avoid duplicate context nesting to properly convert nested projections.
Closes: #4609
Original pull request: #4616
2024-01-22 08:52:12 +01:00
Mark Paluch
48777564c9 Extend license header copyright years to 2024.
See #4604
2024-01-02 14:41:39 +01:00
Mark Paluch
b31b5722bb Update CI properties.
See #4562
2023-12-14 08:50:30 +01:00
Mark Paluch
dfb6ef772a Upgrade to Maven Wrapper 3.9.6.
See #4592
2023-12-14 08:40:36 +01:00
Christoph Strobl
7856c7264f Polishing.
Update IndexOperations javadoc. Add missing parameters and change wording to reflect what the methods actually do.

See: #4587
2023-12-12 08:04:03 +01:00
Christoph Strobl
a3c67e3ce5 Update reference documentation for IndexOperations.
Make sure the reference documentation is in line with available methods. Update signatures and remove no longer supported ones.

Closes: #4587
2023-12-12 07:49:49 +01:00
Christoph Strobl
6a7c4fc17c Add test to verify map keys retain order when mapped.
See: #4577
Original pull request: #4568
2023-12-11 13:56:10 +01:00
Christoph Strobl
3dccdd2bc2 Fix NPE when traversing map.
We now use regular iteration instead of the Stream API.

Closes: #4567
Original pull request: #4568
2023-12-11 13:55:31 +01:00
Mark Paluch
e20d12fe34 Fix Query equality test considering Limit.
Closes #4584
2023-12-08 14:24:53 +01:00
Mark Paluch
a4fcbb15bf Adopt MongoParameters and MongoParameter to reflect the actual parameter type when using generics.
Closes #4579
2023-12-08 12:43:02 +01:00
Mark Paluch
6b8749278b Polishing.
Refactor fixture creation for easier readability. Tweak documentation wording.

See #4571
Original pull request: #4574
2023-11-30 16:47:33 +01:00
Christoph Strobl
e5b9f7d455 Document list/map/set initialization on read.
Update the reference documentation about collection initialization on read, add the required tests to make sure it behaves as expected and simplify BeanUtils value presence check.

Closes #4571
Original pull request: #4574
2023-11-30 16:47:32 +01:00
Christoph Strobl
fa9fbcb2ed Fix tab overflow in reference documentation.
Closes: #4575
2023-11-30 15:52:25 +01:00
Mark Paluch
b7eedad2f5 Introduce property for Jenkins user and Artifactory server details.
Closes #4570
2023-11-28 14:46:01 +01:00
Runbing
837d3c37d8 Fix URL to Spring Data Commons reference documentation.
This commit fixes an incorrect URL in the antora.yml file that prevents linking to the Spring Data Commons documentation.

Closes: #4563
2023-11-20 11:27:06 +01:00
Mark Paluch
53f7a7cc45 After release cleanups.
See #4532
2023-11-17 14:33:26 +01:00