Updated solution

This commit is contained in:
2025-11-17 19:43:30 +01:00
parent f20ee64221
commit d4d9b11968
9 changed files with 73 additions and 148 deletions

View File

@@ -1,4 +1,4 @@
image: mcr.microsoft.com/dotnet/sdk:8.0
image: mcr.microsoft.com/dotnet/sdk:10.0
variables:
TZ: "Europe/Berlin"

View File

@@ -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

View File

@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<LangVersion>12.0</LangVersion>
<LangVersion>14.0</LangVersion>
<PublicKey>00240000048000009400000006020000002400005253413100040000010001005d36da5b1ce821f80e6ec0f2b0d909de7f7fcbd3e59d01f0df660453bde3df65ce571562c540f16f50a3c900e2beacffbe6670443b5bbae62b7f297cd02ab4484a9e2f48e1c6250f684612df57ac7ff6684d040948622da556586229b9f5b562e6f65cf3e83e49ca165bd32cbba8a6015bf6fcd2ccfc0e0cb5d1d9e2449543f1</PublicKey>

View File

@@ -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

37
cloudflare-api.slnx Normal file
View File

@@ -0,0 +1,37 @@
<Solution>
<Folder Name="/Solution Items/" />
<Folder Name="/Solution Items/build/">
<File Path=".gitlab-ci.yml" />
<File Path="Directory.Build.props" />
</Folder>
<Folder Name="/Solution Items/config/">
<File Path=".editorconfig" />
<File Path=".gitignore" />
<File Path="CodeMaid.config" />
<File Path="nuget.config" />
</Folder>
<Folder Name="/Solution Items/docs/">
<File Path="CHANGELOG.md" />
<File Path="LICENSE.txt" />
<File Path="package-icon.png" />
<File Path="README.md" />
</Folder>
<Folder Name="/src/">
<File Path="src/Directory.Build.props" />
<Project Path="src/Cloudflare/Cloudflare.csproj" />
</Folder>
<Folder Name="/src/Extensions/">
<File Path="src/Extensions/Directory.Build.props" />
<Project Path="src/Extensions/Cloudflare.Dns/Cloudflare.Dns.csproj" />
<Project Path="src/Extensions/Cloudflare.Zones/Cloudflare.Zones.csproj" />
</Folder>
<Folder Name="/test/">
<File Path="test/Directory.Build.props" />
<Project Path="test/Cloudflare.Tests/Cloudflare.Tests.csproj" />
</Folder>
<Folder Name="/test/Extensions/">
<File Path="test/Extensions/Directory.Build.props" />
<Project Path="test/Extensions/Cloudflare.Dns.Tests/Cloudflare.Dns.Tests.csproj" />
<Project Path="test/Extensions/Cloudflare.Zones.Tests/Cloudflare.Zones.Tests.csproj" />
</Folder>
</Solution>

View File

@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<AssemblyOriginatorKeyFile>../../cloudflare-api.snk</AssemblyOriginatorKeyFile>
</PropertyGroup>

View File

@@ -1,5 +1,7 @@
<Project>
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<CollectCoverage>true</CollectCoverage>
@@ -13,10 +15,10 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="Moq" Version="4.20.72" />
<PackageReference Include="MSTest.TestAdapter" Version="4.0.1" />
<PackageReference Include="MSTest.TestFramework" Version="4.0.1" />
<PackageReference Include="MSTest.TestAdapter" Version="4.0.2" />
<PackageReference Include="MSTest.TestFramework" Version="4.0.2" />
</ItemGroup>
<ItemGroup>

View File

@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\Extensions\Cloudflare.Dns\Cloudflare.Dns.csproj" />

View File

@@ -1,8 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>
<PropertyGroup />
<ItemGroup>
<ProjectReference Include="$(SolutionDir)\src\Extensions\Cloudflare.Zones\Cloudflare.Zones.csproj" />