Skip to content

feat: remove datacenter property from server and primary_ip#890

Merged
lukasmetzner merged 1 commit into
mainfrom
feat/datacenter-property-removed
Jul 16, 2026
Merged

feat: remove datacenter property from server and primary_ip#890
lukasmetzner merged 1 commit into
mainfrom
feat/datacenter-property-removed

Conversation

@lukasmetzner

@lukasmetzner lukasmetzner commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Remove the datacenter property from Server and Primary IP resource where possible. The property was deprecated ~6 months ago, and because the property is removed from the API, removing it from our code is not considered a breaking change.

Changelog entry: https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters

Assisted-by: Claude Opus 4.8

@lukasmetzner lukasmetzner requested a review from a team as a code owner July 6, 2026 11:41
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 78.37%. Comparing base (41b4e80) to head (04f2fd8).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #890      +/-   ##
==========================================
- Coverage   78.41%   78.37%   -0.04%     
==========================================
  Files          59       59              
  Lines        4368     4361       -7     
==========================================
- Hits         3425     3418       -7     
  Misses        640      640              
  Partials      303      303              

☔ View full report in Codecov by Harness.
📢 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.

@jooola

jooola commented Jul 14, 2026

Copy link
Copy Markdown
Member

Could you please add a changelog link in the pr description?

@lukasmetzner lukasmetzner merged commit 298cccc into main Jul 16, 2026
5 of 6 checks passed
@lukasmetzner lukasmetzner deleted the feat/datacenter-property-removed branch July 16, 2026 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants