You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Added
Deploy to Cloudflare button. One click copies the repository to your GitHub or GitLab
account, creates the D1 database and the queues, asks for the root key, applies the migrations
and deploys. Every push to the copy redeploys through Workers Builds.
README screenshots of the dashboard and a recording of the CLI, regenerated from a seeded local
instance with pnpm --filter @anchor/web media.
Docs: deploying with the button, upgrading a button deploy (merge the release tag from upstream),
upgrading and uninstalling the CLI for every install method, and troubleshooting for install and
deploy failures.
Changed
First-owner setup needs no setup token. The first account created at /setup owns the
instance; later attempts get 409 and never touch the existing owner. Create the owner right
after deploying. ANCHOR_SETUP_TOKEN is no longer read, the setup_disabled (503) and
invalid-token (403) responses are gone, and a request that still sends setupToken is accepted.
The Worker config moved to the repository root: wrangler.jsonc and .dev.vars.example now live
there, and every wrangler command runs from the root. New root scripts: pnpm db:migrate:local, and pnpm deploy:worker now applies the D1 migrations before deploying.
Dashboard polish:
the header shows the project and environment as a breadcrumb;
the secrets table has its own Comment column and one-line rows;
overlays, menus, sheets and table rows fade and slide in gently, and stay still when the
system asks for reduced motion;
the version history sheet is wider, so its dates and authors no longer wrap or clip.
Fixed
Every clickable control in the dashboard shows a pointer cursor; disabled ones show not-allowed.
Table footers count one item in the singular ("1 token", not "1 tokens").
The audit log names its targets (secret key, token name, email) instead of showing internal IDs.
The CLI no longer warns "No OS keychain available" when ANCHOR_CREDENTIAL_STORE=file is set on
purpose. A real fallback from the keychain still warns.
Upgrade notes
Manual deploys: move your database_id from apps/server/wrangler.jsonc into the root wrangler.jsonc (the DB entry), and move apps/server/.dev.vars to .dev.vars at the
repository root. Run wrangler commands from the root from now on. The database name and
binding are unchanged, so no data moves. See Upgrade an instance.
Setup token: nothing to do for an instance that already has an owner. Delete the unused ANCHOR_SETUP_TOKEN secret with wrangler secret delete ANCHOR_SETUP_TOKEN.
CLI: no breaking changes; update to 0.3.0 with the tool you installed it with.