Skip to content

feat(datacenter, server_type): move available and recommended to server_type#645

Merged
phm07 merged 4 commits intomainfrom
server-type-available-recommended
Apr 23, 2026
Merged

feat(datacenter, server_type): move available and recommended to server_type#645
phm07 merged 4 commits intomainfrom
server-type-available-recommended

Conversation

@phm07
Copy link
Copy Markdown
Contributor

@phm07 phm07 commented Apr 10, 2026

@phm07 phm07 self-assigned this Apr 10, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 10, 2026

Codecov Report

❌ Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 96.76%. Comparing base (8e36441) to head (f1810e1).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
hcloud/datacenters/domain.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #645      +/-   ##
==========================================
- Coverage   96.77%   96.76%   -0.02%     
==========================================
  Files          76       76              
  Lines        4035     4046      +11     
==========================================
+ Hits         3905     3915      +10     
- Misses        130      131       +1     

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

Comment thread hcloud/datacenters/domain.py Outdated
Comment thread hcloud/server_types/domain.py Outdated
Copy link
Copy Markdown
Member

@jooola jooola left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect :)

@phm07 phm07 merged commit fb34c3e into main Apr 23, 2026
11 checks passed
@phm07 phm07 deleted the server-type-available-recommended branch April 23, 2026 09:51
phm07 pushed a commit that referenced this pull request Apr 23, 2026
<!-- section-start changelog -->
### Available and recommended Server Types have been moved

`Datacenter.server_types` has been deprecated in favor of the new
`ServerType.locations[].available` and
`ServerType.locations[].recommended` properties.

See the
[changelog](https://docs.hetzner.cloud/changelog#2026-04-01-datacenter-deprecations)
for more details.

### Features

- **datacenter, server_type**: move available and recommended to
server_type (#645)

<!-- 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
### Available and recommended Server Types have been moved

`Datacenter.server_types` has been deprecated in favor of the new
`ServerType.locations[].available` and
`ServerType.locations[].recommended` properties.

See the
[changelog](https://docs.hetzner.cloud/changelog#2026-04-01-datacenter-deprecations)
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