chore(deps): update dependency serilog to v3 #610
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.12.0->3.0.0Release Notes
serilog/serilog
v3.0.0What'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
IEnumeratorallocation (#1769) by @igor84 in https://github.com/serilog/serilog/pull/1770ScalarValue.Nullby @sungam3r in https://github.com/serilog/serilog/pull/1774Tokens->TokenArrayby @sungam3r in https://github.com/serilog/serilog/pull/1778netstandard1.3andnetstandard1.0support by @SimonCropp in https://github.com/serilog/serilog/pull/1807JsonFormatter.Escapeby @SimonCropp in https://github.com/serilog/serilog/pull/1804WriteLine(char)by @SimonCropp in https://github.com/serilog/serilog/pull/1803JsonFormatterby subclassing by @SimonCropp in https://github.com/serilog/serilog/pull/1801LoggerSinkConfigurationby @SimonCropp in https://github.com/serilog/serilog/pull/1800StringWriter.ToString()calls by @sungam3r in https://github.com/serilog/serilog/pull/1782RawFormattertype by @nblumhardt in https://github.com/serilog/serilog/pull/1808OutputProperties.GetOutputProperties()by @SimonCropp in https://github.com/serilog/serilog/pull/1805Where()calls inFindConfigurationMethods()by @SimonCropp in https://github.com/serilog/serilog/pull/1812net45support by @SimonCropp in https://github.com/serilog/serilog/pull/1811GetTypeInfo()inLoadConfigurationAssembliesby @SimonCropp in https://github.com/serilog/serilog/pull/1817GetTypeInfo()fromFindConfigurationMethods(()by @SimonCropp in https://github.com/serilog/serilog/pull/1815GetTypeInfo()inEnumScalarConversionPolicyby @SimonCropp in https://github.com/serilog/serilog/pull/1816PropertyTokenconstructor by @SimonCropp in https://github.com/serilog/serilog/pull/1819switchexpressions by @SimonCropp in https://github.com/serilog/serilog/pull/1818TextWriter.Write()by @sungam3r in https://github.com/serilog/serilog/pull/1775SettingValueConversionsby @SimonCropp in https://github.com/serilog/serilog/pull/1814GetPropertiesRecursive()performance by @SimonCropp in https://github.com/serilog/serilog/pull/1813Convert.ToHexString()inByteArrayScalarConversionPolicy()by @sungam3r in https://github.com/serilog/serilog/pull/1776FEATURE_ASYNCLOCALby @SimonCropp in https://github.com/serilog/serilog/pull/1822FEATURE_HASHTABLEby @SimonCropp in https://github.com/serilog/serilog/pull/1823IsEnumfor enum check inEnumScalarConversionPolicyby @SimonCropp in https://github.com/serilog/serilog/pull/1825Hashtableuse inMessageTemplateCacheby @SimonCropp in https://github.com/serilog/serilog/pull/1828GetTypeInfo()fromPropertyValueConverterby @SimonCropp in https://github.com/serilog/serilog/pull/1824GetType()inPropertyValueConverterby @SimonCropp in https://github.com/serilog/serilog/pull/1832TryAdd()and items constructor by @SimonCropp in https://github.com/serilog/serilog/pull/1830PropertyValueConverterby @SimonCropp in https://github.com/serilog/serilog/pull/1831net46target tonet461by @SimonCropp in https://github.com/serilog/serilog/pull/1827JsonValueFormatterby @SimonCropp in https://github.com/serilog/serilog/pull/1835varinJsonFormatterby @SimonCropp in https://github.com/serilog/serilog/pull/1838SelfLog.Outby @SimonCropp in https://github.com/serilog/serilog/pull/1837JsonFormatteromitEnclosingObjectoverload by @SimonCropp in https://github.com/serilog/serilog/pull/1834PushProperties()by @SimonCropp in https://github.com/serilog/serilog/pull/1836_minimumLeveland_levelSwitchon stack by @SimonCropp in https://github.com/serilog/serilog/pull/1840intwhere possible by @SimonCropp in https://github.com/serilog/serilog/pull/1841JsonFormatterby @SimonCropp in https://github.com/serilog/serilog/pull/1839charinJsonFormatterby @sungam3r in https://github.com/serilog/serilog/pull/1842net471DisableImplicitFrameworkReferencesby @SimonCropp in https://github.com/serilog/serilog/pull/1846TargetFrameworkconstants in tests by @SimonCropp in https://github.com/serilog/serilog/pull/1847net471supportsITupleby @SimonCropp in https://github.com/serilog/serilog/pull/1849FEATURE_GETCURRENTMETHODconst by @SimonCropp in https://github.com/serilog/serilog/pull/1851PublicApi_Should_Not_Change_Unintentionally()test by @SimonCropp in https://github.com/serilog/serilog/pull/1864net461tonet462by @SimonCropp in https://github.com/serilog/serilog/pull/1863GetPackagingOutputsby @SimonCropp in https://github.com/serilog/serilog/pull/1867ReusableStringWriterby @igor84 in https://github.com/serilog/serilog/pull/1771langwordin XML comments by @sungam3r in https://github.com/serilog/serilog/pull/1871SafeAggregateSinkwrapper around empty list by @sungam3r in https://github.com/serilog/serilog/pull/1878AlignmentandLevelOverridesreadonly by @sungam3r in https://github.com/serilog/serilog/pull/1884CallerArgumentExpressionAttributeby @SimonCropp in https://github.com/serilog/serilog/pull/1886MessageTemplateToken.StartIndexby @SimonCropp in https://github.com/serilog/serilog/pull/1882LoggerSinkConfiguration.Sink(ILogEventSink, LogEventLevel)by @nblumhardt in https://github.com/serilog/serilog/pull/1889Array.Emptyby @SimonCropp in https://github.com/serilog/serilog/pull/1898ReadOnlyDictionaryasDictionaryby @sungam3r in https://github.com/serilog/serilog/pull/1897IDictionarycast by @SimonCropp in https://github.com/serilog/serilog/pull/1900WriteTo.Logger()by @srogovtsev in https://github.com/serilog/serilog/pull/1890AddPropertyIfAbsentby @sungam3r in https://github.com/serilog/serilog/pull/1872levelSwitchoption inWriteTo.Logger()by @nblumhardt in https://github.com/serilog/serilog/pull/1902net47target by @SimonCropp in https://github.com/serilog/serilog/pull/1905WithProperty()by @sungam3r in https://github.com/serilog/serilog/pull/1907LoggingLevelSwitch.MinimumLevelChangedby @sungam3r in https://github.com/serilog/serilog/pull/1908Destructure.AsDictionary<T>()by @sungam3r in https://github.com/serilog/serilog/pull/1906LevelAlias.Off; fixes #1684 by @nblumhardt in https://github.com/serilog/serilog/pull/1910JsonValueFormatterto implement classicJsonFormatterby @nblumhardt in https://github.com/serilog/serilog/pull/1911README.mdin the NuGet package for display on nuget.org by @nblumhardt in https://github.com/serilog/serilog/pull/1916Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.