From d4d9b1196824763b8be5ded80bbcc1e2e8aa2979 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Mon, 17 Nov 2025 19:43:30 +0100 Subject: [PATCH] Updated solution --- .gitlab-ci.yml | 4 +- CHANGELOG.md | 48 ++++---- Directory.Build.props | 2 +- cloudflare-api.sln | 112 ------------------ cloudflare-api.slnx | 37 ++++++ test/Cloudflare.Tests/Cloudflare.Tests.csproj | 2 - test/Directory.Build.props | 8 +- .../Cloudflare.Dns.Tests.csproj | 4 +- .../Cloudflare.Zones.Tests.csproj | 4 +- 9 files changed, 73 insertions(+), 148 deletions(-) delete mode 100644 cloudflare-api.sln create mode 100644 cloudflare-api.slnx diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e47589..723be6c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,4 +1,4 @@ -image: mcr.microsoft.com/dotnet/sdk:8.0 +image: mcr.microsoft.com/dotnet/sdk:10.0 variables: TZ: "Europe/Berlin" @@ -211,4 +211,4 @@ publish-docs: # Deploy the docs - cd docs/_site - zip -r ../docs.zip * - - curl --user "$DOCS_DEPLOY_USER:$DOCS_DEPLOY_PASS" -F docs=cloudflare -F dump=@../docs.zip "$DOCS_DEPLOY_URL" \ No newline at end of file + - curl --user "$DOCS_DEPLOY_USER:$DOCS_DEPLOY_PASS" -F docs=cloudflare -F dump=@../docs.zip "$DOCS_DEPLOY_URL" diff --git a/CHANGELOG.md b/CHANGELOG.md index 7f7bb01..8cf4e5f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,48 +5,52 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [Unreleased] / [DNS] / [Zones] +## Upcoming - 0000-00-00 -_No changes yet_ +###### Diffs + +- [AMWD.Net.API.Cloudflare](https://github.com/AM-WD/cloudflare-api/compare/v0.1.1...HEAD) +- [AMWD.Net.API.Cloudflare.Dns](https://github.com/AM-WD/cloudflare-api/compare/dns/v0.2.0...HEAD) +- [AMWD.Net.API.Cloudflare.Zones](https://github.com/AM-WD/cloudflare-api/compare/zones/v0.1.1...HEAD) + +### Changed + +- Updated tests to .NET 10 +- Updated solution to VS 2026 -## [v0.1.1], [dns/v0.2.0], [zones/v0.1.1] - 2025-11-06 +## v0.1.1, dns/v0.2.0, zones/v0.1.1 - 2025-11-06 + +###### Diffs + +- [AMWD.Net.API.Cloudflare](https://github.com/AM-WD/cloudflare-api/compare/v0.1.0...v0.1.1) +- [AMWD.Net.API.Cloudflare.Dns](https://github.com/AM-WD/cloudflare-api/compare/dns/v0.1.0...dns/v0.2.0) +- [AMWD.Net.API.Cloudflare.Zones](https://github.com/AM-WD/cloudflare-api/compare/zones/v0.1.0...zones/v0.1.1) ### Added - (General) New automatic documentation generation using docfx - (General) Additional articles for the documentation -- (Core/Zone) `DateTime` extensions for ISO 8601 formatting +- (Core) `DateTime` extensions for ISO 8601 formatting - (DNS) DNS Analytics - (DNS) Zone Transfers - (DNS) DNS Firewall ### Changed -- (Core/Zone) Use the new `DateTime` extensions for ISO 8601 formatting +- (Zone) Use the new `DateTime` extensions for ISO 8601 formatting -## [v0.1.0], [dns/v0.1.0], [zones/v0.1.0] - 2025-08-05 +## v0.1.0, dns/v0.1.0, zones/v0.1.0 - 2025-08-05 -_Initial Release_ +###### Diffs + +- [AMWD.Net.API.Cloudflare](https://github.com/AM-WD/cloudflare-api/commits/v0.1.0) +- [AMWD.Net.API.Cloudflare.Dns](https://github.com/AM-WD/cloudflare-api/commits/dns/v0.1.0) +- [AMWD.Net.API.Cloudflare.Zones](https://github.com/AM-WD/cloudflare-api/commits/zones/v0.1.0) ### Added - `Cloudflare` with the core functionality to communicate with Cloudflare's API endpoint - `Cloudflare.Dns` extending the core package with specific methods to manage Cloudflare's DNS settings (_still WIP_) - `Cloudflare.Zones` extending the core package with specific methods to manage Cloudflare's Domain/Zone Management - - - -[Unreleased]: https://github.com/AM-WD/cloudflare-api/compare/v0.1.1...HEAD -[DNS]: https://github.com/AM-WD/cloudflare-api/compare/dns/v0.2.0...HEAD -[Zones]: https://github.com/AM-WD/cloudflare-api/compare/zones/v0.1.1...HEAD - -[v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/v0.1.0 -[v0.1.1]: https://github.com/AM-WD/cloudflare-api/compare/v0.1.0...v0.1.1 - -[dns/v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/dns/v0.1.0 -[dns/v0.2.0]: https://github.com/AM-WD/cloudflare-api/compare/dns/v0.1.0...dns/v0.2.0 - -[zones/v0.1.0]: https://github.com/AM-WD/cloudflare-api/commits/zones/v0.1.0 -[zones/v0.1.1]: https://github.com/AM-WD/cloudflare-api/compare/zones/v0.1.0...zones/v0.1.1 diff --git a/Directory.Build.props b/Directory.Build.props index cb89cc3..086bb4a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,6 +1,6 @@ - 12.0 + 14.0 00240000048000009400000006020000002400005253413100040000010001005d36da5b1ce821f80e6ec0f2b0d909de7f7fcbd3e59d01f0df660453bde3df65ce571562c540f16f50a3c900e2beacffbe6670443b5bbae62b7f297cd02ab4484a9e2f48e1c6250f684612df57ac7ff6684d040948622da556586229b9f5b562e6f65cf3e83e49ca165bd32cbba8a6015bf6fcd2ccfc0e0cb5d1d9e2449543f1 diff --git a/cloudflare-api.sln b/cloudflare-api.sln deleted file mode 100644 index a1ce2c7..0000000 --- a/cloudflare-api.sln +++ /dev/null @@ -1,112 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio Version 17 -VisualStudioVersion = 17.10.35013.160 -MinimumVisualStudioVersion = 10.0.40219.1 -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{F775D5D5-4466-4821-B28B-444828937810}" -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{02EA681E-C7D8-13C7-8484-4AC65E1B71E8}" - ProjectSection(SolutionItems) = preProject - src\Directory.Build.props = src\Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "test", "test", "{03EFEF88-1C02-43BD-BAF2-6E3583E176DD}" - ProjectSection(SolutionItems) = preProject - test\Directory.Build.props = test\Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{DB52006F-77DA-41A7-BF1E-E7FADA392216}" - ProjectSection(SolutionItems) = preProject - .gitlab-ci.yml = .gitlab-ci.yml - Directory.Build.props = Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "config", "config", "{95693042-95D1-4653-8CE4-E0CA49671FDD}" - ProjectSection(SolutionItems) = preProject - .editorconfig = .editorconfig - .gitignore = .gitignore - CodeMaid.config = CodeMaid.config - nuget.config = nuget.config - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "docs", "docs", "{B3E7C9D0-6C31-4315-BD12-5C09E779930E}" - ProjectSection(SolutionItems) = preProject - CHANGELOG.md = CHANGELOG.md - LICENSE.txt = LICENSE.txt - package-icon.png = package-icon.png - README.md = README.md - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extensions", "Extensions", "{CC6F1A0E-F7BC-47D0-AB42-0DFC02D0CB46}" - ProjectSection(SolutionItems) = preProject - src\Extensions\Directory.Build.props = src\Extensions\Directory.Build.props - EndProjectSection -EndProject -Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Extensions", "Extensions", "{B949CF48-2F6B-491F-A0D3-502204D52BA5}" - ProjectSection(SolutionItems) = preProject - test\Extensions\Directory.Build.props = test\Extensions\Directory.Build.props - EndProjectSection -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare", "src\Cloudflare\Cloudflare.csproj", "{710FB8C2-6B49-43C6-9A48-FA9FA2F75833}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare.Tests", "test\Cloudflare.Tests\Cloudflare.Tests.csproj", "{05CEDEA7-5967-6805-4145-82C5E3D7942F}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare.Zones", "src\Extensions\Cloudflare.Zones\Cloudflare.Zones.csproj", "{B68AF597-98BA-C7A2-9624-CA306B1BC086}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare.Zones.Tests", "test\Extensions\Cloudflare.Zones.Tests\Cloudflare.Zones.Tests.csproj", "{F9684EAD-B1AA-6410-0577-36758907BF5C}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare.Dns", "src\Extensions\Cloudflare.Dns\Cloudflare.Dns.csproj", "{973EADA5-5977-CD12-3584-BE9A034A6C23}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Cloudflare.Dns.Tests", "test\Extensions\Cloudflare.Dns.Tests\Cloudflare.Dns.Tests.csproj", "{F4F36DA2-A86A-4F88-A270-45CD254433A6}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {710FB8C2-6B49-43C6-9A48-FA9FA2F75833}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {710FB8C2-6B49-43C6-9A48-FA9FA2F75833}.Debug|Any CPU.Build.0 = Debug|Any CPU - {710FB8C2-6B49-43C6-9A48-FA9FA2F75833}.Release|Any CPU.ActiveCfg = Release|Any CPU - {710FB8C2-6B49-43C6-9A48-FA9FA2F75833}.Release|Any CPU.Build.0 = Release|Any CPU - {05CEDEA7-5967-6805-4145-82C5E3D7942F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {05CEDEA7-5967-6805-4145-82C5E3D7942F}.Debug|Any CPU.Build.0 = Debug|Any CPU - {05CEDEA7-5967-6805-4145-82C5E3D7942F}.Release|Any CPU.ActiveCfg = Release|Any CPU - {05CEDEA7-5967-6805-4145-82C5E3D7942F}.Release|Any CPU.Build.0 = Release|Any CPU - {B68AF597-98BA-C7A2-9624-CA306B1BC086}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {B68AF597-98BA-C7A2-9624-CA306B1BC086}.Debug|Any CPU.Build.0 = Debug|Any CPU - {B68AF597-98BA-C7A2-9624-CA306B1BC086}.Release|Any CPU.ActiveCfg = Release|Any CPU - {B68AF597-98BA-C7A2-9624-CA306B1BC086}.Release|Any CPU.Build.0 = Release|Any CPU - {F9684EAD-B1AA-6410-0577-36758907BF5C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F9684EAD-B1AA-6410-0577-36758907BF5C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F9684EAD-B1AA-6410-0577-36758907BF5C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F9684EAD-B1AA-6410-0577-36758907BF5C}.Release|Any CPU.Build.0 = Release|Any CPU - {973EADA5-5977-CD12-3584-BE9A034A6C23}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {973EADA5-5977-CD12-3584-BE9A034A6C23}.Debug|Any CPU.Build.0 = Debug|Any CPU - {973EADA5-5977-CD12-3584-BE9A034A6C23}.Release|Any CPU.ActiveCfg = Release|Any CPU - {973EADA5-5977-CD12-3584-BE9A034A6C23}.Release|Any CPU.Build.0 = Release|Any CPU - {F4F36DA2-A86A-4F88-A270-45CD254433A6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {F4F36DA2-A86A-4F88-A270-45CD254433A6}.Debug|Any CPU.Build.0 = Debug|Any CPU - {F4F36DA2-A86A-4F88-A270-45CD254433A6}.Release|Any CPU.ActiveCfg = Release|Any CPU - {F4F36DA2-A86A-4F88-A270-45CD254433A6}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection - GlobalSection(NestedProjects) = preSolution - {DB52006F-77DA-41A7-BF1E-E7FADA392216} = {F775D5D5-4466-4821-B28B-444828937810} - {95693042-95D1-4653-8CE4-E0CA49671FDD} = {F775D5D5-4466-4821-B28B-444828937810} - {B3E7C9D0-6C31-4315-BD12-5C09E779930E} = {F775D5D5-4466-4821-B28B-444828937810} - {CC6F1A0E-F7BC-47D0-AB42-0DFC02D0CB46} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} - {B949CF48-2F6B-491F-A0D3-502204D52BA5} = {03EFEF88-1C02-43BD-BAF2-6E3583E176DD} - {710FB8C2-6B49-43C6-9A48-FA9FA2F75833} = {02EA681E-C7D8-13C7-8484-4AC65E1B71E8} - {05CEDEA7-5967-6805-4145-82C5E3D7942F} = {03EFEF88-1C02-43BD-BAF2-6E3583E176DD} - {B68AF597-98BA-C7A2-9624-CA306B1BC086} = {CC6F1A0E-F7BC-47D0-AB42-0DFC02D0CB46} - {F9684EAD-B1AA-6410-0577-36758907BF5C} = {B949CF48-2F6B-491F-A0D3-502204D52BA5} - {973EADA5-5977-CD12-3584-BE9A034A6C23} = {CC6F1A0E-F7BC-47D0-AB42-0DFC02D0CB46} - {F4F36DA2-A86A-4F88-A270-45CD254433A6} = {B949CF48-2F6B-491F-A0D3-502204D52BA5} - EndGlobalSection - GlobalSection(ExtensibilityGlobals) = postSolution - SolutionGuid = {A465B60D-C946-4381-835C-29303EA4FAD1} - EndGlobalSection -EndGlobal diff --git a/cloudflare-api.slnx b/cloudflare-api.slnx new file mode 100644 index 0000000..a2ae94a --- /dev/null +++ b/cloudflare-api.slnx @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/test/Cloudflare.Tests/Cloudflare.Tests.csproj b/test/Cloudflare.Tests/Cloudflare.Tests.csproj index 18fb21f..52b8143 100644 --- a/test/Cloudflare.Tests/Cloudflare.Tests.csproj +++ b/test/Cloudflare.Tests/Cloudflare.Tests.csproj @@ -1,8 +1,6 @@  - net8.0 - ../../cloudflare-api.snk diff --git a/test/Directory.Build.props b/test/Directory.Build.props index 2896756..576baaf 100644 --- a/test/Directory.Build.props +++ b/test/Directory.Build.props @@ -1,5 +1,7 @@ + net10.0 + false true true @@ -13,10 +15,10 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + - - + + diff --git a/test/Extensions/Cloudflare.Dns.Tests/Cloudflare.Dns.Tests.csproj b/test/Extensions/Cloudflare.Dns.Tests/Cloudflare.Dns.Tests.csproj index 73a9019..b7c46b3 100644 --- a/test/Extensions/Cloudflare.Dns.Tests/Cloudflare.Dns.Tests.csproj +++ b/test/Extensions/Cloudflare.Dns.Tests/Cloudflare.Dns.Tests.csproj @@ -1,8 +1,6 @@ - - net8.0 - + diff --git a/test/Extensions/Cloudflare.Zones.Tests/Cloudflare.Zones.Tests.csproj b/test/Extensions/Cloudflare.Zones.Tests/Cloudflare.Zones.Tests.csproj index 63ff8ac..5ccfca8 100644 --- a/test/Extensions/Cloudflare.Zones.Tests/Cloudflare.Zones.Tests.csproj +++ b/test/Extensions/Cloudflare.Zones.Tests/Cloudflare.Zones.Tests.csproj @@ -1,8 +1,6 @@  - - net8.0 - +