Releases: OpenNTF/org.openntf.xsp.jakartaee
3.2.0
What's Changed
- Bump commons-io:commons-io from 2.11.0 to 2.14.0 in /eclipse/tests/it-xsp-jakartaee by @dependabot in #567
- Modify NoSQL IN statement support to use DQL IN (fixes #563) by @jesse-gallagher in #569
- Switch to and document EclipseLink for XML Binding (fixes #568) by @jesse-gallagher in #570
- Add guard for missing context in TransactionContextSetupParticipant (fixes #572) by @jesse-gallagher in #573
Full Changelog: 3.1.0...3.2.0
3.1.0
This release primarily contains bug fixes for issues that cropped up with 3.0.0, but also includes some performance improvements for the NoSQL driver and initial compatibility with Domino 14.5 EAP1.
What's Changed
- Re-bundle MP Rest to fix CDI import (fixes #539) by @jesse-gallagher in #540
- Modify DominoDocumentRepositoryProject to handle Stream -> Optional case (fixes #541) by @jesse-gallagher in #543
- Add support for records in NoSQL, EL, and Pages (fixes #544) by @jesse-gallagher in #545
- Improve record handling in REST, Pages, and XPages (fixes #546) by @jesse-gallagher in #548
- Tweak handling of findExtensions and Metrics CDI contributions (fixes #547) (fixes #542) (fixes #550) by @jesse-gallagher in #551
- Add Provide-Capability to fool SLF4J (fixes #552) by @jesse-gallagher in #553
- Swap order for form name in DQL queries (fixes #556) by @jesse-gallagher in #557
- Make sure an array is passed to DQL.item.contains by @monstermichl in #555
- Add test cases for fixed query IN support by @jesse-gallagher in #558
- Add Jakarta_TempDir and Jakarta_QRPDir notes.ino parameters (fixes #554) by @jesse-gallagher in #560
- Add parameter for JSP DTD scratch directory (fixes #559) by @jesse-gallagher in #561
- Add null/synchronization guards in NSFFacesServlet#destroy (fixes #537) by @jesse-gallagher in #562
New Contributors
- @monstermichl made their first contribution in #555
- @frocentus made their first contribution in #556
Full Changelog: 3.0.0...3.1.0
3.0.0
Version 3.0 brings a move to Jakarta EE 10, which also means a requirement bump to Domino 14 or above. Additionally, the libraries are now consolidated into three and some package names have changed, so NSFs will require some modifications to run with this version.
For an example of migrating existing NSFs, see this commit: 3d9c23f
What's Changed
- Bump org.postgresql:postgresql from 42.5.4 to 42.7.2 in /eclipse/tests/it-xsp-jakartaee by @dependabot in #511
- Add document/db context information to document-conversion exceptions (fixes #517) by @jesse-gallagher in #518
- Set OASFactoryResolver implementation at init (fixes #504) by @jesse-gallagher in #520
- Modify JSON storage to use the field generic type instead of Class (fixes #481) by @jesse-gallagher in #521
- Add workaround for upstream bug in GenericFieldMapping (fixes #482) by @jesse-gallagher in #522
- Move Servlet object context bean to the main CDI bundle (fixes #455) by @jesse-gallagher in #523
- Add redirection for the standard temp dir attribute when not explicitly set (fixes #439) by @jesse-gallagher in #524
- Add support for extensionless JSF mapping (fixes #526) by @jesse-gallagher in #527
- Consolidate XPages libraries (fixes #91) by @jesse-gallagher in #528
- Move components to Jakarta EE 10 (fixes #416) by @jesse-gallagher in #536
Full Changelog: 2.15.0...3.0.0
3.0.0-b4
This release brings consolidation of the many XPages libraries into three:
- org.openntf.xsp.jakartaee.core
- org.openntf.xsp.jakartaee.ui (Pages, Faces, and MVC)
- org.openntf.xsp.microprofile
Since the libraries and the associated plugins have changed, this is a significant breaking change. Additionally, many of the implementation classes have changed their package names to be more consistent with the spec names, and this affects a few NSF-visible utility classes. For example, the NoSQL classes are now prefixed with "org.openntf.xsp.jakarta.nosql" instead of "org.openntf.xsp.nosql", and XPagesValidationUtil is now "org.openntf.xsp.jakarta.validation.XPagesValidationUtil".
For an example of migrating existing NSFs, see this commit: 3d9c23f
3.0.0-b3
This third beta of 3.0.0 brings in changes from the main and develop branches that hadn't yet made it to the 3.x stream.
2.15.0
This release contains bug fixes and a couple new features:
- You can now specify Servlets in WEB-INF/web.xml (as opposed to just via the
@WebServlet
annotation. This is helpful for defining a Servlet when the actual implementation is in a JAR or when following non-annotation-based examples - You can now specify context-param values in WEB-INF/web.xml in the NSF and META-INF/web-fragment.xml in JAR design elements, which will be available to JSP, JSF, JAX-RS,
@WebServlet
-annotated Servlets, and web.xml-defined Servlets - Added
@BooleanStorage
annotation for NoSQL entities to define how boolean values are converted to note items - Added CRUD operations for calendar events to NoSQL, around a few new methods on Repository. This exposes some of the capabilities of NotesCalendar and can be used for, for example, providing an iCalendar feed based on a mail database. To go with that, XPages JEE also re-exports iCal4J as included in the Domino stack for NSF use, though this API is... not smooth
What's Changed
- Modify JAX-RS init guard to catch all Throwables (fixes #488) by @jesse-gallagher in #489
- Add support for specifying context-param in web.xml in an NSF (fixes #469) by @jesse-gallagher in #491
- Add CRUD operations for calendar events to NoSQL repositories (fixes #485) by @jesse-gallagher in #495
- Add @BooleanStorage annotation to control storage of boolean values (fixes #96) (fixes #494) by @jesse-gallagher in #496
- Modify MappingBasedServletFactory to keep a static cache of Servlets and to destroy them as needed (fixes #502) by @jesse-gallagher in #503
- Modify web.xml parsing to use Tomcat's library (Issue #55) (fixes #490) by @jesse-gallagher in #506
- Add ability to specify Servlets in web.xml (Issue #55) by @jesse-gallagher in #507
- Set system property to allow UTF-8 filenames in MimeMultipart (fixes #501) by @jesse-gallagher in #509
Full Changelog: 2.14.0...2.15.0
3.0.0-b2
This second beta release of 3.0.0 brings all specifications up to Jakarta EE 10 and MicroProfile 6.1. Note that this includes some breaking changes:
- The Eclipse feature layout has been simplified to JEE, JEE UI, and MicroProfile - accordingly, it will be safest to completely remove an old version from Domino or Designer before installing this
- For now, the XPages library names remain the same, though these are likely to change in a breaking way in the future
- The Repository concept from Jakarta NoSQL has been split into Jakarta Data, and this brought a number of package and class name changes. Repository-related classes (like Pagination, Sorts, etc.) have moved to
jakarta.data
and sub-packages and have often changed names (toPageable
andSort
, for example). Entity annotations have moved fromjakarta.nosql.mapping
tojakarta.nosql
, but otherwise remain largely the same. Extension classes likeValueReader
moved fromjakarta.nosql
toorg.eclipse.jnosql.communication
- In the future, it is likely that Jakarta Data support in this project will expand to include JPA, but that is not currently implemented
2.14.0
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
2.13.0
This release contains a number of improvements and new features:
- Domino 14 EAP1 compatibility, other than JSP (a known upstream limitation)
- Improvements for working with CDI in OSGi Servlets and Webapps
- A JavaSapi<->NSF bridge, allowing the use of in-NSF code in JavaSapi events (note: JavaSapi is thoroughly unsupported and it's easy to crash your server using it)
- The ability to access profile and named notes in NoSQL
What's Changed
- Adapt to most changes in Domino 14 (Issue #415) by @jesse-gallagher in #429
- Add initial NSF JavaSapi bridge (fixes #421) by @jesse-gallagher in #430
- Add profile and named note support (fixes #410) (fixes #431) by @jesse-gallagher in #432
- Add flag to disable MP Metrics for the NSF (fixes #354) by @jesse-gallagher in #434
- Modify NSFJsfServlet to discard classloaders and the CDI context when the app reloaded (fixes #436) by @jesse-gallagher in #440
- Rework ContainerUtil to use ComponentModule instead of ApplicationEx (fixes #424) by @jesse-gallagher in #441
- Add hook for universal EL value conversion (fixes #435) by @jesse-gallagher in #442
- Modify ServletUtil to cache wrappers for applicable elements in attributes (fixes #346) by @jesse-gallagher in #444
- Modify checks for OSGIModule to look for AbstractOSGIModule (fixes #445) by @jesse-gallagher in #448
- Add CDI resolver for ExtLib beans (fixes #450) by @jesse-gallagher in #451
Full Changelog: 2.12.0...2.13.0
3.0.0-b1
This build is the earliest form of Jakarta EE 10 support, and requires Domino 14.