Oliver Drotbohm
23fde167f6
DATAMONGO-2246 - Prepare next development iteration.
2019-05-10 12:55:57 +02:00
Oliver Drotbohm
9470f82e9b
DATAMONGO-2246 - Release version 2.1.7 (Lovelace SR7).
2.1.7.RELEASE
2019-05-10 12:18:52 +02:00
Oliver Drotbohm
1e88e241d4
DATAMONGO-2246 - Prepare 2.1.7 (Lovelace SR7).
2019-05-10 12:18:10 +02:00
Oliver Drotbohm
0b8396c43c
DATAMONGO-2246 - Updated changelog.
2019-05-10 12:18:01 +02:00
Christoph Strobl
b602e4cb26
DATAMONGO-2222 - Updated changelog.
2019-04-11 12:28:51 +02:00
Oliver Drotbohm
500393e596
DATAMONGO-2204 - After release cleanups.
2019-04-01 20:55:13 +02:00
Oliver Drotbohm
7e4cbdb8b0
DATAMONGO-2204 - Prepare next development iteration.
2019-04-01 20:55:12 +02:00
Oliver Drotbohm
1d6d8ff8e6
DATAMONGO-2204 - Release version 2.1.6 (Lovelace SR6).
2.1.6.RELEASE
2019-04-01 20:04:13 +02:00
Oliver Drotbohm
8ea4cbe9ea
DATAMONGO-2204 - Prepare 2.1.6 (Lovelace SR6).
2019-04-01 20:03:19 +02:00
Oliver Drotbohm
45a0c36184
DATAMONGO-2204 - Updated changelog.
2019-04-01 20:03:15 +02:00
Oliver Drotbohm
599c79bce2
DATAMONGO-2186 - Updated changelog.
2019-04-01 19:37:01 +02:00
Oliver Drotbohm
eda6d40aa7
DATAMONGO-2243 - Updated changelog.
2019-04-01 18:52:21 +02:00
Oliver Drotbohm
22b844c87f
DATAMONGO-2185 - Updated changelog.
2019-04-01 13:54:18 +02:00
Christoph Strobl
bdf7ec7c9b
DATAMONGO-2241 - Polishing.
...
Ensure to have to DbRefResolver operate within the session while reusing the MappingContext.
Original Pull Request: #734
2019-04-01 12:54:50 +02:00
Mark Paluch
13db06d345
DATAMONGO-2241 - Retain MongoConverter using MongoTemplate.withSession(…).
...
We now reuse the MongoConverter instance that is associated with a MongoTemplate when using withSession(…) instead of creating a new converter instance.
In consequence, we're reusing PersistentEntity instances, EntityInstantiators and generated accessor classes.
Original Pull Request: #734
2019-04-01 10:47:52 +02:00
Mark Paluch
365ecd53c4
DATAMONGO-2221 - Polishing.
...
Reformat imports.
Original pull request: #732 .
2019-03-26 14:46:23 +01:00
Christoph Strobl
dc40c42815
DATAMONGO-2221 - Fix mapping of Strings matching a valid ObjectId for unresolvable paths.
...
We now make sure we to not convert Strings representing valid ObjectIds into the such for paths that cannot be resolved to a Property.
Original pull request: #732 .
2019-03-26 14:46:02 +01:00
Mark Paluch
49415efb8c
DATAMONGO-2223 - Polishing.
...
Replace DBRef annotation using FQCN with import.
Original pull request: #660 .
2019-03-25 10:07:04 +01:00
Christoph Strobl
dc234906f4
DATAMONGO-2223 - Add test for DBRef resolution in a different database.
...
Original pull request: #660 .
2019-03-25 10:06:43 +01:00
Christoph Strobl
a7f51a7c85
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 10:00:39 +01:00
Spring Operator
9b0bd11d09
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 815 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: #700
2019-03-22 09:56:26 +01:00
Spring Operator
d7ad883f69
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://maven.apache.org/xsd/maven-4.0.0.xsd with 3 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://www.gopivotal.com (302) with 6 occurrences migrated to:
https://pivotal.io ([https](https://www.gopivotal.com ) result 200).
* http://maven.apache.org/maven-v4_0_0.xsd with 2 occurrences migrated to:
https://maven.apache.org/maven-v4_0_0.xsd ([https](https://maven.apache.org/maven-v4_0_0.xsd ) result 301).
* http://projects.spring.io/spring-data-mongodb with 1 occurrences migrated to:
https://projects.spring.io/spring-data-mongodb ([https](https://projects.spring.io/spring-data-mongodb ) result 301).
* http://www.pivotal.io with 1 occurrences migrated to:
https://www.pivotal.io ([https](https://www.pivotal.io ) result 301).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0 with 10 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 5 occurrences
Original Pull Request: #666
2019-03-19 12:55:41 +01:00
Christoph Strobl
44308bfbe1
DATAMONGO-2225 - Fix potential NPE in MongoExampleMapper.
2019-03-18 13:51:37 +01:00
Christoph Strobl
9b673d342f
DATAMONGO-2228 - Polishing.
...
Favor AssertJ over hamcrest.
Original Pull Request: #661
2019-03-18 10:50:16 +01:00
Mikhail Kaduchka
5517198310
DATAMONGO-2228 - Fixed loosing branches in AND expressions in MongodbDocumentSerializer.
...
Original Pull Request: #661
2019-03-18 10:32:01 +01:00
Christoph Strobl
819a04f3db
DATAMONGO-2164 - Updated changelog.
2019-03-07 10:30:07 +01:00
Mark Paluch
f7202067a5
DATAMONGO-2219 - Fix ReactiveMongoTemplate.findAllAndRemove(…) if the query yields no results.
...
ReactiveMongoTemplate.findAllAndRemove(…) now completes successfully without emitting a result if the find query yields no hits. We no longer call the subsequent remove query if without previous results.
Original Pull Request: #657
2019-03-05 12:57:59 +01:00
Mark Paluch
f20a0f20c9
DATAMONGO-2206 - Polishing.
...
Reformat code. Convert spaces to tabs. Use mockk version property to define mockk version. Author tags.
Original pull request: #646 .
2019-02-20 11:34:12 +01:00
Sebastien Deleuze
02216d5941
DATAMONGO-2206 - Migrate Kotlin tests to Mockk.
...
Original pull request: #646 .
2019-02-20 11:34:12 +01:00
Mark Paluch
79f2094322
DATAMONGO-2187 - After release cleanups.
2019-02-13 11:24:22 +01:00
Mark Paluch
afbc5cfa25
DATAMONGO-2187 - Prepare next development iteration.
2019-02-13 11:24:20 +01:00
Mark Paluch
a3882a5e5c
DATAMONGO-2187 - Release version 2.1.5 (Lovelace SR5).
2.1.5.RELEASE
2019-02-13 09:56:38 +01:00
Mark Paluch
8194772388
DATAMONGO-2187 - Prepare 2.1.5 (Lovelace SR5).
2019-02-13 09:55:35 +01:00
Mark Paluch
12f18850dc
DATAMONGO-2187 - Updated changelog.
2019-02-13 09:55:29 +01:00
Mark Paluch
816c1da248
DATAMONGO-2196 - Polishing.
...
Fix stubbing in test that sneaked in through a back port not considering the change which method was used for entity removal.
Original pull request: #641 .
2019-02-12 10:47:12 +01:00
Christoph Strobl
5a78f19781
DATAMONGO-2196 - Remove applies WriteConcern to single Document delete operations.
...
We now make sure to apply the WriteConcern correctly when calling deleteOne on MongoCollection.
Original pull request: #641 .
2019-02-07 15:20:36 +01:00
Mark Paluch
698837921b
DATAMONGO-2193 - Polishing.
...
Reformat code.
Original pull request: #640 .
2019-02-05 11:44:03 +01:00
Christoph Strobl
0f7fc7880b
DATAMONGO-2193 - Fix String <> ObjectId conversion for non-Id properties.
...
We now make sure to only convert valid ObjectId Strings if the property can be considered as id property.
Original pull request: #640 .
2019-02-05 11:43:55 +01:00
Christoph Strobl
6e42f49b08
DATAMONGO-2189 - Polishing.
...
Assert returned object is not the same as the saved one and move helper method.
Original Pull Request: #638
2019-01-28 13:41:27 +01:00
Mark Paluch
bdfe4e99ed
DATAMONGO-2189 - Fix AfterSaveEvent to contain the saved entity in ReactiveMongoTemplate.insert(…).
...
ReactiveMongoTemplate.insert(…) now uses the saved entity when emitting AfterSaveEvent. This change affects usage of immutable objects that are using Id generation. Previously, the to-be-saved entity instance was used which left the Id unpopulated.
Original Pull Request: #638
2019-01-28 11:50:43 +01:00
Mark Paluch
85aa3927a6
DATAMONGO-2145 - After release cleanups.
2019-01-10 13:48:12 +01:00
Mark Paluch
33c4e4294f
DATAMONGO-2145 - Prepare next development iteration.
2019-01-10 13:48:10 +01:00
Mark Paluch
a89ab387cc
DATAMONGO-2145 - Release version 2.1.4 (Lovelace SR4).
2.1.4.RELEASE
2019-01-10 12:35:56 +01:00
Mark Paluch
e52b8c9d38
DATAMONGO-2145 - Prepare 2.1.4 (Lovelace SR4).
2019-01-10 12:34:54 +01:00
Mark Paluch
4dbf4795db
DATAMONGO-2145 - Updated changelog.
2019-01-10 12:34:48 +01:00
Mark Paluch
8e4c6f68ae
DATAMONGO-2144 - Updated changelog.
2019-01-10 12:26:36 +01:00
Mark Paluch
fddbd126ea
DATAMONGO-2143 - Updated changelog.
2019-01-10 11:01:21 +01:00
Christoph Strobl
ee5b26ab1c
DATAMONGO-2168 - Polishing.
...
MetadataBackedField no longer fails when Path detects reference to field within java.lang.Class. This can happen when splitting the property name via camel case where the first part matches to class which resolves to the getClass() call on java.lang.Object. When then the 2nd part also maps to a method (like getName()) on Class an error would be thrown.
Original Pull Request: #631
2019-01-09 17:06:29 +01:00
Mark Paluch
01e9a2ed67
DATAMONGO-2168 - Convert assertions to AssertJ.
...
Original Pull Request: #631
2019-01-09 17:06:29 +01:00
Mark Paluch
10107c7b81
DATAMONGO-2168 - Do not map type key in QueryMapper.
...
QueryMapper now excludes the type key in during mapping and retains the value as-is. This change fixes an issue in which type keys were attempted to be mapped using the entity model. Type key resolution for _class failed silently while other type keys such as className failed in property path resolution and the failure became visible.
Original Pull Request: #631
2019-01-09 17:06:29 +01:00