Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Patch cycle - 2024 / Cycle 5 #182

Merged
merged 6 commits into from
Dec 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading