Skip to content

feat: deprecate datacenters#656

Merged
jooola merged 3 commits into
mainfrom
deprecate-datacenters
Jun 18, 2026
Merged

feat: deprecate datacenters#656
jooola merged 3 commits into
mainfrom
deprecate-datacenters

Conversation

@jooola

@jooola jooola commented Jun 4, 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.

@jooola jooola force-pushed the deprecate-datacenters branch from 822a20c to e93adb7 Compare June 18, 2026 09:54
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.
@jooola jooola force-pushed the deprecate-datacenters branch from e93adb7 to 58bfab9 Compare June 18, 2026 10:00
@codecov

codecov Bot commented Jun 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.10%. Comparing base (b4a2597) to head (f7ed46d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #656      +/-   ##
==========================================
+ Coverage   97.08%   97.10%   +0.01%     
==========================================
  Files          76       76              
  Lines        4053     4073      +20     
==========================================
+ Hits         3935     3955      +20     
  Misses        118      118              

☔ 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 merged commit 9e1883a into main Jun 18, 2026
11 checks passed
@jooola jooola deleted the deprecate-datacenters branch June 18, 2026 13:34
jooola pushed a commit that referenced this pull request Jun 18, 2026
<!-- section-start changelog -->
### Datacenters resource is now deprecated

The 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`.

The `DatacentersClient`, `Datacenter` and related classes are now
deprecated.

See the
[changelog](https://docs.hetzner.cloud/changelog#2026-06-02-datacenters-deprecated)
for more details.

### Features

- deprecate datacenters (#656)

<!-- section-end changelog -->

---

<details>
<summary><h4>PR by <a
href="https://github.com/apricote/releaser-pleaser">releaser-pleaser</a>
🤖</h4></summary>

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.

~~~~rp-prefix
### Datacenters resource is now deprecated

The 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`.

The `DatacentersClient`, `Datacenter` and related classes are now
deprecated.

See the
[changelog](https://docs.hetzner.cloud/changelog#2026-06-02-datacenters-deprecated)
for more details.
~~~~

### Suffix / End

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

~~~~rp-suffix
~~~~

</details>

Co-authored-by: Hetzner Cloud Bot <>
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