Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jooola/hcloud-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: hetznercloud/hcloud-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 3 commits
  • 6 files changed
  • 3 contributors

Commits on Jul 21, 2026

  1. Configuration menu
    Copy the full SHA
    aeebcf8 View commit details
    Browse the repository at this point in the history
  2. chore(deps): replace pre-commit hook pre-commit/mirrors-prettier with…

    … jooola/pre-commit-prettier 3.9.6 (hetznercloud#676)
    renovate[bot] authored Jul 21, 2026
    Configuration menu
    Copy the full SHA
    381d71a View commit details
    Browse the repository at this point in the history
  3. chore(main): release v2.23.0 (hetznercloud#672)

    ### Removed deprecated Datacenter property from Server and PrimaryIP
    
    Removed the deprecated Datacenter property from the Server and PrimaryIP
    resources. Since the property was already removed from the Hetzner Cloud
    API, we do not consider this a breaking change (see [changelog
    entry](https://docs.hetzner.cloud/changelog#2026-07-01-removing-datacenters)).
    
    > [!IMPORTANT]
    > **Action required:** Please update all code that accesses
    `server.datacenter` or `primary_ip.datacenter` to use the `location`
    property instead, as shown below.
    
    **Before:**
    
    ```python
    server = client.server.get_by_id(5)
    print(server.datacenter)
    
    primary_ip = client.primary_ip.get_by_id(5)
    print(primary_ip.datacenter)
    ```
    
    **After:**
    
    ```python
    server = client.server.get_by_id(5)
    print(server.location)
    
    primary_ip = client.primary_ip.get_by_id(5)
    print(primary_ip.location)
    ```
    
    ### Features
    
    - remove datacenter property from server and primary_ip (hetznercloud#668)
    ([abdadf3](hetznercloud@abdadf3))
    - add deprecation info to load balancer type (hetznercloud#674)
    ([aeebcf8](hetznercloud@aeebcf8))
    hcloud-bot authored Jul 21, 2026
    Configuration menu
    Copy the full SHA
    48f3424 View commit details
    Browse the repository at this point in the history
Loading