Skip to content

Commit 5c41c01

Browse files
committed
Improve release notes
1 parent d6d9626 commit 5c41c01

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+179
-2
lines changed

src/changelog/.changelog.adoc.ftl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
<#if entriesByType?size gt 0>
1818
<#list entriesByType as entryType, entries>
1919

20+
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}-${entryType?capitalize}]
2021
=== ${entryType?capitalize}
2122

2223
<#list entries as entry>

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,19 @@
2020

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

23-
This releases contains bug fixes addressing issues in the JPMS & OSGi infrastructure overhauled in `2.21.0`, dependency updates, and some other minor fixes and improvements.
23+
:cyclonedx-sbom-link: https://cyclonedx.org/capabilities/sbom/[CycloneDX Software Bill of Materials (SBOM)]
24+
:cyclonedx-vdr-link: https://cyclonedx.org/capabilities/vdr[CycloneDX Vulnerability Disclosure Report (VDR)]
25+
26+
This releases provides a {cyclonedx-sbom-link} along with each artifact and contains bug fixes addressing issues in the JPMS & OSGi infrastructure overhauled in `2.21.0`, dependency updates, and some other minor fixes and improvements.
27+
28+
[#release-notes-${release.version?replace("[^a-zA-Z0-9]", "-", "r")}-sbom]
29+
=== CycloneDX Software Bill of Materials (SBOM)
30+
31+
This is _the first Log4j release_ that provides a {cyclonedx-sbom-link} along with each artifact.
32+
Generated SBOMs are attached as artifacts with `cyclonedx` classifier and XML extensions, that is, `<artifactId>-<version>-cyclonedx.xml`.
33+
They contain `vulnerability-assertion` references to a {cyclonedx-vdr-link} that Apache Logging Services uses for all projects it maintains.
34+
This VDR is accessible through the following URL: https://logging.apache.org/cyclonedx/vdr.xml[]
35+
36+
SBOM generation is streamlined by `logging-parent`, see https://logging.apache.org/logging-parent/latest/#cyclonedx-sbom[its website] for details.
2437

2538
<#include "../.changelog.adoc.ftl">

src/site/_release-notes/_2.0-alpha1.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,12 @@
3939
Release date:: 2012-07-29
4040
4141
42+
[#release-notes-2-0-alpha1-Added]
4243
=== Added
4344
4445
* Added ability to filter on the AppenderRef by adding either a level or a filter. (https://issues.apache.org/jira/browse/LOG4J2-60[LOG4J2-60])
4546
47+
[#release-notes-2-0-alpha1-Fixed]
4648
=== Fixed
4749
4850
* Make sure all application facing log methods use their own FQCN. This patch resolves a unit test failure for the %C pattern when using the Category logger. (https://issues.apache.org/jira/browse/LOG4J2-50[LOG4J2-50])

src/site/_release-notes/_2.0-alpha2.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@
3939
Release date:: 2012-08-24
4040
4141
42+
[#release-notes-2-0-alpha2-Added]
4243
=== Added
4344
4445
* Allow components besides core to create a PluginMap for faster plugin loading and not having to specify the plugin package in the configuration. (https://issues.apache.org/jira/browse/LOG4J2-67[LOG4J2-67])
4546
* Add support for formatting using String.format(). (https://issues.apache.org/jira/browse/LOG4J2-68[LOG4J2-68])
4647
* Allow Flume agents to be embedded into the Flume Appender. (https://issues.apache.org/jira/browse/LOG4J2-69[LOG4J2-69])
4748
* Add getLogger(Class) to LogManager. (https://issues.apache.org/jira/browse/LOG4J2-70[LOG4J2-70])
4849
50+
[#release-notes-2-0-alpha2-Fixed]
4951
=== Fixed
5052
5153
* Fix compilation problems in Java 7. (https://issues.apache.org/jira/browse/LOG4J2-64[LOG4J2-64])

src/site/_release-notes/_2.0-beta1.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,17 @@
3939
Release date:: 2012-09-18
4040
4141
42+
[#release-notes-2-0-beta1-Added]
4243
=== Added
4344
4445
* Added AsynchAppender.
4546
47+
[#release-notes-2-0-beta1-Changed]
4648
=== Changed
4749
4850
* Update the versions of SLF4J and Logback.
4951
52+
[#release-notes-2-0-beta1-Fixed]
5053
=== Fixed
5154
5255
* Created web module to allow web applications to include the Log4j context listener in WEB-INF/lib even if Log4j is in the container's class path. Allow locating the LoggerContext to include the ClassLoader. Updated the Loader utility to always choose the child ClassLoader. Verified in Jboss 5 and Tomcat.

src/site/_release-notes/_2.0-beta2.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
Release date:: 2012-10-07
4040
4141
42+
[#release-notes-2-0-beta2-Added]
4243
=== Added
4344
4445
* Add getFormats to MultiformatMessage and allow StructuredDataMessage to format as XML.
@@ -49,10 +50,12 @@ Release date:: 2012-10-07
4950
* If system property "disableThreadContextMap" is set puts to the ThreadContext will be ignored. If system property "disableThreadContext" is set both puts and pushes will be ignored. (https://issues.apache.org/jira/browse/LOG4J2-83[LOG4J2-83])
5051
* If system property "disableThreadContextStack" is set pushes to the ThreadContext will be ignored. If system property "disableThreadContext" is set both puts and pushes will be ignored. (https://issues.apache.org/jira/browse/LOG4J2-84[LOG4J2-84])
5152
53+
[#release-notes-2-0-beta2-Changed]
5254
=== Changed
5355
5456
* Made ParameterizedMessage, StringFormattedMessage and ThreadDumpMessage immutable. LocalizedMessage is immutable except that it will be updated with the logger name when it is added to the LogEvent.
5557
58+
[#release-notes-2-0-beta2-Fixed]
5659
=== Fixed
5760
5861
* DefaultConfiguration was not starting the Console Appender.

src/site/_release-notes/_2.0-beta3.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@
3939
Release date:: 2012-11-11
4040
4141
42+
[#release-notes-2-0-beta3-Added]
4243
=== Added
4344
4445
* Added PropertiesRewritePolicy and ability to define properties on a Logger. (https://issues.apache.org/jira/browse/LOG4J2-28[LOG4J2-28])
4546
* Added ability to configure from an InputSource. (https://issues.apache.org/jira/browse/LOG4J2-55[LOG4J2-55])
4647
48+
[#release-notes-2-0-beta3-Changed]
4749
=== Changed
4850
4951
* Created combined jar to combine API and Core contents for users who only want the Log4j implementation.
@@ -52,6 +54,7 @@ Release date:: 2012-11-11
5254
* Add ThreadContext.push(String format, Object... args) (https://issues.apache.org/jira/browse/LOG4J2-85[LOG4J2-85])
5355
* Build pdf of user's guide. (https://issues.apache.org/jira/browse/LOG4J2-87[LOG4J2-87])
5456
57+
[#release-notes-2-0-beta3-Fixed]
5558
=== Fixed
5659
5760
* Avoid NPE when duplicate LoggerContextFactorys are present. Allow factories to specify a weight to allow real implementations to outrank test implementations. Provide a simple default LoggerContextFactory.

src/site/_release-notes/_2.0-beta4.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
Release date:: 2013-01-28
4040
4141
42+
[#release-notes-2-0-beta4-Added]
4243
=== Added
4344
4445
* Add MessageFormatMessage and FormattedMessage.
@@ -49,13 +50,15 @@ Release date:: 2013-01-28
4950
* Allow custom message creation via a message factory. (https://issues.apache.org/jira/browse/LOG4J2-133[LOG4J2-133])
5051
* Use %red, %white, %blue, and so on in the console appender. (https://issues.apache.org/jira/browse/LOG4J2-134[LOG4J2-134])
5152
53+
[#release-notes-2-0-beta4-Changed]
5254
=== Changed
5355
5456
* Renamed log4j12-api to log4j-1.2-api. (https://issues.apache.org/jira/browse/LOG4J2-110[LOG4J2-110])
5557
* Add unit test to verify exceptions are thrown when the socket connection fails. (https://issues.apache.org/jira/browse/LOG4J2-122[LOG4J2-122])
5658
* Add follow attribute to Console Appender. (https://issues.apache.org/jira/browse/LOG4J2-128[LOG4J2-128])
5759
* Allow newlines to be escaped in Syslog and RFC5424 layouts. Allow Throwables to be included in the output from RFC5424Layout. (https://issues.apache.org/jira/browse/LOG4J2-136[LOG4J2-136])
5860
61+
[#release-notes-2-0-beta4-Fixed]
5962
=== Fixed
6063
6164
* Allow FlumeAvroManager to initialize even if it cannot connect to an agent.

src/site/_release-notes/_2.0-beta5.adoc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
Release date:: 2013-04-20
4040
4141
42+
[#release-notes-2-0-beta5-Added]
4243
=== Added
4344
4445
* Added FlumePersistentManager which writes to BerkeleyDB and then writes to Flume asynchronously.
@@ -49,6 +50,7 @@ Release date:: 2013-04-20
4950
* Add tag library. (https://issues.apache.org/jira/browse/LOG4J2-187[LOG4J2-187])
5051
* Add JMX support. (https://issues.apache.org/jira/browse/LOG4J2-207[LOG4J2-207])
5152
53+
[#release-notes-2-0-beta5-Changed]
5254
=== Changed
5355
5456
* Allow Logger and LoggerContext to be subclassed. (https://issues.apache.org/jira/browse/LOG4J2-151[LOG4J2-151])
@@ -59,6 +61,7 @@ Release date:: 2013-04-20
5961
* Move async subproject into core. (https://issues.apache.org/jira/browse/LOG4J2-208[LOG4J2-208])
6062
* Async documentation update. (https://issues.apache.org/jira/browse/LOG4J2-214[LOG4J2-214])
6163
64+
[#release-notes-2-0-beta5-Fixed]
6265
=== Fixed
6366
6467
* Add Fragment-Host to MANIFEST.MF for log4j-core. (https://issues.apache.org/jira/browse/LOG4J2-159[LOG4J2-159])

src/site/_release-notes/_2.0-beta6.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
Release date:: 2013-05-05
4040
4141
42+
[#release-notes-2-0-beta6-Changed]
4243
=== Changed
4344
4445
* Documentation updates to clarify use and impact of location in pattern layouts. (https://issues.apache.org/jira/browse/LOG4J2-225[LOG4J2-225])
@@ -48,6 +49,7 @@ Release date:: 2013-05-05
4849
* Removed CheckStyle false positives for NewlineAtEndOfFile and whitespace following '*' at end of line in javadoc.
4950
* Renamed AsynchAppender to AsyncAppender. Plugin name became Async (was Asynch).
5051
52+
[#release-notes-2-0-beta6-Fixed]
5153
=== Fixed
5254
5355
* Use OSGi version format in Fragment-Host (https://issues.apache.org/jira/browse/LOG4J2-159[LOG4J2-159])

0 commit comments

Comments
 (0)