Lyo 2.4.0 release notes 🎉

Short summary

Migration to Github is complete; Lyo now supports JSON-LD and Turtle; Lyo Designer generates OpenAPI/Swagger docs and adds modelling support for SHACL shapes. Lyo 2.4 is expected to be the last 2.x release. We also make a switch to a better changelog convention.

:sparkles: Added

  • JSON-LD support has been added to Lyo Core. Thanks to Ricardo Javier Herrera Ledesma from Koneksys for his effort!
  • Lyo Designer now allows modelling SHACL shapes. Code generation of SHACL shapes has not been implemented yet. If this is something you need, get in touch! Thanks to Yash Khatri from SCANIA for this contribution.
  • Lyo Designer now allows to generate OpenAPI/Swagger documentation for your OSLC Server; see the details below. Thanks to Jad El-khoury and SCANIA for this contribution.
  • Turtle support is now turned on by default in Lyo Designer for the generated code.
  • Support for OSLC Query has been added to Lyo Store. Thanks to Jad El-khoury and SCANIA for this contribution.
  • OpenJDK 11 has been added to the test matrix for most repos. JDK 11 is not yet supported officially, however.
  • A lyo repository has been added to manage all cross-cutting issues that span multiple repos.
  • Kotlin is now used for unit tests in Lyo Core.

Swagger Docs

To begin generating docs yourself, head over to the page on Lyo wiki.

:fire: Changed

  • Lyo Core now depends on Jena 3.6 (Lyo 2.3 depends on Jena 3.0.1 and that was a breaking change). This was needed to add support for JSON-LD.
  • Lyo Designer no longer alters your identifiers. Shapes using spaces in their titles are affected.
  • Lyo Designer now relies on Sirius 5. No breaking changes to the functionality of Lyo Designer have been introduced as a result of this change.
  • Lyo Validation is not a part of this release in order to preserve the Type B (full IP check). Its dependencies have only passed Type A (license checks only) from the Eclipse IP team. Version 0.2.0.RC is published along this release but is not part of it. Validation has also changed its group ID as part of the process.
  • All repos have been migrated over to Github. You can get an overview of all projects here.
  • As part of the migration, the folder layout has been updated to use the same directory names as the artefact IDs.
  • The following artefacts have been moved across repositories:

Other changes

:wave: Deprecated

  • HTML-related methods in the resource classes. Generator will not produce them in the next major version of Lyo.
  • Wink support is deprecated and will be replaced with Jersey in the next major release
  • Perl client is no longer maintained and will be removed in the next major release

:wastebasket: Removed

No removals were done that materially affect the artefacts that are part of the release. Lyo 2.4.0 versioning adheres to Semantic Versioning 2.0.0 (but earlier 2.x releases of Lyo have introduced certain braking changes, such as the upgrade to Jena 3 in Lyo 2.3).

Bug 532688 removes support for Window Name protocol for Delegated UI communication. The feature has been broken at least since 2.1.0 and contained potential security vulnerability as reported by Rahul Singh (IBM). IE11+ and all modern browsers support the Post Message protocol. NB! If you are still using Window Name protocol, get in touch (details are at the bottom).

Lyo Designer 2.4 no longer supports Eclipse Neon (released on June 22, 2016) and older releases.

Most of the sample code have been moved to the OSLC/lyo-samples repository. Note that the sample code has not been part of the released artefacts previously.

:ant: Fixed

Core

Client

Designer

Store

Validation

:closed_lock_with_key: Security

A potential XSS vulnerability in the OSLC Creation and Selection dialogs have been fixed in Bug 532687. Thanks to Rahul Singh from IBM for disclosure. Also, there was a potential XSS vulnerability in the broken Window Name protocol implementation; the support for it has been removed as described above.

🙋 Get in touch

We value you feedback! The best place to share it is the Lyo forum on the open-services.net but a few other places work as well (though we are in process of winding most of them down)! You are also welcome to comment on Lyo 4.0 roadmap draft!

Lyo no longer uses Eclipse Bugzilla for issue management. Please file any issues directly on the Github repositories.

Other information

Release date: 2018-11-25 (release review approved on 2018-11-21).

2 Likes

Team deserves a big thank for successful release. :slight_smile:

1 Like