Skip to content

Commit c2ae5f7

Browse files
authored
Patch cycle - 2024 / Cycle 5 (#154)
1 parent cff4482 commit c2ae5f7

File tree

7 files changed

+16
-11
lines changed

7 files changed

+16
-11
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
strategy:
3131
matrix:
3232
dotnet-version:
33-
- '6.0.x'
33+
- '9.0.x'
3434
steps:
3535
- uses: actions/checkout@v4
3636
- name: Setup dotnet ${{ matrix.dotnet-version }}

.tool-versions

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
dotnet-core 6.0.406
1+
dotnet-core 9.0.101

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,12 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/).
44

55
## main
66

7+
- CHANGED: Bumped `dotnet` to `9.0`
78
- NEW: Added `AliasEmail` to `EmailForward`
89
- CHANGED: Deprecated `From` and `To` fields in `EmailForward`
10+
- CHANGED: `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.
11+
- HOUSEKEEPING: Bump Microsoft.NET.Test.Sdk from 17.9.0 to 17.10.0 (#152)
12+
- HOUSEKEEPING: Bump NUnit.Analyzers from 4.0.1 to 4.4.0 (#153)
913

1014
## 0.18.1
1115

CONTRIBUTING.md

+5-7
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,13 @@ cd dnsimple-csharp
1313

1414
### 2. Install dependencies
1515

16-
- .NET Core SDK
16+
This project includes an ASDF `.tool-versions` file to set up the runtime:
1717

18-
From [https://dotnet.microsoft.com/download/](https://dotnet.microsoft.com/download/)
18+
```shell
19+
asdf install
20+
```
1921

20-
You can either use to install the .NET Core SDK
21-
- Installers
22-
- Binaries
23-
- [Scripts](https://dotnet.microsoft.com/download/dotnet/scripts)
24-
- Install [Visual Studio](https://visualstudio.microsoft.com/)
22+
Additional dependencies will be installed when [running the test suite](#testing).
2523

2624
### 3. Build and test
2725

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ We recommend to customize the user agent. If you are building a library or integ
107107

108108
## License
109109

110-
Copyright (c) 2022 DNSimple Corporation. This is Free Software distributed under the MIT license.
110+
Copyright (c) 2024 DNSimple Corporation. This is Free Software distributed under the MIT license.

src/dnsimple-test/dnsimple-test.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>net6.0</TargetFramework>
4+
<TargetFramework>net9.0</TargetFramework>
55
<RootNamespace>dnsimple_test</RootNamespace>
66

77
<IsPackable>false</IsPackable>

src/dnsimple/Services/DomainsCollaborators.cs

+3
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public partial class DomainsService
1919
/// <param name="domainIdentifier">The domain name or id</param>
2020
/// <returns>A list of collaborators wrapped in a response</returns>
2121
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#listDomainCollaborators</see>
22+
[Obsolete("Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.")]
2223
public PaginatedResponse<Collaborator> ListCollaborators(long accountId, string domainIdentifier)
2324
{
2425
var builder = BuildRequestForPath(CollaboratorsPath(accountId, domainIdentifier));
@@ -34,6 +35,7 @@ public PaginatedResponse<Collaborator> ListCollaborators(long accountId, string
3435
/// <param name="email">The email of the collaborator to be added/invited</param>
3536
/// <returns>The collaborator wrapped in a response.</returns>
3637
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#addDomainCollaborator</see>
38+
[Obsolete("Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.")]
3739
public SimpleResponse<Collaborator> AddCollaborator(long accountId, string domainIdentifier, string email)
3840
{
3941
if (string.IsNullOrEmpty(email))
@@ -58,6 +60,7 @@ public SimpleResponse<Collaborator> AddCollaborator(long accountId, string domai
5860
/// <param name="domainIdentifier">The domain name or id</param>
5961
/// <param name="collaboratorId">The collaborator id</param>
6062
/// <see>https://developer.dnsimple.com/v2/domains/collaborators/#removeDomainCollaborator</see>
63+
[Obsolete("Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.")]
6164
public EmptyResponse RemoveCollaborator(long accountId, string domainIdentifier, long collaboratorId)
6265
{
6366
var builder = BuildRequestForPath(RemoveCollaboratorPath(accountId, domainIdentifier, collaboratorId));

0 commit comments

Comments
 (0)