Expanders 5.30.0
This release of Expanders is the final push to remove all uses of net.palver.util.Options.Option
in our JEE stack.
Resources
The expansion resources below provide Expanders 5.30.0
.
Resource | Version |
---|---|
Expanders | 5.30.1 |
nsx-default-stack | 2023.14.1 |
rest-jaxrs-stack | 3.23.0 |
Some very specific fixes were made after the release of 5.30.0
itself, hence the discrepancy in versions here. But
this is not relevant for projects that were already on 3.28.0
and use Java 17. But it is best to use the latest
versions anyway.
Changes and improvements
Fully deprecating Options.Option
This last refactoring of Options.Option
to Optional
in the application stack required reworking code across several
projects. Extensive changes were made to nsx-runtime
, Expanders
, base-components
and alerting-component
. We did
manage however to reduce the impact of the changes to a minimum, so most projects will experience little impact from the
migration.
We did choose to introduce a hard breaking change in one location, namely the getProperty()
method of the expanded
<component>ApplicationSettings
class when the option configuration.properties
is added to a component. The use of this option is still fairly limited at this time, so it seemed better to go for some
minor refactoring in those projects that use it, than to add a new method like we did in Context
and SearchResult
.
The Options.Option
class itself will still be available for quite some time, so projects can migrate to Optional
on
their own time, but we do intend to remove it in the future.