Oliver Drotbohm
3fa8e80764
DATAMONGO-2186 - Updated changelog.
2019-04-01 19:37:00 +02:00
Oliver Drotbohm
54a6a28806
DATAMONGO-2243 - Updated changelog.
2019-04-01 18:52:19 +02:00
Oliver Drotbohm
7676bd28b7
DATAMONGO-2185 - Updated changelog.
2019-04-01 18:49:22 +02:00
Christoph Strobl
2a7821ea9c
DATAMONGO-2224 - Add trace logging to DBRef resolution.
...
We added trace logging to DefaultDbRefResolver.
<logger name="org.springframework.data.mongodb.core.convert.DefaultDbRefResolver" level="trace"/>
Original pull request: #659 .
2019-03-25 09:48:37 +01:00
Spring Operator
3eb9d790b9
DATAMONGO-2231 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/ with 1 occurrences migrated to:
https://www.apache.org/licenses/ ([https](https://www.apache.org/licenses/ ) result 200).
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 850 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
Original Pull Request: #727
2019-03-22 10:08:46 +01:00
Spring Operator
407f998a13
DATAMONGO-2231 - URL Cleanup.
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://geojson.org/ (200) with 4 occurrences could not be migrated:
([https](https://geojson.org/ ) result SSLHandshakeException).
* [ ] http://geojson.org/geojson-spec.html (200) with 16 occurrences could not be migrated:
([https](https://geojson.org/geojson-spec.html ) result SSLHandshakeException).
* [ ] http://site.icu-project.org (200) with 1 occurrences could not be migrated:
([https](https://site.icu-project.org ) result ClosedChannelException).
* [ ] http://userguide.icu-project.org/collation/concepts (200) with 1 occurrences could not be migrated:
([https](https://userguide.icu-project.org/collation/concepts ) result ClosedChannelException).
* [ ] http://www.querydsl.com/ (200) with 2 occurrences could not be migrated:
([https](https://www.querydsl.com/ ) result AnnotatedConnectException).
* [ ] http://www.querydsl.com/static/querydsl/latest/reference/html/ (200) with 2 occurrences could not be migrated:
([https](https://www.querydsl.com/static/querydsl/latest/reference/html/ ) result AnnotatedConnectException).
* [ ] http://www.querydsl.com/team (200) with 8 occurrences could not be migrated:
([https](https://www.querydsl.com/team ) result AnnotatedConnectException).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://docs.spring.io/spring/docs/ with 18 occurrences migrated to:
https://docs.spring.io/spring/docs/ ([https](https://docs.spring.io/spring/docs/ ) result 200).
* [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
* [ ] http://media.mongodb.org/zips.json with 1 occurrences migrated to:
https://media.mongodb.org/zips.json ([https](https://media.mongodb.org/zips.json ) result 200).
* [ ] http://openjdk.java.net/projects/code-tools/jmh/ with 1 occurrences migrated to:
https://openjdk.java.net/projects/code-tools/jmh/ ([https](https://openjdk.java.net/projects/code-tools/jmh/ ) result 200).
* [ ] http://openmymind.net/mongodb.pdf with 1 occurrences migrated to:
https://openmymind.net/mongodb.pdf ([https](https://openmymind.net/mongodb.pdf ) result 200).
* [ ] http://pivotal.io/ with 1 occurrences migrated to:
https://pivotal.io/ ([https](https://pivotal.io/ ) result 200).
* [ ] http://projectreactor.io/docs/ with 1 occurrences migrated to:
https://projectreactor.io/docs/ ([https](https://projectreactor.io/docs/ ) result 200).
* [ ] http://projectreactor.io/docs/core/release/reference/ with 1 occurrences migrated to:
https://projectreactor.io/docs/core/release/reference/ ([https](https://projectreactor.io/docs/core/release/reference/ ) result 200).
* [ ] http://projects.spring.io/ with 1 occurrences migrated to:
https://projects.spring.io/ ([https](https://projects.spring.io/ ) result 200).
* [ ] http://projects.spring.io/spring-data-mongodb/ with 2 occurrences migrated to:
https://projects.spring.io/spring-data-mongodb/ ([https](https://projects.spring.io/spring-data-mongodb/ ) result 200).
* [ ] http://repo.spring.io/milestone/org/springframework/data/ with 1 occurrences migrated to:
https://repo.spring.io/milestone/org/springframework/data/ ([https](https://repo.spring.io/milestone/org/springframework/data/ ) result 200).
* [ ] http://spring.io with 1 occurrences migrated to:
https://spring.io ([https](https://spring.io ) result 200).
* [ ] http://spring.io/blog with 2 occurrences migrated to:
https://spring.io/blog ([https](https://spring.io/blog ) result 200).
* [ ] http://spring.io/docs with 2 occurrences migrated to:
https://spring.io/docs ([https](https://spring.io/docs ) result 200).
* [ ] http://spring.io/tools/sts with 1 occurrences migrated to:
https://spring.io/tools/sts ([https](https://spring.io/tools/sts ) result 200).
* [ ] http://stackoverflow.com/questions/18653574/spring-data-mongodb-aggregation-framework-invalid-reference-in-group-operati with 2 occurrences migrated to:
https://stackoverflow.com/questions/18653574/spring-data-mongodb-aggregation-framework-invalid-reference-in-group-operati ([https](https://stackoverflow.com/questions/18653574/spring-data-mongodb-aggregation-framework-invalid-reference-in-group-operati ) result 200).
* [ ] http://stackoverflow.com/questions/24185987/using-root-inside-spring-data-mongodb-for-retrieving-whole-document with 1 occurrences migrated to:
https://stackoverflow.com/questions/24185987/using-root-inside-spring-data-mongodb-for-retrieving-whole-document ([https](https://stackoverflow.com/questions/24185987/using-root-inside-spring-data-mongodb-for-retrieving-whole-document ) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data with 2 occurrences migrated to:
https://stackoverflow.com/questions/tagged/spring-data ([https](https://stackoverflow.com/questions/tagged/spring-data ) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-data-mongodb with 2 occurrences migrated to:
https://stackoverflow.com/questions/tagged/spring-data-mongodb ([https](https://stackoverflow.com/questions/tagged/spring-data-mongodb ) result 200).
* [ ] http://twitter.com/SpringData with 1 occurrences migrated to:
https://twitter.com/SpringData ([https](https://twitter.com/SpringData ) result 200).
* [ ] http://www.google.com/search?q=nosoql+acronym with 1 occurrences migrated to:
https://www.google.com/search?q=nosoql+acronym ([https](https://www.google.com/search?q=nosoql+acronym ) result 200).
* [ ] http://www.reactive-streams.org/ with 1 occurrences migrated to:
https://www.reactive-streams.org/ ([https](https://www.reactive-streams.org/ ) result 200).
* [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd ) result 200).
* [ ] http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd ) result 200).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository.xsd with 10 occurrences migrated to:
https://www.springframework.org/schema/data/repository/spring-repository.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository.xsd ) result 200).
* [ ] http://contributor-covenant.org with 1 occurrences migrated to:
https://contributor-covenant.org ([https](https://contributor-covenant.org ) result 301).
* [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to:
https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/ ) result 301).
* [ ] http://docs.mongodb.org/ecosystem/drivers/java/ with 1 occurrences migrated to:
https://docs.mongodb.org/ecosystem/drivers/java/ ([https](https://docs.mongodb.org/ecosystem/drivers/java/ ) result 301).
* [ ] http://docs.mongodb.org/manual/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/ ([https](https://docs.mongodb.org/manual/ ) result 301).
* [ ] http://docs.mongodb.org/manual/aggregation/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/aggregation/ ([https](https://docs.mongodb.org/manual/aggregation/ ) result 301).
* [ ] http://docs.mongodb.org/manual/core/2dsphere/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/core/2dsphere/ ([https](https://docs.mongodb.org/manual/core/2dsphere/ ) result 301).
* [ ] http://docs.mongodb.org/manual/core/introduction/ with 2 occurrences migrated to:
https://docs.mongodb.org/manual/core/introduction/ ([https](https://docs.mongodb.org/manual/core/introduction/ ) result 301).
* [ ] http://docs.mongodb.org/manual/reference/operator/aggregation/bucket/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/reference/operator/aggregation/bucket/ ([https](https://docs.mongodb.org/manual/reference/operator/aggregation/bucket/ ) result 301).
* [ ] http://docs.mongodb.org/manual/reference/operator/aggregation/bucketAuto/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/reference/operator/aggregation/bucketAuto/ ([https](https://docs.mongodb.org/manual/reference/operator/aggregation/bucketAuto/ ) result 301).
* [ ] http://docs.mongodb.org/manual/reference/operator/aggregation/facet/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/reference/operator/aggregation/facet/ ([https](https://docs.mongodb.org/manual/reference/operator/aggregation/facet/ ) result 301).
* [ ] http://docs.mongodb.org/manual/reference/operator/aggregation/project/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/reference/operator/aggregation/project/ ([https](https://docs.mongodb.org/manual/reference/operator/aggregation/project/ ) result 301).
* [ ] http://docs.mongodb.org/manual/reference/operator/query/text/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/reference/operator/query/text/ ([https](https://docs.mongodb.org/manual/reference/operator/query/text/ ) result 301).
* [ ] http://docs.mongodb.org/manual/tutorial/aggregation-examples/ with 2 occurrences migrated to:
https://docs.mongodb.org/manual/tutorial/aggregation-examples/ ([https](https://docs.mongodb.org/manual/tutorial/aggregation-examples/ ) result 301).
* [ ] http://docs.mongodb.org/manual/tutorial/getting-started/ with 1 occurrences migrated to:
https://docs.mongodb.org/manual/tutorial/getting-started/ ([https](https://docs.mongodb.org/manual/tutorial/getting-started/ ) result 301).
* [ ] http://docs.spring.io/spring-data/mongodb/docs/current/api/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/mongodb/docs/current/api/ ([https](https://docs.spring.io/spring-data/mongodb/docs/current/api/ ) result 301).
* [ ] http://docs.spring.io/spring-data/mongodb/docs/current/reference/html/ with 1 occurrences migrated to:
https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/ ([https](https://docs.spring.io/spring-data/mongodb/docs/current/reference/html/ ) result 301).
* [ ] http://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/new-in-3.0.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/new-in-3.0.html ([https](https://docs.spring.io/spring/docs/3.2.x/spring-framework-reference/html/new-in-3.0.html ) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/core.html with 10 occurrences migrated to:
https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/core.html ) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/dao.html ) result 301).
* [ ] http://docs.spring.io/spring/docs/current/spring-framework-reference/html/transaction.html with 1 occurrences migrated to:
https://docs.spring.io/spring/docs/current/spring-framework-reference/html/transaction.html ([https](https://docs.spring.io/spring/docs/current/spring-framework-reference/html/transaction.html ) result 301).
* [ ] http://help.github.com/forking/ with 1 occurrences migrated to:
https://help.github.com/forking/ ([https](https://help.github.com/forking/ ) result 301).
* [ ] http://projects.spring.io/spring-data with 1 occurrences migrated to:
https://projects.spring.io/spring-data ([https](https://projects.spring.io/spring-data ) result 301).
* [ ] http://projects.spring.io/spring-data-mongodb with 3 occurrences migrated to:
https://projects.spring.io/spring-data-mongodb ([https](https://projects.spring.io/spring-data-mongodb ) result 301).
* [ ] http://springsource.org with 4 occurrences migrated to:
https://springsource.org ([https](https://springsource.org ) result 301).
* [ ] http://www.mongodb.org/ with 2 occurrences migrated to:
https://www.mongodb.org/ ([https](https://www.mongodb.org/ ) result 301).
* [ ] http://www.mongodb.org/books with 1 occurrences migrated to:
https://www.mongodb.org/books ([https](https://www.mongodb.org/books ) result 301).
* [ ] http://www.mongodb.org/display/DOCS/Aggregation with 1 occurrences migrated to:
https://www.mongodb.org/display/DOCS/Aggregation ([https](https://www.mongodb.org/display/DOCS/Aggregation ) result 301).
* [ ] http://www.springframework.org/schema/beans/spring-beans-3.0.xsd with 4 occurrences migrated to:
https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ([https](https://www.springframework.org/schema/beans/spring-beans-3.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/context/spring-context-3.0.xsd with 2 occurrences migrated to:
https://www.springframework.org/schema/context/spring-context-3.0.xsd ([https](https://www.springframework.org/schema/context/spring-context-3.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa-1.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd with 3 occurrences migrated to:
https://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd ([https](https://www.springframework.org/schema/data/mongo/spring-mongo-1.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/mongo/spring-mongo.xsd with 5 occurrences migrated to:
https://www.springframework.org/schema/data/mongo/spring-mongo.xsd ([https](https://www.springframework.org/schema/data/mongo/spring-mongo.xsd ) result 301).
* [ ] http://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd ([https](https://www.springframework.org/schema/data/repository/spring-repository-1.0.xsd ) result 301).
* [ ] http://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd with 1 occurrences migrated to:
https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ([https](https://www.springframework.org/schema/jdbc/spring-jdbc-3.0.xsd ) result 301).
* [ ] http://repo.spring.io/libs-milestone with 1 occurrences migrated to:
https://repo.spring.io/libs-milestone ([https](https://repo.spring.io/libs-milestone ) result 302).
* [ ] http://repo.spring.io/libs-snapshot with 1 occurrences migrated to:
https://repo.spring.io/libs-snapshot ([https](https://repo.spring.io/libs-snapshot ) result 302).
* [ ] http://try.mongodb.org/ with 1 occurrences migrated to:
https://try.mongodb.org/ ([https](https://try.mongodb.org/ ) result 302).
* [ ] http://www.springsource.org/download with 1 occurrences migrated to:
https://www.springsource.org/download ([https](https://www.springsource.org/download ) result 302).
# Ignored
These URLs were intentionally ignored.
* http://127.0.0.1:8080/capture-benchmarks with 1 occurrences
* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.springframework.org/schema/beans with 38 occurrences
* http://www.springframework.org/schema/context with 27 occurrences
* http://www.springframework.org/schema/data/jpa with 2 occurrences
* http://www.springframework.org/schema/data/mongo with 38 occurrences
* http://www.springframework.org/schema/data/repository with 22 occurrences
* http://www.springframework.org/schema/jdbc with 2 occurrences
* http://www.springframework.org/schema/tool with 22 occurrences
* http://www.w3.org/2001/XMLSchema with 11 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 20 occurrences
Original Pull Request: #695
2019-03-21 08:05:42 +01:00
Christoph Strobl
5dc5d7b2eb
DATAMONGO-2164 - Prepare 2.2 M2 (Moore).
2019-03-07 09:41:17 +01:00
Christoph Strobl
8394a5a184
DATAMONGO-2164 - Updated changelog.
2019-03-07 09:41:11 +01:00
Mark Paluch
38fe8d4601
DATAMONGO-2215 - Polishing.
...
Update Javadoc to reflect that array filters are used in their raw form without domain-type related type- or field mapping.
Original pull request: #656 .
2019-03-05 10:45:37 +01:00
Christoph Strobl
5e8d752be1
DATAMONGO-1348 - Update documentation.
...
Original pull request: #339 .
2019-03-04 13:38:25 +01:00
Mark Paluch
88d5e4367f
DATAMONGO-2208 - Deprecate Kotlin extensions providing a KClass overload.
...
We promote the usage of reified Kotlin API usage (myMethod<Person>() instead of myMethod(Person::class)) to facilitate a single and more idiomatic approach to Kotlin API usage.
Extension methods accepting KClass are deprecated now.
Original Pull Request: #648
2019-02-28 14:36:08 +01:00
Mark Paluch
dc38369f18
DATAMONGO-2072 - Polishing.
...
Slightly simplify method signature. Update docs.
Original pull request: #645 .
2019-02-22 10:20:26 +01:00
Christoph Strobl
5b47648f49
DATAMONGO-2072 - Support Range in repository between queries.
...
We now support o.s.d.domain.Range as method parameter for between queries. This allows more fine grained control over the inclusion/exclusion of the upper/lower bounds. Up till now between required 2 parameters which had been strictly bound to excluding bounds using $gt and $lt.
Original pull request: #645 .
2019-02-22 10:20:06 +01:00
Mark Paluch
9f58c78e43
DATAMONGO-2187 - Updated changelog.
2019-02-13 11:47:53 +01:00
Mark Paluch
7500ba18fd
DATAMONGO-2195 - Throw OptimisticLockingFailureException on delete only in repositories.
...
OptimisticLockingFailureException is now thrown only when deleting an entity through a repository and no longer when using the Template API.
Original pull request: #641 .
2019-02-07 15:12:58 +01:00
Christoph Strobl
4ecf20ce4c
DATAMONGO-2195 - Consider version when removing an entity.
...
We now consider a potential @Version when removing an entity.
MongoOperations#remove(Object) and MongoOperations#remove(Object, String) include the version of the object to remove if the entity is versioned. Opposed to save(Object), remove(Object) does not throw OptimisticLockingFailureException if a versioned entity could not be removed. This behavior is subject to be changed in a future release. Throwing OptimisticLockingFailureException on failed delete on Template API level was not introduced to not break existing application code.
MongoRepository now also considers the entities version, following the very same logic as MongoOperations.
To remove an entity without version check use MongoOperations#remove(Query,…) or MongoRepository#deleteById(…).
Original pull request: #641 .
2019-02-07 15:09:58 +01:00
Mark Paluch
cd8402f4ba
DATAMONGO-2077 - Polishing.
...
Abbreviate AggregationMethodReference factory methods. Fix deprecation tag. Update documentation.
Original pull request: #639 .
2019-02-05 11:09:30 +01:00
Mark Paluch
f40861beff
DATAMONGO-1855 - Initial reactive GridFS support.
...
We now support reactive GridFS using MongoDB's reactive GridFS API. Files can be consumed and provided as binary stream.
ReactiveGridFsOperations operations = …;
Publisher<DataBuffer> buffers = …
Mono<ObjectId> id = operations.store(buffers, "foo.xml");
Flux<DataBuffer> download = operations.getResource("foo.xml").flatMap(ReactiveGridFsResource::getDownloadStream);
Original Pull Request: #637
2019-01-29 10:32:35 +01:00
Christoph Strobl
e0a12d77f7
DATAMONGO-2182 - Polishing.
...
Introduce base class for common Querydsl query execution tasks that can be used for imperative and reactive implementation.
Fix test issues due to context caching where indices are not recreated when dropping the collection during test setup.
Update reference documentation.
Original Pull Request: #635
2019-01-23 10:31:12 +01:00
Mark Paluch
16051106c0
DATAMONGO-2182 - Add Querydsl support for reactive repositories.
...
We now support execution of Querydsl Predicates using reactive MongoDB repositories. Reactive repositories are only required to add ReactiveQuerydslPredicateExecutor to their declaration to enable Querydsl.
public interface PersonRepository extends ReactiveMongoRepository<Person, String>, ReactiveQuerydslPredicateExecutor<Person> {
// additional query methods go here
}
PersonRepository repository = …;
QPerson person = new QPerson("person");
Flux<Person> result = repository.findAll(person.address.zipCode.eq("C0123"));
Original Pull Request: #635
2019-01-22 15:07:03 +01:00
Christoph Strobl
2f60d08019
DATAMONGO-2188 - Polishing.
...
Undo deprecation and transition to configuration option allowing to disable the index creation. Index creation will remain in the codebase as it is used in a lot of places to configure required geo index structures in MongoDB without which query execution would fail.
Original Pull Request: #636
2019-01-22 14:49:23 +01:00
Mark Paluch
33fa79b29f
DATAMONGO-2188 - Deprecate auto-index creation & introduce configuration to disable it.
...
Auto-index creation can now be disabled by setting MongoMappingContext.setAutoIndexCreation(false). This configuration prevents automatic index creation on application startup and during access to entities.
Original Pull Request: #636
2019-01-22 14:47:12 +01:00
Mark Paluch
8f3dacd55e
DATAMONGO-2145 - Updated changelog.
2019-01-10 14:15:38 +01:00
Mark Paluch
4ffd1e10e8
DATAMONGO-2144 - Updated changelog.
2019-01-10 12:26:34 +01:00
Mark Paluch
f1a18040bb
DATAMONGO-2143 - Updated changelog.
2019-01-10 11:01:20 +01:00
Mark Paluch
2a45695ef3
DATAMONGO-2175 - Update copyright years to 2019.
2019-01-02 14:11:18 +01:00
Christoph Strobl
6fa0625167
DATAMONGO-2160 - Prepare 2.2 M1 (Moore).
2018-12-11 10:53:11 +01:00
Christoph Strobl
e88b88ef36
DATAMONGO-2160 - Updated changelog.
2018-12-11 10:53:07 +01:00
Mark Paluch
2ca879f534
DATAMONGO-2138 - Polishing.
...
Rename NestedProperty to KPropertyPath to reflect the underlying concept in alignment with our own PropertyPath type. Rename nestedFieldName(…) method to asString(…) to align with Kotlin method terminology. Reformat.
Slightly reword documentation. Add Type-safe Queries for Kotlin to What's New section.
Original pull request: #622 .
2018-12-10 15:49:49 +01:00
Tjeu Kayim
8d969ef41d
DATAMONGO-2138 - Add Type-safe Kotlin query extension.
...
We now support type-safe queries using Kotlin's DSL capabilities by accepting property references. Property references map to property paths and are translated to Criteria objects.
mongoOperations.find<Book>(
Query(Book::title isEqualTo "Moby-Dick")
)
mongoOperations.find<Book>(
Query(Book::title exists true)
)
mongoOperations.find<Book>(
Query(Criteria().andOperator(
Book::price gt 5,
Book::price lt 10)
))
Original pull request: #622 .
2018-12-10 15:49:32 +01:00
Mark Paluch
bbd02107b2
DATAMONGO-2161 - Simplify reference documentation setup.
...
Remove Asciidoctor plugin from all module builds and run asciidoctor only in distribution build.
2018-12-10 10:20:35 +01:00
Christoph Strobl
9246d3311d
DATAMONGO-2115 - Add support for BsonTimestamp when resuming Change Streams.
...
Original pull request: #624 .
2018-12-04 15:46:08 +01:00
Mark Paluch
28d96f5fe2
DATAMONGO-2121 - Updated changelog.
2018-11-27 14:54:01 +01:00
Mark Paluch
5372a5c8c1
DATAMONGO-2109 - Updated changelog.
2018-11-27 12:36:46 +01:00
Mark Paluch
8672dff5bc
DATAMONGO-2110 - Updated changelog.
2018-11-27 11:27:20 +01:00
Mark Paluch
4c6f793870
DATAMONGO-1798 - Polishing.
...
Introduce FieldType to express the desired field type to use for MongoDB Id conversion. Adapt Querydsl Id conversion so Id values are converted in the QueryMapper and no longer in SpringDataMongodbSerializer.
Adapt tests. Move MongoId from o.s.d.mongodb to o.s.d.m.c.core. Javadoc, reference docs.
Original pull request: #617 .
2018-11-16 11:37:16 +01:00
Christoph Strobl
5d39191f0b
DATAMONGO-1798 - Introduce @MongoId annotation for fine grained id conversion control.
...
@MongoId allows more fine grained control over id conversion by specifying the intended id target type. This allows to skip the automatic to ObjectId conversion of values that happen to be valid ObjectId hex strings.
public class PlainStringId {
@MongoId String id; // treated as String no matter what
}
public class PlainObjectId {
@MongoId ObjectId id; // treated as ObjectId
}
public class StringToObjectId {
@MongoId(FieldType.OBJECT_ID) String id; // treated as ObjectId if the value is a valid ObjectId hex string
}
Original pull request: #617 .
2018-11-16 11:36:36 +01:00
Mark Paluch
75b6dc7a0e
DATAMONGO-2107 - Updated changelog.
2018-10-29 14:30:29 +01:00
Mark Paluch
0c8f176e70
DATAMONGO-2118 - Polishing.
...
Fix typo in reactive repositories reference documentation.
Original pull request: #611 .
2018-10-26 10:07:54 +02:00
Mona Mohamadinia
c900ceb0d9
DATAMONGO-2118 - Fix typo in repositories reference documentation.
...
Original pull request: #611 .
2018-10-26 10:07:48 +02:00
Mark Paluch
5c009e393f
DATAMONGO-2083 - Updated changelog.
2018-10-15 14:28:03 +02:00
Mark Paluch
e8e24632e4
DATAMONGO-2094 - Updated changelog.
2018-10-15 11:37:23 +02:00
Mark Paluch
ffe4e9b914
DATAMONGO-2061 - Prepare 2.1 GA (Lovelace).
2018-09-21 07:07:51 -04:00
Mark Paluch
914bdd9434
DATAMONGO-2061 - Updated changelog.
2018-09-21 07:07:46 -04:00
Mark Paluch
3478fd5ab3
DATAMONGO-2090 - Include documentation about Object Mapping Fundamentals.
...
Related ticket: DATACMNS-1374.
2018-09-18 13:24:40 +02:00
Mark Paluch
a79142931f
DATAMONGO-2034 - Updated changelog.
2018-09-10 14:15:49 +02:00
Mark Paluch
1ba210366d
DATAMONGO-2035 - Updated changelog.
2018-09-10 10:20:54 +02:00
Christoph Strobl
492dec8ecf
DATAMONGO-2078 - Update reference documentation.
...
Move and enhance tailable cursor documetation. Move to separate file, preserve anchor and add imperative way using a MessageListener.
Add additional notes on usage of com.mongodb.client.MongoClient.
Original pull request: #607 .
2018-09-03 14:09:15 +02:00
Mark Paluch
a1ac2f7c1d
DATAMONGO-2075 - Polishing.
...
Tweaks to Javadoc and reference docs to align with american-english spelling.
Original pull request: #606 .
2018-09-03 11:20:45 +02:00
Christoph Strobl
04e53316c6
DATAMONGO-2075 - Open up MongoTransactionManager to allow transaction commit customization and commit retry.
...
Original pull request: #606 .
2018-09-03 11:20:45 +02:00