Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ This project uses [Semantic Versioning 2.0.0](http://semver.org/), the format is

### Removed

- **BREAKING**: Removed the deprecated `contactId` field from the `Certificate` struct. The field was deprecated on 2022-05-17 and is no longer required for certificate operations.
- **BREAKING**: Removed the deprecated `from` and `to` fields from the `EmailForward` struct. Use `aliasEmail` and `destinationEmail` instead.

## 6.3.0 - 2026-04-15
Expand Down
6 changes: 0 additions & 6 deletions src/Dnsimple/Struct/Certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ class Certificate
* @var int The associated domain ID
*/
public $domainId;
/**
* @var int The associated contact ID
* @deprecated
*/
public $contactId;
/**
* @var string The certificate name
*/
Expand Down Expand Up @@ -71,7 +66,6 @@ public function __construct($data)
{
$this->id = $data->id;
$this->domainId = $data->domain_id;
$this->contactId = $data->contact_id;
$this->name = $data->name;
$this->commonName = $data->common_name;
$this->years = $data->years;
Expand Down
1 change: 0 additions & 1 deletion tests/Dnsimple/Service/CertificatesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public function testGetCertificate()

self::assertEquals(101967, $certificate->id);
self::assertEquals(289333, $certificate->domainId);
self::assertEquals(2511, $certificate->contactId);
self::assertEquals("www", $certificate->name);
self::assertEquals("www.bingo.pizza", $certificate->commonName);
self::assertEquals(1, $certificate->years);
Expand Down