Releases: MorphiaOrg/morphia
1.0.0
Version 1.0.0 (Jun 01, 2015)
Notes
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/1.0.0/index.html
Issues Resolved
DOCS
- Issue 787: documentation for the Query API
- Issue 776: Query API docs
- Issue 774: Aggregation API docs
- Issue 770: Docs
- Issue 768: Landing page updates
- Issue 744: Update docs to use mongodb.github.io/morphia
ENHANCEMENT
1.0.0-rc1
Version 1.0.0-rc1 (May 27, 2015)
Notes
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/1.0.0-rc1/index.html
Issues Resolved
BUG
- Issue 786: PostPersist issue
1.0.0-rc0
Version 1.0.0-rc0 (May 08, 2015)
Notes
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/1.0.0-rc0/index.html
Issues Resolved
BREAKING
- Issue 766: Remove the util module
- Issue 655: Problem to compare two Key object
- Issue 612: More flexibility for "untyped" converters
ENHANCEMENT
- Issue 766: Remove the util module
- Issue 765: Bump driver version to the 3.x line
- Issue 754: Listoflists
- Issue 752: Support overriding the default GeoJSON coordinate reference system
- Issue 751: Support GeoJSON positions that have more than two dimensions
- Issue 746: Fixed compiler warnings
- Issue 729: Allow provision of custom DatastoreProvider instances for new Morphia instances
- Issue 728: Allow provision of custom DatastoreProvider instances for new Morphia instances
- Issue 636: Update the release process to cater for major.minor.patch release number format
- Issue 612: More flexibility for "untyped" converters
- Issue 420: Support replacing "untypedTypeEncoders" in DefaultConverters class [moved]
BUG
- Issue 764: @Index disableValidation is not used when finding the MappedField
- Issue 759: AdvancedDatastore#insert(T...) and UseBulkWriteOperations & postPersit are not working
- Issue 756: Mapping test failures on java 6
- Issue 753: ClassCastException when using maps of enums
- Issue 745: Added tests to show that issue #275 is fixed
- Issue 743: Version field not updated when using "Datastore.update(...)" & "BulkWriteOperation"
- Issue 719: Unable to update entity with a List of embedded object containing a Map
- Issue 718: Unable to query entity with List of Map
- Issue 681: List of Lists doesn't work
- Issue 655: Problem to compare two Key object
- Issue 580: MappingException - Morphia ignores @Embedded when reading if the class implements Iterable
- Issue 275: GeoSpatial Near Criteria Not working with radius [moved]
- Issue 230: Problem with using many DataStores [moved]
UNCATEGORIZED
- Issue 762: provide a mechanism to override the coordinate system in geo queries
DUPLICATE
- Issue 420: Support replacing "untypedTypeEncoders" in DefaultConverters class [moved]
0.111
Version 0.111 (Apr 01, 2015)
Notes
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.111/index.html
Issues Resolved
BUG
- Issue 740: List results in an NPE trying to create the Map
- Issue 737: Generic TypeVariable not supported when saving a List
- Issue 727: [Geo API 644] Multi-polygon only works with server 2.6 and above
- Issue 722: Optional GeoJSON fields
- Issue 714: Remove reference validation
- Issue 713: The BasicDAO does not consider the information added in the MappedClass Mapper earlier
- Issue 711: org.mongodb.morphia.DatastoreImpl#updateFirst is probably broken
- Issue 683: Package mapping issue
- Issue 670: Query.retrievedFields() inserts "className" for entity with noClassnameStored=true
- Issue 631: Morphia and Play Framework 2.3.0
- Issue 630: Mapper is not checking isMapped()
- Issue 293: no Classname Stored for @Embedded [moved]
ENHANCEMENT
- Issue 739: Issue 645 - Added support for $geoIntersects
- Issue 733: Make sure (text) indexing works with the field name and the mapped name
- Issue 732: Allow for index creation using a class definition and a named collection
- Issue 731: Log a warning when usages of deprecated indexing fields are used
- Issue 724: Support for $geoWithin
- Issue 714: Remove reference validation
- Issue 666: Allow Proper Implementation of Accumulator Sum
- Issue 665: Can't remove default converter?
- Issue 664: Added basic text indexing and search functionality #465
- Issue 661: Embedded annotation documentation bug
- Issue 645: Support $geoIntersects queries on entities containing GeoJson, and support GeoJson input to the query
- Issue 644: Support $geoWithin queries on entities containing GeoJson, and support GeoJson input to the query
- Issue 632: Accumulator sum
- Issue 619: update documents in array using positional $ operator
- Issue 618: use JavaDoc in your interface
- Issue 465: support text indexing
- Issue 290: Add support for geo/2d compound indexes [moved]
BREAKING
0.110
Version 0.110 (Feb 06, 2015)
Notes
The biggest addition this release is the geo support. While this API is expected to be reasonably stable it's new and almost certainly has some rough edges and will evolve as we work with the community to round off these edges and stabilize it for the 1.0 release. Please note that this release has a hard requirement on 2.13.0 of the Java driver.
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.110/index.html
Issues Resolved
BUG
- Issue 710: Setting storeEmpties=true can resurrect nulls as empties
- Issue 702: storeNulls seems to be broken on reads
- Issue 698: Validation should use separate lists to check for failures
- Issue 685: Custom valueMapper in MapperOptions
- Issue 683: Package mapping issue
- Issue 624: ReferenceMapper can not handle null references if MapperOptions.isStoreNulls() returns true
ENHANCEMENT
- Issue 701: Add option to lowercase default entity collection name
- Issue 700: API for $near queries. Fixes #642
- Issue 699: Issue 647 - Adding type suport
- Issue 696: improve performance of multimaps
- Issue 695: Downgrade from WARN to DEBUG message about capped collection existing (fixes #694)
- Issue 694: Erroneous warning "DatastoreImpl: DBCollection already exists is capped already"
- Issue 647: CriteriaQuery don't support "$type"
UNCATEGORIZED
- Issue 693: Implemented entities for all Geo types currently supported by MongoDB
0.109
Version 0.109 (Dec 17, 2014)
Notes
This release is a mix of enhancements and bug fixes, largely provided by the community via pull requests. The enhancements are adding Morphia support for features that are supported by the underlying Java driver.
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.109/index.html
Issues Resolved
ENHANCEMENT
- Issue 671: add $max/$min update operator support
- Issue 634: Support for maxTime
- Issue 570: Add support for 2dsphere (Mongo 2.4+)
BUG
- Issue 668: ReflectionUtils bug causes hierarchy of classes with type parameters more than three deep to return null
- Issue 662: Bug ReflectionUtils.getClasses() loads super set of classes when loading from jar vs directory
- Issue 649: Updating field in a list of embedded objects causes an error unless you turn off validation
- Issue 646: Converters for sub-classes don't work
- Issue 615: Incorrect warning when querying with subclass of mapped type
UNCATEGORIZED
- Issue 637: Simplify Automated Release
0.108
Version 0.108 (Jun 26, 2014)
Notes
As per the notes from the 0.107 release, this release removes a number of deprecated objects and methods. Therefore, any users that were dependent upon deprecated functionality should migrate those uses to the replacements before upgrading to this version.
There's a mixed bag of features and bugs in this release, again getting Morphia closer to a 1.0 release. Some features that were supported by the MongoDB Java Driver have been added to the Morphia API, for example returnKey, comment and explain.
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.107/apidocs/index.html
Issues Resolved
ENHANCEMENT
- Issue 620: Moved around a chunk of tests
- Issue 609: Support ID generator so users can specify the behaviour when an ID is not supplied
- Issue 605: provide close() method on Iterator passed out from morphia
- Issue 597: Updated gradle to 1.11
- Issue 595: morphia gwt removed
- Issue 594: fix regression with saving an empty iterable
- Issue 588: Extract GWT module to its own project
- Issue 587: Drop support for Java 5
- Issue 586: GWT No Longer Works
- Issue 584: Hide deprecated fields
- Issue 579: Remove dependency on deprecated Mongo object
- Issue 564: Use bulk write api coming in mongo-java-driver 2.12
- Issue 498: add returnKey support
- Issue 495: add comment support
- Issue 494: add explain support
- Issue 449: Add support for aggregate command [moved]
- Issue 232: Support Group [moved]
BUG
- Issue 599: QueryImpl usage potentially unsafe with cursor management
- Issue 592: Non-DBRef queries
- Issue 591: Second fix for Issue 377
- Issue 585: Abstract parents not supported. (also TestVersionAnnotation::abstractParent unit test invalid)
- Issue 554: Batch insert performance issue
- Issue 514: Not operator is added two times
0.107
Version 0.107 (Mar 04, 2014)
Notes
This release includes many bug fixes across a number of areas. It is a major push to stabilize and clean up before the upcoming 1.0 release. There are two major things to note about this release:
- This is the last release that will work on 2.11.x of the Java driver. The 0.108 release will include, among other things, support for the aggregation framework which introduces a hard requirement on the pending 2.12 release of the java driver.
- The next release will also feature clean up of deprecated items. While most of those deprecations are internal, if you're still depending on them, please use this release as your chance to clean things up as 0.108 will break.
JRebel users will notice that there is no longer a separate jrebel jar. That jar consisted solely of a manifest entry which as been moved to the main morphia jar and is no longer generated.
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.107/apidocs/index.html
Issues Resolved
BUG
- Issue 582: Bad link in Readme.md
- Issue 576: add missing manifest entry for jrebel jar
- Issue 575: Repository problem, some jars are empty
- Issue 571: honor storeEmpties mapper option for maps
- Issue 568: fix issue introduced by #492
- Issue 557: Fixes / Should fix the issue 377
- Issue 514: Not operator is added two times
- Issue 512: Query.retrievedFields not mapping correctly
- Issue 507: DbRefs are created with a null database
- Issue 455: A performance problem with morphia self-logging system. [moved]
- Issue 438: FindAndDelete from wiki example not working? [moved]
- Issue 433: False "incorrect query type(s)" warning when using FieldEnd#sizeEq [moved]
- Issue 381: unable to query using com.google.code.morphia.query.FieldEnd.in(Iterable itrbl) [moved]
- Issue 377: @serialized doesn't work with runtime values of primitive types [moved]
- Issue 347: DatastoreImpl.insert not setting version attribute [moved]
- Issue 295: UpdateOperations.addAll includes className with every element of an @Embedded array [moved]
ENHANCEMENT
- Issue 578: Rename Logr
- Issue 577: Move jrebel manifest info to main project
- Issue 574: Fixed broken build and added a getter for ValidatorFactory in
- Issue 573: Add a getter for ValidatorFactory in ValidationExtension
- Issue 572: Implement max/min support
- Issue 507: DbRefs are created with a null database
- Issue 497: add max/min support
- Issue 425: Excessive calls to debug logging dramatically slow down serialization of large object graphs [moved]
- Issue 422: Allow query.batchSize() and .limit() to be negative
- Issue 418: Inclusion of findOneId convenience methods [moved]
- Issue 398: optional Set argument to Morphia.map() [moved]
- Issue 296: Validation should not warn for Key/DBRefs [moved]
- Issue 285: Replace StringBuffers with StringBuilders [moved]
- Issue 266: Remove IndexDirection.BOTH from docs [moved]
INVALID
- Issue 330: $exists operator doesn't work on DBRef field [moved]
0.106
Version 0.106 (Jan 31, 2014)
Downloads
Below and on maven central.
Docs
https://rawgithub.com/wiki/mongodb/morphia/javadoc/0.106/index.html
Fixes
https://github.com/mongodb/morphia/issues?milestone=7&page=1&state=closed
Morphia 0.105 released
This change is solely the package rename which means that not only will you need to update your code but also your build files if you use something like maven or gradle. Which you should be. This change is largely just globally replacing "com.google.code.morphia" with "org.mongodb.morphia" A global search and replace should catch everything that needs to change but I'd still recommend making this change in isolation.
This release is only the package rename. There are no functionality or bug changes included. Next week, I'll be out in San Francisco for JavaOne giving a couple of talks (stop by and say hi if you're around) so this release will have time to bake some before any other changes go in to git. This will hopefully give everyone time to catch any glitches and resolve them before things start evolving on top this change.
If you use maven, your new dependency entry should look like this:
<dependency>
<groupId>org.mongodb.morphia</groupId>
<artifactId>morphia</artifactId>
<version>0.105</version>
</dependency>
A special thanks to ismetozalp for helping to iron out issues in the GWT module.
As always, please let us know if you have any problems with this release by opening an issue at https://github.com/mongodb/morphia/issues