From e6833d9182bc69d66b3f26946935eb55a5475fb8 Mon Sep 17 00:00:00 2001 From: Dzmitry Pratsko Date: Mon, 26 Oct 2026 08:34:13 +0300 Subject: [PATCH 1/2] v10.0.0 - Upgraded to .NET 10 and MitMediator 10. - Moved the caching attribute to `MitMediator.InMemoryCache.Abstractions`; renamed `CacheResponse` to `CacheResponseInMemory` (**breaking change**). - Improved cache synchronization and invalidation with striped locks, including generic request invalidation. --- ...Mediator.InMemoryCache.Abstractions.csproj | 54 ++++++++++--------- .../MitMediator.InMemoryCache.csproj | 8 +-- 2 files changed, 33 insertions(+), 29 deletions(-) diff --git a/src/MitMediator.InMemoryCache.Abstractions/MitMediator.InMemoryCache.Abstractions.csproj b/src/MitMediator.InMemoryCache.Abstractions/MitMediator.InMemoryCache.Abstractions.csproj index 14f60b3..10cf448 100644 --- a/src/MitMediator.InMemoryCache.Abstractions/MitMediator.InMemoryCache.Abstractions.csproj +++ b/src/MitMediator.InMemoryCache.Abstractions/MitMediator.InMemoryCache.Abstractions.csproj @@ -1,34 +1,36 @@  - - net10.0 - MitMediator.InMemoryCache.Abstractions - enable - enable - 10.0.0-alfa - MitMediator.InMemoryCache.Abstractions - An attribute-driven in-memory caching extension for the MitMediator - https://github.com/dzmprt/MitMediator.InMemoryCache - mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache - v10.0.0-alfa -Change attribute name to [CacheResponseInMemory]. Add abstractions package. - LICENSE - README.md - logo.png - true - + + net10.0 + MitMediator.InMemoryCache.Abstractions + enable + enable + 10.0.0 + MitMediator.InMemoryCache.Abstractions + An attribute-driven in-memory caching extension for the MitMediator + https://github.com/dzmprt/MitMediator.InMemoryCache + mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache + v10.0.0 +- Upgraded to .NET 10 and MitMediator 10. +- Moved the caching attribute to `MitMediator.InMemoryCache.Abstractions`; renamed `CacheResponse` to `CacheResponseInMemory` (**breaking change**). +- Improved cache synchronization and invalidation with striped locks, including generic request invalidation. + LICENSE + README.md + logo.png + true + - - - + + + - - - + + + - - - + + + \ No newline at end of file diff --git a/src/MitMediator.InMemoryCache/MitMediator.InMemoryCache.csproj b/src/MitMediator.InMemoryCache/MitMediator.InMemoryCache.csproj index 7fe5cfc..2e1aa2b 100644 --- a/src/MitMediator.InMemoryCache/MitMediator.InMemoryCache.csproj +++ b/src/MitMediator.InMemoryCache/MitMediator.InMemoryCache.csproj @@ -5,13 +5,15 @@ MitMediator.InMemoryCache enable enable - 10.0.0-alfa + 10.0.0 MitMediator.InMemoryCache An attribute-driven in-memory caching extension for the MitMediator https://github.com/dzmprt/MitMediator.InMemoryCache mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache - v10.0.0-alfa -Change attribute name to [CacheResponseInMemory]. Add abstractions package. + v10.0.0 +- Upgraded to .NET 10 and MitMediator 10. +- Moved the caching attribute to `MitMediator.InMemoryCache.Abstractions`; renamed `CacheResponse` to `CacheResponseInMemory` (**breaking change**). +- Improved cache synchronization and invalidation with striped locks, including generic request invalidation. LICENSE README.md logo.png From 736f19f60fbed8aa47deb4e46745e723cb64fe4d Mon Sep 17 00:00:00 2001 From: Dzmitry Pratsko Date: Mon, 26 Oct 2026 08:44:18 +0300 Subject: [PATCH 2/2] v10.0.0: Update abstractions version --- Directory.Packages.props | 36 ++++++++++++++++++------------------ README.md | 4 ++-- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/Directory.Packages.props b/Directory.Packages.props index a432484..ad1f450 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -1,19 +1,19 @@ - - true - - - - - - - - - - - - - - - - + + true + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/README.md b/README.md index db956b1..fe17b1c 100644 --- a/README.md +++ b/README.md @@ -12,13 +12,13 @@ In-memory response caching for [MitMediator](https://github.com/dzmprt/MitMediat ### 1. Add package ```sh -dotnet add package MitMediator.InMemoryCache -v 10.0.0-alfa +dotnet add package MitMediator.InMemoryCache -v 10.0.0 ``` For a project that only declares requests, use `MitMediator.InMemoryCache.Abstractions` instead: ```sh -dotnet add package MitMediator.InMemoryCache.Abstractions -v 10.0.0-alfa +dotnet add package MitMediator.InMemoryCache.Abstractions -v 10.0.0 ``` ### 2. Register services