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: hetznercloud/terraform-provider-hcloud
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.42.0
Choose a base ref
...
head repository: hetznercloud/terraform-provider-hcloud
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.42.1
Choose a head ref
  • 8 commits
  • 8 files changed
  • 4 contributors

Commits on Aug 7, 2023

  1. Copy the full SHA
    62e9781 View commit details

Commits on Aug 8, 2023

  1. deps: update module golang.org/x/crypto to v0.12.0 (#728)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 8, 2023
    Copy the full SHA
    16ac875 View commit details

Commits on Aug 14, 2023

  1. deps: update module github.com/hetznercloud/hcloud-go to v1.49.0 (#733)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 14, 2023
    Copy the full SHA
    081ce78 View commit details
  2. fix: use exponential backoff when retrying actions (#735)

    Exponential backoff is better suited to reduce the average amount of calls needed. We are already using it to wait for running Actions.
    apricote authored Aug 14, 2023
    Copy the full SHA
    d51ee4a View commit details
  3. Copy the full SHA
    d57b386 View commit details
  4. fix(server): Return nil instead of "<nil>" with IPv4/IPv6 disabled (

    #723)
    
    Why:
    
    `"<nil>"` isn't very easy to work with in terraform. e.g. there are
    functions to work with null or the empty string (""), like `compact()` or
    `coalesce()`, but nothing exists to handle `"<nil>"` natively, making it an
    odd one and requiring specific custom filtering constructs to work with it.
    
    `"<nil>"` is a pretty common thing to return in golang, with tens of
    usages even in the main repo[1] but HCL is not golang
    
    hcloud-go has a very nice IsUnspecified()[1] function to detect if the
    API returned an unspecified IP address and a quick check says that the
    hcloud cli command uses it to provide custom text output.
    
    What:
    
    Switch from using unconditionally the output of net.IP.String()
    function, which returns `"<nil>"`[2] if the IP has length 0, to a
    conditional usage of the function, setting the address to nil otherwise.
    
    Setting the entire struct to nil apparently locally appeases unit tests
    just fine and even works in some, very simple, scenarios just fine,
    returning the empty string ("") instead of `"<nil>"`
    
    This is an API breaking change. It might not be desirable to merge
    and/or require some careful handling depending on how widespread the
    usage of handling `"<nil>"` is. A quick search on my side, did not find
    any usages[3], but I might have very well failed.
    
    [1] https://github.com/search?q=repo%3Agolang%2Fgo%20%22%3Cnil%3E%22&type=code
    [2] https://pkg.go.dev/net#IP.String
    [3] https://github.com/search?q=%22%3Cnil%3E%22+language%3AHCL&type=code
    
    Signed-off-by: Alexandros Kosiaris <akosiaris@gmail.com>
    akosiaris authored Aug 14, 2023
    Copy the full SHA
    6cd2a37 View commit details
  5. deps: update module golang.org/x/net to v0.14.0 (#726)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Aug 14, 2023
    Copy the full SHA
    530891c View commit details
  6. Copy the full SHA
    8e14ea6 View commit details

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v1.42.0...v1.42.1