2.14.0
jesse-gallagher
released this
27 Oct 15:32
·
264 commits
to develop
since this release
This release is primarily a bug-fix release, but contains a few new features:
- You can now use
@ItemStorage(type=ItemStorage.Type.JSON)
in NoSQL entities read from view entries. When doing so, it will be important to store the JSON as summary - by default, items written this way will disable the summary flag, but it can be explicitly enabled using@ItemFlags(summary=true)
to let them show up in views - You can now add classes implementing
JAXRSClassContributor
to the NSF to contribute JAX-RS classes, singletons, and properties programmatically. These contributors can be registered with a ServiceLoader file named META-INF/services/org.openntf.xsp.jaxrs.JAXRSClassContributor - JAX-RS status-specific exceptions (
NotSupportedException
,BadRequestException
, etc.) thrown by app code now set the status properly in the response. Previously,NotFoundException
already did this, but the others didn't.
What's Changed
- Modify NoSQL driver to remove items that are in the entity but not in the saving payload (fixes #464) by @jesse-gallagher in #465
- Modify QRP database mod check to skip the server name when it’s local (fixes #461) by @jesse-gallagher in #466
- Modify handling of readViewDocuments with all sorted views (fixes #463) by @jesse-gallagher in #467
- Improve handling of WebApplicationExceptions (fixes #449) by @jesse-gallagher in #470
- Add null check in NSFComponentModuleJavaSapiService (fixes #476) by @jesse-gallagher in #477
- Re-package bundles to avoid over-strictness in the latest JVMs (fixes #475) by @jesse-gallagher in #478
- Add support for reading JSON storage from view entries (fixes #472) by @jesse-gallagher in #480
- Improve handling of JsonObject values in NoSQL mapping (fixes #471) by @jesse-gallagher in #483
- Improve handling of exceptions during JAX-RS init (fixes #484) by @jesse-gallagher in #486
- Add ability to specify JAXRSClassContributors in the NSF (fixes #168) by @jesse-gallagher in #487
Full Changelog: 2.13.0...2.14.0