Changes in Lyo 6.0.0 can be seen in the Lyo SDK CHANGELOG and LyoDesigner CHANGELOG on Github. Main changes include:
Security
This release does not contain security updates.
Added
- Introducing capability to set the
servletUri
to be used by theOAuthConfiguration
- OSLC PROMCODE domain model and generated POJOs
- Support for additional request headers to
OslcQuery
Changed
- 🧨 Migrated from Java EE (
javax.
namespace) to Jakarta packages - Upgrade to Jersey 3.1.5
- JDK 17 is the new baseline for Eclipse Lyo. The SDK and sample code has
been tested using JDK 17, 21, 23, and 24-ea. - Kotlin 1.9.0 is used;
kotlin-stdlib-jdk8
dependency was replaced withkotlin-stdlib
due to
Kotlin updates. - Allow application to reset the OAuth token cached within the server, when it
deems that it is no longer valid - 🧨 Corrected cardinality and range of the
oslc_config:acceptedBy
property (from
String[0..1] to Resource[0..*]) - Changed scope of dependencies in
oauth-webapp
to avoid inclusion multiple times
during runtime.
Deprecated
This release does not introduce deprecations.
Removed
- 🧨 Support for JDK 11 (and all versions below 17) is removed.
- 🧨 Support for Java EE and Jakarta EE 8 is removed.
Fixed
This release does not contain bug fixes.
Lyo Designer
Added
- Generate for JDK 17 or 11, depending on whether Lyo Version 6.x.x or below is chosen.
Changed
- generate the necessary maven dependencies for domain models that (a) are imported into the adaptor model yet (b) the adaptor is configured to not generate code from imported models. In such scenario, the maven dependency for the domain is necessary.
- Protect initServerProviders() method
- (**Breaking change**🧨) Migrated from Javax to Jakarta packages
- upgrade to Jersey 3.1.5
Removed
- (**Breaking change**🧨) Removed support for JDK 11 (and all versions below 17) in the generated code. **JDK 17 is the new baseline for Eclipse Lyo.** The SDK and sample code has been tested using JDK 17, 20, and 21-ea.
- (**Breaking change**🧨) Removed support for Java EE and Jakarta EE 8 in the generated code.