Skip to content

Commit

Permalink
Deprecate GetDomainPremiumPrice and prepare release 0.70.1
Browse files Browse the repository at this point in the history
  • Loading branch information
DXTimer committed May 19, 2021
1 parent 26d7c3e commit c337cc7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion dnsimple/dnsimple.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions dnsimple/registrar.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c337cc7

Please sign in to comment.