Christoph Strobl
28efb3afbe
Polishing.
...
Fix typo in class name and make sure MongoTestTemplate uses the configured simple types.
See: #3659
Original pull request: #3661 .
5 years ago
Christoph Strobl
99eb849c93
Fix query mapper path resolution for types considered simple ones.
...
spring-projects/spring-data-commons#2293 changed how PersistentProperty paths get resolved and considers potentially registered converters for those, which made the path resolution fail in during the query mapping process.
This commit makes sure to capture the according exception and continue with the given user input.
Fixes : #3659
Original pull request: #3661 .
5 years ago
Christoph Strobl
d33aa682e5
Fix $or / $nor keyword mapping in query mapper.
...
This commit fixes an issue with the pattern used for detecting $or / $nor which also matched other keywords like $floor.
Closes : #3635
Original pull request: #3637 .
5 years ago
Mark Paluch
f6db089f6f
Polishing.
...
Add nullability annotation. Return early on null value conversion.
See #3633
Original pull request: #3643 .
5 years ago
Christoph Strobl
13ae5e17bb
Fix NPE in QueryMapper when trying to apply target type on null value.
...
Closes #3633
Original pull request: #3643 .
5 years ago
Mark Paluch
ee203bf22a
Polishing.
...
Reformat code.
See #3660 .
Original pull request: #3662 .
5 years ago
Christoph Strobl
990696ba11
Fix conversion for types having a converter registered.
...
Fixes : #3660
Original pull request: #3662 .
5 years ago
Mark Paluch
4bc2f108fe
After release cleanups.
...
See #3629
5 years ago
Mark Paluch
5064ba5b24
Prepare next development iteration.
...
See #3629
5 years ago
Mark Paluch
1179ded140
Release version 3.2.1 (2021.0.1).
...
See #3629
5 years ago
Mark Paluch
e12700c00b
Prepare 3.2.1 (2021.0.1).
...
See #3629
5 years ago
Mark Paluch
0507adab20
Updated changelog.
...
See #3629
5 years ago
Mark Paluch
375ddf8afb
Updated changelog.
...
See #3628
5 years ago
Mark Paluch
283cf06dc1
Introduce template method for easier customization of fragments.
...
Closes #3638 .
5 years ago
Greg L. Turnquist
10a8456581
Authenticate with artifactory.
...
See #3616 .
5 years ago
Clément Petit
e751a43cdf
Fix bullet points in aggregation framework reference documentation.
...
Closes : #3632
5 years ago
Mark Paluch
c987ba5f83
After release cleanups.
...
See #3616
5 years ago
Mark Paluch
950bae0306
Prepare next development iteration.
...
See #3616
5 years ago
Mark Paluch
5d3a3e1fe2
Release version 3.2 GA (2021.0.0).
...
See #3616
5 years ago
Mark Paluch
e71ec4fc41
Prepare 3.2 GA (2021.0.0).
...
See #3616
5 years ago
Mark Paluch
f065e295e9
Updated changelog.
...
See #3616
5 years ago
Mark Paluch
d23e1b3247
Updated changelog.
...
See #3617
5 years ago
Mark Paluch
a1e8e6f3bc
Updated changelog.
...
See #3597
5 years ago
Mark Paluch
e4030197e8
Polishing.
...
Fix nullability annotations for isEqual(…) parameters. Fix generics. Reformat code.
Add tests.
See #3414
Original pull request: #3615 .
5 years ago
Clement Petit
2885c35511
Handle nested Pattern and Document in Criteria.equals(…).
...
Closes #3414
Original pull request: #3615 .
5 years ago
Mark Paluch
a2a33390b6
Polishing.
...
Use ObjectUtils for empty check.
See #3623
Original pull request: #3625 .
5 years ago
Christoph Strobl
bf606bcc47
Fix NPE in declarative aggregation execution.
...
This commit fixes an issue where using a simple return type leads to NPE when the actual aggregation result does not contain any values.
Closes : #3623
Original pull request: #3625 .
5 years ago
Christoph Strobl
e91809957d
Upgrade to MongoDB Java Drivers 4.2.3
...
Closes : #3621
5 years ago
Christoph Strobl
313a7b86e8
Fix query mapping resolution of properties using underscore within field name.
...
Closes : #3601
Original pull request: #3607 .
5 years ago
Mark Paluch
9d7473487f
Upgrade to MongoDB 4.4 on CI.
...
Closes #3612 .
5 years ago
Mark Paluch
2734a7d8d4
Guard tests against unsupported MongoDB versions used for tests.
...
See #3583
5 years ago
Mark Paluch
0f85808531
Updated changelog.
...
See #3598
5 years ago
Mark Paluch
7c0afda0a6
After release cleanups.
...
See #3595
5 years ago
Mark Paluch
dbe17249b7
Prepare next development iteration.
...
See #3595
5 years ago
Mark Paluch
cfe0baadd1
Release version 3.2 RC1 (2021.0.0).
...
See #3595
5 years ago
Mark Paluch
8d0143ad76
Prepare 3.2 RC1 (2021.0.0).
...
See #3595
5 years ago
Mark Paluch
43fee26950
Updated changelog.
...
See #3595
5 years ago
Mark Paluch
70145a4c86
Use StringUtils.replace(…) instead of String.replaceAll(…) for mapKeyDotReplacement.
...
We now use StringUtils.replace(…) to replace the map key dot in MappingMongoConverter. StringUtils perform a plain search instead of using Regex which improves the overall performance.
Closes #3613
5 years ago
Mark Paluch
f7a90e93c5
Polishing.
...
Omit StreamUtils usage if input is a collection. Remove superfluous Flux.from(…). Simplify test and migrate test to JUnit 5.
See #3609 .
Original pull request: #3611 .
5 years ago
Clément Petit
3e78ce212a
Return saved entity reference instead of original reference.
...
Make SimpleReactiveMongoRepository#saveAll(Publisher<S>) return the saved entity references instead of the original references.
Closes #3609
Original pull request: #3611 .
5 years ago
Christoph Strobl
5a87dec2d5
Rename Embedded annotation to Unwrapped.
...
The meaning of embedding a Document in MongoDB is different compared to column based stores. Typically the term is used for a Document in Document approach and not for flattening out a values into the enclosing Document.
Closes : #3600
Original pull request: #3604 .
5 years ago
Mark Paluch
f4556406bd
Polishing.
...
Reorder methods. Tweak Javadoc and documentation wording. Mention projection expressions in the what's new section. Reformat code.
See #3583
Original pull request: #3585 .
5 years ago
Christoph Strobl
af6d1eff0c
Support expressions in query field projections.
...
// explicit via dedicated AggregationExpression
query.fields()
.project(StringOperators.valueOf("name").toUpper())
.as("name");
// with a user provided expression parsed from a String
query.fields().project(MongoExpression.create("'$toUpper' : '$name'"))
.as("name")
// using SpEL support
query.fields().project(AggregationSpELExpression.expressionOf("toUpper(name)"))
.as("name");
// with parameter binding
query.fields().project(
MongoExpression.create("'$toUpper' : '?0'").bind("$name")
).as("name")
// via the @Query annotation on repositories
@Query(value = "{ 'id' : ?0 }", fields = "{ 'name': { '$toUpper': '$name' } }")
Closes : #3583
Original pull request: #3585 .
5 years ago
Mark Paluch
191993caef
After release cleanups.
...
See #3558
5 years ago
Mark Paluch
dbed948c73
Prepare next development iteration.
...
See #3558
5 years ago
Mark Paluch
8f232e4983
Release version 3.2 M5 (2021.0.0).
...
See #3558
5 years ago
Mark Paluch
e961d3c995
Prepare 3.2 M5 (2021.0.0).
...
See #3558
5 years ago
Mark Paluch
699d5f40f5
Updated changelog.
...
See #3558
5 years ago
Mark Paluch
4b58ecc041
Updated changelog.
...
See #3561
5 years ago
Mark Paluch
4b8fb812fa
Updated changelog.
...
See #3556
5 years ago