|
20 | 20 |
|
21 | 21 | <#if release.date?has_content>Release date:: ${release.date}</#if>
|
22 | 22 |
|
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... |
56 | 24 |
|
57 | 25 | <#include "../.changelog.adoc.ftl">
|
0 commit comments