Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="10.1.0" />
<PackageVersion Include="FluentValidation" Version="12.2.0" />
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="12.2.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.13" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.13" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="10.0.13" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="MitMediator" Version="10.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="10.3.1" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.1" />
<PackageVersion Include="MitMediator.InMemoryCache.Abstractions" Version="10.0.0-alfa" />
</ItemGroup>
</Project>
<PropertyGroup>
<ManagePackageVersionsCentrally>true</ManagePackageVersionsCentrally>
</PropertyGroup>
<ItemGroup>
<PackageVersion Include="coverlet.collector" Version="10.1.0" />
<PackageVersion Include="FluentValidation" Version="12.2.0" />
<PackageVersion Include="FluentValidation.DependencyInjectionExtensions" Version="12.2.0" />
<PackageVersion Include="Microsoft.EntityFrameworkCore" Version="10.0.13" />
<PackageVersion Include="Microsoft.EntityFrameworkCore.Sqlite" Version="10.0.13" />
<PackageVersion Include="Microsoft.Extensions.Caching.Memory" Version="10.0.13" />
<PackageVersion Include="Microsoft.NET.Test.Sdk" Version="18.11.0" />
<PackageVersion Include="MitMediator" Version="10.0.0" />
<PackageVersion Include="Swashbuckle.AspNetCore" Version="10.3.1" />
<PackageVersion Include="xunit" Version="2.9.3" />
<PackageVersion Include="xunit.runner.visualstudio" Version="4.0.1" />
<PackageVersion Include="MitMediator.InMemoryCache.Abstractions" Version="10.0.0" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,34 +1,36 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>MitMediator.InMemoryCache.Abstractions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>10.0.0-alfa</Version>
<Title>MitMediator.InMemoryCache.Abstractions</Title>
<Description>An attribute-driven in-memory caching extension for the MitMediator</Description>
<PackageProjectUrl>https://github.com/dzmprt/MitMediator.InMemoryCache</PackageProjectUrl>
<PackageTags>mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache</PackageTags>
<PackageReleaseNotes>v10.0.0-alfa
Change attribute name to [CacheResponseInMemory]. Add abstractions package.</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>logo.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<RootNamespace>MitMediator.InMemoryCache.Abstractions</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>10.0.0</Version>
<Title>MitMediator.InMemoryCache.Abstractions</Title>
<Description>An attribute-driven in-memory caching extension for the MitMediator</Description>
<PackageProjectUrl>https://github.com/dzmprt/MitMediator.InMemoryCache</PackageProjectUrl>
<PackageTags>mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache</PackageTags>
<PackageReleaseNotes>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.</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>logo.png</PackageIcon>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
</PropertyGroup>

<ItemGroup>
<None Include="..\..\assets\logo.png" Pack="true" PackagePath="" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\assets\logo.png" Pack="true" PackagePath="" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\README.md" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\LICENSE" Pack="true" PackagePath="\" />
</ItemGroup>


</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@
<RootNamespace>MitMediator.InMemoryCache</RootNamespace>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<Version>10.0.0-alfa</Version>
<Version>10.0.0</Version>
<Title>MitMediator.InMemoryCache</Title>
<Description>An attribute-driven in-memory caching extension for the MitMediator</Description>
<PackageProjectUrl>https://github.com/dzmprt/MitMediator.InMemoryCache</PackageProjectUrl>
<PackageTags>mediator;request;response;queries;commands;mitmediator;cqrs;memorycache;inmemorycache</PackageTags>
<PackageReleaseNotes>v10.0.0-alfa
Change attribute name to [CacheResponseInMemory]. Add abstractions package.</PackageReleaseNotes>
<PackageReleaseNotes>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.</PackageReleaseNotes>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>logo.png</PackageIcon>
Expand Down
Loading