Skip to content

docs: fix quickstart secure setup and refresh migration notes after rc.1 soak - #139

Merged
archlemon merged 1 commit into
mainfrom
docs/rc1-soak
Nov 24, 2026
Merged

archlemon merged 1 commit into
mainfrom
docs/rc1-soak

Conversation

@archlemon

Copy link
Copy Markdown
Member

Found by following the README, docs/quickstart.md (including Secure setup), docs/migrating-from-postgraphile.md and docs/upgrading.md literally against the v1.0.0-rc.1 linux_amd64 binary and the GHCR image, on PostgreSQL 18 with PostGIS.

Fixes

  • quickstart, Secure setup step 4: the query was todos, but the default names are PostGraphile v4's, so the field is allTodos (Cannot query field "todos" otherwise). Added the real response.
  • quickstart, Secure setup step 1: the dev stack fixture already creates an anonymous role, so CREATE ROLE anonymous fails with role "anonymous" already exists when the same cluster is reused. Added a note.
  • README and quickstart: docker compose up is documented without saying where to run it; added the git clone step.
  • cli.md: the pdbq plugins list sample showed nested_mutations with a request hook; the binary lists schema, compile (upgrading.md already says it is no longer a request hook).
  • migrating-from-postgraphile: replaced the stale "1.0 names are being finalized ... as it is on main today" banner with the compatibility-promise wording; documented that on PostgreSQL 16 and later ALTER ROLE ... INHERIT does not change existing grants (the introspected schema stays empty until the grant is re-run WITH INHERIT TRUE).
  • upgrading: old flags (--rls.enabled, --server.max_cost) are rejected as unknown flag with no suggestion, unlike keys and variables; said so.
  • CHANGELOG: Unreleased, Documentation.

Verified as written

Every old key and PDBQ_* variable in the upgrading tables (from the v0.20.0 and v0.29.0 example configs) fails with the documented new key; the migration guide's naming, mutation shapes, claims, minting, anonymous role, --print-sql, --role/--claims, listen topic prefix, error codes and schema cache commands behave as described.

…c.1 soak

- quickstart: the Secure setup query is allTodos (default names are PostGraphile v4's), note that the dev stack fixture already creates the anonymous role, add the git clone step
- README: add the git clone step to the dev stack quickstart
- cli: nested_mutations is no longer a request hook in the plugins list sample
- migrating-from-postgraphile: replace the stale 'names are being finalized' banner, add the PostgreSQL 16 role inheritance caveat
- upgrading: old flags are rejected as unknown flag without a suggestion
@archlemon
archlemon merged commit 476ba8c into main Nov 24, 2026
4 checks passed
@archlemon
archlemon deleted the docs/rc1-soak branch November 24, 2026 03:12
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