Skip to content

Commit

Permalink
Patch cycle - 2024 / Cycle 5 (#182)
Browse files Browse the repository at this point in the history
  • Loading branch information
dallasread authored Dec 12, 2024
1 parent ce45ec4 commit e8c9bd5
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ jobs:
go-version:
- "1.21"
- "1.22"
- "1.23"
steps:
- uses: actions/checkout@v4
with:
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## main

- NEW: Added `active` attribute to EmailForward
- CHANGED: Added support for Go >= 1.23
- CHANGED: `DomainCollaborators` have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.
- CHANGED: Bump dependencies

## 2.0.0

- CHANGED: Bump dependencies
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2014-2022 DNSimple Corporation
Copyright (c) 2014-2024 DNSimple Corporation

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,4 +132,4 @@ For instructions about contributing and testing, visit the [CONTRIBUTING](CONTRI

## License

Copyright (c) 2014-2022 DNSimple Corporation. This is Free Software distributed under the MIT license.
Copyright (c) 2014-2024 DNSimple Corporation. This is Free Software distributed under the MIT license.
6 changes: 6 additions & 0 deletions dnsimple/domains_collaborators.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ type CollaboratorsResponse struct {

// ListCollaborators list the collaborators for a domain.
//
// Deprecated: Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.
//
// See https://developer.dnsimple.com/v2/domains/collaborators#list
func (s *DomainsService) ListCollaborators(ctx context.Context, accountID, domainIdentifier string, options *ListOptions) (*CollaboratorsResponse, error) {
path := versioned(collaboratorPath(accountID, domainIdentifier, 0))
Expand All @@ -66,6 +68,8 @@ func (s *DomainsService) ListCollaborators(ctx context.Context, accountID, domai

// AddCollaborator adds a new collaborator to the domain in the account.
//
// Deprecated: Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.
//
// See https://developer.dnsimple.com/v2/domains/collaborators#add
func (s *DomainsService) AddCollaborator(ctx context.Context, accountID string, domainIdentifier string, attributes CollaboratorAttributes) (*CollaboratorResponse, error) {
path := versioned(collaboratorPath(accountID, domainIdentifier, 0))
Expand All @@ -82,6 +86,8 @@ func (s *DomainsService) AddCollaborator(ctx context.Context, accountID string,

// RemoveCollaborator PERMANENTLY deletes a domain from the account.
//
// Deprecated: Domain collaborators have been deprecated and will be removed in the next major version. Please use our Domain Access Control feature.
//
// See https://developer.dnsimple.com/v2/domains/collaborators#remove
func (s *DomainsService) RemoveCollaborator(ctx context.Context, accountID string, domainIdentifier string, collaboratorID int64) (*CollaboratorResponse, error) {
path := versioned(collaboratorPath(accountID, domainIdentifier, collaboratorID))
Expand Down

0 comments on commit e8c9bd5

Please sign in to comment.