Skip to content

Commit 5b3db24

Browse files
authored
Remove deprecated Certificate contact_id field (#465)
The `contact_id` field in the Certificate schema was deprecated on 2022-05-17 and is no longer required for certificate operations. Remove it from the `Certificate` struct. This is a breaking change. References dnsimple/dnsimple-developer#987
1 parent 42a7412 commit 5b3db24

3 files changed

Lines changed: 6 additions & 4 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22

33
This project uses [Semantic Versioning 2.0.0](http://semver.org/), the format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
44

5+
## main
6+
7+
### Removed
8+
9+
- **BREAKING**: Removed the deprecated `contact_id` attribute from the `Certificate` struct. The field was deprecated on 2022-05-17 and is no longer required for certificate operations.
10+
511
## 12.3.0 - 2026-04-15
612

713
### Added

lib/dnsimple/struct/certificate.rb

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ class Certificate < Base
99
# @return [Integer] The associated domain ID.
1010
attr_accessor :domain_id
1111

12-
# @return [Integer] The associated contact ID.
13-
attr_accessor :contact_id
14-
1512
# @return [String] The certificate common name.
1613
attr_accessor :common_name
1714

test/dnsimple/client/certificates_test.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@ def setup
134134
assert_kind_of(Dnsimple::Struct::Certificate, result)
135135
assert_equal(101967, result.id)
136136
assert_equal(289333, result.domain_id)
137-
assert_equal(2511, result.contact_id)
138137
assert_equal("www.bingo.pizza", result.common_name)
139138
assert_empty(result.alternate_names)
140139
assert_equal(1, result.years)

0 commit comments

Comments
 (0)