Releases: serilog/serilog-expressions
Releases · serilog/serilog-expressions
v5.0.0
- #110 - fix crash in
PublishedTrimmed=True
builds (@malciin) - #108 - breaking - make the
rest()
function aware of@p.X
and@p['X']
(@nblumhardt) - #109 - add the
Inspect()
function (@nblumhardt) - #116, #117 - breaking - update to Serilog 4 (@Olgagaa, @nblumhardt)
- #113, #115 - README updates (@andriibratanin,
@RandomBuffer
)
v4.0.0
- #97 - support encoded output (@nblumhardt)
- #100 - property accessors are case-sensitive (@nblumhardt)
- #102 - update to Serilog 3.1, add support for
@sp
(SpanId
) and@tr
(TraceId
) built-ins (@nblumhardt)
v3.5.0
- #98 - fix nested
each
name binding (@nblumhardt) - #99 - supply the item index in an optional second binding to
each
over enumerables (@nblumhardt)
v3.4.1
- #77 - enable wildcard indexers over dictionary values (@nblumhardt)
- #79 - use file-scoped namespaces and target-typed
new
(@SimonCropp) - #82 - sample project retargeting (@jesseclm)
- #80 - recipe for checking whether any unreferenced properties exist (@adamchester)
v3.4.0
- #74 - add support for formatting short level names in expressions using
ToString(@l, 'u3')
etc. (@nblumhardt)
v3.3.0
- #62 - README update, fix custom name resolver example (@warrenbuckley)
- #67 - support aliasing of built in property names, to ease migration from Serilog.Filters.Expressions (@nblumhardt)
v3.2.1
- #51 - code clean up (@SimonCropp)
- mark
Nullable
as a private dependency (pushed by @nblumhardt to the wrong upstream repo 😅 so no tracking PR)
v3.2.0
- #45 -
Concat(s0, s1, ..sN)
(@nblumhardt) - #46 - use
Directory.Build.props
to share common settings (@SimonCropp) - #47 - use Nullable package for down-level platform support (@SimonCropp)
- #48 - code cleanups (@SimonCropp)
- #49 (@nblumhardt)
- default to shallow semantics, add optional
deep
arg toRest()
- improve reporting of function argument count mismatches
- allow user-defined functions to expose optional arguments
- default to shallow semantics, add optional
v3.1.0
The last of these churny releases for a while! 😅
- #43 - (@nblumhardt)
- Allow all functions to accept a
LogEvent
parameter - Adds virtual
NameResolver.TryBindFunctionParameter()
to support user-defined function parameter types - Combine these to implement a
Rest()
function, usable in templates only, that matches the behavior of{Properties}
in Serilog output templates (i.e. all properties not referenced elsewhere in the template or message)
- Allow all functions to accept a
v3.0.0
- #35 - go dependency-free by interning the needed pieces of Superpower;
net5.0
target (@nblumhardt) - #38 - support ANSI terminal themes in
ExpressionTemplate
(@nblumhardt) - #19 - use the supplied
IFormatProvider
(if any) in culture-specific formatting operations (@nblumhardt)
Breaking changes in this release:
- Optional or nullable
IFormatProvider
arguments added to the variousSerilogExpression
factory methods - Optional or nullable
TemplateTheme
arguments added to theExpressionTemplate
constructors/factory methods