Skip to content

Releases: hlaueriksson/CommandQuery

v4.0.0

13 Jul 11:12
Compare
Choose a tag to compare

CommandQuery

  • Bump Microsoft.Extensions.DependencyInjection to 8.0.0

CommandQuery.AspNetCore

  • Change TargetFramework to net8.0

CommandQuery.AWSLambda

  • Bump Amazon.Lambda.Core to 2.2.0
  • Bump Amazon.Lambda.APIGatewayEvents to 2.7.0
  • Make ILambdaLogger parameter required for HandleAsync
  • Add support for APIGatewayHttpApiV2ProxyRequest

CommandQuery.AzureFunctions

  • Change TargetFramework to net8.0
  • Bump Microsoft.Azure.Functions.Worker to 1.22.0
  • Remove ILogger parameter from HandleAsync
  • Add support for HttpRequest

CommandQuery.Client

  • Bump System.Net.Http.Json to 8.0.0

CommandQuery.GoogleCloudFunctions

  • Change Microsoft.AspNetCore.Http to 2.1.34
  • Bump Microsoft.Extensions.Logging.Abstractions to 6.0.4

CommandQuery.SystemTextJson

  • Bump System.Text.Json to 8.0.4
  • Deserialize JSON with sane defaults

v3.0.0

09 Jan 12:34
Compare
Choose a tag to compare

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

29 Jul 07:24
Compare
Choose a tag to compare

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 📜