Skip to content

Releases: eclipse-lyo/lyo

6.0.0.Final Release

29 Sep 16:54
e4a274c
Compare
Choose a tag to compare

This content is a duplicate of

Eclipse Lyo

Security

This release does not contain security updates.

Added

  • Introducing capability to set the servletUri to be used by the OAuthConfiguration
  • 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 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.

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.

Eclipse 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.

6.0.0.CR Release

17 Sep 20:58
d37225c
Compare
Choose a tag to compare
6.0.0.CR Release Pre-release
Pre-release

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
  • OSLC PROMCODE domain model and generated POJOs
  • Support for additional request headers to OslcQuery

Changed

  • 🧨Migrated from Javax to Jakarta packages
  • upgrade to Jersey 3.1.5
  • 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.
  • Migrated from Javax to Jakarta packages, including upgrade to Jersey 3.1.5

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.
  • 🧨 Support for Java EE and Jakarta EE 8 is removed.

Eclipse Lyo Designer

This content is a duplicate of the Lyo Designer Change Log

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.

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

29 Sep 16:54
00fb136
Compare
Choose a tag to compare

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.

5.1.1.Final release

29 Jun 19:33
3c0383b
Compare
Choose a tag to compare

[5.1.1.Final]

This content is a duplicate of the Change Log

Added

  • The OSLC Config domain model was expanded.
  • An OSLC4JUtils::isWellFormed method was added to help check the validity of strings as valid XML literals when the inputs are supposed to be used on properties of the rdf:XMLLiteral type. Warning: this method is quite slow, especially if a resource contains 10s or 100s of such values. We recommend to use this method only in tests.

Changed

  • Consistently save Credentials, Connector & admin_session values under session attribute, in the oauth-core AbstractAdapterCredentialsFilter class.
  • Apache Jena depency was updated from 4.5.0 to 4.8.0 due to CVE-2023-22665.
  • OSLC Domains are based on latest LyoDesigner, and for lyoVersion="5.0.1-SNAPSHOT".
  • The oslc4j-core artifact (group org.eclipse.lyo.oslc4j.core) was refactored, extracting some essential model classes into lyo-core-model and legacy Wink-dependent code into oslc4j-core-wink. This allows to eliminate all dependencies on Wink. Also, applications that don't need oslc4j-core, can eliminate the dependency on JAX-RS by replacing your dependency on oslc4j-core with lyo-core-model. No breaking changes were made.
  • JenaModelHelper was moved to oslc4j-core, while JsonHelper was moved to oslc4j-core-wink. No breaking changes were made, old package names were kept. See #292
  • OSLC4JConstants and OSLC4JUtils were extracted from oslc4j-core to org.eclipse.lyo.oslc4j.server:lyo-core-settings as they are only useful in the JAX-RS server-side scenarios. No breaking changes were made, because oslc4j-core still depends on the newly introduced artifact.

Deprecated

  • The newly refactored artifact oslc4j-core-wink is deprecated.

Removed

Fixed

  • A regression is fixed where org.eclipse.lyo.oslc4j.provider.jena.OslcRdfXmlProvider could try to unmarshal an Array or a Collection, which would interfere with the application of the suitable providers when the RDF input is correct.
  • PR 260 fixed the bug in ResourcePackages.getMostConcreteClassOf that could trigger the error "Multiple classes, not in the same inheritance tree, are annotated to map the same RDF:type".

Lyo 5.1.0

29 Jun 10:56
dccaf42
Compare
Choose a tag to compare

[5.1.0] - YANKED

The release was yanked due to a problem with the publication of release artifacts to Maven Central. Please use 5.1.1.Final instead.

Lyo 5.0.0

10 May 21:05
Compare
Choose a tag to compare

[5.0.0]

Added

  • LyoStore: Providing a system property OSLC4JUtils.hasLyoStorePagingPreciseLimit() to allow the application to check whether query paging should return an exact number of elements in a paged query, or not (OSLC4JConstants.LYO_STORE_PAGING_PRECISE_LIMIT).
  • SRI hashes for JS libraries.

Changed

  • Addresses a security vulnerability (CVE-2021-41042), which could lead to external resource loading using a maliciously crafted RDF/XML input.
  • 🧨 Lyo is now built using JDK 11
  • 🧨 Jena is upgraded to 4.5.0 (addresses CVE-2022-28890)
    • Jena renamed RDFReader/RDFWriter to RDFReaderI/RDFWriterI
  • 🧨 TRS now uses BigInteger instead of 32-bit ints for trs:order properties, in line with the spec.
  • LyoStore: Ordering resources by their subject IDs when doing a query to store. This ordering can be disabled with a call to OSLC4JUtils.setLyoStorePagingUnsafe(true)
  • LyoStore: OSLC4JUtils.hasLyoStorePagingPreciseLimit() will return true by default. Call OSLC4JUtils.setLyoStorePagingPreciseLimit(false) to restore the old behavior.
  • oslc4j-json4j-provider uses wink-json4j version 1.4 instead of 1.2.1-incubating.
    -oauth - allow for the possibility to set the official servlet URL for all oauth requests being made. This is important to set correctly to compute the digital signature.
  • OslcQueryResult will now rethrow any encountered exceptions wrapped in a LyoModelException instead of throwing a blanked IllegalStateException.

Deprecated

  • IQueryGenerator is deprecated and will be removed in Lyo 6

Removed

  • 🧨 Support for JDK 8 was removed
  • 🧨 oslc-java-client was removed
  • lyo-validation temporarily removed from the build
  • oslc4j-wink was removed
  • oslc4j-registry was removed
  • Store support for direct TDB1 backend was removed. You can still create a SPARQL query executor over an in-mem TDB1 dataset: new DatasetQueryExecutorImpl(TDBFactory.createDataset()).
  • TrsUtil.historyDataToChangeEvent (deprecated since 4.0) was removed and replaced with changeEventToHistoryData. Despite the name, the historyDataToChangeEvent was doing round-tripping between HistoryData and ChangeEvent in both directions.

Fixed

  • Stack traces are no longer printed from OAuth services.

v5.0.0.CR

06 May 15:34
c9b03f4
Compare
Choose a tag to compare
v5.0.0.CR Pre-release
Pre-release

Added

  • LyoStore: Providing a system property OSLC4JUtils.hasLyoStorePagingPreciseLimit() to allow the application to check whether query paging should return an exact number of elements in a paged query, or not (OSLC4JConstants.LYO_STORE_PAGING_PRECISE_LIMIT).

Changed

  • 🧨 Lyo is now built using JDK 11
  • 🧨 Jena is upgraded to 4.5.0 (addresses CVE-2022-28890)
    • Jena renamed RDFReader/RDFWriter to RDFReaderI/RDFWriterI
  • 🧨 TRS now uses BigInteger instead of 32-bit ints for trs:order properties, in line with the spec.
  • LyoStore: Ordering resources by their subject IDs when doing a query to store. This ordering can be disabled with a call to OSLC4JUtils.setLyoStorePagingUnsafe(true)
  • LyoStore: OSLC4JUtils.hasLyoStorePagingPreciseLimit() will return true by default. Call OSLC4JUtils.setLyoStorePagingPreciseLimit(false) to restore the old behavior.
  • oslc4j-json4j-provider uses wink-json4j version 1.4 instead of 1.2.1-incubating.
    -oauth - allow for the possibility to set the official servlet URL for all oauth requests being made. This is important to set correctly to compute the digital signature.

Deprecated

  • IQueryGenerator is deprecated and will be removed in Lyo 6

Removed

  • 🧨 Support for JDK 8 was removed
  • 🧨 oslc-java-client was removed
  • lyo-validation temporarily removed from the build
  • oslc4j-wink was removed
  • oslc4j-registry was removed
  • Store support for direct TDB1 backend was removed. You can still create a SPARQL query executor over an in-mem TDB1 dataset: new DatasetQueryExecutorImpl(TDBFactory.createDataset()).

Full Changelog: v5.0.0.alpha4...v5.0.0.CR

v5.0.0.alpha4

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

What's Changed

Full Changelog: v5.0.0.alpha3...v5.0.0.alpha4

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