Commit Graph

3922 Commits

Author SHA1 Message Date
Mark Paluch c554455532 Prepare 4.4 GA (2024.1.0).
See #4817
2024-11-15 14:10:36 +01:00
Christoph Strobl e9d44256c6 Fix flakey test.
Original pull request: #4824
Closes #4804
2024-11-12 09:28:34 +01:00
Christoph Strobl 723db60ce1 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:33 +01:00
Mark Paluch eeab99266f Fix MongoCrypt dependency setup when testing with Driver 4.x.
See #4817
2024-11-11 14:49:32 +01:00
Mark Paluch de210e0515 Upgrade to MongoDB driver 5.2.1.
Closes #4830
2024-11-11 09:47:19 +01:00
Mark Paluch 418125dc60 Upgrade MongoDB 8 build to Java.next.
Closes #4828
2024-11-07 11:01:38 +01:00
Mark Paluch c1c9fd0274 Update CI Properties.
See #4817
2024-11-07 09:57:35 +01:00
Mark Paluch 2334f6cd87 Upgrade to Maven Wrapper 3.9.9.
See #4825
2024-11-07 09:47:19 +01:00
Mark Paluch d33b063c75 Relocate benchmarks to core module.
Original Pull Request: #4819
2024-11-04 13:27:29 +01:00
Mark Paluch 1075a25df4 Revisit internal caching arrangements.
Introduce caching and reduce allocations on hot code paths.

Closes: #4818
Original Pull Request: #4819
2024-11-04 13:14:28 +01:00
Mark Paluch 5419414734 Fix benchmarks.
Original Pull Request: #4819
2024-11-04 13:12:36 +01:00
Mark Paluch 5b1b0a4668 After release cleanups.
See #4788
2024-10-18 12:49:41 +02:00
Mark Paluch 0ee64f23e5 Prepare next development iteration.
See #4788
2024-10-18 12:49:40 +02:00
Mark Paluch 53f4f4327a Release version 4.4 RC1 (2024.1.0).
See #4788
4.4.0-RC1
2024-10-18 12:47:01 +02:00
Mark Paluch 11dbe7131d Prepare 4.4 RC1 (2024.1.0).
See #4788
2024-10-18 12:46:43 +02:00
Mark Paluch 5deb3d6693 Document Querydsl annotation processor usage.
Closes: #4811
Original Pull Request: #4814
2024-10-17 15:45:22 +02:00
Christoph Strobl 1fc802ddbb Polishing.
Add tests to verify expected behaviour of quoted expressions and string that look like expressions.
Remove comments that look like old merge conflict left overs and apply code format.

Original Pull Request: #4807
2024-10-15 08:04:30 +02:00
Mark Paluch 60a3461bb1 Retain regex options from the parsed JsonToken.
We now retain expression options when resolving bind values from the original BsonRegularExpression.

Closes: #4806
Original Pull Request: #4807
2024-10-15 08:02:48 +02:00
Christoph Strobl 6e850512c0 Upgrade to MongoDB driver 5.2.0.
Closes: #4805
2024-10-10 09:35:44 +02:00
Mark Paluch 2dc8ffce19 Use Docker in Docker CI setup.
See #4788
2024-10-09 15:19:14 +02:00
Marcin Grzejszczak 8b9182e5a8 Add support for Value Expressions in Repository Query methods.
Closes #4677
Original pull request: #4683
2024-10-09 13:30:19 +02:00
Mark Paluch db44512c13 Polishing.
See: #4722
Original pull request: #4723
2024-10-08 11:07:49 +02:00
Christoph Strobl 39e8f64d13 Fix conversion of types when mapping Aggregation pipeline.
This change makes sure to apply conversion to non native mongo types when the context does not expose fields.

Closes: #4722
Original pull request: #4723
2024-10-08 11:07:49 +02:00
Mark Paluch 7c255ec018 Polishing.
Update Develocity system property names.

See #4785
2024-09-27 09:57:12 +02:00
Mark Paluch 5f31304cc9 Polishing.
Tweak wording. Remove unused Java 21/Mongo 6 Dockerfile. Move start-server code into shellfile. Remove 7.0/Java 17 test item in favor of Java 21 and old driver variants.

See #4785
Original pull request: #4796
2024-09-27 09:46:19 +02:00
Christoph Strobl 7fd7fd4147 Update MongoDB Server compatibility matrix.
Closes #4785
Original pull request: #4796
2024-09-27 09:46:19 +02:00
Jens Schauder a84b3c2d4b After release cleanups.
See #4702
2024-09-13 12:42:28 +02:00
Jens Schauder 043c68cc7d Prepare next development iteration.
See #4702
2024-09-13 12:42:27 +02:00
Jens Schauder 8785890a89 Release version 4.4 M1 (2024.1.0).
See #4702
4.4.0-M1
2024-09-13 12:39:32 +02:00
Jens Schauder 302faea231 Prepare 4.4 M1 (2024.1.0).
See #4702
2024-09-13 12:39:14 +02:00
Christoph Strobl 78fbea43b6 Polishing.
Add since tags to extension methods and issue references to tests.
Update antora playbook to consider maintenance branches.

Original Pull Request: #4753
2024-09-12 14:38:50 +02:00
Pawel Matysek df08576b3a Add Kotlin extension for type-safe Update API.
Closes: #3028
Original Pull Request: #4753
2024-09-12 14:38:49 +02:00
Mark Paluch a508b7d4dc Polishing.
Apply sort of unpaged Pageable to QuerydslMongoPredicateExecutor query.

Original pull request: #4773
Closes #4771
2024-09-12 10:44:11 +02:00
Christoph Strobl 4df06c7699 Apply sort of unpaged Pageable to query.
Original pull request: #4773
Closes #4771
2024-09-12 10:44:10 +02:00
Christoph Strobl 541c43b284 Polishing.
Use Method reference for in-/exclusion update javadoc since tags.

Original Pull Request: #4668
2024-09-11 14:22:07 +02:00
Kirill Egorov d2a974462d Added include() and exclude() methods that accept Collection in field projection.
Closes: #4625
Original Pull Request: #4668
2024-09-11 14:21:38 +02:00
Christoph Strobl cb60aacabc Remove temporary test method.
Original pull request: #4720
2024-09-11 14:21:38 +02:00
Mark Paluch 6377d4646f Upgrade to MongoDB driver 5.1.4.
Closes #4780
2024-09-10 15:04:31 +02:00
Mark Paluch 7d3c6eafb7 Support instantiation of Kotlin class with overridden read-only property.
Closes: #4485
Original Pull Request: #4777
2024-09-10 14:34:14 +02:00
Christoph Strobl 9afa237a2b Disable TimeSeries test for unsupported server versions.
Original Pull Request: #4114
2024-09-06 11:48:25 +02:00
Christoph Strobl ecc3f8f2fa Polishing.
Switch to Spring Framework duration formatting.
Favour expireAfter with string parameter over the seconds based variant. Deprecate the existing expireAfterSeconds attribute of the Indexed annotation.
Consider property value syntax when parsing timeout expressions.
Remove DurationStyle (package visible).
Update documentation.

Original Pull Request: #4114
2024-09-06 11:34:07 +02:00
Ben Foster 197998f7cb Add support for collection expiration to @TimeSeries.
Closes: #4099
Original Pull Request: #4114
2024-09-06 11:04:51 +02:00
Mark Paluch 7fbd4966d7 Polishing.
Original pull request: #605
See #3148
See #2939
2024-09-04 08:50:28 +02:00
Christoph Strobl dced760d9f Refine exception translation for client session exceptions.
Closes #3148
See #2939
Original Pull Request: #604
2024-09-04 08:50:27 +02:00
Christoph Strobl d04e76faaf Fix id mapping when using $all operator.
Fix the id mapping for queries using the $all operator. Prior to this change the collection nature of the id values was not preserved leading to an invalid query.

Original pull request: #4742
Closes #4736
2024-08-30 14:23:31 +02:00
Mark Paluch ffca3db964 Polishing.
Fix ComputedFieldAppender as it is used in public API. Add missing Nullable annotation.

Switch to switch expressions.

Original pull request #4751
See #4745
2024-08-29 11:34:59 +02:00
Christoph Strobl f3929840a3 Expose output of SetWindowFieldsOperation correctly to next aggregation stage.
This commit makes sure to expose calculated output fields correctly.

Original pull request #4751
Closes #4745
2024-08-29 11:34:59 +02:00
Mark Paluch ac0fd6ca6f Polishing.
Refine type visibility.

Original pull request: #4728
See #4710
2024-08-28 13:50:51 +02:00
Mark Paluch e08cf353ab Refactor DocumentAccessor, consider readNull/writeNull for null values.
Original pull request: #4728
See #4710
2024-08-28 13:50:51 +02:00
Christoph Strobl 2e503cd22b Consider null value settings for types with custom conversion.
This commit fixes an issue where settings regarding storage of null values had been ignored if a custom converter took care of the conversion.

Original pull request: #4728
Closes #4710
2024-08-28 13:50:50 +02:00