Skip to content

Commit

Permalink
v.6.0.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
jsakamoto committed Dec 19, 2024
1 parent c1a5f74 commit 52a247a
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 12 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: unit tests

on:
push:
branches:
branches:
- main

jobs:
Expand All @@ -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
run: dotnet test HotKeys2.Test -l "console;verbosity=normal" -v:q --nologo
4 changes: 2 additions & 2 deletions HotKeys2/Toolbelt.Blazor.HotKeys2.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</PropertyGroup>

<PropertyGroup>
<Version>6.0.0-preview.1</Version>
<Version>6.0.0</Version>
<Copyright>Copyright © 2022-2024 J.Sakamoto, Mozilla Public License 2.0</Copyright>
<Authors>J.Sakamoto</Authors>
<RepositoryType>git</RepositoryType>
Expand Down Expand Up @@ -116,7 +116,7 @@
<PropertyGroup>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a');v.0.0</PackageReleaseNotes>
<PackageReleaseNotes>$([System.Text.RegularExpressions.Regex]::Match($(PackageReleaseNotes), "^(v\.[\d\.]+.+?)v\.[\d\.]+", System.Text.RegularExpressions.RegexOptions.Singleline).Groups[1].Value)</PackageReleaseNotes>
<PackageReleaseNotes>$(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>
<PackageReleaseNotes>$(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</PackageReleaseNotes>
</PropertyGroup>
</Target>

Expand Down
2 changes: 1 addition & 1 deletion HotKeys2/VersionInfo.cs
Original file line number Diff line number Diff line change
@@ -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";
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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?

Expand Down
5 changes: 5 additions & 0 deletions RELEASE-NOTES.txt
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
2 changes: 1 addition & 1 deletion SampleSites/Components/SampleSite.Components.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
</ItemGroup>

<ItemGroup Condition=" '$(BuildMode)' != 'test' ">
<PackageReference Include="Toolbelt.Blazor.HotKeys2" Version="6.0.0-preview.1" />
<PackageReference Include="Toolbelt.Blazor.HotKeys2" Version="6.0.0" />
<!--<ProjectReference Include="..\..\HotKeys2\Toolbelt.Blazor.HotKeys2.csproj" />-->
</ItemGroup>

Expand Down

0 comments on commit 52a247a

Please sign in to comment.