Skip to content

Latest commit

 

History

History
110 lines (80 loc) · 4.3 KB

Changelog.md

File metadata and controls

110 lines (80 loc) · 4.3 KB

Minded Framework Changelog

All notable changes to this project will be documented in this file.

1.0.6 (2023-07-13)

Fixed issues introduced in previous versions.

Affected

  • Minded.Extensions.Validation
  • Minded.Extensions.Logging

Changed

  • Fixed logging decorator failing when a command was using the new ICommandHandler<C,R>
  • Fixed validation decorator failing when using ICommandHandler without result type with a successful validation

1.0.5 (2023-07-10)

Added LinkSource to all packages and updated Logging configuration setup.

Affected

  • All

Changed

  • Logging Decorator allows semplified configuration passing the Type of the IGlobalCacheKeyPrefixProvider.
  • Configuration method AddMinded accepts IConfiguration to make it available to extension methods used to setup decorators.

1.0.4 (2023-07-03)

Logging Extension has been refactored to reduce the amount of code needed when creating commands and queries in order to be logged.

Affected

  • Minded.Extensions.Caching.Memory
  • Minded.Extensions.Caching.Abstractions
  • Minded.Extensions.Logging
  • Minded.Extensions.Validation
  • Minded.Extensions.Validation.Abstractions
  • Minded.Extensions.WebApi
  • Minded.Framework.CQRS
  • Minded.Framework.CQRS.Abstractions

Added

  • IMessage to encapsulate properties which are used in IQuery and ICommand, this interface is not meant to be used directly
  • LoggingOptions to configure the logging Decorator
    "Minded": {
        "LoggingOptions": {
            // Enables logging of all processed Queries and Commands
            "Enabled": true,
            // Logs messages data as defined in ILoggable
            "LogMessageTemplateData": false
        }
    }

Changed

  • Renamed Caching Extention NullGlobalCacheKeyPrefixProvider in EmptyGlobalCacheKeyPrefixProvider (no changes needed)
  • ILoggableCommand and ILoggableQuery have been removed and all messages will be logged automatiocally.
  • ILoggable interface has been updated adding properties to define template and parameters, it can be optionally implemented to log details about the query and commands
  • LogEvent and LogInfo have been removed
  • Logging decorator can be configured using LoggingOptions

1.0.3 (2023-05-15)

Added caching support using decorators.

Added

  • Added new Minded.Extensions.Caching.Abstractions and Minded.Extensions.Caching.Memory Nuget packages
  • Added MemoryCacheAttribute to activate the MemoryCacheQueryHandlerDecorator as long as the IQuery implements also IGenerateCacheKey
  • Added IGlobalCacheKeyPrefixProvider which can be used to control global generation of cache prefixe

1.0.2 (2023-03-14)

Primary stable version fit for production use. Providers the features described in the documentation.

Added

  • Added new Minded.Extensions.WebApi Nuget package
  • Introduced IRestMediator which allows to process queries and commands to automatically return the appropriate ActionResult calculated using rule processors
  • Added new Minded.Extensions.CQRS.OData Nuget package
  • Added extension method IQuery<T>.ApplyODataQueryOptions<T>(ODataQueryOptions) to apply ODataQueryOptions to IQuery
  • Added extension method IQueryable<T>.ApplyODataQueryOptions<T>(ODataQueryOptions) to apply ODataQueryOptions to IQueryable
  • Added new Minded.Extensions.CQRS.EntityFramework Nuget package
  • Added extension method IQuery<IEnumberable<T>>.ApplyQueryTo<T>(IQueryable<T>) which applies directly query traits to an IQueryable
  • Added extension method IQuery<T>.ApplyQueryTo<T>(IQueryable<T>) which applies directly query traits to an IQueryable
  • Added ICommandHandler<ICommand<TResult>, TResult> to strongly type return value from command executions

Fixed

  • Traits not supporting nullable value have been fixed

Changed

  • Updated sample API project to use the new Minded.Extensions.WebApi

0.1.3 (2022-12-16)

Primary stable version fit for production use. Providers the features described in the documentation.

Added

  • Added RestMediator and rules processing system to automatically let mediator return the correct IActionResult
  • Added ICommandHandler<ICommand<TResult>, TResult> to strongly type return value from command executions

Fixed

  • Minor fixes

Changed

  • Updated the example application to reflect latest changes