From 5cadb87dca9b24d0971d9f251630737c3d8352f8 Mon Sep 17 00:00:00 2001 From: Lala Sabathil Date: Sat, 7 Dec 2024 06:56:48 +0100 Subject: [PATCH] chore!: removed .NET 7 support --- .github/workflows/build.yml | 2 -- .github/workflows/codeql-analysis.yml | 1 - .github/workflows/documentation.yml | 3 --- .github/workflows/documentation_test.yml | 3 --- .github/workflows/internal-release.yml | 1 - .github/workflows/public-dev-release.yml | 1 - .github/workflows/release.yml | 1 - .../DisCatSharp.ApplicationCommands.csproj | 2 +- DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj | 2 +- DisCatSharp.Common/DisCatSharp.Common.csproj | 2 +- DisCatSharp.Configuration/DisCatSharp.Configuration.csproj | 2 +- DisCatSharp.Experimental/DisCatSharp.Experimental.csproj | 2 +- .../DisCatSharp.Hosting.DependencyInjection.csproj | 2 +- DisCatSharp.Hosting/DisCatSharp.Hosting.csproj | 2 +- DisCatSharp.Interactivity/DisCatSharp.Interactivity.csproj | 2 +- DisCatSharp.Lavalink/DisCatSharp.Lavalink.csproj | 2 +- DisCatSharp.Targets/Library.targets | 2 +- DisCatSharp.Targets/TestProject.targets | 2 +- .../DisCatSharp.VoiceNext.Natives.csproj | 2 +- DisCatSharp.VoiceNext/DisCatSharp.VoiceNext.csproj | 2 +- 20 files changed, 13 insertions(+), 25 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 24338f44ed..9891a3e9ee 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore dependencies run: | dotnet restore --no-cache -f -v minimal DisCatSharp.sln @@ -64,7 +63,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore Packages run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln - name: Build library diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 2540966625..9d78c288b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -45,7 +45,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore dependencies run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln - name: Build diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index a6fca715b4..1ad333da6a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -24,7 +24,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Git fetch unshallow run: git fetch --unshallow - name: Install DocFX @@ -35,8 +34,6 @@ jobs: run: dotnet build -c Release --no-restore -v minimal -f net8.0 DisCatSharp.sln timeout-minutes: 7 continue-on-error: true - #- name: Add Custom Plugins - # run: cp -R DisCatSharp.Docs/dcs/plugins/* /home/runner/.dotnet/tools/.store/docfx/2.67.0/docfx/2.67.0/tools/net7.0/any/ - name: Build Docs run: docfx DisCatSharp.Docs/docfx.json - name: Pack Docs diff --git a/.github/workflows/documentation_test.yml b/.github/workflows/documentation_test.yml index 1b48eaf3fc..6d2f0a81f7 100644 --- a/.github/workflows/documentation_test.yml +++ b/.github/workflows/documentation_test.yml @@ -25,7 +25,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Install DocFX run: dotnet tool update -g docfx continue-on-error: true @@ -35,8 +34,6 @@ jobs: run: dotnet build -c Release -v minimal -f net8.0 --no-restore DisCatSharp.sln timeout-minutes: 7 continue-on-error: true - #- name: Add Custom Plugins - # run: cp -R DisCatSharp.Docs/dcs/plugins/* /home/runner/.dotnet/tools/.store/docfx/2.67.0/docfx/2.67.0/tools/net7.0/any/ - name: Build Docs run: docfx DisCatSharp.Docs/docfx.json - name: Pack Docs diff --git a/.github/workflows/internal-release.yml b/.github/workflows/internal-release.yml index c47f832837..ba2ccffffb 100644 --- a/.github/workflows/internal-release.yml +++ b/.github/workflows/internal-release.yml @@ -27,7 +27,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore dependencies run: | dotnet restore --no-cache -f -v minimal DisCatSharp.sln diff --git a/.github/workflows/public-dev-release.yml b/.github/workflows/public-dev-release.yml index 710d15e67e..7075bd4a79 100644 --- a/.github/workflows/public-dev-release.yml +++ b/.github/workflows/public-dev-release.yml @@ -41,7 +41,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore dependencies run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln - name: Set outputs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92c684a9b8..b95a5550d1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -57,7 +57,6 @@ jobs: dotnet-version: | 9.x 8.x - 7.x - name: Restore dependencies (DisCatSharp) if: ${{ github.event.inputs.packages_to_release == 'DisCatSharp' }} run: dotnet restore --no-cache -f -v minimal DisCatSharp.sln diff --git a/DisCatSharp.ApplicationCommands/DisCatSharp.ApplicationCommands.csproj b/DisCatSharp.ApplicationCommands/DisCatSharp.ApplicationCommands.csproj index 79647a0647..5ee388c8c9 100644 --- a/DisCatSharp.ApplicationCommands/DisCatSharp.ApplicationCommands.csproj +++ b/DisCatSharp.ApplicationCommands/DisCatSharp.ApplicationCommands.csproj @@ -23,7 +23,7 @@ Documentation: https://docs.dcs.aitsys.dev/articles/modules/application_commands/intro.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Application Commands,Context Menu Commands + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Application Commands,Context Menu Commands diff --git a/DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj b/DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj index b600840498..9557b04f90 100644 --- a/DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj +++ b/DisCatSharp.CommandsNext/DisCatSharp.CommandsNext.csproj @@ -24,7 +24,7 @@ Note: Requires the Message Content Intent enabled for your discord application. Documentation: https://docs.dcs.aitsys.dev/articles/modules/commandsnext/intro.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Text Commands + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Text Commands diff --git a/DisCatSharp.Common/DisCatSharp.Common.csproj b/DisCatSharp.Common/DisCatSharp.Common.csproj index da59bb983d..735dd14738 100644 --- a/DisCatSharp.Common/DisCatSharp.Common.csproj +++ b/DisCatSharp.Common/DisCatSharp.Common.csproj @@ -22,7 +22,7 @@ Common tools for DisCatSharp, like regexes and converters! - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Common Tools + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Common Tools diff --git a/DisCatSharp.Configuration/DisCatSharp.Configuration.csproj b/DisCatSharp.Configuration/DisCatSharp.Configuration.csproj index 30885cbe39..d0b0725ed5 100644 --- a/DisCatSharp.Configuration/DisCatSharp.Configuration.csproj +++ b/DisCatSharp.Configuration/DisCatSharp.Configuration.csproj @@ -18,7 +18,7 @@ DisCatSharp.Configuration Configuration for the DisCatSharp Hosting Extension. - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Hosting,Web,Configuration + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Hosting,Web,Configuration diff --git a/DisCatSharp.Experimental/DisCatSharp.Experimental.csproj b/DisCatSharp.Experimental/DisCatSharp.Experimental.csproj index 4c4d017ca2..57369fdd55 100644 --- a/DisCatSharp.Experimental/DisCatSharp.Experimental.csproj +++ b/DisCatSharp.Experimental/DisCatSharp.Experimental.csproj @@ -21,7 +21,7 @@ Experimental changes for DisCatSharp. - DisCatSharp,Experimental,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9 + DisCatSharp,Experimental,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9 diff --git a/DisCatSharp.Hosting.DependencyInjection/DisCatSharp.Hosting.DependencyInjection.csproj b/DisCatSharp.Hosting.DependencyInjection/DisCatSharp.Hosting.DependencyInjection.csproj index 7754ca7753..3364dba1c9 100644 --- a/DisCatSharp.Hosting.DependencyInjection/DisCatSharp.Hosting.DependencyInjection.csproj +++ b/DisCatSharp.Hosting.DependencyInjection/DisCatSharp.Hosting.DependencyInjection.csproj @@ -12,7 +12,7 @@ DisCatSharp.Hosting.DependencyInjection Dependency Injection for the DisCatSharp Hosting Extension. - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Hosting,Web,Dependency Injection + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Hosting,Web,Dependency Injection diff --git a/DisCatSharp.Hosting/DisCatSharp.Hosting.csproj b/DisCatSharp.Hosting/DisCatSharp.Hosting.csproj index a47c2c9674..7a5e06609c 100644 --- a/DisCatSharp.Hosting/DisCatSharp.Hosting.csproj +++ b/DisCatSharp.Hosting/DisCatSharp.Hosting.csproj @@ -12,7 +12,7 @@ DisCatSharp.Hosting Hosting Extension for DisCatSharp. - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Hosting,Web + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Hosting,Web diff --git a/DisCatSharp.Interactivity/DisCatSharp.Interactivity.csproj b/DisCatSharp.Interactivity/DisCatSharp.Interactivity.csproj index 0bfece3cbb..6d2d079baf 100644 --- a/DisCatSharp.Interactivity/DisCatSharp.Interactivity.csproj +++ b/DisCatSharp.Interactivity/DisCatSharp.Interactivity.csproj @@ -23,7 +23,7 @@ Documentation: https://docs.dcs.aitsys.dev/articles/modules/interactivity.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Pagination,Reactions,Buttons,Interactive Commands,Interactivity,Message Components + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Pagination,Reactions,Buttons,Interactive Commands,Interactivity,Message Components diff --git a/DisCatSharp.Lavalink/DisCatSharp.Lavalink.csproj b/DisCatSharp.Lavalink/DisCatSharp.Lavalink.csproj index 74dc15d77e..d81fadeff4 100644 --- a/DisCatSharp.Lavalink/DisCatSharp.Lavalink.csproj +++ b/DisCatSharp.Lavalink/DisCatSharp.Lavalink.csproj @@ -27,7 +27,7 @@ Documentation: https://docs.dcs.aitsys.dev/articles/modules/audio/lavalink_v4/intro.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Voice,Lavalink,Lavalink V4,Audio Player,Music,YouTube,Spotify,SoundCloud,Twitch,Vimeo,BandCamp,Apple Music,Yandex Music,Spotify,Spotify Recommendations,Deezer,Deezer ISRC,Local Music,Direct Url Music + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Voice,Lavalink,Lavalink V4,Audio Player,Music,YouTube,Spotify,SoundCloud,Twitch,Vimeo,BandCamp,Apple Music,Yandex Music,Spotify,Spotify Recommendations,Deezer,Deezer ISRC,Local Music,Direct Url Music diff --git a/DisCatSharp.Targets/Library.targets b/DisCatSharp.Targets/Library.targets index 403ad1728b..7e7afeca6f 100644 --- a/DisCatSharp.Targets/Library.targets +++ b/DisCatSharp.Targets/Library.targets @@ -3,7 +3,7 @@ Library - net7.0;net8.0;net9.0 + net8.0;net9.0 latest enable false diff --git a/DisCatSharp.Targets/TestProject.targets b/DisCatSharp.Targets/TestProject.targets index 65d0f5131a..cc35a3b89a 100644 --- a/DisCatSharp.Targets/TestProject.targets +++ b/DisCatSharp.Targets/TestProject.targets @@ -3,7 +3,7 @@ Library - net7.0;net8.0;net9.0 + net8.0;net9.0 latest enable true diff --git a/DisCatSharp.VoiceNext.Natives/DisCatSharp.VoiceNext.Natives.csproj b/DisCatSharp.VoiceNext.Natives/DisCatSharp.VoiceNext.Natives.csproj index 1a92fe5c90..5038491767 100644 --- a/DisCatSharp.VoiceNext.Natives/DisCatSharp.VoiceNext.Natives.csproj +++ b/DisCatSharp.VoiceNext.Natives/DisCatSharp.VoiceNext.Natives.csproj @@ -22,7 +22,7 @@ Manual Download: https://docs.dcs.aitsys.dev/natives/index.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Voice,Audio Player + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Voice,Audio Player diff --git a/DisCatSharp.VoiceNext/DisCatSharp.VoiceNext.csproj b/DisCatSharp.VoiceNext/DisCatSharp.VoiceNext.csproj index 38a3bc29ba..73a0d91bdc 100644 --- a/DisCatSharp.VoiceNext/DisCatSharp.VoiceNext.csproj +++ b/DisCatSharp.VoiceNext/DisCatSharp.VoiceNext.csproj @@ -24,7 +24,7 @@ Documentation: https://docs.dcs.aitsys.dev/articles/modules/audio/voicenext/prerequisites.html - DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net7,Net8,Net9,Voice,Audio Player + DisCatSharp,Discord API Wrapper,Discord,Bots,Discord Bots,AITSYS,Net8,Net9,Voice,Audio Player