Skip to content

Commit

Permalink
Merge pull request #2808 from NLog/release/4.5.7
Browse files Browse the repository at this point in the history
Version 4.5.7
  • Loading branch information
304NotModified committed Jul 19, 2018
2 parents 0f0b230 + 2c0d10b commit da2c45e
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 10 deletions.
26 changes: 24 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@ Date format: (year/month/day)

## Change Log

### v4.5.7 (2018/07/19)

#### Features

- [#2792](https://github.com/nlog/nlog/pull/2792) OutputDebugStringTarget - Support Xamarin iOS and Android (@snakefoot)
- [#2776](https://github.com/nlog/nlog/pull/2776) FileTarget - Introduced OpenFileFlushTimeout to help when AutoFlush = false (@snakefoot)

#### Fixes

- [#2761](https://github.com/nlog/nlog/pull/2761) ${Callsite} fix class naming when includeNamespace=false and cleanNamesOfAnonymousDelegates=true (@Azatey)
- [#2752](https://github.com/nlog/nlog/pull/2752) JSON: Fixes issue where char types are not properly escaped (#2752) (@smbecker)

#### Enhancements

- [#2804](https://github.com/nlog/nlog/pull/2804) FileTarget - Do not trust Last File Write TimeStamp when AutoFlush=false (@snakefoot)
- [#2763](https://github.com/nlog/nlog/pull/2763) Throw better error when target name is null (@masters3d)
- [#2788](https://github.com/nlog/nlog/pull/2788) ${Assembly-version} make GetAssembly protected and virtual (@alexangas)
- [#2756](https://github.com/nlog/nlog/pull/2756) LongDateLayoutRenderer: Improve comments (@stic)
- [#2749](https://github.com/nlog/nlog/pull/2749) NLog.WindowsEventLog: Update dependency System.Diagnostics.EventLog to RTM version (@304NotModified)

#### Performance

- [#2797](https://github.com/nlog/nlog/pull/2797) Better performance with Activator.CreateInstance (@tangdf)


### v4.5.6 (2018/05/29)

Expand Down Expand Up @@ -38,7 +62,6 @@ Date format: (year/month/day)
- [#2718](https://github.com/nlog/nlog/pull/2718) JsonLayout - Always stringify when requested (@snakefoot)
- [#2739](https://github.com/nlog/nlog/pull/2739) Target.WriteAsyncLogEvents(IList) to public


#### Performance

- [#2704](https://github.com/nlog/nlog/pull/2704) Allocation improvement in precalculating layouts (@snakefoot)
Expand Down Expand Up @@ -66,7 +89,6 @@ Date format: (year/month/day)

- [#2662](https://github.com/nlog/nlog/pull/2662) FileTarget - Improve handling of archives with multiple active files (@snakefoot)


#### Enhancements

- [#2587](https://github.com/nlog/nlog/pull/2587) Internal Log - Include target type and target name in the log messages (@snakefoot)
Expand Down
2 changes: 1 addition & 1 deletion build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ dotnet --version
# dotnet restore .\src\NLog\
# dotnet pack .\src\NLog\ --configuration release --include-symbols -o ..\..\artifacts

$versionPrefix = "4.5.6"
$versionPrefix = "4.5.7"
$versionSuffix = ""
$versionFile = $versionPrefix + "." + ${env:APPVEYOR_BUILD_NUMBER}
$versionProduct = $versionPrefix;
Expand Down
19 changes: 12 additions & 7 deletions src/NLog/NLog.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,24 @@ For ASP.NET Core, check: https://www.nuget.org/packages/NLog.Web.AspNetCore

<PackageReleaseNotes>

## Fixes
## Features
- OutputDebugStringTarget - Support Xamarin iOS and Android (@snakefoot)
- FileTarget - Introduced OpenFileFlushTimeout to help when AutoFlush = false (@snakefoot)

- JsonSerializer - Generate valid Json when hitting the MaxRecursionLimit (@snakefoot)
- Fixup for NLog.WindowsEventLog package: https://www.nuget.org/packages/NLog.WindowsEventLog
## Fixes
- ${Callsite} fix class naming when includeNamespace=false and cleanNamesOfAnonymousDelegates=true (@Azatey)
- JSON: Fixes issue where char types are not properly escaped (#2752) (@smbecker)

## Enhancements

- FileTarget - Improve support for Linux FileSystem without BirthTime (@snakefoot)
- FileTarget - Do not trust Last File Write TimeStamp when AutoFlush=false (@snakefoot)
- Throw better error when target name is null (@masters3d)
- ${Assembly-version} make GetAssembly protected and virtual (@alexangas)
- LongDateLayoutRenderer: Improve comments (@stic)
- NLog.WindowsEventLog: Update dependency System.Diagnostics.EventLog to RTM version (@304NotModified)

## Performance
- Better performance with Activator.CreateInstance (@tangdf)

- LogEventInfo - HasProperties should allocate PropertiesDicitonary when needed (@snakefoot)
- JsonLayout - Reduce allocations when needing to escape string (44% time improvement) (@snakefoot)

Full changelog: https://github.com/NLog/NLog/blob/master/CHANGELOG.md

Expand Down

0 comments on commit da2c45e

Please sign in to comment.