Skip to content

Commit

Permalink
Release 5.9.0 (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericDelaporte authored Feb 19, 2023
1 parent 01dd6fa commit 196296f
Show file tree
Hide file tree
Showing 17 changed files with 45 additions and 26 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
<SignAssembly>False</SignAssembly>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ Meant for testing purpose, consider NHibernate.Caches.CoreMemoryCache for other
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ This provider is not bound to a specific implementation and require a cache fact
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Improvement
* #106 - Unable to use DistributedCache with JsonCacheSerializer
* #117 - Avoid custom registration for the Json serializer

* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />
Expand Down
2 changes: 1 addition & 1 deletion NHibernate.Caches.Common/NHibernate.Caches.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion NHibernate.Caches.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<VersionMajor Condition="'$(VersionMajor)' == ''">5</VersionMajor>
<VersionMinor Condition="'$(VersionMinor)' == ''">8</VersionMinor>
<VersionMinor Condition="'$(VersionMinor)' == ''">9</VersionMinor>
<VersionPatch Condition="'$(VersionPatch)' == ''">0</VersionPatch>
<VersionSuffix Condition="'$(VersionSuffix)' == ''"></VersionSuffix>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<ItemGroup>
<None Include="..\..\NHibernate.Caches.snk" Link="NHibernate.snk" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@
<AssemblyOriginatorKeyFile>..\..\NHibernate.Caches.snk</AssemblyOriginatorKeyFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PackageReleaseNotes>* Task
* #110 - Update Newtonsoft Json.Net to a non-vulnerable version
* #89 - Fix iconUrl warning</PackageReleaseNotes>
* #113 - Tell NuGet about the readme file</PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<DefineConstants>NETFX;$(DefineConstants)</DefineConstants>
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version: 5.8.0.{build}
version: 5.9.0.{build}
image: Visual Studio 2022
configuration:
- Debug
Expand Down
2 changes: 1 addition & 1 deletion buildcommon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

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

<!-- named project configurations -->
<target name="set-debug-project-configuration" description="Perform a 'debug' build">
Expand Down
26 changes: 23 additions & 3 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, object>(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<string, object>(keyAsString, value)` as the cached value instead of a
`Tuple<object, object>(key, value)` :
CoreDistributedCache now uses a `Tuple<string, object>(keyAsString, value)` as the cached value instead of a
`Tuple<object, object>(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.
Expand All @@ -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
Expand Down

0 comments on commit 196296f

Please sign in to comment.