-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3946 from OpenLiberty/staging
Publish 24.0.0.8 GA release post
- Loading branch information
Showing
12 changed files
with
692 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,193 @@ | ||
--- | ||
layout: post | ||
title: "Simplify your configuration with versionless features in 24.0.0.8" | ||
# Do NOT change the categories section | ||
categories: blog | ||
author_picture: https://avatars3.githubusercontent.com/dmuelle | ||
author_github: https://github.com/dmuelle | ||
seo-title: Simplify your configuration with versionless features in 24.0.0.8 - OpenLiberty.io | ||
seo-description: This release introduces versionless features for the Jakarta EE, Java EE, and MicroProfile platforms. It also includes updates to eliminate unnecessary audit records. | ||
blog_description: This release introduces versionless features for the Jakarta EE, Java EE, and MicroProfile platforms. It also includes updates to eliminate unnecessary audit records. | ||
open-graph-image: https://openliberty.io/img/twitter_card.jpg | ||
open-graph-image-alt: Open Liberty Logo | ||
--- | ||
= Simplify your configuration with versionless features in 24.0.0.8 | ||
David Mueller <https://github.com/dmuelle> | ||
:imagesdir: / | ||
:url-prefix: | ||
:url-about: / | ||
//Blank line here is necessary before starting the body of the post. | ||
|
||
This release introduces versionless features for the Jakarta EE, Java EE, and MicroProfile platforms. It also includes updates to eliminate unnecessary audit records. | ||
|
||
|
||
In link:{url-about}[Open Liberty] 24.0.0.8: | ||
|
||
* <<versionless, Streamline feature selection with versionless Jakarta EE, Java EE, and MicroProfile features>> | ||
* <<audit, Use the Audit 2.0 feature to avoid generating unnecessary REST Handler records>> | ||
|
||
|
||
|
||
// // // // // // // // | ||
// If there were updates to guides since last release, keep the following, otherwise remove section. | ||
// // // // // // // // | ||
Along with the new features and functions added to the runtime, we’ve also <<guides, added a new guide to using MicroProfile Config>>. | ||
|
||
// // // // // // // // | ||
// In the preceding section: | ||
// Replace the TAG_X with a short label for the feature in lower-case, eg: mp3 | ||
// Replace the FEATURE_1_HEADING with heading the feature section, eg: MicroProfile 3.3 | ||
// Where the updates are grouped as sub-headings under a single heading | ||
// (eg all the features in a MicroProfile release), provide sub-entries in the list; | ||
// eg replace SUB_TAG_1 with mpr, and SUB_FEATURE_1_HEADING with | ||
// Easily determine HTTP headers on outgoing requests (MicroProfile Rest Client 1.4) | ||
// // // // // // // // | ||
|
||
View the list of fixed bugs in link:https://github.com/OpenLiberty/open-liberty/issues?q=label%3Arelease%3A24008+label%3A%22release+bug%22[24.0.0.8]. | ||
|
||
Check out link:{url-prefix}/blog/?search=release&search!=beta[previous Open Liberty GA release blog posts]. | ||
|
||
|
||
[#run] | ||
|
||
// // // // // // // // | ||
// LINKS | ||
// | ||
// OpenLiberty.io site links: | ||
// link:{url-prefix}/guides/maven-intro.html[Maven] | ||
// | ||
// Off-site links: | ||
//link:https://openapi-generator.tech/docs/installation#jar[Download Instructions] | ||
// | ||
// IMAGES | ||
// | ||
// Place images in ./img/blog/ | ||
// Use the syntax: | ||
// image::/img/blog/log4j-rhocp-diagrams/current-problem.png[Logging problem diagram,width=70%,align="center"] | ||
// // // // // // // // | ||
|
||
== Develop and run your apps using 24.0.0.8 | ||
|
||
If you're using link:{url-prefix}/guides/maven-intro.html[Maven], include the following in your `pom.xml` file: | ||
|
||
[source,xml] | ||
---- | ||
<plugin> | ||
<groupId>io.openliberty.tools</groupId> | ||
<artifactId>liberty-maven-plugin</artifactId> | ||
<version>3.10.3</version> | ||
</plugin> | ||
---- | ||
|
||
Or for link:{url-prefix}/guides/gradle-intro.html[Gradle], include the following in your `build.gradle` file: | ||
|
||
[source,gradle] | ||
---- | ||
buildscript { | ||
repositories { | ||
mavenCentral() | ||
} | ||
dependencies { | ||
classpath 'io.openliberty.tools:liberty-gradle-plugin:3.8.3' | ||
} | ||
} | ||
apply plugin: 'liberty' | ||
---- | ||
// // // // // // // // | ||
// In the preceding section: | ||
// Replace the Maven `3.8.2` with the latest version of the plugin: https://search.maven.org/artifact/io.openliberty.tools/liberty-maven-plugin | ||
// Replace the Gradle `3.6.2` with the latest version of the plugin: https://search.maven.org/artifact/io.openliberty.tools/liberty-gradle-plugin | ||
// TODO: Update GHA to automatically do the above. If the maven.org is problematic, then could fallback to using the GH Releases for the plugins | ||
// // // // // // // // | ||
|
||
Or if you're using link:{url-prefix}/docs/latest/container-images.html[container images]: | ||
|
||
[source] | ||
---- | ||
FROM icr.io/appcafe/open-liberty | ||
---- | ||
|
||
Or take a look at our link:{url-prefix}/start/[Downloads page]. | ||
|
||
If you're using link:https://plugins.jetbrains.com/plugin/14856-liberty-tools[IntelliJ IDEA], link:https://marketplace.visualstudio.com/items?itemName=Open-Liberty.liberty-dev-vscode-ext[Visual Studio Code] or link:https://marketplace.eclipse.org/content/liberty-tools[Eclipse IDE], you can also take advantage of our open source link:https://openliberty.io/docs/latest/develop-liberty-tools.html[Liberty developer tools] to enable effective development, testing, debugging and application management all from within your IDE. | ||
|
||
[link=https://stackoverflow.com/tags/open-liberty] | ||
image::img/blog/blog_btn_stack.svg[Ask a question on Stack Overflow, align="center"] | ||
|
||
|
||
|
||
[#versionless] | ||
== Streamline feature selection with versionless Jakarta EE, Java EE, and MicroProfile features | ||
|
||
With Open Liberty, you configure only the features at the specific versions that your application needs. This composable design pattern minimizes runtime resource requirements and accelerates application startup times. However, you might not always know which version of a feature is compatible with the rest of your application configuration. In previous releases, determining the correct version typically required a mix of experimentation, guesswork, and digging deep into feature documentation. In 24.0.0.8 and later, versionless features automate version selection, enabling you to focus on application development without worrying about compatibility issues. | ||
|
||
For example, instead of specifying `servlet-6.0` in your `server.xml` file and having to figure out which other feature versions are compatible with Servlet 6.0, you can specify a platform version and `servlet`. The platform that you specify resolves all versionless features to a compatible version. | ||
|
||
The following `server.xml` file configuration uses a Java EE platform of `javaee-8.0` with associated versionless features that are defined for `servlet`, `jpa`, and `jaxrs`: | ||
|
||
[source,xml] | ||
---- | ||
<!-- Enable features --> | ||
<featureManager> | ||
<platform>javaee-8.0</platform> | ||
<feature>servlet</feature> | ||
<feature>jpa</feature> | ||
<feature>jaxrs</feature> | ||
</featureManager> | ||
---- | ||
|
||
This example enables versionless MicroProfile features with `microProfile-5.0` specified as the platform element: | ||
|
||
[source,xml] | ||
---- | ||
<!-- Enable features --> | ||
<featureManager> | ||
<platform>microProfile-5.0</platform> | ||
<feature>mpHealth</feature> | ||
<feature>mpMetrics</feature> | ||
</featureManager> | ||
---- | ||
|
||
Learn more and check out the full collection of available platforms and versionless features in the link:{url-prefix}/docs/latest/reference/feature/versionless-features.html[Open Liberty docs]. Stay tuned for more versionless features and platforms in future releases. | ||
|
||
// // // // DO NOT MODIFY THIS COMMENT BLOCK <GHA-BLOG-TOPIC> // // // // | ||
// Blog issue: https://github.com/OpenLiberty/open-liberty/issues/29211 | ||
// Contact/Reviewer: wrodrig | ||
// // // // // // // // | ||
|
||
[#audit] | ||
== Use the Audit 2.0 feature to avoid generating unnecessary REST Handler records | ||
|
||
The 24.0.0.8 release introduces the link:{url-prefix}/docs/latest/reference/feature/audit-2.0.html[Audit 2.0 feature] (`audit-2.0`). The feature is designed for users who are not using REST Handler applications. | ||
It provides the same audit records as the Audit 1.0 feature (`audit-1.0`) but it does not generate records for REST Handler applications. | ||
|
||
If you need to keep audit records for REST Handler applications, you can continue to use the Audit 1.0 feature. | ||
|
||
To enable the Audit 2.0 feature in your application, add the following code to your `server.xml` file: | ||
|
||
[source,xml] | ||
---- | ||
<featureManager> | ||
<feature>audit-2.0</feature> | ||
</featureManager> | ||
---- | ||
|
||
|
||
// DO NOT MODIFY THIS LINE. </GHA-BLOG-TOPIC> | ||
|
||
// // // // DO NOT MODIFY THIS COMMENT BLOCK <GHA-BLOG-TOPIC> // // // // | ||
// Blog issue: https://github.com/OpenLiberty/open-liberty/issues/29185 | ||
// Contact/Reviewer: gkwan-ibm | ||
// // // // // // // / | ||
|
||
[#guides] | ||
== New guide: Externalizing environment-specific microservice configuration for CI/CD | ||
|
||
A new guide is available under the link:https://openliberty.io/guides/#configuration[Configuration] category: link:https://openliberty.io/guides/microprofile-config-profile.html[Externalizing environment-specific microservice configuration for CI/CD]. You'll learn how to use MicroProfile Config's configuration profiles to externalize configurations for different phases of the CI/CD lifecycle. | ||
|
||
// DO NOT MODIFY THIS LINE. </GHA-BLOG-TOPIC> | ||
|
||
|
||
== Get Open Liberty 24.0.0.8 now | ||
|
||
Available through <<run,Maven, Gradle, Docker, and as a downloadable archive>>. |
Oops, something went wrong.