Skip to content

feat: deprecate hcloud datacenters ... commands#1436

Open
jooola wants to merge 5 commits into
mainfrom
deprecate-datacenters
Open

feat: deprecate hcloud datacenters ... commands#1436
jooola wants to merge 5 commits into
mainfrom
deprecate-datacenters

Conversation

@jooola

@jooola jooola commented Jun 18, 2026

Copy link
Copy Markdown
Member

The API endpoints GET /v1/datacenters and GET /v1/datacenters/{id} are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will return HTTP 410 Gone.

See https://docs.hetzner.cloud/changelog#2026-06-02-datacenters-deprecated for more details.

@jooola jooola requested a review from a team as a code owner June 18, 2026 16:33
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 57.57576% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 72.87%. Comparing base (96fb6e3) to head (b406e3d).

Files with missing lines Patch % Lines
internal/cmd/base/labels.go 0.00% 2 Missing and 2 partials ⚠️
internal/cmd/base/change_protection.go 0.00% 1 Missing and 1 partial ⚠️
internal/cmd/base/create.go 0.00% 1 Missing and 1 partial ⚠️
internal/cmd/base/delete.go 0.00% 1 Missing and 1 partial ⚠️
internal/cmd/base/set_rdns.go 0.00% 1 Missing and 1 partial ⚠️
internal/cmd/base/update.go 0.00% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1436      +/-   ##
==========================================
+ Coverage   72.80%   72.87%   +0.07%     
==========================================
  Files         300      300              
  Lines       11104    11118      +14     
==========================================
+ Hits         8084     8102      +18     
+ Misses       2120     2118       -2     
+ Partials      900      898       -2     
Flag Coverage Δ
e2e 51.35% <57.57%> (+0.09%) ⬆️
unit 67.79% <48.48%> (+0.04%) ⬆️

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

☔ 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.

@phm07 phm07 force-pushed the deprecate-datacenters branch from 16d0787 to daa2592 Compare June 19, 2026 10:47
phm07 and others added 4 commits June 19, 2026 13:44
The API endpoints `GET /v1/datacenters` and `GET /v1/datacenters/{id}` are now deprecated and will be removed after 1 Oct. 2026. After this date, requests to these endpoints will return `HTTP 410 Gone`.

See https://docs.hetzner.cloud/changelog#2026-06-02-datacenters-deprecated for more details.
@phm07 phm07 force-pushed the deprecate-datacenters branch from daa2592 to 71e3cbb Compare June 19, 2026 12:35
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