Skip to content

docs: pin to 0.2.0-beta.1 + add pre-release callout#15

Merged
caballeto merged 1 commit into
mainfrom
docs/v0.2.0-beta-version-pin
May 5, 2026
Merged

docs: pin to 0.2.0-beta.1 + add pre-release callout#15
caballeto merged 1 commit into
mainfrom
docs/v0.2.0-beta-version-pin

Conversation

@caballeto
Copy link
Copy Markdown
Member

Summary

Every customer copying the documented `versions.tf` snippet today hits:

```
Initializing provider plugins...

  • Finding devhelmhq/devhelm versions matching "~> 0.1"...

    │ Error: Failed to query available provider packages

    │ Could not retrieve the list of available versions for provider
    │ devhelmhq/devhelm: no available releases match the given constraints ~> 0.1

    ```

The provider has only ever shipped pre-release versions (`0.1.0-alpha.1` … `0.1.0-alpha.8`), and Terraform's `~>` operator never selects pre-releases — so the documented constraint matches zero published versions.

Changes

Four sources of truth updated, plus the two tfplugindocs-generated outputs they drive:

File Role
`examples/provider/provider.tf` Source for `docs/index.md` "Example Usage" block
`templates/guides/getting-started.md.tmpl` Source for `docs/guides/getting-started.md`
`README.md` GitHub-rendered
`docs/index.md` Auto-generated by `make docs`
`docs/guides/getting-started.md` Auto-generated by `make docs`

Each replaces `version = "> 0.1"` with the exact pin `version = "0.2.0-beta.1"` and adds a short "Pre-release" callout explaining why an exact pin is required and pointing at the eventual GA `1.0.0` cut, when `> 1.0` will become safe.

Bonus: the template's `export DEVHELM_API_TOKEN="dev_…"` placeholder is updated to `dh_live_…` to match the actual token format the API issues.

Test plan

  • `make docs` reruns cleanly and the regenerated files match the templates
  • `docs/index.md` and `docs/guides/getting-started.md` show the new exact pin
  • Pairs with cutting `v0.2.0-beta.1` immediately after merge
  • Verify in a fresh `/tmp` workspace: `terraform init` resolves `0.2.0-beta.1` cleanly after the release ships

Refs: pre-launch DevEx agent reports — synthesis at `/tmp/devex-cli-test/SYNTHESIS.md`

Made with Cursor

Every customer copying the documented `versions.tf` snippet today
hits `terraform init: Failed to query available provider packages:
no available releases match the given constraints "~> 0.1"`. The
provider has only ever shipped pre-release versions
(0.1.0-alpha.1 … 0.1.0-alpha.8), and Terraform's `~>` operator
never selects pre-releases — so the documented constraint matches
zero published versions.

This fix updates four sources of truth and the two
tfplugindocs-generated outputs they drive:

- examples/provider/provider.tf       (used by tfplugindocs to render
                                       docs/index.md "Example Usage")
- templates/guides/getting-started.md.tmpl
                                      (renders docs/guides/getting-started.md)
- README.md                           (npm/GitHub-rendered)

Each replaces `version = "~> 0.1"` with the exact pin
`version = "0.2.0-beta.1"` and adds a short "Pre-release" callout
explaining why an exact pin is required and pointing at the eventual
GA `1.0.0` cut, when `~> 1.0` will become safe.

Bonus: the template's `export DEVHELM_API_TOKEN="dev_…"` placeholder
is updated to `dh_live_…` to match the actual token format the API
issues today.

Pairs with cutting `v0.2.0-beta.1` after this lands. Refs: pre-launch
DevEx agent reports.

Co-authored-by: Cursor <cursoragent@cursor.com>
@caballeto caballeto merged commit bd45a47 into main May 5, 2026
6 checks passed
@caballeto caballeto deleted the docs/v0.2.0-beta-version-pin branch May 5, 2026 17:52
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.

1 participant