Also see the release notes of underlying morphia library and the GORM-MongoDB User Guide
- Bugfix release
- Added a basic auditing feature. Mongo-Domain classes having the
grails.plugins.mongodb.audit.Audited
annotation will have a copy of every saved instance persited to acollectionName
+ “History” collection. - Updated MongoDB Java driver to 2.9.3
- Updated MongoDB Java driver to 2.9.1
- Added the ability to configure MongoOptions in DataSource.groovy – see quickstart in user guide (thanks to Thomas)
- Updated MongoDB Java driver to 2.9 (aggregation framework)
- ast-transformations fix
- Moved ast-transformations to a jar – fixed bug where a additional “clean” is required on first run
- Updated morphia library to 0.99.1-SNAPSHOT (it was renamed from 1.00 by the morphia team)
- Updated MongoDB Java driver to 2.7
- Renamed “validation” to “validate” as parameter for queries
- “validate” and “failOnError” parameters for save() method
- MongoDB authentication configuration (thanks to Dave)
- Convenient access to morphias query methods
- Static get() method now also accepts com.mongodb.DBRef and com.google.code.morphia.Key instances
- Grails 2.0 compatibility
- Added validation property to query parameters to optionally turn of validation (thanks to Alexander)
- Using MongoDB java driver 2.6
- Updated morphia library to 1.00-SNAPSHOT (r1740)
- Added sorting order parameter in MongoDB queries – better gorm compatibility
- breaking change static update method now updates all matched entities! There was a bug: instead of updating all matched entities, it updated only the first
- GPGORMMONGODB-15 Added updateFirst operation
- Fix in Key.fetch(): NullPointerException if Key didn’t hold a class reference
- findAll now returns all found entities as documented, not only the first 25
- Fix in ObjectFactory: inherited classes were not always resolved correctly
- an ObjectFactory is used to create domain instances. Now all domain objects are autowired automatically, also those returned by find* and list methods.
- makeKey method is now deprecated, please use createKey instead
- new instance method: createDBRef
- countAll is now deprecated, please use count instead
- added fromDBObject and toDBObject methods
- added fetch() method to com.google.code.morphia.Key class
- GRAILSPLUGINS-2902 Embedded Classes should by default not get @Id injected
- GRAILSPLUGINS-2895 recursive check of ancestors to support inherited nesting
- GRAILSPLUGINS-2895
- Subclasses don’t get the id injected automatically anymore – if the superclass is also managed by the plugin
- You can control the autoinjection process by using the grails.plugins.mongodb.ast.TransformationConfiguration annotation
- PLUGIN RENAMED: now you will find this plugin as ‘mongodb-morphia’ in the grails repository
- breaking change findByX is no longer synonym for findAllByX, but for findOneByX. So findByX now returns only the first result, and is consistent with find() and findAll() methods.
- support for replica sets
- implemented the beforeValidate event introduced in grails 1.3.6
- updated morphia library to 0.99
- support for getAll method
- support for countAll method
- updated morphia library to 0.98
- updated morphia library to 0.97
- updated morphia library to 0.96
- added static collection property to access the unterlying mongodb collection
- added addTo* methods support
- by default the classname is not stored for every document anymore. Add annotation @com.google.code.morphia.annotations.Entity(noClassnameStored=false) to enable manually
- added static update method
- Maven is now used to resolve MongoDB driver and morphia dependency
- updated morphia library to 0.95
- ObjectId is now default id type
- update method uses UpdateOperation now – breaking change! – see user guide
- using MongoDB java driver 2.1
- redefined and extended index mapping
- Fixes GRAILSPLUGINS-2405 – Pagination parameters falsely removed
- Fixes GRAILSPLUGINS-2399 – Better error handling in case config is missing
- Fixes GRAILSPLUGINS-2398 – Documentation fixes
- automatically injected version property now marked transient (it is automatically injected to work with scaffolding)
- switched to global AST transformations, so no more annotations for mongo domains needed, MongoEntity deprecated
- updated to grails 1.3.4
- mongo artefacts are of type “MongoDomain” again. Plugin works with hibernate again
- updated petclinic
- updated morphia library to 0.94
- added support for index mapping
- added update method
- updated morphia to latest snapshot (revision 600)
- tested with Grails 1.3.2
- added code-coverage plugin (code not fully covered yet)
- cleaned up code, small fixes
- Mongo domains are now registered as “Domain” artefacts only
- Tested with hibernate: gorm-mongodb is not working with hibernate plugin
- Updated petclinic sample application
- added ast transformations to mongo entities. id, version and needed annotations are injected automatically
- mongo entities now have to be annotated with grails.plugins.mongodb.MongoEntity
- updated morphia and mongodb-java-driver libraries. morphia now supports lazy referencing via @Reference(lazy=true)
- MongoDB 1.5 support
- generate-all now works with MongoEntity classes
- added a mongo bean to access the preconfigured driver and mapper
- renamed static delete method to deleteAll in order to avoid conflicts
- plugin published to the grails plugin repository
- added user guide
- initial release