From cd62f6f8b784f851d10ce74b297fcc0a8de9e3b1 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Mon, 31 Mar 2014 16:09:17 +0200 Subject: [PATCH 1/2] DATAMONGO-859 - Prepare release 1.5 M1. Prepare issue branch. --- pom.xml | 2 +- spring-data-mongodb-cross-store/pom.xml | 4 ++-- spring-data-mongodb-distribution/pom.xml | 2 +- spring-data-mongodb-log4j/pom.xml | 2 +- spring-data-mongodb/pom.xml | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pom.xml b/pom.xml index 28e7260e25..1cddaa8384 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ org.springframework.data spring-data-mongodb-parent - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT pom Spring Data MongoDB diff --git a/spring-data-mongodb-cross-store/pom.xml b/spring-data-mongodb-cross-store/pom.xml index 69a19c150b..31280173d1 100644 --- a/spring-data-mongodb-cross-store/pom.xml +++ b/spring-data-mongodb-cross-store/pom.xml @@ -6,7 +6,7 @@ org.springframework.data spring-data-mongodb-parent - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT ../pom.xml @@ -48,7 +48,7 @@ org.springframework.data spring-data-mongodb - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT diff --git a/spring-data-mongodb-distribution/pom.xml b/spring-data-mongodb-distribution/pom.xml index 7302043a15..63f828350b 100644 --- a/spring-data-mongodb-distribution/pom.xml +++ b/spring-data-mongodb-distribution/pom.xml @@ -13,7 +13,7 @@ org.springframework.data spring-data-mongodb-parent - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT ../pom.xml diff --git a/spring-data-mongodb-log4j/pom.xml b/spring-data-mongodb-log4j/pom.xml index 0415f6eb5e..f3ef31503a 100644 --- a/spring-data-mongodb-log4j/pom.xml +++ b/spring-data-mongodb-log4j/pom.xml @@ -5,7 +5,7 @@ org.springframework.data spring-data-mongodb-parent - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT ../pom.xml diff --git a/spring-data-mongodb/pom.xml b/spring-data-mongodb/pom.xml index 6e84732769..13b8e07808 100644 --- a/spring-data-mongodb/pom.xml +++ b/spring-data-mongodb/pom.xml @@ -11,7 +11,7 @@ org.springframework.data spring-data-mongodb-parent - 1.5.0.BUILD-SNAPSHOT + 1.5.0.DATAMONGO-859-SNAPSHOT ../pom.xml From 14efa9cfcf45c2a47e9cc195df2bca97cca12e94 Mon Sep 17 00:00:00 2001 From: Thomas Darimont Date: Mon, 31 Mar 2014 16:24:33 +0200 Subject: [PATCH 2/2] DATAMONGO-859 - Prepare release 1.5 M1. Updated readme.md and mongodb.xml to reflect recent version. Updated Spring Data Commons and Spring Data Build versions in pom.xml. Update pom.xml to use release repository. Updated docbkx to use recent Spring Data Commons version. Updated changelog to reflect changes and releases. Original pull request: #161. --- README.md | 2 +- pom.xml | 8 ++--- src/docbkx/index.xml | 6 ++-- src/docbkx/reference/mongodb.xml | 2 +- src/main/resources/changelog.txt | 61 ++++++++++++++++++++++++++++++++ 5 files changed, 70 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index c4a92213ce..326009947f 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Add the Maven dependency: org.springframework.data spring-data-mongodb - 1.4.0.RELEASE + 1.4.1.RELEASE ``` diff --git a/pom.xml b/pom.xml index 1cddaa8384..c7d94effc4 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ org.springframework.data.build spring-data-parent - 1.4.0.BUILD-SNAPSHOT + 1.4.0.M1 ../spring-data-build/parent/pom.xml @@ -29,7 +29,7 @@ multi spring-data-mongodb - 1.8.0.BUILD-SNAPSHOT + 1.8.0.M1 2.11.4 ${mongo} @@ -124,8 +124,8 @@ - spring-libs-snapshot - http://repo.spring.io/libs-snapshot/ + spring-libs-milestone + http://repo.spring.io/libs-milestone/ diff --git a/src/docbkx/index.xml b/src/docbkx/index.xml index d87e710d56..c34c2247c1 100644 --- a/src/docbkx/index.xml +++ b/src/docbkx/index.xml @@ -68,7 +68,7 @@ - + @@ -88,10 +88,10 @@ Appendix - + - + diff --git a/src/docbkx/reference/mongodb.xml b/src/docbkx/reference/mongodb.xml index 9053358b6e..4f24eff444 100644 --- a/src/docbkx/reference/mongodb.xml +++ b/src/docbkx/reference/mongodb.xml @@ -107,7 +107,7 @@ <dependency> <groupId>org.springframework.data</groupId> <artifactId>spring-data-mongodb</artifactId> - <version>1.3.4.RELEASE</version> + <version>1.4.1.RELEASE</version> </dependency> </dependencies> diff --git a/src/main/resources/changelog.txt b/src/main/resources/changelog.txt index 1066954602..f0f6d3a79e 100644 --- a/src/main/resources/changelog.txt +++ b/src/main/resources/changelog.txt @@ -1,6 +1,67 @@ Spring Data MongoDB Changelog ============================= +Changes in version 1.5.0.M1 (2014-03-31) +---------------------------------------- +** Fix + * [DATAMONGO-471] - Update operation $addToSet does not support adding a list with $each. + * [DATAMONGO-773] - Spring Data MongoDB projection search on @DBref fields. + * [DATAMONGO-821] - MappingException for $size queries on subcollections containing dbrefs. + * [DATAMONGO-829] - NearQuery, when used in conjunction with a Query, it sets num=0, unless Query specifies otherwise. + * [DATAMONGO-833] - EnumSet is not handled correctly. + * [DATAMONGO-843] - Unable to use @EnableMongoAuditing annotation in Java config. + * [DATAMONGO-862] - Update Array Field Using Positional Operator ($) Does Not Work. + * [DATAMONGO-863] - QueryMapper.getMappedValue Fails To Handle Arrays Mapped To $in. + * [DATAMONGO-868] - findAndModify method does not increment @Version field. + * [DATAMONGO-871] - Declarative query method with array return type causes NPE. + * [DATAMONGO-877] - AbstractMongoConfiguration.getMappingBasePackage() throws NullPointerException if config class resides in default package. + * [DATAMONGO-880] - Error when trying to persist an object containing a DBRef which was lazy loaded. + * [DATAMONGO-884] - Potential NullPointerException for lazy DBRefs. + * [DATAMONGO-887] - Repository not instantiated when entity contains field of type TreeMap. + * [DATAMONGO-890] - Point class toString method is confusing. + +** Improvement + * [DATAMONGO-809] - Make filename optional in GridFsOperations doc and GridFsTemplate implementation. + * [DATAMONGO-858] - Add support for common geospatial structures. + * [DATAMONGO-865] - Adjust test dependencies to avoid ClassNotFoundException during test runs. + * [DATAMONGO-881] - Cannot override default converters in CustomConversions. + * [DATAMONGO-882] - Adapt to removal of obsolete generics in BeanWrapper. + +** New Feature + * [DATAMONGO-566] - Provide support for removeBy… / deleteBy… methods like for findBy… on repository interfaces. + * [DATAMONGO-870] - Add support for sliced query method execution. + +** Task + * [DATAMONGO-876] - Adapt to changes introduced for property access configuration. + * [DATAMONGO-883] - Update auditing configuration to enable auditing annotations on accessors. + * [DATAMONGO-859] - Release 1.5 M1. + +Changes in version 1.4.1.RELEASE (2014-03-13) +--------------------------------------------- +** Fix + * [DATAMONGO-773] - Verify that @DBRef fields can be included in query. + * [DATAMONGO-821] - Fixed handling of keyword expressions for DBRefs. + * [DATAMONGO-829] - NearQuery should not default 'num' to zero. + * [DATAMONGO-833] - Support for EnumSet and EnumMap in MappingMongoConverter. + * [DATAMONGO-843] - Back-port of defaulting of the MappingContext for auditing. + * [DATAMONGO-862] - Fixed handling of unmapped paths for updates. + * [DATAMONGO-863] - UpdateMapper doesn't convert raw DBObjects anymore. + * [DATAMONGO-868] - MongoTemplate.findAndModify(…) increases version if not handled manually. + * [DATAMONGO-871] - Add support for arrays as query method return types. + * [DATAMONGO-877] - Added guard against null-package in AbstractMappingConfiguration. + +** Improvement + * [DATAMONGO-865] - Adjust test dependencies to avoid ClassNotFoundException during test runs. + +Changes in version 1.3.5.RELEASE (2014-03-10) +--------------------------------------------- +** Fix + * [DATAMONGO-829] - NearQuery, when used in conjunction with a Query, no longer sets num=0, unless Query specifies otherwise. + * [DATAMONGO-871] - Repository queries support array return type. + +** Improvement + * [DATAMONGO-865] - Avoid ClassNotFoundException during test runs. + Changes in version 1.4.0.RELEASE (2014-02-24) ---------------------------------------------