Skip to content

Releases: Respawnsive/Apizr

Apizr-v6.4.2

20 Feb 09:26
Compare
Choose a tag to compare

All

  • [Fix][Authentication] Redundant token refresh on multipart requests fixed
  • [Update][NuGet] Now all package references are up to date with the latest versions

Apizr-v6.4.1

18 Dec 09:53
Compare
Choose a tag to compare

All

  • [Fix][Headers] Now filtering out CRLF injection from headers

Apizr-v6.4.0

22 Nov 15:56
Compare
Choose a tag to compare

All

  • [New][Authentication] Now WithAuthenticationHandler option provide many more overloads to fit more use cases, like property mapping, local methods, service methods, custom handler, etc.
  • [New][Authentication] Now AuthenticationHandlerBase does clone request Options as well as former Properties
  • [New][Authentication] Now AuthenticationHandlerBase performances and behavior have been improved by caching compiled factories and adjusting authentication flow
  • [Improvement][Authentication] Now AuthenticationHandlerBase with no token available fails fast by returning an Unauthorized response without actually sending the request
  • [Improvement/Fix][Authentication] Now AuthenticationHandlerBase does not clone anymore request with multipart content to prevent from memory leaks and stream issues
  • [Improvement/Breaking][Authentication] Now AuthenticationHandlerBase's GetToken & SetToken former methods upgraded to GetTokenAsync & SetTokenAsync so we could wait for it
  • [Improvement/Breaking][Authentication] Now WithAuthenticationHandler option's methods handle more parameters like HttpRequestMessage & CancellationToken
  • [Breaking][DelegatingHandler] Now WithDelegatingHandler, WithHttpMessageHandler and WithAuthenticationHandler provide a Logger within IApizrManagerOptionsBase single parameter
  • [Improvement][CacheKey] Now cache key generator extracts values from selected parameters only to improve performances
  • [Fix][CacheKey] Now cache key generator handle parameters initialized right into the ExecuteAsync call as expected
  • [Fix][CacheKey] Now POST methods returning a result could finally be data cached and key discriminated as expected
  • [Fix][Config] Now configuration pipeline spreads options from common to request level as expected
  • [Update][NuGet] Now Refit package reference has been updated to latest v8
  • [Targets][NuGet] Now all Apizr packages are aligned with the same targeting frameworks as its referenced packages

Apizr.Extensions.Microsoft.DependencyInjection

  • [New][Authentication] Now we can register a custom open generic authentication handler inheriting from AuthenticationHandlerBase<TWebApi> without needs of any instance factory.
  • [Update][NuGet] Now Refit.HttpClientFactory package reference has been updated to latest v8

Apizr.Integrations.Optional

  • [Deprecated] Apizr.Integrations.Optional package has been deprecated as Optional.Async reference package is no longer maintained.

Apizr.Integrations.FileTransfer.Optional

  • [Deprecated] Apizr.Integrations.FileTransfer.Optional package has been deprecated as Optional.Async reference package is no longer maintained.

Apizr-v6.4.0-preview.4

19 Nov 16:13
Compare
Choose a tag to compare
Pre-release

All

  • [Improvement][Authentication] Now AuthenticationHandlerBase with no token available fails fast by returning an Unauthorized response without actually sending the request
  • [Breaking][DelegatingHandler] Now WithDelegatingHandler, WithHttpMessageHandler and WithAuthenticationHandler provide a Logger within IApizrManagerOptionsBase single parameter
  • [Targets][NuGet] Now all Apizr packages are aligned with the same targeting frameworks as its referenced packages

Apizr-v6.4.0-preview.3

14 Nov 16:25
Compare
Choose a tag to compare
Pre-release

All

  • [Improvement][CacheKey] Now cache key generator extracts values from selected parameters only to improve performances
  • [Fix][CacheKey] Now cache key generator handle parameters initialized right into the ExecuteAsync call as expected
  • [Fix][Config] Now configuration pipeline spreads options from common to request level as expected
  • [Update][NuGet] Now Refit package reference has been updated to latest v8

Apizr.Extensions.Microsoft.DependencyInjection

  • [Update][NuGet] Now Refit.HttpClientFactory package reference has been updated to latest v8

Apizr-v6.4.0-preview.2

06 Nov 09:38
Compare
Choose a tag to compare
Pre-release

All

  • [Improvement][Authentication] Now AuthenticationHandlerBase behavior has been improved by adjusting authentication flow
  • [Improvement/Breaking][Authentication] Now WithAuthenticationHandler option's methods handle more parameters like HttpRequestMessage & CancellationToken
  • [Fix][CacheKey] Now POST methods returning a result could finally be data cached and key discriminated as expected

Apizr-v6.4.0-preview.1

25 Oct 12:14
Compare
Choose a tag to compare
Pre-release

All

  • [New][Authentication] Now WithAuthenticationHandler option provide many more overloads to fit more use cases, like property mapping, local methods, service methods, custom handler, etc.
  • [New][Authentication] Now AuthenticationHandlerBase does clone request Options as well as former Properties
  • [New][Authentication] Now AuthenticationHandlerBase performances has been improved by caching compiled factories
  • [Improvement/Breaking][Authentication] Now AuthenticationHandlerBase's GetToken & SetToken former methods upgraded to GetTokenAsync & SetTokenAsync as we can now wait for it

Apizr.Extensions.Microsoft.DependencyInjection

  • [New][Authentication] Now we can register a custom open generic authentication handler inheriting from AuthenticationHandlerBase<TWebApi> without needs of any instance factory.

Apizr-v6.3.0

17 Oct 13:23
Compare
Choose a tag to compare

All

  • [New][Exceptions] Now we can catch exceptions with a Func callback returning a Task of a handled boolean flag thanks to WithExCatching fluent option
  • [New][Exceptions] Now we can catch exceptions by providing a custom exception handler implementing IApizrExceptionHandler thanks to WithExCatching fluent option
  • [New][ConfigureAwait] Now we can adjust Http handlers task awaiting configuration thanks to ContinueOnCapturedContext fluent option
  • [New][CacheKey] Now we can choose multiple complex type's properties to be included in cache key computation
  • [Fix][CacheKey] Now providing a property name to the CacheKey attribute actually includes the property in cache key computation as expected

Apizr.Extensions.Microsoft.DependencyInjection

  • [New][Exceptions] Now we can catch exceptions with a Func callback providing IServiceProvider and returning a Task of a handled boolean flag thanks to WithExCatching fluent option
  • [New][Exceptions] Now we can catch exceptions by resolving a custom exception handler implementing IApizrExceptionHandler thanks to WithExCatching fluent option

Apizr-v6.2.0

11 Oct 13:38
Compare
Choose a tag to compare

All

  • [New][Exceptions] Now we can catch exceptions with a Func callback returning a handled boolean flag thanks to WithExCatching fluent option
  • [New][Exceptions] Now we can check for a handled boolean flag right from the exception to adjust the handling behavior
  • [New][Exceptions] Now we can let the exception throw even if it's yet been handled by registered handlers thanks to the letThrowOnHandledException parameter
  • [Deprecated][Exceptions] Now catching exceptions with an Action callback is deprecated in favor of the new Func one
  • [Update][NuGet] Now all package references are up to date with the latest versions
  • [Update][Doc] Now Doc website supports dark theme, larger code blocks and some other improvements

Apizr-v6.1.0

01 Oct 14:56
Compare
Choose a tag to compare

All

  • [New][Cache] Now we can let the server control the client cache mode and lifetime thanks to the brand new SetByHeader cache mode (see Cache-Control, Expires, ETag and Last-Modified headers)
  • [New][Transfer] Now we can finally use the ITransferApi<TDownloadParams> shortcut api thanks to latest Refit updates
  • [Update][NuGet] Now all package references are up to date with the latest versions