CommandQuery Versions Save

Command Query Separation for 🌐ASP.NET Core ⚑AWS Lambda ⚑Azure Functions ⚑Google Cloud Functions

v3.0.0

1 year ago

CommandQuery:

  • Bump Microsoft.Extensions.DependencyInjection to 6.0.1

CommandQuery.AspNetCore:

  • Change TargetFramework to net6.0

CommandQuery.AWSLambda:

  • Change TargetFramework to netstandard2.0
  • Bump Amazon.Lambda.Core to 2.1.0
  • Bump Amazon.Lambda.APIGatewayEvents to 2.5.0

CommandQuery.AzureFunctions:

  • Change TargetFramework to netstandard2.0
  • Drop support for in-process functions
    • Only support isolated worker process functions
  • Bump Microsoft.Azure.Functions.Worker to 1.10.0
  • Add CancellationToken parameter to HandleAsync method in CommandFunction and QueryFunction

CommandQuery.Client:

  • Bump System.Net.Http.Json to 6.0.0

CommandQuery.GoogleCloudFunctions:

  • Change TargetFramework to netstandard2.0
  • Change dependencies to:
    • Microsoft.AspNetCore.Http 2.2.2
    • Microsoft.Extensions.Logging.Abstractions 6.0.3

CommandQuery.NewtonsoftJson:

  • Delete project

CommandQuery.SystemTextJson:

  • Bump System.Text.Json to 6.0.7

v2.0.0

2 years ago

CommandQuery

  • Removed target framework net461 🎯
  • Renamed method ProcessWithResultAsync to ProcessAsync in CommandProcessor πŸ’₯
  • Added CancellationToken parameter to ProcessAsync methods in CommandProcessor and QueryProcessor
  • Renamed CommandTypeCollection to CommandTypeProvider πŸ’₯
  • Renamed QueryTypeCollection to QueryTypeProvider πŸ’₯
  • Added method AssertConfigurationIsValid to CommandProcessor and QueryProcessor
  • CommandProcessor, CommandTypeProvider, QueryProcessor and QueryTypeProvider are now added to IServiceCollection as singletons
  • CommandTypeException 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

CommandQuery.Abstractions

  • Removed target framework net461 🎯
  • Changed the class Error to a interface IError
  • Added CancellationToken parameter to HandleAsync methods in ICommandHandler<TCommand>, ICommandHandler<TCommand, TResult> and IQueryHandler<TQuery, TResult> πŸ’₯

CommandQuery.AspNet.WebApi

  • Excluded from further development πŸ”₯

CommandQuery.AspNetCore

  • Changed the target frameworks to netstandard2.0 and netcoreapp3.1 🎯
  • Added extension methods AddCommandControllers and AddQueryControllers on IServiceCollection

CommandQuery.AWSLambda

  • Changed target framework to netcoreapp3.1 🎯
  • Now uses System.Text.Json, instead of Newtonsoft.Json πŸ“œ
  • Added the new abstractions ICommandFunction and IQueryFunction
  • Added JsonSerializerOptions constructor parameter in CommandFunction and QueryFunction
  • Renamed method to HandleAsync in CommandFunction and QueryFunction πŸ’₯
  • Changed the ILambdaContext parameter to ILambdaLogger in HandleAsync methods in CommandFunction and QueryFunction πŸ’₯
  • Added extension methods AddCommandFunction and AddQueryFunction on IServiceCollection
  • Nested object graph queries via GET is now supported

CommandQuery.AzureFunctions

  • Changed target frameworks to netcoreapp3.1 and net5.0 🎯
  • netcoreapp3.1 uses Newtonsoft.Json πŸ“œ
  • net5.0 uses System.Text.Json πŸ“œ
  • Added JsonSerializerSettings/JsonSerializerOptions constructor parameter in CommandFunction and QueryFunction
  • Renamed method to HandleAsync in CommandFunction and QueryFunction πŸ’₯
  • Added CancellationToken parameter to HandleAsync method in netcoreapp3.1
  • Added extension methods AddCommandFunction and AddQueryFunction on IServiceCollection
  • Nested object graph queries via GET is now supported

CommandQuery.Client

  • Removed target framework net461 🎯
  • Now uses System.Text.Json, instead of Newtonsoft.Json πŸ“œ
  • Added constructor with HttpClient and JsonSerializerOptions parameters to CommandClient and QueryClient
  • Removed sync over async methods in CommandClient and QueryClient πŸ’₯
  • Added CancellationToken parameter to methods in CommandClient and QueryClient
  • Nested object graph queries via GET is now supported

CommandQuery.DependencyInjection

  • Excluded from further development πŸ”₯
  • Code moved to CommandQuery

CommandQuery.Extensions

  • Excluded from further development πŸ”₯
  • Code moved to CommandQuery.NewtonsoftJson

CommandQuery.GoogleCloudFunctions

  • New project ✨
  • Target framework netcoreapp3.1 🎯
  • Uses System.Text.Json πŸ“œ

CommandQuery.NewtonsoftJson

  • New project ✨
  • Code moved from CommandQuery.Extensions
  • Target framework netstandard2.0 🎯
  • Depends on Newtonsoft.Json version 11.0.2 πŸ“œ

CommandQuery.SystemTextJson

  • New project ✨
  • Target framework netstandard2.0 🎯
  • Depends on System.Text.Json version 5.0.2 πŸ“œ