From 196296f0b8207f8d977de209d5cca97250ec9e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Delaporte?= <12201973+fredericDelaporte@users.noreply.github.com> Date: Sun, 19 Feb 2023 20:51:50 +0100 Subject: [PATCH] Release 5.9.0 (#119) --- ...ches.CoreDistributedCache.Memcached.csproj | 4 +-- ....Caches.CoreDistributedCache.Memory.csproj | 4 +-- ...e.Caches.CoreDistributedCache.Redis.csproj | 4 +-- ...ches.CoreDistributedCache.SqlServer.csproj | 4 +-- ...bernate.Caches.CoreDistributedCache.csproj | 4 +-- .../NHibernate.Caches.CoreMemoryCache.csproj | 4 +-- .../NHibernate.Caches.EnyimMemcached.csproj | 2 +- .../NHibernate.Caches.Common.csproj | 2 +- NHibernate.Caches.props | 2 +- .../NHibernate.Caches.RtMemoryCache.csproj | 2 +- ...Hibernate.Caches.StackExchangeRedis.csproj | 2 +- .../NHibernate.Caches.SysCache.csproj | 2 +- .../NHibernate.Caches.SysCache2.csproj | 2 +- ...ibernate.Caches.Util.JsonSerializer.csproj | 3 +-- appveyor.yml | 2 +- buildcommon.xml | 2 +- readme.md | 26 ++++++++++++++++--- 17 files changed, 45 insertions(+), 26 deletions(-) diff --git a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memcached/NHibernate.Caches.CoreDistributedCache.Memcached.csproj b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memcached/NHibernate.Caches.CoreDistributedCache.Memcached.csproj index 4cb5f61..1161695 100644 --- a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memcached/NHibernate.Caches.CoreDistributedCache.Memcached.csproj +++ b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memcached/NHibernate.Caches.CoreDistributedCache.Memcached.csproj @@ -9,10 +9,10 @@ False true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memory/NHibernate.Caches.CoreDistributedCache.Memory.csproj b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memory/NHibernate.Caches.CoreDistributedCache.Memory.csproj index 973836b..2653728 100644 --- a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memory/NHibernate.Caches.CoreDistributedCache.Memory.csproj +++ b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memory/NHibernate.Caches.CoreDistributedCache.Memory.csproj @@ -11,10 +11,10 @@ Meant for testing purpose, consider NHibernate.Caches.CoreMemoryCache for other ..\..\NHibernate.Caches.snk true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Redis/NHibernate.Caches.CoreDistributedCache.Redis.csproj b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Redis/NHibernate.Caches.CoreDistributedCache.Redis.csproj index b057896..7a7bbc6 100644 --- a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Redis/NHibernate.Caches.CoreDistributedCache.Redis.csproj +++ b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Redis/NHibernate.Caches.CoreDistributedCache.Redis.csproj @@ -11,10 +11,10 @@ ..\..\NHibernate.Caches.snk true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.SqlServer/NHibernate.Caches.CoreDistributedCache.SqlServer.csproj b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.SqlServer/NHibernate.Caches.CoreDistributedCache.SqlServer.csproj index b9fe456..3a4ba08 100644 --- a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.SqlServer/NHibernate.Caches.CoreDistributedCache.SqlServer.csproj +++ b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.SqlServer/NHibernate.Caches.CoreDistributedCache.SqlServer.csproj @@ -10,10 +10,10 @@ ..\..\NHibernate.Caches.snk true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj index 443e5eb..55d4b17 100644 --- a/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj +++ b/CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj @@ -11,10 +11,10 @@ This provider is not bound to a specific implementation and require a cache fact ..\..\NHibernate.Caches.snk true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/CoreMemoryCache/NHibernate.Caches.CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.csproj b/CoreMemoryCache/NHibernate.Caches.CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.csproj index 2621fe6..0c973b4 100644 --- a/CoreMemoryCache/NHibernate.Caches.CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.csproj +++ b/CoreMemoryCache/NHibernate.Caches.CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.csproj @@ -11,10 +11,10 @@ ..\..\NHibernate.Caches.snk true * Improvement - * #106 - Unable to use DistributedCache with JsonCacheSerializer + * #117 - Avoid custom registration for the Json serializer * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/EnyimMemcached/NHibernate.Caches.EnyimMemcached/NHibernate.Caches.EnyimMemcached.csproj b/EnyimMemcached/NHibernate.Caches.EnyimMemcached/NHibernate.Caches.EnyimMemcached.csproj index 7e4de54..baa84e4 100644 --- a/EnyimMemcached/NHibernate.Caches.EnyimMemcached/NHibernate.Caches.EnyimMemcached.csproj +++ b/EnyimMemcached/NHibernate.Caches.EnyimMemcached/NHibernate.Caches.EnyimMemcached.csproj @@ -9,7 +9,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file diff --git a/NHibernate.Caches.Common/NHibernate.Caches.Common.csproj b/NHibernate.Caches.Common/NHibernate.Caches.Common.csproj index 85915f2..8055c67 100644 --- a/NHibernate.Caches.Common/NHibernate.Caches.Common.csproj +++ b/NHibernate.Caches.Common/NHibernate.Caches.Common.csproj @@ -9,7 +9,7 @@ ..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/NHibernate.Caches.props b/NHibernate.Caches.props index ffb7d6c..0485429 100644 --- a/NHibernate.Caches.props +++ b/NHibernate.Caches.props @@ -1,7 +1,7 @@ 5 - 8 + 9 0 diff --git a/RtMemoryCache/NHibernate.Caches.RtMemoryCache/NHibernate.Caches.RtMemoryCache.csproj b/RtMemoryCache/NHibernate.Caches.RtMemoryCache/NHibernate.Caches.RtMemoryCache.csproj index a35c6e1..91db049 100644 --- a/RtMemoryCache/NHibernate.Caches.RtMemoryCache/NHibernate.Caches.RtMemoryCache.csproj +++ b/RtMemoryCache/NHibernate.Caches.RtMemoryCache/NHibernate.Caches.RtMemoryCache.csproj @@ -9,7 +9,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file diff --git a/StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj b/StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj index 9acb8ec..ad3b651 100644 --- a/StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj +++ b/StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj @@ -11,7 +11,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/SysCache/NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.csproj b/SysCache/NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.csproj index 7e0c857..d1eb377 100644 --- a/SysCache/NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.csproj +++ b/SysCache/NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.csproj @@ -9,7 +9,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file diff --git a/SysCache2/NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.csproj b/SysCache2/NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.csproj index 984c7be..d6503ca 100644 --- a/SysCache2/NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.csproj +++ b/SysCache2/NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.csproj @@ -9,7 +9,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file diff --git a/Util/NHibernate.Caches.Util.JsonSerializer/NHibernate.Caches.Util.JsonSerializer.csproj b/Util/NHibernate.Caches.Util.JsonSerializer/NHibernate.Caches.Util.JsonSerializer.csproj index 4594698..05a8cd7 100644 --- a/Util/NHibernate.Caches.Util.JsonSerializer/NHibernate.Caches.Util.JsonSerializer.csproj +++ b/Util/NHibernate.Caches.Util.JsonSerializer/NHibernate.Caches.Util.JsonSerializer.csproj @@ -9,8 +9,7 @@ ..\..\NHibernate.Caches.snk true * Task - * #110 - Update Newtonsoft Json.Net to a non-vulnerable version - * #89 - Fix iconUrl warning + * #113 - Tell NuGet about the readme file NETFX;$(DefineConstants) diff --git a/appveyor.yml b/appveyor.yml index 9061a6f..ecee696 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -1,4 +1,4 @@ -version: 5.8.0.{build} +version: 5.9.0.{build} image: Visual Studio 2022 configuration: - Debug diff --git a/buildcommon.xml b/buildcommon.xml index 473a6a6..58faa36 100644 --- a/buildcommon.xml +++ b/buildcommon.xml @@ -18,7 +18,7 @@ - + diff --git a/readme.md b/readme.md index e1bc8ac..70d3ef6 100644 --- a/readme.md +++ b/readme.md @@ -20,11 +20,31 @@ It's recommended to research for a while before deciding which one is better for ## Notes +#### Build 5.9.0 for NHibernate 5.2.0 + +##### Possible breaking change +To eliminate the need for a JSON serializer custom registration, CoreDistributedCache now uses a simple `object[]` +as the cached value instead of a `Tuple(keyAsString, value)`: +- Upon upgrade, all previously cached entries will be ignored. +- If the distributed cache remains filled by older releases through other processes, there will be additional cache + misses for both older and newer versions. +- If you are using another serializer than the default binary serializer, you may have to adjust its configuration. + +* Improvement + * #117 - Avoid custom registration for the Json serializer + * #115 - Run tests using .NET 6 + +* Task + * #119 - Release 5.9.0 + * #118 - Allow git to handle line endings + * #116 - Remove Microsoft.Extensions.Caching.SqlConfig.Tools cli + * #113 - Tell NuGet about the readme file + #### Build 5.8.0 for NHibernate 5.2.0 ##### Possible breaking change -CoreDistributedCache now use a `Tuple(keyAsString, value)` as the cached value instead of a -`Tuple(key, value)` : +CoreDistributedCache now uses a `Tuple(keyAsString, value)` as the cached value instead of a +`Tuple(key, value)`: - Upon upgrade, all previously cached entries will be ignored. - If the distributed cache remains filled by older releases through other processes, there will be additional cache misses for both older and newer versions. @@ -37,7 +57,7 @@ NHibernate.Caches.Util.JsonSerializer now uses Newtonsoft.Json 13.0.1, up from 1 * #106 - Unable to use DistributedCache with JsonCacheSerializer * Task - * #112 - Release 5.7.0 + * #112 - Release 5.8.0 * #110 - Update Newtonsoft Json.Net to a non-vulnerable version * #109 - Automatically generate async code on pull request * #108 - Fix AppVeyor build