Skip to content

6.0.0.Alpha1 (Lyo) & 6.0.0.Alpha2 (LyoDesigner) release

Pre-release
Pre-release
Compare
Choose a tag to compare
@jadelkhoury jadelkhoury released this 29 Sep 16:54
· 143 commits to master since this release
00fb136

Eclipse Lyo

This content is a duplicate of the Lyo Change Log

Added

  • Introducing capability to set the servletUri to be used by the OAuthConfiguration

Changed

  • Kotlin 1.9.0 is used; kotlin-stdlib-jdk8 dependency was replaced with kotlin-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.

Removed

  • 🧨 Support for JDK 11 (and all versions below 17) is removed. JDK 17 is the new baseline for Eclipse Lyo. The SDK and sample code has been tested using JDK 17, 20, and 21-ea.

Eclipse Lyo Designer

This content is a duplicate of the Lyo Designer Change Log

Added

  • added an optional "additionalConstraints" multi-line text attribute on Resources and ResourceProperties. The semantics of these properties This results in no code generation changes.
  • Introducing a user setting that allows one to view Shapes or Vocabularies terms in the Specification models.
  • Creating a common library that defines the relation between domains and vocab.
  • Introducing User Preferences through a Windows->Preferences page. Specifically, the current settings allow user to choose whether Domain Specifications should show Vocabulary or Shape terms.
  • 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.

  • LYO_BASE is replaced with LYO_BASEURL. To override the Base URL of the adaptor, use the baseurl property. This release makes the use of this property consistent and check the LYO_BASEURL environment variable instead of LYO_BASE.

  • Upgraded the frontend libraries from Bootstrap v4.0.0-beta to v4.2.1.

  • Replaced class methods with instead methods on the ResourcesFactory class.

  • Building Lyodesigner based on Eclipse 2022-03, and the corresponding versions of Sirius and Acceleo.

  • Using depedency injection for Manager, Store and TRS classes

  • Provide flexibility to for Store properties to be set via the Environment.

  • Changing the way Resource and ResourceProperty items are represented in dialogs. We include prefixes to make their identification easier.

  • Protect initServerProviders() method

Deprecated

Removed

  • The CSS and JS assets from Bootstrap are no longer bundled. The following files should be removed from the generated codebase:
    • src/main/webapp/static/css/bootstrap-4.0.0-beta.min.css
    • src/main/webapp/static/js/bootstrap-4.0.0-beta.min.js
    • src/main/webapp/static/js/jquery-3.2.1.min.js
    • src/main/webapp/static/js/popper-1.11.0.min.js

Fixed

  • Deprecated properties no longer cause errors when validating.
  • generating PackageInfo schema annotations in the correct packages/folders where the resource classes are defined.