diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b9db73d2..2a59c974 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2024 Emulsion contributors +# SPDX-FileCopyrightText: 2025 Emulsion contributors # # SPDX-License-Identifier: MIT @@ -31,7 +31,7 @@ jobs: - name: Set up .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: NuGet cache uses: actions/cache@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6cd4ef89..99ba50c6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2024 Emulsion contributors +# SPDX-FileCopyrightText: 2025 Emulsion contributors # # SPDX-License-Identifier: MIT @@ -44,7 +44,7 @@ jobs: - name: Set up .NET SDK uses: actions/setup-dotnet@v4 with: - dotnet-version: 8.0.x + dotnet-version: 9.0.x - name: NuGet cache uses: actions/cache@v4 with: diff --git a/CHANGELOG.md b/CHANGELOG.md index b80893c4..7a700872 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,5 @@ @@ -12,6 +12,10 @@ Versioning v2.0.0](https://semver.org/spec/v2.0.0.html). When considering the public API, we take into account the tool configuration and external requirements of the framework-dependent binary. Meaning that basically, breaking changes in configuration files, command-line syntax, or in the runtime requirements should be causing a major version increment. +## [Unreleased] (4.0.0) +### Changed +- **(Requirement update!)** Update to .NET 9. + ## [3.0.0] - 2024-06-23 ### Changed - **(Requirement update!)** Update to .NET 8. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 43f7a0fa..753f4f04 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -1,5 +1,5 @@ @@ -10,7 +10,7 @@ Contributor Guide Prerequisites ------------- To develop Emulsion, make sure you've installed the following tools: -- [.NET SDK][dotnet] 8.0 or later, +- [.NET SDK][dotnet] 9.0 or later, - [Node.js][node.js] 18: - if you use [nvm][] or [nvm-windows][], then run `nvm use 18`. diff --git a/Emulsion.ContentProxy/Emulsion.ContentProxy.fsproj b/Emulsion.ContentProxy/Emulsion.ContentProxy.fsproj index 5c7bf925..ccc401c9 100644 --- a/Emulsion.ContentProxy/Emulsion.ContentProxy.fsproj +++ b/Emulsion.ContentProxy/Emulsion.ContentProxy.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT - net8.0 + net9.0 diff --git a/Emulsion.Database/Emulsion.Database.fsproj b/Emulsion.Database/Emulsion.Database.fsproj index b6c70a9b..fa99d102 100644 --- a/Emulsion.Database/Emulsion.Database.fsproj +++ b/Emulsion.Database/Emulsion.Database.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT - net8.0 + net9.0 diff --git a/Emulsion.MessageArchive.Frontend/Emulsion.MessageArchive.Frontend.proj b/Emulsion.MessageArchive.Frontend/Emulsion.MessageArchive.Frontend.proj index ce3fb60a..f76e2988 100644 --- a/Emulsion.MessageArchive.Frontend/Emulsion.MessageArchive.Frontend.proj +++ b/Emulsion.MessageArchive.Frontend/Emulsion.MessageArchive.Frontend.proj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT - net8.0 + net9.0 diff --git a/Emulsion.Messaging/Emulsion.Messaging.fsproj b/Emulsion.Messaging/Emulsion.Messaging.fsproj index b211809a..9ea50cb0 100644 --- a/Emulsion.Messaging/Emulsion.Messaging.fsproj +++ b/Emulsion.Messaging/Emulsion.Messaging.fsproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 true diff --git a/Emulsion.Settings/Emulsion.Settings.fsproj b/Emulsion.Settings/Emulsion.Settings.fsproj index a107ebe5..fa6cb4c1 100644 --- a/Emulsion.Settings/Emulsion.Settings.fsproj +++ b/Emulsion.Settings/Emulsion.Settings.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT - net8.0 + net9.0 true diff --git a/Emulsion.Telegram/Emulsion.Telegram.fsproj b/Emulsion.Telegram/Emulsion.Telegram.fsproj index ee16ebbd..c71fcd94 100644 --- a/Emulsion.Telegram/Emulsion.Telegram.fsproj +++ b/Emulsion.Telegram/Emulsion.Telegram.fsproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 true diff --git a/Emulsion.TestFramework/Emulsion.TestFramework.fsproj b/Emulsion.TestFramework/Emulsion.TestFramework.fsproj index 738793ee..dba9d710 100644 --- a/Emulsion.TestFramework/Emulsion.TestFramework.fsproj +++ b/Emulsion.TestFramework/Emulsion.TestFramework.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT - net8.0 + net9.0 true Library diff --git a/Emulsion.Tests/Emulsion.Tests.fsproj b/Emulsion.Tests/Emulsion.Tests.fsproj index 97ecfd9d..d5a883c7 100644 --- a/Emulsion.Tests/Emulsion.Tests.fsproj +++ b/Emulsion.Tests/Emulsion.Tests.fsproj @@ -1,12 +1,12 @@ - net8.0 + net9.0 false diff --git a/Emulsion.Web/Emulsion.Web.fsproj b/Emulsion.Web/Emulsion.Web.fsproj index 6dd95000..26636049 100644 --- a/Emulsion.Web/Emulsion.Web.fsproj +++ b/Emulsion.Web/Emulsion.Web.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT Library - net8.0 + net9.0 diff --git a/Emulsion/Emulsion.fsproj b/Emulsion/Emulsion.fsproj index 56338042..3d0423cf 100644 --- a/Emulsion/Emulsion.fsproj +++ b/Emulsion/Emulsion.fsproj @@ -1,5 +1,5 @@ @@ -7,7 +7,7 @@ SPDX-License-Identifier: MIT Exe - net8.0 + net9.0 3.0.0 Major diff --git a/Emulsion/Xmpp/SharpXmppHelper.fs b/Emulsion/Xmpp/SharpXmppHelper.fs index 3370adc5..b024537b 100644 --- a/Emulsion/Xmpp/SharpXmppHelper.fs +++ b/Emulsion/Xmpp/SharpXmppHelper.fs @@ -52,7 +52,7 @@ let private bookmark (roomJid: string) (nickname: string) (password: string opti room.Add(nickElement) room -#nowarn "9" // for NativePtr +#nowarn 9 // for NativePtr let SanitizeXmlText(text: string): string = let mutable hasError = false let mutable span = text.AsSpan()