Skip to content

Releases: apache/logging-log4net

3.0.0-preview.2

29 Jul 08:22
d4e436d
Compare
Choose a tag to compare
3.0.0-preview.2 Pre-release
Pre-release

Apache log4net 3.0.0-preview.2 is the second preview of log4net 3.0.0 and addresses the following issues:

Breaking Changes

Deleted obsolete API

  • log4net.Appender.RemotingAppender (see #154 - Remove RemotingAppender)
  • log4net.Appender.NetSendAppender (see #158 - NetSendAppender removed)

Other changes (#157)

  • log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning is now internal (see #157)

Bugs

3.0.0-preview.1

23 Jul 14:11
a4489f0
Compare
Choose a tag to compare
3.0.0-preview.1 Pre-release
Pre-release

Apache log4net 3.0.0-preview.1 is the first preview of log4net 3.0.0 and addresses the following issues:

Breaking Changes

Framework Support

Attention: Starting with 3.0.0 we only support the following target frameworks

  • net462
  • netstandard2.0

The reasoning for this change can be found in #111 - Dropping support for older runtimes

Deleted obsolete API (#125 - Remove deprecated code for 3.0)

  • obsolete since 1.2.14 - 2015
    • log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData
    • log4net.Appender.ColoredConsoleAppender.ctor(ILayout)
    • log4net.Appender.ColoredConsoleAppender.ctor(ILayout, bool)
    • log4net.Appender.ConsoleAppender.ctor(ILayout)
    • log4net.Appender.ConsoleAppender.ctor(ILayout, bool)
    • log4net.Appender.DebugAppender.ctor(ILayout)
    • log4net.Appender.EventLogAppender.ctor(ILayout)
    • log4net.Appender.FileAppender.ctor(ILayout, string)
    • log4net.Appender.FileAppender.ctor(ILayout, string, bool)
    • log4net.Appender.MemoryAppender.OnlyFixPartialEventData
    • log4net.Appender.SmtpAppender.LocationInfo
    • log4net.Appender.TextWriterAppender.ctor(ILayout, Stream)
    • log4net.Appender.TextWriterAppender.ctor(ILayout, TextWriter)
    • log4net.Appender.TraceAppender.ctor(ILayout)
    • log4net.Config.DOMConfigurator
    • log4net.Config.AliasDomainAttribute
    • log4net.Config.DomainAttribute
    • log4net.Config.DOMConfiguratorAttribute
    • log4net.Core.LoggerManager.GetLoggerRepository
    • log4net.Core.LoggerManager.CreateDomain
    • log4net.Core.LoggingEventData.TimeStamp
    • log4net.Core.LoggingEvent.GetExceptionStrRep
    • log4net.Core.LoggingEvent.FixVolatileData
    • log4net.LogManager.GetLoggerRepository
    • log4net.LogManager.CreateDomain
  • obsolete since 2.0.6 - 2016
    • log4net.Util.SystemInfo.ProcessStartTime

Other changes (#124 - Add support for nullable annotations)

  • log4net.Config.AliasRepositoryAttribute is now sealed
  • log4net.Config.RepositoryAttribute is now sealed
  • log4net.Config.XmlConfiguratorAttribute is now sealed
  • interface log4net.Appender.AppenderCollection.IAppenderCollectionEnumerator is now obsolete and must be replaced by IEnumerator<IAppender>
  • log4net.Appender.MemoryAppender.m_eventsList (protected field) was changed from ArrayList to List<LoggingEvent>
    • for getting m_eventsList.SyncRoot you need to cast it: ((ICollection)m_eventsList).SyncRoot

Enhancements

A big thanks to @erikmav for the hard work regarding nullable annotations and moving to generic collections.

2.0.17

15 Mar 12:11
Compare
Choose a tag to compare

Apache log4net 2.0.17 addresses reported issues:

Bug fixes

Complete diff

2.0.16

2.0.15

25 Jul 07:44
Compare
Choose a tag to compare

Attention: .NET 3.5 Client Profile is no longer supported. I'm really sorry, I've tried to keep as many of the legacy targets available as possible, but after spending another 4 or so hours trying to get net35-client to build on any machine, I've given up - as far as I'm aware, this should only affect Windows XP clients. I'm afraid 2.0.14 was the end of the road for you. Apache log4net 2.0.15 addresses reported issues:

Bug fixes

  • Improper usage of xml namespacing for netfx targets after a netstandard update ( LOG4NET-685, related LOG4NET-683)
  • Locking hashtables during write in RenderMap calls to make them thread-safe ( LOG4NET-646)
  • An issue where RollingFilAppender would sometimes overwrite files instead of rolling them ( LOG4NET-672)

Enhancements

2.0.14

16 Dec 08:29
Compare
Choose a tag to compare

2.0.13

28 Oct 07:46
Compare
Choose a tag to compare

Some minor updates:

This is essentially the same release as rc-1, with the artifacts updated so that unzipping them won't scatter files in the target.

2.0.12

18 Oct 15:28
Compare
Choose a tag to compare
  • Fixes LOG4NET-(652|653)
  • Should resolve issues with PlatformNotSupported exceptions raised on !win32 when attempting to include the current user name in logs.

Full Changelog: rel/2.0.11...rel/2.0.12

2.0.11

18 Sep 12:10
Compare
Choose a tag to compare

What's Changed

  • corrects assembly versioning still reported as 2.0.9 in the 2.0.10 release
  • ensures that stream writers used during log flushing are properly disposed
  • corrects version strings for client profile assemblies
  • Fix net40 client profile by @NicholasNoise in #66
  • Remove unused dependency for netstandard2.0. by @NicholasNoise in #68
  • Fix CA2000, CA2237, CA3075 by @NicholasNoise in #67

Full Changelog: rel/2.0.10...rel/2.0.11

2.0.10

06 Sep 18:47
Compare
Choose a tag to compare

Apache log4net 2.0.10 improves netstandard2.0 support thanks to community member @NicholasNoise.

What's Changed

  • [LOG4NET-575] Addresses CVE-2018-1285 by cherry-picking the fix from Dominik Psenner, reported by Karthik Balasundaram, as it already existed in the the develop branch

Full Changelog: rel/2.0.9...rel/2.0.10