Skip to content

Releases: FantasticFiasco/serilog-sinks-udp

Release v10.0.0

03 Apr 19:16
v10.0.0
2e2be12
Compare
Choose a tag to compare

⚡ Added

  • Support for .NET Framework 4.6.2

💉 Fixed

  • #196 Sink does not work well with other sinks due to dependency version mismatch. (discovered by @sergey-messer)

💀 Removed

Release v10.0.0-beta.1

03 Apr 19:02
v10.0.0-beta.1
ec1c43e
Compare
Choose a tag to compare
Pre-release

⚡ Added

  • Support for .NET Framework 4.6.2

💉 Fixed

  • #196 Sink does not work well with other sinks due to dependency version mismatch. (discovered by @sergey-messer)

💀 Removed

Release v9.0.0

19 Oct 06:02
v9.0.0
10cb2ad
Compare
Choose a tag to compare

⚡ Added

  • [BREAKING CHANGE] Support for specifying UDP datagram encoding (contributed by @pedoc)
  • [BREAKING CHANGE] Support for broadcast packages (contributed by @dnatov)

Release v9.0.0-beta.2

01 Jun 20:45
v9.0.0-beta.2
1b386cb
Compare
Choose a tag to compare
Release v9.0.0-beta.2 Pre-release
Pre-release

⚡ Added

  • [BREAKING CHANGE] Support for specifying UDP datagram encoding (contributed by @pedoc)

Release v8.0.1

01 Jun 20:46
v8.0.1
c3cdec0
Compare
Choose a tag to compare

💫 Changed

  • Update dependencies

Release v8.0.0

26 Mar 06:01
v8.0.0
7aeec8f
Compare
Choose a tag to compare

💀 Removed

Release v7.1.0

19 Oct 21:42
Compare
Choose a tag to compare

⚡ Added

Release v7.0.1

14 Aug 21:21
Compare
Choose a tag to compare

💉 Fixed

  • Configure SourceLink to embed untracked sources
  • Configure SourceLink to use deterministic builds when running on AppVeyor

Release v7.0.0

14 Aug 21:15
Compare
Choose a tag to compare

💉 Fixed

  • #73 [BREAKING CHANGE] Leading and trailing white-space characters are no longer removed from the payload before being sent over the network, thus respecting output templates that use those characters. (discovered by @tagcode)

Release v6.0.0

08 Jul 19:47
Compare
Choose a tag to compare

💉 Fixed

  • #42 Revert to support IPv4 on networks without IPv6 (contribution by brettdavis-bmw)
  • #45 Correctly XML escape exception message serialized by Log4jTextFormatter
  • #51 Correctly XML escape all properties serialized by Log4jTextFormatter and Log4netTextFormatter

💫 Changed

  • [BREAKING CHANGE] The API for creating a sink has changed. The sink was originally intended for IPv4 addresses, but has along the way gotten support for host names and IPv6 addresses. These changes calls for a small redesign of the API, benefiting the majority of the consumers using application settings instead of code configuration. The following chapters will describe your migration path.

Migrate sink created by code

Lets assume you have configured the sink using code, and your code looks something like this.

Serilog.ILogger log = new LoggerConfiguration()
  .MinimumLevel.Verbose()
  .WriteTo.Udp(IPAddress.Loopback, 7071)
  .CreateLogger();

The Udp extension is no longer accepting IPAddress as first argument, and you are now required to specify the address family your remote address is targeting. Lets change the code above to conform to the new API.

Serilog.ILogger log = new LoggerConfiguration()
  .MinimumLevel.Verbose()
  .WriteTo.Udp("localhost", 7071, AddressFamily.InterNetwork)
  .CreateLogger();

Migrate sink created by application settings

Lets assume you have configured the sink using application settings, and your configuration looks something like this.

{
  "Serilog": {
    "MinimumLevel": "Verbose",
    "WriteTo": [
      {
        "Name": "Udp",
        "Args": {
          "remoteAddress": "localhost",
          "remotePort": 7071
        }
      }
    ]
  }
}

You are now required to specify the address family your remote address is targeting. Lets change the configuration above to conform to the new API.

{
  "Serilog": {
    "MinimumLevel": "Verbose",
    "WriteTo": [
      {
        "Name": "Udp",
        "Args": {
          "remoteAddress": "localhost",
          "remotePort": 7071,
          "family": "InterNetwork"
        }
      }
    ]
  }
}