fix(deps): update module github.com/hetznercloud/hcloud-go/v2 to v2.27.0
This MR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| github.com/hetznercloud/hcloud-go/v2 |
v2.26.0 -> v2.27.0
|
Release Notes
hetznercloud/hcloud-go (github.com/hetznercloud/hcloud-go/v2)
v2.27.0
DNS API Beta
This release adds support for the new DNS API.
The DNS API is currently in beta, which will likely end on 10 November 2025. After the beta ended, it will no longer be possible to create new zones in the old DNS system. See the DNS Beta FAQ for more details.
Future minor releases of this project may include breaking changes for features that are related to the DNS API.
See the DNS API Beta changelog for more details.
Examples
result, _, err := client.Zone.Create(ctx, hcloud.ZoneCreateOpts{
Name: "example.com",
Mode: hcloud.ZoneModePrimary,
Labels: map[string]string{"key": "value"},
RRSets: []hcloud.ZoneCreateOptsRRSet{
{
Name: "@​",
Type: hcloud.ZoneRRSetTypeA,
Records: []hcloud.ZoneRRSetRecord{
{Value: "201.180.75.2", Comment: "server1"},
},
},
},
})
err = client.Action.WaitFor(ctx, result.Action)
zone = result.Zone
Features
- support the new DNS API (#740)
Configuration
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.