Skip to content

Commit 196296f

Browse files
Release 5.9.0 (#119)
1 parent 01dd6fa commit 196296f

File tree

17 files changed

+45
-26
lines changed

17 files changed

+45
-26
lines changed

CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memcached/NHibernate.Caches.CoreDistributedCache.Memcached.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
<SignAssembly>False</SignAssembly>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Improvement
12-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
12+
* #117 - Avoid custom registration for the Json serializer
1313

1414
* Task
15-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
15+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1616
</PropertyGroup>
1717
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
1818
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Memory/NHibernate.Caches.CoreDistributedCache.Memory.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Meant for testing purpose, consider NHibernate.Caches.CoreMemoryCache for other
1111
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<PackageReleaseNotes>* Improvement
14-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
14+
* #117 - Avoid custom registration for the Json serializer
1515

1616
* Task
17-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
17+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1818
</PropertyGroup>
1919
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
2020
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.Redis/NHibernate.Caches.CoreDistributedCache.Redis.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<PackageReleaseNotes>* Improvement
14-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
14+
* #117 - Avoid custom registration for the Json serializer
1515

1616
* Task
17-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
17+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1818
</PropertyGroup>
1919
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
2020
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.SqlServer/NHibernate.Caches.CoreDistributedCache.SqlServer.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1111
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1212
<PackageReleaseNotes>* Improvement
13-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
13+
* #117 - Avoid custom registration for the Json serializer
1414

1515
* Task
16-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
16+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1717
</PropertyGroup>
1818
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
1919
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

CoreDistributedCache/NHibernate.Caches.CoreDistributedCache/NHibernate.Caches.CoreDistributedCache.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ This provider is not bound to a specific implementation and require a cache fact
1111
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<PackageReleaseNotes>* Improvement
14-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
14+
* #117 - Avoid custom registration for the Json serializer
1515

1616
* Task
17-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
17+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1818
</PropertyGroup>
1919
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
2020
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

CoreMemoryCache/NHibernate.Caches.CoreMemoryCache/NHibernate.Caches.CoreMemoryCache.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<PackageReleaseNotes>* Improvement
14-
* #106 - Unable to use DistributedCache with JsonCacheSerializer
14+
* #117 - Avoid custom registration for the Json serializer
1515

1616
* Task
17-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
17+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1818
</PropertyGroup>
1919
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
2020
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

EnyimMemcached/NHibernate.Caches.EnyimMemcached/NHibernate.Caches.EnyimMemcached.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />

NHibernate.Caches.Common/NHibernate.Caches.Common.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1313
</PropertyGroup>
1414
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
1515
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

NHibernate.Caches.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project>
22
<PropertyGroup>
33
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
4-
<VersionMinor Condition="'$(VersionMinor)' == ''">8</VersionMinor>
4+
<VersionMinor Condition="'$(VersionMinor)' == ''">9</VersionMinor>
55
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
66
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>
77

RtMemoryCache/NHibernate.Caches.RtMemoryCache/NHibernate.Caches.RtMemoryCache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />

StackExchangeRedis/NHibernate.Caches.StackExchangeRedis/NHibernate.Caches.StackExchangeRedis.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1212
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1313
<PackageReleaseNotes>* Task
14-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
14+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1515
</PropertyGroup>
1616
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
1717
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

SysCache/NHibernate.Caches.SysCache/NHibernate.Caches.SysCache.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />

SysCache2/NHibernate.Caches.SysCache2/NHibernate.Caches.SysCache2.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1313
</PropertyGroup>
1414
<ItemGroup>
1515
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />

Util/NHibernate.Caches.Util.JsonSerializer/NHibernate.Caches.Util.JsonSerializer.csproj

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
1010
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1111
<PackageReleaseNotes>* Task
12-
* #110 - Update Newtonsoft Json.Net to a non-vulnerable version
13-
* #89 - Fix iconUrl warning</PackageReleaseNotes>
12+
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
1413
</PropertyGroup>
1514
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
1615
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version: 5.8.0.{build}
1+
version: 5.9.0.{build}
22
image: Visual Studio 2022
33
configuration:
44
- Debug

buildcommon.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
<!-- This is used only for build folder -->
2020
<!-- TODO: Either remove or refactor to use NHibernate.Caches.props -->
21-
<property name="project.version" value="5.8.0" overwrite="false" />
21+
<property name="project.version" value="5.9.0" overwrite="false" />
2222

2323
<!-- named project configurations -->
2424
<target name="set-debug-project-configuration" description="Perform a 'debug' build">

readme.md

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,31 @@ It's recommended to research for a while before deciding which one is better for
2020

2121
## Notes
2222

23+
#### Build 5.9.0 for NHibernate 5.2.0
24+
25+
##### Possible breaking change
26+
To eliminate the need for a JSON serializer custom registration, CoreDistributedCache now uses a simple `object[]`
27+
as the cached value instead of a `Tuple<string, object>(keyAsString, value)`:
28+
- Upon upgrade, all previously cached entries will be ignored.
29+
- If the distributed cache remains filled by older releases through other processes, there will be additional cache
30+
misses for both older and newer versions.
31+
- If you are using another serializer than the default binary serializer, you may have to adjust its configuration.
32+
33+
* Improvement
34+
* #117 - Avoid custom registration for the Json serializer
35+
* #115 - Run tests using .NET 6
36+
37+
* Task
38+
* #119 - Release 5.9.0
39+
* #118 - Allow git to handle line endings
40+
* #116 - Remove Microsoft.Extensions.Caching.SqlConfig.Tools cli
41+
* #113 - Tell NuGet about the readme file
42+
2343
#### Build 5.8.0 for NHibernate 5.2.0
2444

2545
##### Possible breaking change
26-
CoreDistributedCache now use a `Tuple<string, object>(keyAsString, value)` as the cached value instead of a
27-
`Tuple<object, object>(key, value)` :
46+
CoreDistributedCache now uses a `Tuple<string, object>(keyAsString, value)` as the cached value instead of a
47+
`Tuple<object, object>(key, value)`:
2848
- Upon upgrade, all previously cached entries will be ignored.
2949
- If the distributed cache remains filled by older releases through other processes, there will be additional cache
3050
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
3757
* #106 - Unable to use DistributedCache with JsonCacheSerializer
3858

3959
* Task
40-
* #112 - Release 5.7.0
60+
* #112 - Release 5.8.0
4161
* #110 - Update Newtonsoft Json.Net to a non-vulnerable version
4262
* #109 - Automatically generate async code on pull request
4363
* #108 - Fix AppVeyor build

0 commit comments

Comments
 (0)