Skip to content

Conversation

@hcloud-bot
Copy link
Collaborator

@hcloud-bot hcloud-bot commented Jan 5, 2026

Deprecation of datacenter attribute for Primary IPs and Servers

The datacenter attribute is deprecated in the Primary IPs and Servers API resources and will be removed after 1 July 2026. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters for more details.

The location attribute already exists for Servers, and was added for Primary IPs.

Therefor the datacenter attribute is deprecated in favor of the location attribute in the following commands:

  • hcloud server create
  • hcloud server describe
  • hcloud server list
  • hcloud primary-ip create
  • hcloud primary-ip describe
  • hcloud primary-ip list

In list commands, the datacenter columns is not longer shown by default, and is replaced with the location column.

Features


PR by releaser-pleaser 🤖

If you want to modify the proposed release, add you overrides here. You can learn more about the options in the docs.

Release Notes

Prefix / Start

This will be added to the start of the release notes.

### Deprecation of `datacenter` attribute for Primary IPs and Servers

The `datacenter` attribute is deprecated in the `Primary IPs` and `Servers` API resources and will be removed after 1 July 2026. See https://docs.hetzner.cloud/changelog#2025-12-16-phasing-out-datacenters for more details.

The `location` attribute already exists for Servers, and was added for Primary IPs.

Therefor the `datacenter` attribute is deprecated in favor of the `location` attribute in the following commands:

- `hcloud server create`
- `hcloud server describe`
- `hcloud server list`
- `hcloud primary-ip create`
- `hcloud primary-ip describe`
- `hcloud primary-ip list`

In list commands, the `datacenter` columns is not longer shown by default, and is replaced with the `location` column.

Suffix / End

This will be added to the end of the release notes.

@hcloud-bot hcloud-bot requested a review from a team as a code owner January 5, 2026 16:12
@hcloud-bot hcloud-bot added the rp-release::pending Release for this PR is pending label Jan 5, 2026
@hcloud-bot hcloud-bot force-pushed the releaser-pleaser--branches--main branch from e96c8a8 to c470849 Compare January 5, 2026 16:14
@jooola jooola merged commit e01a16e into main Jan 5, 2026
8 checks passed
@jooola jooola deleted the releaser-pleaser--branches--main branch January 5, 2026 16:16
@hcloud-bot hcloud-bot added rp-release::tagged Release for this PR is created and removed rp-release::pending Release for this PR is pending labels Jan 5, 2026
@codecov
Copy link

codecov bot commented Jan 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 51.71%. Comparing base (0a4103f) to head (c470849).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1296       +/-   ##
===========================================
- Coverage   72.50%   51.71%   -20.79%     
===========================================
  Files         302      296        -6     
  Lines       10995    10724      -271     
===========================================
- Hits         7972     5546     -2426     
- Misses       2150     4651     +2501     
+ Partials      873      527      -346     
Flag Coverage Δ
e2e 51.71% <ø> (-0.02%) ⬇️
unit ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rp-release::tagged Release for this PR is created

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants