Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.0.0-preview.4 #139

Closed
FreeAndNil opened this issue Apr 4, 2024 · 3 comments
Closed

3.0.0-preview.4 #139

FreeAndNil opened this issue Apr 4, 2024 · 3 comments
Assignees
Labels
release-info issue for collecting release infos
Milestone

Comments

@FreeAndNil
Copy link
Contributor

FreeAndNil commented Apr 4, 2024

Issue for preparing the previews of 3.0.0

@FreeAndNil FreeAndNil added this to the 3.0.0 milestone Apr 4, 2024
@FreeAndNil
Copy link
Contributor Author

FreeAndNil commented Apr 4, 2024

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

Deleted obsolete API (#125)

  • obsolete since 1.2.14 - 2015
    • log4net.Appender.BufferingAppenderSkeleton.OnlyFixPartialEventData and log4net.Appender.MemoryAppender.OnlyFixPartialEventData (you will need to change your config files from onlyFixPartialEventData value="true" to fix value="Partial")

    • 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.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
  • log4net.Appender.RemotingAppender (see Remove RemotingAppender #154 - Remove RemotingAppender)
  • log4net.Appender.NetSendAppender (see #158 NetSendAdapter removed - last supporting OS was Windows XP #158 - NetSendAppender removed)
  • dropped support for legacy serialization for .netstandard (see dropping legacy serialization support #174 and Removing legacy serialization from log4net #175)

Other changes (#124)

  • 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
  • log4net.Repository.Hierarchy.Hierarchy.EmittedNoAppenderWarning is now internal (see #156 fixed Regression when creating nested loggers in reverse order #157)

Bugs

Enhancements

FreeAndNil added a commit that referenced this issue Apr 4, 2024
FreeAndNil added a commit that referenced this issue Apr 4, 2024
@FreeAndNil FreeAndNil changed the title 3.0.0-preview.1 3.0.0-preview.2 Jul 29, 2024
@FreeAndNil
Copy link
Contributor Author

@erikmav Can you test 3.0.0-preview.2 on your side?

@erikmav
Copy link
Contributor

erikmav commented Jul 30, 2024 via email

@FreeAndNil FreeAndNil changed the title 3.0.0-preview.2 3.0.0-preview.3 Aug 6, 2024
@FreeAndNil FreeAndNil self-assigned this Aug 15, 2024
@FreeAndNil FreeAndNil added the release-info issue for collecting release infos label Aug 15, 2024
@FreeAndNil FreeAndNil changed the title 3.0.0-preview.3 3.0.0-preview.4 Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-info issue for collecting release infos
Projects
None yet
Development

No branches or pull requests

2 participants