diff --git a/CHANGELOG.md b/CHANGELOG.md index ea31827..15fdccd 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ #### main +#### 0.70.1 + +- DEPRECATED: Registrar.GetDomainPremiumPrice() has been deprecated, use Registrar.GetDomainPrices() instead. + #### 0.70.0 - NEW: Added Registrar.GetDomainPrices() to retrieve whether a domain is premium and the prices to register, transfer, and renew. (dnsimple/dnsimple-go#103) diff --git a/dnsimple/dnsimple.go b/dnsimple/dnsimple.go index 47a4396..8f643c6 100644 --- a/dnsimple/dnsimple.go +++ b/dnsimple/dnsimple.go @@ -25,7 +25,7 @@ const ( // This is a pro-forma convention given that Go dependencies // tends to be fetched directly from the repo. // It is also used in the user-agent identify the client. - Version = "0.70.0" + Version = "0.70.1" // defaultBaseURL to the DNSimple production API. defaultBaseURL = "https://api.dnsimple.com" diff --git a/dnsimple/registrar.go b/dnsimple/registrar.go index 16f1a62..1bae1e6 100644 --- a/dnsimple/registrar.go +++ b/dnsimple/registrar.go @@ -65,6 +65,8 @@ type DomainPremiumPriceOptions struct { // GetDomainPremiumPrice gets the premium price for a domain. // +// Deprecated: GetDomainPremiumPrice has been deprecated, use GetDomainPrices instead. +// // You must specify an action to get the price for. Valid actions are: // - registration // - transfer