Skip to content

Commit 8677af0

Browse files
authored
Remove deprecated Certificate contact_id field (#236)
The `contact_id` field in the Certificate schema was deprecated on 2022-05-17 and is no longer required for certificate operations. Remove `ContactId` from the `Certificate` struct and from `LetsencryptCertificateAttributes`. This is a breaking change. Related to dnsimple/dnsimple-developer#987
1 parent e555332 commit 8677af0

2 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 `ContactId` field from the `Certificate` struct and from `LetsencryptCertificateAttributes`. The field was deprecated on 2022-05-17 and is no longer required for certificate operations.
10+
511
## 1.3.0 - 2026-04-15
612

713
### Added

src/dnsimple/Services/Certificates.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,6 @@ public struct CertificateRenewal
187187
[JsonObject(NamingStrategyType = typeof(SnakeCaseNamingStrategy))]
188188
public struct LetsencryptCertificateAttributes
189189
{
190-
[ObsoleteAttribute("ContactId is deprecated and its value is ignored and will be removed in the next major version.")]
191-
public long? ContactId { get; set; }
192190
public bool AutoRenew { get; set; }
193191
public string Name { get; set; }
194192
public List<string> AlternateNames { get; set; }
@@ -203,8 +201,6 @@ public struct Certificate
203201
{
204202
public long Id { get; set; }
205203
public long DomainId { get; set; }
206-
[ObsoleteAttribute("ContactId is deprecated and its value is ignored and will be removed in the next major version.")]
207-
public long ContactId { get; set; }
208204
public string CommonName { get; set; }
209205
public long Years { get; set; }
210206
public string Csr { get; set; }

0 commit comments

Comments
 (0)