Releases: eclipse-lyo/lyo
7.0.0.Alpha2
Security
- 🔒️ Apache Jena dependency was updated from v4.8 to v4.10. Some changes have a breaking nature. Addresses CVE-2023-32200
Added
This release does not contain new features.
Changed
This release does not contain other significant changes.
Deprecated
This release does not introduce deprecations.
Removed
- Dependency to deprecated oslc4j-json4j-provider
Fixed
- Client now picks the correct ResponseInfo object when an OSLC Query response contains multiple ResponseInfo objects.
7.0.0.Alpha1
Security
This release does not contain security updates.
Added
This release does not contain new features.
Changed
This release does not contain other significant changes.
Deprecated
This release does not introduce deprecations.
Removed
- Dependency to deprecated oslc4j-json4j-provider
Fixed
- Client now picks the correct ResponseInfo object when an OSLC Query response contains multiple ResponseInfo objects.
6.0.0.Final Release
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 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 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
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 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.
- 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
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 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.
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 withLYO_BASEURL
. To override the Base URL of the adaptor, use thebaseurl
property. This release makes the use of this property consistent and check theLYO_BASEURL
environment variable instead ofLYO_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
[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 therdf: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 (grouporg.eclipse.lyo.oslc4j.core
) was refactored, extracting some essential model classes intolyo-core-model
and legacy Wink-dependent code intooslc4j-core-wink
. This allows to eliminate all dependencies on Wink. Also, applications that don't needoslc4j-core
, can eliminate the dependency on JAX-RS by replacing your dependency onoslc4j-core
withlyo-core-model
. No breaking changes were made. JenaModelHelper
was moved tooslc4j-core
, whileJsonHelper
was moved tooslc4j-core-wink
. No breaking changes were made, old package names were kept. See #292OSLC4JConstants
andOSLC4JUtils
were extracted fromoslc4j-core
toorg.eclipse.lyo.oslc4j.server:lyo-core-settings
as they are only useful in the JAX-RS server-side scenarios. No breaking changes were made, becauseoslc4j-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
[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
[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
toRDFReaderI/RDFWriterI
- Jena renamed
- 🧨 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. CallOSLC4JUtils.setLyoStorePagingPreciseLimit(false)
to restore the old behavior. oslc4j-json4j-provider
useswink-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 aLyoModelException
instead of throwing a blankedIllegalStateException
.
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 buildoslc4j-wink
was removedoslc4j-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 withchangeEventToHistoryData
. Despite the name, thehistoryDataToChangeEvent
was doing round-tripping betweenHistoryData
andChangeEvent
in both directions.
Fixed
- Stack traces are no longer printed from OAuth services.
v5.0.0.CR
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
toRDFReaderI/RDFWriterI
- Jena renamed
- 🧨 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. CallOSLC4JUtils.setLyoStorePagingPreciseLimit(false)
to restore the old behavior. oslc4j-json4j-provider
useswink-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 buildoslc4j-wink
was removedoslc4j-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
What's Changed
- Upgrade to Jena 4.3.2 by @berezovskyi in #237
- Ordering resources by their subject IDs when doing a query to store. by @jadelkhoury in #239
- Adding OSLC4JConstants#LYO_STORE_PAGING_UNSAFE to disable/enable ordering by @jadelkhoury in #240
- Switch to Jena 4.4.0 by @berezovskyi in #241
- Revert "Switch to Jena 4.4.0" by @berezovskyi in #242
- Switch to Jena 4.4.0 2nd attempt by @berezovskyi in #243
- 🧨 Remove TDB1 and in-mem Store support by @berezovskyi in #244
- Deprecate IQueryGenerator by @berezovskyi in #245
Full Changelog: v5.0.0.alpha3...v5.0.0.alpha4