Skip to content

Commit ae1137b

Browse files
committed
Prepare release notes for version 2.24.2
1 parent efba2fb commit ae1137b

7 files changed

+65
-6
lines changed

pom.xml

+4-4
Original file line numberDiff line numberDiff line change
@@ -302,11 +302,11 @@
302302
<properties>
303303

304304
<!-- project version -->
305-
<revision>2.24.2-SNAPSHOT</revision>
305+
<revision>2.24.2</revision>
306306
<!-- Versions used on the site: no snapshots! -->
307-
<site-log4j-api.version>2.24.1</site-log4j-api.version>
308-
<site-log4j-core.version>2.24.1</site-log4j-core.version>
309-
<site-log4j-layout-template-json.version>2.24.1</site-log4j-layout-template-json.version>
307+
<site-log4j-api.version>2.24.2</site-log4j-api.version>
308+
<site-log4j-core.version>2.24.2</site-log4j-core.version>
309+
<site-log4j-layout-template-json.version>2.24.2</site-log4j-layout-template-json.version>
310310

311311
<!-- =================
312312
Common properties

src/changelog/2.24.1/.release-notes.adoc.ftl

+10-1
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,21 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
////
17-
17+
<#-- @ftlvariable name="release.date" type="java.lang.String" -->
18+
<#-- @ftlvariable name="release.version" type="java.lang.String" -->
1819
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}]
1920
== ${release.version}
2021

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

24+
[WARNING]
25+
====
26+
Due to a critical bug affecting this release (see
27+
https://github.com/apache/logging-log4j2/issues/3143[#3143])
28+
users are encouraged to upgrade to
29+
${'<<release-notes-2-24-2, version `2.24.2`>>'}.
30+
====
31+
2332
This release contains mainly bug fixes of problems encountered with the thread context map, logger registry and configuration reloading.
2433

2534
It also enhances integration tests to use Docker images of the most recent releases of MongoDB and Elastic Search.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
////
2+
Licensed to the Apache Software Foundation (ASF) under one or more
3+
contributor license agreements. See the NOTICE file distributed with
4+
this work for additional information regarding copyright ownership.
5+
The ASF licenses this file to You under the Apache License, Version 2.0
6+
(the "License"); you may not use this file except in compliance with
7+
the License. You may obtain a copy of the License at
8+
9+
https://www.apache.org/licenses/LICENSE-2.0
10+
11+
Unless required by applicable law or agreed to in writing, software
12+
distributed under the License is distributed on an "AS IS" BASIS,
13+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
See the License for the specific language governing permissions and
15+
limitations under the License.
16+
////
17+
<#-- @ftlvariable name="release.date" type="java.lang.String" -->
18+
<#-- @ftlvariable name="release.version" type="java.lang.String" -->
19+
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}]
20+
== ${release.version}
21+
22+
<#if release.date?has_content>Release date:: ${release.date}</#if>
23+
24+
This release fixes a critical bug in Log4j API initialization code, which can cause `LogManager.getLogger()` to return `null` under certain conditions.
25+
See
26+
https://github.com/apache/logging-log4j2/issues/3143[#3143]
27+
for details.
28+
29+
<#include "../.changelog.adoc.ftl">

src/changelog/2.24.2/.release.xml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!--
3+
~ Licensed to the Apache Software Foundation (ASF) under one or more
4+
~ contributor license agreements. See the NOTICE file distributed with
5+
~ this work for additional information regarding copyright ownership.
6+
~ The ASF licenses this file to you under the Apache License, Version 2.0
7+
~ (the "License"); you may not use this file except in compliance with
8+
~ the License. You may obtain a copy of the License at
9+
~
10+
~ http://www.apache.org/licenses/LICENSE-2.0
11+
~
12+
~ Unless required by applicable law or agreed to in writing, software
13+
~ distributed under the License is distributed on an "AS IS" BASIS,
14+
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
~ See the License for the specific language governing permissions and
16+
~ limitations under the License.
17+
-->
18+
<release xmlns="https://logging.apache.org/xml/ns"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="https://logging.apache.org/xml/ns https://logging.apache.org/xml/ns/log4j-changelog-0.xsd"
21+
date="2024-11-18" version="2.24.2"/>

src/changelog/.2.x.x/3143_logger_registry.xml src/changelog/2.24.2/3143_logger_registry.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
type="fixed">
66
<issue id="3143" link="https://github.com/apache/logging-log4j2/issues/3143"/>
77
<description format="asciidoc">
8-
Use hard references to `Logger`s in `LoggerRegistry`.
8+
Use hard references to ``Logger``s in `LoggerRegistry`.
99
</description>
1010
</entry>

0 commit comments

Comments
 (0)