[
https://issues.apache.org/jira/browse/LOG4J2-978?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14368643#comment-14368643
]
Remko Popma commented on LOG4J2-978:
------------------------------------
We consider the API module to be "set in stone" (we would use a new MAJOR
version 3.x for breaking changes to the API module).
New functionality and interface changes to the implementation (CORE) module and
other modules will be signaled with an increase in the MINOR version. So this
does not strictly follow semantic versioning as defined in
[http://semver.org/|http://semver.org/].
We try to avoid breaking changes but in the core module this is not always
possible.
PATCH versions indicate a release with bug fixes only.
It is unfortunate that the fix for LOG4J2-895 broke your custom appender. My
advice to anyone extending classes from the log4j2 implementation is to
carefully check the release notes every time you upgrade to a new minor version
of log4j2. With PATCH releases you are probably safe.
Thank you for raising this issue. I think it makes sense for us to at least
clearly mark potentially breaking changes in the release notes.
> log4j2 2.2 made breaking changes to public classes
> --------------------------------------------------
>
> Key: LOG4J2-978
> URL: https://issues.apache.org/jira/browse/LOG4J2-978
> Project: Log4j 2
> Issue Type: Bug
> Affects Versions: 2.2
> Reporter: Daniel Norberg
>
> The log4j2 2.2 release contained breaking changes to public classes, breaking
> direct uses and extenders of log4j2 interfaces.
> E.g.
> https://github.com/apache/logging-log4j2/commit/3cdbbeddf19137d20fa6527d6620e88afcecb7f9
> Here is an example of the impact of this breaking change:
> https://github.com/spotify/logging-java/commit/3d2ca1c31a8ca3eabe1db378e2df48e0757e80e7
> Does log4j2 aim to follow semantic versioning? I am currently looking into
> the feasibility of taking log4j2 into use instead of logback, but this will
> not be possible if log4j2 will be having further breaking changes in minor
> releases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]