Command Query Separation for πASP.NET Core β‘AWS Lambda β‘Azure Functions β‘Google Cloud Functions
CommandQuery:
Microsoft.Extensions.DependencyInjection
to 6.0.1
CommandQuery.AspNetCore:
net6.0
CommandQuery.AWSLambda:
netstandard2.0
Amazon.Lambda.Core
to 2.1.0
Amazon.Lambda.APIGatewayEvents
to 2.5.0
CommandQuery.AzureFunctions:
netstandard2.0
Microsoft.Azure.Functions.Worker
to 1.10.0
CancellationToken
parameter to HandleAsync
method in CommandFunction
and QueryFunction
CommandQuery.Client:
System.Net.Http.Json
to 6.0.0
CommandQuery.GoogleCloudFunctions:
netstandard2.0
Microsoft.AspNetCore.Http
2.2.2
Microsoft.Extensions.Logging.Abstractions
6.0.3
CommandQuery.NewtonsoftJson:
CommandQuery.SystemTextJson:
System.Text.Json
to 6.0.7
net461
π―ProcessWithResultAsync
to ProcessAsync
in CommandProcessor
π₯CancellationToken
parameter to ProcessAsync
methods in CommandProcessor
and QueryProcessor
CommandTypeCollection
to CommandTypeProvider
π₯QueryTypeCollection
to QueryTypeProvider
π₯AssertConfigurationIsValid
to CommandProcessor
and QueryProcessor
CommandProcessor
, CommandTypeProvider
, QueryProcessor
and QueryTypeProvider
are now added to IServiceCollection
as singletonsCommandTypeException
is now thrown if multiple commands with the same name is added to the CommandTypeProvider
QueryTypeException
is now thrown if multiple queries with the same name is added to the QueryTypeProvider
net461
π―Error
to a interface IError
CancellationToken
parameter to HandleAsync
methods in ICommandHandler<TCommand>
, ICommandHandler<TCommand, TResult>
and IQueryHandler<TQuery, TResult>
π₯netstandard2.0
and netcoreapp3.1
π―AddCommandControllers
and AddQueryControllers
on IServiceCollection
netcoreapp3.1
π―System.Text.Json
, instead of Newtonsoft.Json
πICommandFunction
and IQueryFunction
JsonSerializerOptions
constructor parameter in CommandFunction
and QueryFunction
HandleAsync
in CommandFunction
and QueryFunction
π₯ILambdaContext
parameter to ILambdaLogger
in HandleAsync
methods in CommandFunction
and QueryFunction
π₯AddCommandFunction
and AddQueryFunction
on IServiceCollection
GET
is now supportednetcoreapp3.1
and net5.0
π―netcoreapp3.1
uses Newtonsoft.Json
πnet5.0
uses System.Text.Json
πJsonSerializerSettings
/JsonSerializerOptions
constructor parameter in CommandFunction
and QueryFunction
HandleAsync
in CommandFunction
and QueryFunction
π₯CancellationToken
parameter to HandleAsync
method in netcoreapp3.1
AddCommandFunction
and AddQueryFunction
on IServiceCollection
GET
is now supportednet461
π―System.Text.Json
, instead of Newtonsoft.Json
πHttpClient
and JsonSerializerOptions
parameters to CommandClient
and QueryClient
CommandClient
and QueryClient
π₯CancellationToken
parameter to methods in CommandClient
and QueryClient
GET
is now supportedCommandQuery
CommandQuery.NewtonsoftJson
netcoreapp3.1
π―System.Text.Json
πCommandQuery.Extensions
netstandard2.0
π―Newtonsoft.Json
version 11.0.2
πnetstandard2.0
π―System.Text.Json
version 5.0.2
π