Mark Paluch
e6dd5a3565
Add support for Value Expressions.
...
Closes : #4634
Original Pull Request: #4635
2 years ago
gyungrai.wang
374ebb801b
Fix string to objectId mapping error when using query method.
...
Closes #4490
Original pull request: #4519
2 years ago
Mark Paluch
f386e05b8f
Polishing.
...
Refine nullability declarations and NPE guards. Reformat code.
See #4510
Original pull request: #4517
2 years ago
Christoph Strobl
37d66034f8
Fix property value conversion in query mapper for nested values.
...
Closes #4510
Original pull request: #4517
2 years ago
Christoph Strobl
f052256837
Polishing.
...
Delegate constructor calls and fix formatting in tests.
Original Pull Request: #4607
2 years ago
francoiskha
5db4132658
Remove deprecated constructor usage in test.
...
Original Pull Request: #4607
2 years ago
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
2 years ago
Eric Haag
e70a662943
Update Revved up by Develocity badge.
...
Closes : #4621
2 years ago
Christoph Strobl
9de82c2d3e
Expose server version to build cache.
...
Original pull request: #4633
Closes : #4631
2 years ago
Mark Paluch
d53455166d
Refine Artifactory build name.
...
See #4562
2 years ago
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
2 years ago
Mark Paluch
51e2e7e870
Polishing.
...
Reformat code. Add missing hints for reflective version detection.
Original pull request: #4624
See: #4578
2 years ago
Christoph Strobl
c26c054a55
Update documentation.
...
Original pull request: #4624
Closes : #4623
2 years ago
Mark Paluch
122ce29130
Refactor adapter.
...
Move into util package. Remove circular dependencies, add nullability annotations, fix Javadoc.
Original pull request: #4624
See: #4578
2 years ago
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
2 years ago
Mark Paluch
3bc214c016
Make `MongoHandlerContext` public to leverage contextual information to customize `Observation`s.
...
Closes #4622
2 years ago
Jongwoo Han
9804f88cc7
Fix typo in Javadoc.
...
Closes #4620
2 years ago
Christoph Strobl
f31a072f07
Avoid duplicate context nesting to properly convert nested projections.
...
Closes : #4609
Original pull request: #4616
2 years ago
Mark Paluch
48777564c9
Extend license header copyright years to 2024.
...
See #4604
2 years ago
Mark Paluch
b31b5722bb
Update CI properties.
...
See #4562
2 years ago
Mark Paluch
dfb6ef772a
Upgrade to Maven Wrapper 3.9.6.
...
See #4592
2 years ago
Christoph Strobl
7856c7264f
Polishing.
...
Update IndexOperations javadoc. Add missing parameters and change wording to reflect what the methods actually do.
See: #4587
2 years ago
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
2 years ago
Christoph Strobl
6a7c4fc17c
Add test to verify map keys retain order when mapped.
...
See: #4577
Original pull request: #4568
2 years ago
Christoph Strobl
3dccdd2bc2
Fix NPE when traversing map.
...
We now use regular iteration instead of the Stream API.
Closes : #4567
Original pull request: #4568
2 years ago
Mark Paluch
e20d12fe34
Fix Query equality test considering Limit.
...
Closes #4584
2 years ago
Mark Paluch
a4fcbb15bf
Adopt `MongoParameters` and `MongoParameter` to reflect the actual parameter type when using generics.
...
Closes #4579
2 years ago
Mark Paluch
6b8749278b
Polishing.
...
Refactor fixture creation for easier readability. Tweak documentation wording.
See #4571
Original pull request: #4574
2 years ago
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
2 years ago
Christoph Strobl
fa9fbcb2ed
Fix tab overflow in reference documentation.
...
Closes : #4575
2 years ago
Mark Paluch
b7eedad2f5
Introduce property for Jenkins user and Artifactory server details.
...
Closes #4570
2 years ago
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
2 years ago
Mark Paluch
53f7a7cc45
After release cleanups.
...
See #4532
2 years ago
Mark Paluch
629244e954
Prepare next development iteration.
...
See #4532
2 years ago
Mark Paluch
bae0d91010
Release version 4.2 GA (2023.1.0).
...
See #4532
2 years ago
Mark Paluch
22e25fc9a4
Prepare 4.2 GA (2023.1.0).
...
See #4532
2 years ago
Christoph Strobl
9721cf36c9
Polishing.
...
Remove unused imports.
Simplify if & switch statements.
Use Set.of, List.of for unmodifiable collections.
Remove redundant usage of semicolon.
Fix broken references in Javadoc.
Fix Typos.
Extend value caching for MongoPersistentProperties.
See: #4555
Original pull request: #4556
2 years ago
Christoph Strobl
9016b4e1b7
Polishing.
...
Reorder methods.
See: #4555
Original pull request: #4556
2 years ago
Christoph Strobl
03f8763623
Introduce MongoConverterConfigurationAdapter#withPropertyValueConversions.
...
Introduce new builder style method and deprecate exiting setter.
Closes : #4555
Original pull request: #4556
2 years ago
Mark Paluch
d94aa12363
Polishing.
...
Adjust grammar. Mention that we use proxies for PropertyValueConverter registration when using method handles.
Original pull request: #4553
See #4536
2 years ago
Christoph Strobl
fcf3143b79
Update documentation on version property handling.
...
Original pull request: #4553
Closes #4536
2 years ago
Christoph Strobl
5e76c0493e
Upgrade to MongoDB driver 4.11.1
...
Closes : #4551
2 years ago
Mark Paluch
fcc222244b
Switch to `Flux.flatMapSequential(…)` to prevent backpressure shaping.
...
We now use Flux.flatMapSequential(…) instead of concatMap as concatMap reduces the request size to 1. The change in backpressure/request size reduces parallelism and impacts the batch size by fetching 2 documents instead of considering the actual backpressure.
flatMapSequential doesn't tamper the requested amount while retaining the sequence order.
Closes : #4543
Original Pull Request: #4550
2 years ago
Mark Paluch
6413b20da2
Polishing.
...
Consistent offending method name format.
Use String.format(…) instead of formatted(…).
Original pull request: #4547
See #4546
2 years ago
Christoph Strobl
77699ddd50
Validate aggregation query method on query method creation.
...
This commit makes sure to fail early if an annotated string based annotation does not contain a syntactically valid pipeline.
Original pull request: #4547
Closes #4546
2 years ago
Mark Paluch
cd16375fea
Polishing.
...
Replace consecutive if-statements with loop.
Original pull request: #4545
See #4542
2 years ago
Christoph Strobl
e78e1978d5
Resolve `@ReadPreference` on actual repository interface.
...
Original pull request: #4545
Closes #4542
2 years ago
Junghoon Ban
db86097c0d
Polish MongoDbErrorCodes.
...
Add missing nullable annotation and fix typo.
Simplify return statement expressions.
Closes : #4537
2 years ago
Mark Paluch
e2d0734ae6
Polishing.
...
Reformat code. Suppress warnings in tests.
Original pull request: #4541
See #4495
2 years ago
Christoph Strobl
bf54054ad5
Pass on FullDocumentBeforeChange option to change stream iterable/publisher.
...
This commit ensures to pass on a potentially set FullDocumentBeforeChange option to the change stream iterable/publisher.
It also corrects false optional behavior within the change stream task which did some defaulting though the actual value is an optional one that must not be present.
Original pull request: #4541
Closes #4495
2 years ago