Skip to content

Commit 088793a

Browse files
committed
Add a CHANGELOG.md file
1 parent 46ab227 commit 088793a

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5+
6+
## [Unreleased]
7+
8+
* Replace `UseLog4NetXmlNamespace(null)` with `UseNoXmlNamespace()`
9+
* Reduce the public API surface
10+
* Removed all property getters on `Log4NetTextFormatterOptionsBuilder`
11+
* Converted the `LineEndingExtensions` class from public to internal
12+
* Improve log4j compatibility mode: don't write the `xmlns:log4j` attribute to be [exactly compatible](https://github.com/apache/log4j/blob/v1_2_17/src/main/java/org/apache/log4j/xml/XMLLayout.java#L137-L145) with log4j
13+
14+
Before (1.0.0-rc.2):
15+
16+
```xml
17+
<log4j:event timestamp="1041689366535" level="INFO" xmlns:log4j="http://jakarta.apache.org/log4j/">
18+
<log4j:message><![CDATA[Hello from Serilog]]></log4j:message>
19+
</log4j:event>
20+
```
21+
22+
After (1.0.0-rc.3)
23+
24+
```xml
25+
<log4j:event timestamp="1041689366535" level="INFO">
26+
<log4j:message><![CDATA[Hello from Serilog]]></log4j:message>
27+
</log4j:event>
28+
```
29+
30+
31+
## [1.0.0-rc.2] - 2021-03-25
32+
33+
* Handle non Serilog provided `LogEventPropertyValue` subclasses
34+
* The `Log4NetTextFormatterOptionsBuilder` constructor is now internal
35+
* Include the index in the property name when formatting a SequenceValue
36+
37+
Before (1.0.0-rc.1):
38+
39+
```xml
40+
<log4net:data name="Args" value="--first-argument" />
41+
<log4net:data name="Args" value="--second-argument" />
42+
```
43+
44+
After (1.0.0-rc.2)
45+
46+
```xml
47+
<log4net:data name="Args[0]" value="--first-argument" />
48+
<log4net:data name="Args[1]" value="--second-argument" />
49+
```
50+
51+
* Documentation has been improved
52+
53+
## [1.0.0-rc.1] - 2021-02-05
54+
55+
This release contains the same code as 1.0.0-alpha.0.110.
56+
57+
Still trying to figure out how to make everything fit together with [MinVer](https://github.com/adamralph/minver), **annotated** tags and GitHub actions.
58+
59+
## [1.0.0-alpha.0.110] - 2021-02-04
60+
61+
* Implement log4j compatibility mode.
62+
63+
[Unreleased]: https://github.com/serilog-contrib/serilog-formatting-log4net/compare/1.0.0-rc.2...HEAD
64+
[1.0.0-rc.2]: https://github.com/serilog-contrib/serilog-formatting-log4net/compare/1.0.0-rc.1...1.0.0-rc.2
65+
[1.0.0-rc.1]: https://github.com/serilog-contrib/serilog-formatting-log4net/compare/1.0.0-alpha.0.110...1.0.0-rc.1
66+
[1.0.0-alpha.0.110]: https://github.com/serilog-contrib/serilog-formatting-log4net/releases/tag/1.0.0-alpha.0.110
67+

0 commit comments

Comments
 (0)