serilog-sinks-elasticsearch
serilog-sinks-elasticsearch copied to clipboard
Bump Serilog from 2.12.0 to 3.0.1
Bumps Serilog from 2.12.0 to 3.0.1.
Release notes
Sourced from Serilog's releases.
v3.0.1
- #1926 - fix
JsonFormatteroutput forrenderMessage = true(@nblumhardt)v3.0.0
What's new in 3.0.0?
Target framework changes - Serilog no longer targets
netstandard1.xor .NET Framework versions earlier than .NET 4.6.2. Users on affected frameworks should continue to target Serilog 2.12.x.Removed obsolete APIs - Many deprecated/obsolete types and functions have been removed. Notably,
JsonFormattercan no longer be subclassed (either port toJsonValueFormatter, use Serilog.Expressions, or copy the originalJsonFormattercode into your project).Added APIs -
LevelAlias.Offis now provided as an equivalent to Microsoft.Extensions.Logging'sLogLevel.Off;Destructure.AsDictionary<T>()can now be used to mark dictionary types.Fewer allocations on many hot paths - A lot of work has gone into avoiding heap allocations wherever possible.
Changes
- Change exception message by
@sungam3rin serilog/serilog#1762- Avoided
IEnumeratorallocation (#1769) by@igor84in serilog/serilog#1770- Avoid iterator allocations when working with SequenceValue by
@sungam3rin serilog/serilog#1785- Add API approval test by
@sungam3rin serilog/serilog#1783- Bump Newtonsoft.Json from 13.0.1 to 13.0.2 in /test/Serilog.Tests by
@dependabotin serilog/serilog#1787- Introduce
ScalarValue.Nullby@sungam3rin serilog/serilog#1774Tokens->TokenArrayby@sungam3rin serilog/serilog#1778- Drop
netstandard1.3andnetstandard1.0support by@SimonCroppin serilog/serilog#1807- Remove
JsonFormatter.Escapeby@SimonCroppin serilog/serilog#1804- Use
WriteLine(char)by@SimonCroppin serilog/serilog#1803- Remove extension of
JsonFormatterby subclassing by@SimonCroppin serilog/serilog#1801- Remove redundant overrides from
LoggerSinkConfigurationby@SimonCroppin serilog/serilog#1800- Avoid
StringWriter.ToString()calls by@sungam3rin serilog/serilog#1782- Remove the obsolete
RawFormattertype by@nblumhardtin serilog/serilog#1808- .NET 7 SDK by
@SimonCroppin serilog/serilog#1806- Remove
OutputProperties.GetOutputProperties()by@SimonCroppin serilog/serilog#1805- Verify API by
@SimonCroppin serilog/serilog#1809- Remove redundant nullable suppressions by
@SimonCroppin serilog/serilog#1810- Remove duplicate
Where()calls inFindConfigurationMethods()by@SimonCroppin serilog/serilog#1812- Remove
net45support by@SimonCroppin serilog/serilog#1811- Remove redundant
GetTypeInfo()inLoadConfigurationAssembliesby@SimonCroppin serilog/serilog#1817- Remove
GetTypeInfo()fromFindConfigurationMethods(()by@SimonCroppin serilog/serilog#1815- Remove redundant
GetTypeInfo()inEnumScalarConversionPolicyby@SimonCroppin serilog/serilog#1816- Remove obsolete
PropertyTokenconstructor by@SimonCroppin serilog/serilog#1819switchexpressions by@SimonCroppin serilog/serilog#1818- Do not allocate strings for
TextWriter.Write()by@sungam3rin serilog/serilog#1775- Simplify reflection in
SettingValueConversionsby@SimonCroppin serilog/serilog#1814- Improve
GetPropertiesRecursive()performance by@SimonCroppin serilog/serilog#1813- Use
Convert.ToHexString()inByteArrayScalarConversionPolicy()by@sungam3rin serilog/serilog#1776- Remove
FEATURE_ASYNCLOCALby@SimonCroppin serilog/serilog#1822- Remove
FEATURE_HASHTABLEby@SimonCroppin serilog/serilog#1823- Use
IsEnumfor enum check inEnumScalarConversionPolicyby@SimonCroppin serilog/serilog#1825- Comments on
Hashtableuse inMessageTemplateCacheby@SimonCroppin serilog/serilog#1828- Remove
GetTypeInfo()fromPropertyValueConverterby@SimonCroppin serilog/serilog#1824
... (truncated)
Commits
5e93f0dMerge pull request #1927 from serilog/devcf2c62eFixes #1924 - JsonFormatter produces malformed JSON when renderMessage = true...2424caeDev version bump [skip ci]7c395b6Merge pull request #1901 from serilog/devb8da850Serve README.md logo from raw.github.com so that it will be displayed on NuGe...0f7affaIncludeREADME.mdin the NuGet package for display on nuget.org (#1916)826cb10UseJsonValueFormatterto implement classicJsonFormatter(#1911)3208c64AddLevelAlias.Off; fixes #1684 (#1910)4610da8Add Destructure.AsDictionary<T>() (#1906)5c7d224Fix #1464, don't log parameter count mismatch message incorrectly (#1903)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)