From 52a247a2f17ac73e7b1c16db41b5bbbe2956d90e Mon Sep 17 00:00:00 2001 From: jsakamoto Date: Thu, 19 Dec 2024 18:21:26 +0900 Subject: [PATCH] v.6.0.0 release --- .github/workflows/gh-pages.yml | 5 ++--- .github/workflows/unit-tests.yml | 7 +++---- HotKeys2/Toolbelt.Blazor.HotKeys2.csproj | 4 ++-- HotKeys2/VersionInfo.cs | 2 +- README.md | 2 +- RELEASE-NOTES.txt | 5 +++++ SampleSites/Components/SampleSite.Components.csproj | 2 +- 7 files changed, 15 insertions(+), 12 deletions(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index d226763..1428550 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -16,14 +16,13 @@ jobs: - name: Setup .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x - dotnet-quality: "preview" + dotnet-version: 9.0.x - name: Install .NET WebAssembly Tools run: dotnet workload install wasm-tools # Publish the site - name: Publish - run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net8.0 + run: dotnet publish SampleSites/Client/SampleSite.Client.csproj -c:Release -o:public -p:GHPages=true -f:net9.0 # Fix the Content Security Policy (CSP) - name: Fix CSP diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 732f243..f6b3b59 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -2,7 +2,7 @@ name: unit tests on: push: - branches: + branches: - main jobs: @@ -17,10 +17,9 @@ jobs: uses: actions/setup-dotnet@v4 with: dotnet-version: | - 6.0.x - 7.0.x 8.0.x + 9.0.x # Perform unit tests - name: Perform unit tests - run: dotnet test HotKeys2.Test -l "console;verbosity=normal" -v:q --nologo \ No newline at end of file + run: dotnet test HotKeys2.Test -l "console;verbosity=normal" -v:q --nologo diff --git a/HotKeys2/Toolbelt.Blazor.HotKeys2.csproj b/HotKeys2/Toolbelt.Blazor.HotKeys2.csproj index b03cc1a..6218c3a 100644 --- a/HotKeys2/Toolbelt.Blazor.HotKeys2.csproj +++ b/HotKeys2/Toolbelt.Blazor.HotKeys2.csproj @@ -14,7 +14,7 @@ - 6.0.0-preview.1 + 6.0.0 Copyright © 2022-2024 J.Sakamoto, Mozilla Public License 2.0 J.Sakamoto git @@ -116,7 +116,7 @@ @(ReleaseNoteLines, '%0a');v.0.0 $([System.Text.RegularExpressions.Regex]::Match($(PackageReleaseNotes), "^(v\.[\d\.]+.+?)v\.[\d\.]+", System.Text.RegularExpressions.RegexOptions.Singleline).Groups[1].Value) - $(PackageReleaseNotes)%0a%0aTo see all the change logs, please visit the following URL.%0a- https://github.com/jsakamoto/Toolbelt.Blazor.HotKeys2/blob/master/RELEASE-NOTES.txt + $(PackageReleaseNotes)%0aTo see all the change logs, please visit the following URL.%0a- https://github.com/jsakamoto/Toolbelt.Blazor.HotKeys2/blob/master/RELEASE-NOTES.txt diff --git a/HotKeys2/VersionInfo.cs b/HotKeys2/VersionInfo.cs index e4d4a78..26284f0 100644 --- a/HotKeys2/VersionInfo.cs +++ b/HotKeys2/VersionInfo.cs @@ -1,5 +1,5 @@ namespace Toolbelt.Blazor.HotKeys2; internal static class VersionInfo { - internal const string VersionText = "6.0.0-preview.1"; + internal const string VersionText = "6.0.0"; } diff --git a/README.md b/README.md index 5ed8139..68083e4 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ _hotKeysContext = this.HotKeys.CreateContext() ## Supported Blazor versions -This library suppots ASP.NET Core Blazor version 6.0, 7.0, 8.0 or later. +This library suppots ASP.NET Core Blazor version 8.0, 9.0, or later. ## How to install and use? diff --git a/RELEASE-NOTES.txt b/RELEASE-NOTES.txt index b2653a4..afd4634 100644 --- a/RELEASE-NOTES.txt +++ b/RELEASE-NOTES.txt @@ -1,3 +1,8 @@ +v.6.0.0 +- Improve: Excluding now will work better even if an element is inside a shadow DOM. This change improves hotkey behavior on some UI component libraries, such as Fluent UI Blazor. +- Update: Added support for .NET 9. +- Breaking Change: Discontinued support for .NET 6 and 7. + v.5.1.0 - Improve: Add Numpad and Japanese specific keys and codes. diff --git a/SampleSites/Components/SampleSite.Components.csproj b/SampleSites/Components/SampleSite.Components.csproj index 599d596..04bf48c 100644 --- a/SampleSites/Components/SampleSite.Components.csproj +++ b/SampleSites/Components/SampleSite.Components.csproj @@ -16,7 +16,7 @@ - +