Skip to content

Commit e4adc41

Browse files
authored
Start new development cycle using version 2.26.0 (#3748)
1 parent de63a4f commit e4adc41

File tree

121 files changed

+140
-302
lines changed

Some content is hidden

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

121 files changed

+140
-302
lines changed

log4j-api/src/main/java/org/apache/logging/log4j/internal/map/UnmodifiableArrayBackedMap.java

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -269,10 +269,6 @@ public UnmodifiableArrayBackedMap copyAndPut(String key, String value) {
269269
/**
270270
* Creates a new instance that contains the same entries as this map, plus the
271271
* new entries or updated values passed in the parameters.
272-
*
273-
* @param key
274-
* @param value
275-
* @return
276272
*/
277273
public UnmodifiableArrayBackedMap copyAndPutAll(Map<String, String> entriesToAdd) {
278274
// create a new array that can hold the maximum output size
@@ -304,10 +300,6 @@ public UnmodifiableArrayBackedMap copyAndPutAll(Map<String, String> entriesToAdd
304300
/**
305301
* Creates a new instance that contains the same entries as this map, minus the
306302
* entry with the specified key (if such an entry exists).
307-
*
308-
* @param key
309-
* @param value
310-
* @return
311303
*/
312304
public UnmodifiableArrayBackedMap copyAndRemove(String key) {
313305
int indexToRemove = -1;

log4j-core/src/main/java/org/apache/logging/log4j/core/util/internal/instant/InstantPatternFormatter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
public interface InstantPatternFormatter extends InstantFormatter {
4141

4242
boolean LEGACY_FORMATTERS_ENABLED =
43-
"legacy".equalsIgnoreCase(PropertiesUtil.getProperties().getStringProperty("log4j2.instant.formatter"));
43+
"legacy".equalsIgnoreCase(PropertiesUtil.getProperties().getStringProperty("log4j2.instantFormatter"));
4444

4545
String getPattern();
4646

pom.xml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<parent>
3232
<groupId>org.apache.logging</groupId>
3333
<artifactId>logging-parent</artifactId>
34-
<version>12.1.0</version>
34+
<version>12.1.1</version>
3535
<relativePath />
3636
</parent>
3737

@@ -307,11 +307,11 @@
307307
<properties>
308308

309309
<!-- project version -->
310-
<revision>2.25.0-SNAPSHOT</revision>
310+
<revision>2.26.0-SNAPSHOT</revision>
311311
<!-- Versions used on the site: no snapshots! -->
312-
<site-log4j-api.version>2.24.3</site-log4j-api.version>
313-
<site-log4j-core.version>2.24.3</site-log4j-core.version>
314-
<site-log4j-layout-template-json.version>2.24.3</site-log4j-layout-template-json.version>
312+
<site-log4j-api.version>2.25.0</site-log4j-api.version>
313+
<site-log4j-core.version>2.25.0</site-log4j-core.version>
314+
<site-log4j-layout-template-json.version>2.25.0</site-log4j-layout-template-json.version>
315315

316316
<!-- =================
317317
Common properties
@@ -325,7 +325,7 @@
325325
2. This value is employed in various places while creating the distribution
326326
To mitigate these, we define a *dummy* value here and let the CI replace it during a release.
327327
Hence, *DO NOT MANUALLY EDIT THIS VALUE*! -->
328-
<project.build.outputTimestamp>2024-12-10T10:15:05Z</project.build.outputTimestamp>
328+
<project.build.outputTimestamp>2025-06-13T17:08:55Z</project.build.outputTimestamp>
329329

330330
<!-- ========================
331331
Site-specific properties

src/changelog/.2.x.x/.release-notes.adoc.ftl

Lines changed: 1 addition & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -20,38 +20,6 @@
2020

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

23-
This minor release contains bug fixes, behavioral improvements, and a fully-fledged support for the GraalVM native image generation.
24-
25-
[#release-notes-2-25-0-graalvm]
26-
=== GraalVM reachability metadata
27-
28-
Log4j Core and all its extension modules have been enriched with embedded
29-
https://www.graalvm.org/latest/reference-manual/native-image/metadata/[GraalVM reachability metadata].
30-
This allows the generation of GraalVM native images out-of-the-box without any additional steps.
31-
See our xref:graalvm.adoc[GraalVM guide] for details.
32-
33-
[#release-notes-2-25-0-PL-ex]
34-
=== Exception handling in Pattern Layout
35-
36-
Exception handling in xref:manual/pattern-layout.adoc[Pattern Layout] went through a major rewrite.
37-
This effectively helped with fixing some bugs by matching the feature parity of all exception converters.
38-
Some important highlights from this rewrite:
39-
40-
* Rendered stack traces are ensured to be prefixed with a newline, which used to be a whitespace in earlier versions.
41-
* Switched the default exception converter from xref:manual/pattern-layout.adoc#converter-exception-extended[the extended exception converter] to xref:manual/pattern-layout.adoc#converter-exception[the plain exception converter], which is more performant.
42-
* The support for the `\{ansi}` option in exception converters is removed.
43-
44-
[#release-notes-2-25-0-instant-format]
45-
=== Date & time formatting
46-
47-
Historically, Log4j contains custom date & time formatting utilities for performance reasons, i.e., link:javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FixedDateFormat.html[`FixedDateFormat`] and link:javadoc/log4j-core/org/apache/logging/log4j/core/util/datetime/FastDateFormat.html[`FastDateFormat`].
48-
These have been deprecated for removal in favor of Java's https://docs.oracle.com/javase/{java-target-version}/docs/api/java/time/format/DateTimeFormatter.html[`DateTimeFormatter`].
49-
After upgrading, if you experience any date & time formatting problems (in particular, related with the usage of `n` and `x` directives), please {logging-services-url}/support.html#issues[submit an issue ticket] – as a temporary workaround, you can set xref:manual/systemproperties.adoc#log4j2.instant.formatter[the `log4j2.instant.formatter` property] to `legacy` to switch to the old behaviour.
50-
51-
=== ANSI support on Windows
52-
53-
Since 2017, Windows 10 and newer have offered native support for ANSI escapes.
54-
The support for the outdated Jansi 1.x library has therefore been removed.
55-
See xref:manual/pattern-layout.adoc#jansi[ANSI styling on Windows] for more information.
23+
This release...
5624

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

src/changelog/.2.x.x/update_co_elastic_clients_elasticsearch_java.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/changelog/.2.x.x/update_co_elastic_logging_log4j2_ecs_layout.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/changelog/.2.x.x/update_com_code_intelligence_jazzer.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/changelog/.2.x.x/update_com_github_jnr_jnr_ffi.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/changelog/.2.x.x/update_com_github_luben_zstd_jni.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

src/changelog/.2.x.x/update_com_google_guava_guava.xml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)