diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 53eaccf..22458cf 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -32,6 +32,7 @@ jobs: php-version: - '8.2' - '8.3' + - '8.4' steps: - name: Set up PHP uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 diff --git a/.gitignore b/.gitignore index 4a48896..3ad5da3 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ composer.phar vendor/ .phpunit.result.cache composer.lock +.tool-versions diff --git a/.tool-versions b/.tool-versions deleted file mode 100644 index f0bbab3..0000000 --- a/.tool-versions +++ /dev/null @@ -1 +0,0 @@ -php 8.3.3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 709d493..e49e401 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/). - NEW: Added `aliasEmail` and `destinationEmail` to `EmailForward` - CHANGED: Deprecated `from` and `to` fields in `EmailForward` +- CHANGED: `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature. +- CHANGED: Add support for PHP 8.4 ## 2.0.0 diff --git a/LICENSE.txt b/LICENSE.txt index 7c5d936..ffc0c2c 100644 --- a/LICENSE.txt +++ b/LICENSE.txt @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2015-2022 DNSimple Corporation +Copyright (c) 2015-2024 DNSimple Corporation Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 7706679..46935dc 100644 --- a/README.md +++ b/README.md @@ -67,4 +67,4 @@ Contibutions are welcomed. Please open an issue to discuss the changes before op ## License -Copyright (c) 2015-2022 DNSimple Corporation. This is Free Software distributed under the MIT license. +Copyright (c) 2015-2024 DNSimple Corporation. This is Free Software distributed under the MIT license. diff --git a/src/Dnsimple/Service/Domains.php b/src/Dnsimple/Service/Domains.php index d3dd385..43b0071 100644 --- a/src/Dnsimple/Service/Domains.php +++ b/src/Dnsimple/Service/Domains.php @@ -99,6 +99,7 @@ public function deleteDomain($account, $domain): Response * @param array $options key/value options to sort and filter the results * @return Response The list of collaborators * @throws DnsimpleException When something goes wrong + * @deprecated `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature. */ public function listCollaborators($account, $domain, array $options = []): Response { @@ -124,6 +125,7 @@ public function listCollaborators($account, $domain, array $options = []): Respo * @param array $attributes The collaborator attributes. Refer to the documentation for the list of available fields. * @return Response The collaborator added to the domain in the account * @throws DnsimpleException When something goes wrong + * @deprecated `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature. */ public function addCollaborator($account, $domain, array $attributes): Response { @@ -141,6 +143,7 @@ public function addCollaborator($account, $domain, array $attributes): Response * @param int $collaborator The collaborator id * @return Response An empty response * @throws DnsimpleException When something goes wrong + * @deprecated `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature. */ public function removeCollaborator($account, $domain, $collaborator): Response {