Skip to content

Commit 66c2940

Browse files
committed
Release changelog for version 2.21.1
1 parent 6c4564a commit 66c2940

File tree

7 files changed

+118
-6
lines changed

7 files changed

+118
-6
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
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+
18+
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}]
19+
== ${release.version}
20+
21+
<#if release.date?has_content>Release date:: ${release.date}</#if>
22+
23+
This release primarily focuses on enhancements to our OSGi and JPMS support and contains several bug fixes.
24+
It will be the first release built and signed by the CI using the https://keyserver.ubuntu.com/pks/lookup?search=077E8893A6DCC33DD4A4D5B256E73BA9A0B592D0&op=index[ASF Logging Services Release Manager GPG key], which is shared in https://www.apache.org/dist/logging/KEYS[KEYS].
25+
26+
The Log4j 2.21.0 API, as well as the other artifacts, maintains binary compatibility with the previous release.
27+
28+
Apache Log4j 2.21.0 requires Java 8 to run.
29+
The build requires JDK 11 and generates reproducible binaries.
30+
31+
For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, get support, or suggestions for improvement, see http://logging.apache.org/log4j/2.x/[the Apache Log4j 2 website].
32+
33+
=== OSGi changes
34+
35+
All the published artifacts are OSGi bundles or fragments.
36+
37+
This release introduces a change in the bundle symbolic names to allow them to function as JPMS module name: all hyphens `-` present in the bundle names of previous releases were replaced by dots `.`.
38+
39+
=== JPMS changes
40+
41+
All the published artifacts have been migrated from automatic modules to named JPMS modules.
42+
All packages marked as private in the Javadoc are not exported.
43+
44+
The module name of four bridges (`log4j-slf4j-impl`, `log4j-slf4j2-impl`, `log4j-to-jul` and `log4j-to-slf4j`) have been changed to adhere to the same convention as the OSGi bundle names.
45+
46+
<#include "../.changelog.adoc.ftl">

src/changelog/2.21.1/.release.xml

Lines changed: 21 additions & 0 deletions
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="http://logging.apache.org/log4j/changelog"
19+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20+
xsi:schemaLocation="http://logging.apache.org/log4j/changelog https://logging.apache.org/log4j/changelog-0.1.0.xsd"
21+
date="2023-10-20" version="2.21.1"/>

src/site/_constants.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
////
3535
3636
:project-github-url: https://github.com/apache/logging-log4j2
37-
:project-version: 2.22.0-SNAPSHOT
37+
:project-version: 2.21.1
3838
:project-name: Log4j
3939
:project-id: log4j
4040
:java-target-version: 8

src/site/_release-notes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
[#release-notes]
3737
= Release Notes
3838
39-
include::_release-notes/_2.x.x.adoc[]
39+
include::_release-notes/_2.21.1.adoc[]
4040
include::_release-notes/_2.21.0.adoc[]
4141
include::_release-notes/_2.20.0.adoc[]
4242
include::_release-notes/_2.19.0.adoc[]

src/site/_release-notes/_2.21.1.adoc

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
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+
18+
[#release-notes-2-21-1]
19+
== 2.21.1
20+
21+
Release date:: 2023-10-20
22+
23+
This release primarily focuses on enhancements to our OSGi and JPMS support and contains several bug fixes.
24+
It will be the first release built and signed by the CI using the https://keyserver.ubuntu.com/pks/lookup?search=077E8893A6DCC33DD4A4D5B256E73BA9A0B592D0&op=index[ASF Logging Services Release Manager GPG key], which is shared in https://www.apache.org/dist/logging/KEYS[KEYS].
25+
26+
The Log4j 2.21.0 API, as well as the other artifacts, maintains binary compatibility with the previous release.
27+
28+
Apache Log4j 2.21.0 requires Java 8 to run.
29+
The build requires JDK 11 and generates reproducible binaries.
30+
31+
For complete information on Apache Log4j 2, including instructions on how to submit bug reports, patches, get support, or suggestions for improvement, see http://logging.apache.org/log4j/2.x/[the Apache Log4j 2 website].
32+
33+
=== OSGi changes
34+
35+
All the published artifacts are OSGi bundles or fragments.
36+
37+
This release introduces a change in the bundle symbolic names to allow them to function as JPMS module name: all hyphens `-` present in the bundle names of previous releases were replaced by dots `.`.
38+
39+
=== JPMS changes
40+
41+
All the published artifacts have been migrated from automatic modules to named JPMS modules.
42+
All packages marked as private in the Javadoc are not exported.
43+
44+
The module name of four bridges (`log4j-slf4j-impl`, `log4j-slf4j2-impl`, `log4j-to-jul` and `log4j-to-slf4j`) have been changed to adhere to the same convention as the OSGi bundle names.
45+
46+
47+
=== Fixed
48+
49+
* Fixes the Apache Commons Logging (JCL) bridge: `log4j-jcl`. (https://github.com/apache/logging-log4j2/issues/1865[1865])

src/site/_release-notes/_2.x.x.adoc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,3 @@ All packages marked as private in the Javadoc are not exported.
4343
4444
The module name of four bridges (`log4j-slf4j-impl`, `log4j-slf4j2-impl`, `log4j-to-jul` and `log4j-to-slf4j`) have been changed to adhere to the same convention as the OSGi bundle names.
4545
46-
47-
=== Fixed
48-
49-
* Fixes the Apache Commons Logging (JCL) bridge: `log4j-jcl`. (https://github.com/apache/logging-log4j2/issues/1865[1865])

0 commit comments

Comments
 (0)