Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: digitalocean/godo
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.141.0
Choose a base ref
...
head repository: digitalocean/godo
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
  • 7 commits
  • 6 files changed
  • 4 contributors

Commits on Mar 21, 2025

  1. Bump Go version to v1.23 (#807)

    Now that Go 1.24 is out, this updates godo to Go version v1.23,
    following our policy:
    
    https://github.com/digitalocean/godo/blob/2e0eaabbd1e18eb13ce8d4c2539edba820dcf18f/CONTRIBUTING.md?plain=1#L71-L77
    bentranter authored Mar 21, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    45e2148 View commit details
  2. fix partner network connect json tags (#808)

    * fix partner network connect json tags
    
    * fix product name in comment
    
    * fix product name in comment
    
    * fix product name in comment
    
    * fix product name in comment
    
    * address feedback
    apinonformoso authored Mar 21, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    6949de5 View commit details

Commits on Mar 24, 2025

  1. hotfix: json field name (#809)

    apinonformoso authored Mar 24, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    fb5dcf7 View commit details

Commits on Mar 25, 2025

  1. VPC-4359: remove custom unmarshaler for PNCs (#810)

    apinonformoso authored Mar 25, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    5b768a3 View commit details

Commits on Mar 27, 2025

  1. fix partner attachment rename (#811)

    * fix partner attachment rename
    
    * update test names
    lfundaro-do authored Mar 27, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    9e1dd24 View commit details
  2. partner-network-connect: fix typo (#813)

    lfundaro-do authored Mar 27, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    f6333f6 View commit details
  3. Prep v1.142.0 release (#812)

    * Prep v1.142.0 release
    
    * unclude the new PR with typo fix
    loosla authored Mar 27, 2025

    Verified

    This commit was signed with the committer’s verified signature.
    folke Folke Lemaitre
    Copy the full SHA
    be2145b View commit details
Showing with 184 additions and 217 deletions.
  1. +1 −1 .github/workflows/ci.yml
  2. +10 −1 CHANGELOG.md
  3. +1 −1 go.mod
  4. +43 −43 godo.go
  5. +72 −114 partner_network_connect.go
  6. +57 −57 partner_network_connect_test.go
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -10,7 +10,7 @@ jobs:
test:
strategy:
matrix:
go-version: [ 1.22.x, 1.23.x ]
go-version: [ 1.23.x, 1.24.x ]
os: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.os }}
steps:
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Change Log

## [v1.142.0] - 2025-03-27

- #813 - @lfundaro-do - partner-network-connect: fix typo
- #811 - @lfundaro-do - fix partner attachment rename
- #810 - @apinonformoso - VPC-4359: remove custom unmarshaler for PNCs
- #809 - @apinonformoso - hotfix: json field name
- #808 - @apinonformoso - fix partner network connect json tags
- #807 - @bentranter - Bump Go version to v1.23

## [v1.141.0] - 2025-03-20

- #805 - @singhsaubhikdo - BLOCK-4316: Adds region param in ListSnapshot for resource type volume
@@ -20,7 +29,7 @@
- #793 - @apinonformoso - add auth_key field
- #789 - @guptado - [VPC-3917] Update get service key response model

## [v1.138.0] - 2025-03-18
## [v1.138.0] - 2025-02-18

- #785 - @guptado - Support partner interconnect GetBgpAuthKey and RegenerateServiceKey operations
- #787 - @andrewsomething - ci: upgrade to actions/cache@v4
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/digitalocean/godo

go 1.22
go 1.23

require (
github.com/google/go-querystring v1.1.0
86 changes: 43 additions & 43 deletions godo.go
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@ import (
)

const (
libraryVersion = "1.141.0"
libraryVersion = "1.142.0"
defaultBaseURL = "https://api.digitalocean.com/"
userAgent = "godo/" + libraryVersion
mediaType = "application/json"
@@ -54,47 +54,47 @@ type Client struct {
ratemtx sync.Mutex

// Services used for communicating with the API
Account AccountService
Actions ActionsService
Apps AppsService
Balance BalanceService
BillingHistory BillingHistoryService
CDNs CDNService
Certificates CertificatesService
Databases DatabasesService
Domains DomainsService
Droplets DropletsService
DropletActions DropletActionsService
DropletAutoscale DropletAutoscaleService
Firewalls FirewallsService
FloatingIPs FloatingIPsService
FloatingIPActions FloatingIPActionsService
Functions FunctionsService
Images ImagesService
ImageActions ImageActionsService
Invoices InvoicesService
Keys KeysService
Kubernetes KubernetesService
LoadBalancers LoadBalancersService
Monitoring MonitoringService
OneClick OneClickService
Projects ProjectsService
Regions RegionsService
Registry RegistryService
Registries RegistriesService
ReservedIPs ReservedIPsService
ReservedIPV6s ReservedIPV6sService
ReservedIPActions ReservedIPActionsService
ReservedIPV6Actions ReservedIPV6ActionsService
Sizes SizesService
Snapshots SnapshotsService
SpacesKeys SpacesKeysService
Storage StorageService
StorageActions StorageActionsService
Tags TagsService
UptimeChecks UptimeChecksService
VPCs VPCsService
PartnerNetworkConnect PartnerNetworkConnectService
Account AccountService
Actions ActionsService
Apps AppsService
Balance BalanceService
BillingHistory BillingHistoryService
CDNs CDNService
Certificates CertificatesService
Databases DatabasesService
Domains DomainsService
Droplets DropletsService
DropletActions DropletActionsService
DropletAutoscale DropletAutoscaleService
Firewalls FirewallsService
FloatingIPs FloatingIPsService
FloatingIPActions FloatingIPActionsService
Functions FunctionsService
Images ImagesService
ImageActions ImageActionsService
Invoices InvoicesService
Keys KeysService
Kubernetes KubernetesService
LoadBalancers LoadBalancersService
Monitoring MonitoringService
OneClick OneClickService
Projects ProjectsService
Regions RegionsService
Registry RegistryService
Registries RegistriesService
ReservedIPs ReservedIPsService
ReservedIPV6s ReservedIPV6sService
ReservedIPActions ReservedIPActionsService
ReservedIPV6Actions ReservedIPV6ActionsService
Sizes SizesService
Snapshots SnapshotsService
SpacesKeys SpacesKeysService
Storage StorageService
StorageActions StorageActionsService
Tags TagsService
UptimeChecks UptimeChecksService
VPCs VPCsService
PartnerAttachment PartnerAttachmentService

// Optional function called after every successful request made to the DO APIs
onRequestCompleted RequestCompletionCallback
@@ -310,7 +310,7 @@ func NewClient(httpClient *http.Client) *Client {
c.Tags = &TagsServiceOp{client: c}
c.UptimeChecks = &UptimeChecksServiceOp{client: c}
c.VPCs = &VPCsServiceOp{client: c}
c.PartnerNetworkConnect = &PartnerNetworkConnectsServiceOp{client: c}
c.PartnerAttachment = &PartnerAttachmentServiceOp{client: c}

c.headers = make(map[string]string)

Loading