Skip to content

Commit

Permalink
Prepare release notes for version 2.24.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ppkarwasz committed Nov 18, 2024
1 parent efba2fb commit ae1137b
Show file tree
Hide file tree
Showing 7 changed files with 65 additions and 6 deletions.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -302,11 +302,11 @@
<properties>

<!-- project version -->
<revision>2.24.2-SNAPSHOT</revision>
<revision>2.24.2</revision>
<!-- Versions used on the site: no snapshots! -->
<site-log4j-api.version>2.24.1</site-log4j-api.version>
<site-log4j-core.version>2.24.1</site-log4j-core.version>
<site-log4j-layout-template-json.version>2.24.1</site-log4j-layout-template-json.version>
<site-log4j-api.version>2.24.2</site-log4j-api.version>
<site-log4j-core.version>2.24.2</site-log4j-core.version>
<site-log4j-layout-template-json.version>2.24.2</site-log4j-layout-template-json.version>

<!-- =================
Common properties
Expand Down
11 changes: 10 additions & 1 deletion src/changelog/2.24.1/.release-notes.adoc.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,21 @@
See the License for the specific language governing permissions and
limitations under the License.
////

<#-- @ftlvariable name="release.date" type="java.lang.String" -->
<#-- @ftlvariable name="release.version" type="java.lang.String" -->
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}]
== ${release.version}

<#if release.date?has_content>Release date:: ${release.date}</#if>

[WARNING]
====
Due to a critical bug affecting this release (see
https://github.com/apache/logging-log4j2/issues/3143[#3143])
users are encouraged to upgrade to
${'<<release-notes-2-24-2, version `2.24.2`>>'}.
====

This release contains mainly bug fixes of problems encountered with the thread context map, logger registry and configuration reloading.

It also enhances integration tests to use Docker images of the most recent releases of MongoDB and Elastic Search.
Expand Down
29 changes: 29 additions & 0 deletions src/changelog/2.24.2/.release-notes.adoc.ftl
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
////
Licensed to the Apache Software Foundation (ASF) under one or more
contributor license agreements. See the NOTICE file distributed with
this work for additional information regarding copyright ownership.
The ASF licenses this file to You under the Apache License, Version 2.0
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at

https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
////
<#-- @ftlvariable name="release.date" type="java.lang.String" -->
<#-- @ftlvariable name="release.version" type="java.lang.String" -->
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}]
== ${release.version}

<#if release.date?has_content>Release date:: ${release.date}</#if>

This release fixes a critical bug in Log4j API initialization code, which can cause `LogManager.getLogger()` to return `null` under certain conditions.
See
https://github.com/apache/logging-log4j2/issues/3143[#3143]
for details.

<#include "../.changelog.adoc.ftl">
21 changes: 21 additions & 0 deletions src/changelog/2.24.2/.release.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Licensed to the Apache Software Foundation (ASF) under one or more
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~ The ASF licenses this file to you under the Apache License, Version 2.0
~ (the "License"); you may not use this file except in compliance with
~ the License. You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<release xmlns="https://logging.apache.org/xml/ns"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
date="2024-11-18" version="2.24.2"/>
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
type="fixed">
<issue id="3143" link="https://github.com/apache/logging-log4j2/issues/3143"/>
<description format="asciidoc">
Use hard references to `Logger`s in `LoggerRegistry`.
Use hard references to ``Logger``s in `LoggerRegistry`.
</description>
</entry>

0 comments on commit ae1137b

Please sign in to comment.