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: cloudflare/cf-terraforming
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.23.1
Choose a base ref
...
head repository: cloudflare/cf-terraforming
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.23.2
Choose a head ref
  • 6 commits
  • 5 files changed
  • 1 contributor

Commits on Jan 27, 2025

  1. Configuration menu
    Copy the full SHA
    d6ad43f View commit details
    Browse the repository at this point in the history
  2. Merge pull request #786 from cloudflare/handle-failed-to-fetch-version

    fix: handle failure to fetch versions gracefully
    jacobbednarz authored Jan 27, 2025
    Configuration menu
    Copy the full SHA
    1282a9d View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2025

  1. fix: handle singular endpoints that behave as lists

    Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
    jacobbednarz committed Jan 28, 2025
    Configuration menu
    Copy the full SHA
    886568c View commit details
    Browse the repository at this point in the history
  2. ensure we always have an identifier

    Even though not all resources expose a `id` field, we have it in the form of the `account_id` or `zone_id` parameter. We can use that instead of panic'ing.
    
    Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
    jacobbednarz committed Jan 28, 2025
    Configuration menu
    Copy the full SHA
    c0877b2 View commit details
    Browse the repository at this point in the history
  3. fix: handle singular resource payloads with a transform

    If the API responds with a singular result (`result = {}`) but it is a list endpoint, we need to wrap it as an array to continue with the generation steps.
    
    Signed-off-by: Jacob Bednarz <jacob.bednarz@gmail.com>
    jacobbednarz committed Jan 28, 2025
    Configuration menu
    Copy the full SHA
    ca58303 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6584acd View commit details
    Browse the repository at this point in the history
Loading