Skip to content

Commit

Permalink
Merge pull request #3946 from OpenLiberty/staging
Browse files Browse the repository at this point in the history
Publish 24.0.0.8 GA release post
  • Loading branch information
dmuelle authored Aug 14, 2024
2 parents fe52ca9 + ff08709 commit 5955871
Show file tree
Hide file tree
Showing 12 changed files with 692 additions and 10 deletions.
24 changes: 14 additions & 10 deletions blog_tags.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
"blog_tags": [
{
"name": "announcements",
"posts": ["liberty-developer-essentials-badge", "24.0.0.8-beta",
"posts": ["liberty-developer-essentials-badge",
"24.0.0.8", "24.0.0.8-beta",
"24.0.0.7", "24.0.0.7-beta",
"24.0.0.6", "24.0.0.6-beta",
"24.0.0.5", "24.0.0.5-beta",
Expand Down Expand Up @@ -81,7 +82,8 @@
"featured": "true"
},{
"name": "microprofile",
"posts": ["liberty-developer-essentials-badge",
"posts": ["liberty-on-amazon-ecs",
"24.0.0.8", "liberty-developer-essentials-badge",
"24.0.0.8-beta", "24.0.0.7",
"24.0.0.7-beta", "24.0.0.6-beta",
"24.0.0.4", "open-liberty-with-langchain4j-example",
Expand Down Expand Up @@ -164,7 +166,7 @@
},
{
"name": "release",
"posts": ["24.0.0.8-beta",
"posts": ["24.0.0.8", "24.0.0.8-beta",
"24.0.0.7", "24.0.0.7-beta",
"24.0.0.6", "24.0.0.6-beta",
"24.0.0.5", "24.0.0.5-beta",
Expand Down Expand Up @@ -256,7 +258,8 @@
},
{
"name": "maven",
"posts": ["liberty-developer-essentials-badge", "liberty-user-feature-tutorial",
"posts": ["liberty-on-amazon-ecs",
"liberty-developer-essentials-badge", "liberty-user-feature-tutorial",
"liberty-project-starter-guide-IntelliJ",
"23.0.0.12", "liberty-ide-tools-maven-gradle-plugins-for-java-developers",
"23.0.0.6", "liberty-tools-eclipse-deep-dive",
Expand Down Expand Up @@ -310,7 +313,7 @@
},
{
"name": "docker",
"posts": ["spring-boot-3",
"posts": ["liberty-on-amazon-ecs","spring-boot-3",
"testcontainers-guide", "23.0.0.6",
"23.0.0.4", "23.0.0.2-beta",
"using-liberty-buildpack-on-azure-and-google-cloud", "22.0.0.11-beta",
Expand Down Expand Up @@ -358,7 +361,7 @@
},
{
"name": "jakarta-ee",
"posts": ["liberty-developer-essentials-badge",
"posts": ["24.0.0.8", "liberty-developer-essentials-badge",
"24.0.0.8-beta", "24.0.0.7-beta",
"24.0.0.6-beta", "simplifying-nosql-database-integration-with-jakarta-nosql",
"jakarta-nosql-in-action-meet-jnopo-game",
Expand Down Expand Up @@ -461,7 +464,8 @@
},
{
"name": "developer-experience",
"posts": ["liberty-developer-essentials-badge", "24.0.0.8-beta",
"posts": ["liberty-on-amazon-ecs","24.0.0.8",
"liberty-developer-essentials-badge", "24.0.0.8-beta",
"24.0.0.7", "liberty-user-feature-tutorial",
"liberty-project-starter-guide-IntelliJ", "simplifying-nosql-database-integration-with-jakarta-nosql",
"jakarta-nosql-in-action-meet-jnopo-game", "jakarta-nosql-challenge-switching-nosql-easily",
Expand Down Expand Up @@ -523,7 +527,7 @@
},
{
"name": "monitoring",
"posts": ["24.0.0.8-beta",
"posts": ["24.0.0.8", "24.0.0.8-beta",
"24.0.0.7-beta", "24.0.0.3",
"Primeur", "23.0.0.3",
"tracing-with-microprofile-telemetry", "separate-stack-trace-22008",
Expand All @@ -543,7 +547,7 @@
},
{
"name": "performance-enhancements",
"posts": ["virtual-threads-case-study",
"posts": ["liberty-on-amazon-ecs","virtual-threads-case-study",
"24.0.0.6", "24.0.0.3",
"Java21-Images", "24.0.0.1",
"23.0.0.10-beta", "23.0.0.6",
Expand Down Expand Up @@ -590,7 +594,7 @@
},
{
"name": "java-ee",
"posts": ["24.0.0.8-beta",
"posts": ["24.0.0.8", "24.0.0.8-beta",
"history-maker-projects", "space-sentry-challenge",
"jakarta-ee-9.1-210012", "KevinSutter_MeetTheTeam",
"jakarta-ee-9-1-compatibility", "testing-jakarta-Arquillian-redirect",
Expand Down
Binary file added img/blog/amazon-ec2-target-group-creation.png
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.
Binary file added img/blog/amazon_ecs_hosted_page.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blog/amazon_ecs_scaled_instances.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blog/amazon_ecs_scaling_policy.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/blog/amazon_ecs_service_health.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions posts/2024-06-18-24.0.0.6.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ seo-description: The 24.0.0.6 release introduces the Coordinated Restore at Chec
blog_description: The 24.0.0.6 release introduces the Coordinated Restore at Checkpoint feature, which improves startup times for Spring Boot 3.x applications with Liberty InstantOn. This release also includes InstantOn support for applications that use distributed HTTP session caching and IBM MQ messaging.
open-graph-image: https://openliberty.io/img/twitter_card.jpg
open-graph-image-alt: Open Liberty Logo
blog-available-in-languages:
- lang: ja
path: /ja/blog/2024/06/18/24.0.0.6.html
---
= Faster startup for Spring Boot 3.x applications and more in 24.0.0.6
David Mueller <https://github.com/dmuelle>
Expand Down
193 changes: 193 additions & 0 deletions posts/2024-08-13-24.0.0.8.adoc
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>>.
Loading

0 comments on commit 5955871

Please sign in to comment.