Releases: researchgate/restler
Releases · researchgate/restler
Release list
7.0.0
What's Changed
- BERG-5851 upgrade to java 17/dropwizard 3 by @harish-rg in #38
Full Changelog: 6.1.5...7.0.0
6.1.5
What's Changed
- chore: Updated Morphia to 2.4.20 by @rg-sebastian-k in #37
Full Changelog: 6.1.4...6.1.5
6.1.4
What's Changed
- fix delete endpoint when multiple entities need to be deleted. by @harish-rg in #36
Full Changelog: 6.1.3...6.1.4
6.1.3
What's Changed
- chore: CONGRUENCE-3911/add option to sort by multiple fields by @kakkaranupam in #34
- chore: CONGRUENCE-3911/update-sorting-logic-for-multiple-fields by @kakkaranupam in #35
New Contributors
- @kakkaranupam made their first contribution in #34
Full Changelog: 6.1.2...6.1.3
6.1.2
What's Changed
- BUG-14620 add morphia bug fix related to service init by @harish-rg in #33
Full Changelog: 6.1.1...6.1.2
6.1.1
What's Changed
- [BUG_Fix] BERG-5700 add id field in the url param to the entity body again by @harish-rg in #32
New Contributors
- @harish-rg made their first contribution in #32
Full Changelog: 6.1.0...6.1.1
6.1.0
What's Changed
- Expose Metrics in a more structured format by @rg-sebastian-k in #29
Full Changelog: 6.0.2...6.1.0
6.0.2
What's Changed
- fix: totalItems on groupBy queries by @rg-sebastian-k in #31
Full Changelog: 6.0.1...6.0.2
6.0.1
What's Changed
- Restored error handling for duplicate key exceptions
- fix: Restored error handling for duplicate keys by @rg-sebastian-k in #28
New Contributors
- @rg-sebastian-k made their first contribution in #28
Full Changelog: 6.0.0...6.0.1
6.0.0
Backwards incompatible changes
- Upgraded to mongodb-driver-sync 4.10.2 and morphia 2.4.4
- Upgraded from Java 8 to Java 11
- Interface changes:
preUpdatenow uses List instead of UpdateOperationsMongoBaseServiceDao::createUpdateOperationshas been removed
- Morphia required changes
- BasicDAO morphiaDao is no longer exposed. Use Datastore datastore instead. Examples:
- instead of morphiaDao.save(entity);, use datastore.save(entity);
- instead of morphiaDao.createQuery().filter("test", 123).asList(); use datastore.find(entityClazz).filter(Filters.eq("test", 123)).iterator().toList();
- Annotation changes
- BasicDAO morphiaDao is no longer exposed. Use Datastore datastore instead. Examples:
- For ServiceQuery projections, limit, offset, and order to be applied, use MongoBaseServiceDao::get or getOne
- If you issue the query not via Restler, you can use MongoBaseServiceDao::toFindOptions to prepare the FindOptions from the ServiceQuery
- Note if upgrading to MongoDB 4.2+:
- If you use MongoServiceDao::findAndModify or a replace document operation that includes upsert: true and is on a sharded collection,
- the filter must include an equality match on the full shard key.
What's Changed
- Major update to Java 11, mongodb-driver-sync 4.10.2 and morphia 2.4.4 by @niallkelly in #27
New Contributors
- @niallkelly made their first contribution in #27
Full Changelog: 5.0.2...6.0.0