Skip to content

Releases: eclipse-lyo/lyo

v5.0.0.alpha3

12 Feb 14:45
Compare
Choose a tag to compare
v5.0.0.alpha3 Pre-release
Pre-release

What's Changed

  • Adding dcterms:description and dcterms:title property shapes where the valueType is String instead of XmlLiteral. by @jadelkhoury in #227

Full Changelog: v5.0.0.alpha2...v5.0.0.alpha3

v5.0.0.alpha2

12 Feb 14:44
Compare
Choose a tag to compare
v5.0.0.alpha2 Pre-release
Pre-release

v5.0.0.alpha1

12 Feb 14:43
Compare
Choose a tag to compare
v5.0.0.alpha1 Pre-release
Pre-release

What's Changed

Full Changelog: v4.1.0...v5.0.0.alpha1

Lyo 4.1.0

23 Dec 18:30
bdac27f
Compare
Choose a tag to compare

Added

  • [Core] Add a oslc:name and dcterms:description attributes to the ResourceShape class so that such information can appear in the shape documentation.
  • [Core] Allow a resource shape to have a property to be represented as "inlined".
  • [Domains] Add org.eclipse.lyo.domains:ui-classes module with POJOs needed by lyo.oslc-ui.
  • [UI] Support for displaying inlined properties as links.
  • [Store] Add interface support for closing the Store cleanly and releasing underlying connections.
  • [Store] SparqlStoreImpl can now be set up with a custom query executor.

Changed

  • [Store] For update requests, avoid creating a String out of the SPARQL query. This is very inefficient for large queries.
  • [Validation] Update SHaclEX from 0.0.87 to 0.1.102 (mainly due to Bintray shutdown; breaking change but should not affect the consumers of Lyo Validation).
    • SHaclEX 0.1.102 depends on Jena 3.16, which requires us to upgrade.
    • Lyo Validation returns more messages in the reports. Make sure your code logic scans all messages the report if you are looking for a specific error.
  • Update Kotlin from 1.4.20 to 1.5.10
  • Update Eclipse Paho from 1.2.1 to 1.2.5 due to a potential security vulnerability.
  • Pin libthrift version to 0.14.1 due to a vulnerability.
  • Pin httpclient version to 4.5.13 due to a vulnerability.
  • Pin embedded Tomcat version (pulled in by Jena) to 8.5.66 due to CVE-2021-25329.

Deprecated

N/A

Removed

  • All references to HTTP-only repos due to a change in Maven 3.8.1

Fixed

  • [Client] Support for Configuration Management was first added in 2.4 and was accidentally removed during the monorepo migration and the 4.0 release. PR #205 adds this support back. Thanks to @isccarrasco!
  • [TRS] Fix a few issues around rdf:nil handling in the TRS Client.
  • Make sure every Lyo dependency uses the same version of Guava (30.0).

https://github.com/eclipse/lyo/blob/v4.1.0/CHANGELOG.md#410

4.1.0 Release Candidate

29 Nov 22:28
fac4a39
Compare
Choose a tag to compare
Pre-release

What's Changed

New Contributors

Full Changelog: v4.0.0...v4.1.0.RC

Eclipse Lyo 4.1.0.M1

13 Oct 16:32
Compare
Choose a tag to compare

Eclipse Lyo 4.0.0

18 Dec 00:12
37df783
Compare
Choose a tag to compare

Major changes

  • EPL 2.0 license upgrade
  • Maven Central deployment
  • JAX-RS 2.0 upgrade and removal of Wink dependencies
  • New OSLC Client
  • Many updates to Lyo Designer, including RootServices, OAuth, TRS, and a standalone IDE.

Overall

  • Switch from EPL-1.0 OR BSD-3-Clause license (and in some cases only EPL-1.0) to EPL-2.0 OR BSD-3-Clause for all library code and BSD-3-Clause for the generated code. EPL still gives you patent protection if you choose so but generated code now does not contain any mention of EPL "mild" copyleft license and should make it easy for you to get the code included in your project or relicense it under another OSS license (not a legal advice).
  • Switch from deep code scanning release process (Type B) to lightweight deep license check process (Type A). Great reduction in time overhead.
  • Monorepo migration. Will help us to make milestone/RC releases in a single pull request among other things. Also, version mismatches should not occur any more thanks to a single parent and generation of the Dependency Convergence reports via Maven.
  • Lyo is now on Maven Central!

Core

  • Wink is now removed from the critical path and Lyo has upgaded from JAX-RS 1.1 to JAX-RS 2.0. Apache has retired Wink to attic more than 5 years ago and it had some bespoke APIs. This is the main breaking change.

Domains

  • Domain classes are now generated via a Lyo Designer model and are up to date with the OSLC specs.

Client

  • New client written using JAX-RS API (as well as some necessary dependencies on Jersey client and Apache HttpClient directly, unfortunately) is here! The reason is that Wink client was not JAX-RS based at all and this was the most troublesome part of the migration.
  • Single interface for OAuth and non-OAuth clients.
  • Old client is deprecated but still shipped in case you need to use it. Using the old client inside the new JAX-RS based OSLC Server is strongly discouraged. The recommended use-case is a standalone Java SE app (due to a potential JAX-RS 1.1 and JAX-2.0 conflict)
  • Old client's domain classes are extracted into a separate package (in a rare case you need to use them from the new client) and marked deprecated (you should give the new domains package a try!).

Designer

  • LyoDesigner is now available as a stand-alone Eclipse RCP (Rich Client Platform) application
  • Support for the generation of complete maven projects (including project files).
  • Improve modelling & generation for resource C.R.U.D. operations.
  • Modelling and generation support for authentication, rootservices, OAuth1.0
  • Modelling and generation support for Lyo.store
  • Modelling and generation support for In-memory TRS
  • Automated support for swagger documentation
  • Support for an embedded Swagger-ui Editor.
  • OSLC4J Core & Client available as osgi bundles

Validation

  • Due to a change in license check policy, we can now release the Lyo Validation library for OSLC Shape and SHACL validation. 🎉 This was not possible before due to the IP review delay of nearly 100 Scala dependencies.

Sample code

Lyo 4.0.0 Release Candidate

08 Dec 12:27
Compare
Choose a tag to compare
Pre-release

Major changes

  • EPL 2.0 license upgrade
  • Maven Central deployment
  • JAX-RS 2.0 upgrade and removal of Wink dependencies
  • New OSLC Client
  • Many updates to Lyo Designer, including RootServices, OAuth, TRS, and a standalone IDE.

Overall

  • Switch from EPL-1.0 OR BSD-3-Simple license (and in some cases only EPL-1.0) to EPL-2.0 OR BSD-3-Simple for all library code and BSD-3-Simple for the generated code. EPL still gives you patent protection if you choose so but generated code now does not contain any mention of EPL "mild" copyleft license and should make it easy for you to get the code included in your project or relicense it under another OSS license (not a legal advice).
  • Switch from deep code scanning release process (Type B) to lightweight deep license check process (Type A). Great reduction in time overhead.
  • Monorepo migration. Will help us to make milestone/RC releases in a single pull request among other things. Also, version mismatches should not occur any more thanks to a single parent and generation of the Dependency Convergence reports via Maven.
  • Lyo is now on Maven Central!

Core

  • Wink is now removed from the critical path and Lyo has upgaded from JAX-RS 1.1 to JAX-RS 2.0. Apache has retired Wink to attic more than 5 years ago and it had some bespoke APIs. This is the main breaking change.

Domains

  • Domain classes are now generated via a Lyo Designer model and are up to date with the OSLC specs.

Client

  • New client written using JAX-RS API (as well as some necessary dependencies on Jersey client and Apache HttpClient directly, unfortunately) is here! The reason is that Wink client was not JAX-RS based at all and this was the most troublesome part of the migration.
  • Single interface for OAuth and non-OAuth clients.
  • Old client is deprecated but still shipped in case you need to use it. Using the old client inside the new JAX-RS based OSLC Server is strongly discouraged. The recommended use-case is a standalone Java SE app (due to a potential JAX-RS 1.1 and JAX-2.0 conflict)
  • Old client's domain classes are extracted into a separate package (in a rare case you need to use them from the new client) and marked deprecated (you should give the new domains package a try!).

Designer

  • LyoDesigner is now available as a stand-alone Eclipse RCP (Rich Client Platform) application
  • Support for the generation of complete maven projects (including project files).
  • Improve modelling & generation for resource C.R.U.D. operations.
  • Modelling and generation support for authentication, rootservices, OAuth1.0
  • Modelling and generation support for Lyo.store
  • Modelling and generation support for In-memory TRS
  • Automated support for swagger documentation
  • Support for an embedded Swagger-ui Editor.
  • OSLC4J Core & Client available as osgi bundles

Validation

  • Due to a change in license check policy, we can now release the Lyo Validation library for OSLC Shape and SHACL validation. 🎉 This was not possible before due to the IP review delay of nearly 100 Scala dependencies.

Sample code