Releases: wdolek/w4k-aspnetcore-correlator
Releases · wdolek/w4k-aspnetcore-correlator
v3.2.0
What's new
Possible breaking change: Reverting use of Microsoft.Extensions.DependencyInjection
namespace from v3.0.0
to follow Microsoft guidance; all affected namespaces are adjusted to W4k.AspNetCore.Correlator
(extension method for configuring and registering correlator to DI)
No functional change 🤷
v3.1.0
v3.0.0
What's Changed
- adding targets
net7.0
andnet8.0
- dropped support for
netstandard2.0
andnetstandard2.1
- removing direct dependency on
Microsoft.AspNetCore.Http.Abstractions
Adding .NET 8 target and other teeny-tiny changes on #60
Full Changelog: 2.3.0...3.0.0
Breaking changes
Apart of dropping netstandard
from targets, few minor changes were made:
- DI extensions moved to
Microsoft.Extensions.DependencyInjection
namespace- leaving old extension methods on its original place with
[Obsolete]
attribute - may cause conflicts when upgrading - simply remove
W4k
namespaces from usings
- leaving old extension methods on its original place with
CorrelatorOptions.ReadFrom
exposesList<>
instead ofICollection<>
(should not break anything 🤞)- Throwing
ArgumentException
when inputstring
is empty, andArgumentNullException
when input isnull
from various places- previously only
ArgumentNullException
was thrown
- previously only
v2.3.0
What's new?
- micro-optimization:
- using throw helper instead of throwing exceptions directly (to please JITter)
- passing emitter by state when registering
HttpResponse.OnStarting
callback, avoiding capture/function allocation
Fixes
- throwing
ArgumentNullException
when configuring correlator usingcorrelatorBuilder.WithValidator(...)
and passingnull
validator
Other changes
Unrelated to binary distribution:
- dropping
netcoreapp3.1
sample app - update
BenchmarkDotNet
v2.2.2
v2.2.1
v2.2.0
New features
- Possibility to validate value of correlation header
- Simple implementation
CorrelationValueLengthValidator
provided to check value length
Breaking changes
AddDefaultCorrelator
now returnsICorrelatorBuilder
so you can continue with registering validator
Other
- Adding PublicAPI metadata
(v2.2.0-preview1
& v2.2.0-preview2
)
v2.2.0-preview2
New behavior
CorrelationValueLengthValidator
considers correlation ID valid not only when its length is lower or equal to given limit, but value must not benull
or empty string
Other
- Adding
PublicAPI
metadata
v2.2.0-preview1
New features
- Possibility to validate value of correlation header
- Simple implementation
CorrelationValueLengthValidator
provided to check value length
Breaking changes
AddDefaultCorrelator
now returnsICorrelatorBuilder
so you can continue with registering validator