Releases: glassechidna/HttpClientMiddleware
2.3.0
2.2.0
Added support for registration of DelegatingHandler
subclasses in the pipeline. This will ease the transition to aspnet/HttpClientFactory
2.1.0
More breaking changes, but no major version bump as there are unlikely to be any consumers of the package at this point.
IMiddleware.Register
has been removed in favour of adding "long-lived" middlewares by either means. Right now the main target is ASP.Net Core, so a new auxiliary HttpClientMiddleware.AspNetCore
package has been added to cater to this use case - but now with extra DI goodness. The header passthrough middleware has also been refactored to use this new pattern.
This release also sees the introduction of LambdaMiddleware
.
2.0.0
In HttpClientMiddleware 1.x, there was a HttpClientMiddleware
class which used
a static
stack of middlewares, so "holding onto" that object was unnecessary.
This was changed to the current HttpClientMiddlewareHandler
class to allow for
more advanced scenarios, like co-hosting two ASP.Net Core applications in a single
process or registering (rather than pushing) middlewares in unit tests.
Another breaking change was removing HttpClientMiddleware.GetHandler()
and
making the HttpClientMiddlewareHandler
class itself the handler. This meant
that in simple cases the HttpClient
would take care of maintaing the lifespan
of the middlewares.
1.0.6
Publish source code + symbols in nuget packages
1.0.5
1.0.5
1.0.4
1.0.4
1.0.3
1.0.3
1.0.2
1.0.2
1.0.1
1.0.1