Skip to content

Releases

v0.50.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 01 Dec 03:22
ddfeea6

Image: ghcr.io/alejandroerickson/what-build:v0.50.0 (linux/amd64), built from ddfeea69b84d19cfe87f82d192bba282b27970c4.

Migrations. This release changes the database schema since v0.49.0, the last release with an image:

  • 0059_better_auth.sql

Going back to an earlier release needs the database restored to before these ran. Take a restore point before deploying.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • Identity moves to Better Auth (decision). Migration
    0059 adds Better Auth's tables in a schema of their own, better_auth, and makes every account
    not deleted one of its users; rehearse it on the dev deployment. Then:
    • Everyone signs in again once, and every agent connects again once. No session or agent
      connection carries over.
    • Each provider's redirect URI changes to <public URL>/api/auth/callback/google,
      /api/auth/callback/github and /api/auth/callback/microsoft: add it to the provider's app
      (Google Cloud console, GitHub OAuth app, Entra app registration) before deploying, and remove
      the old /auth/<provider>/callback once it works.
    • Microsoft, one directory only, takes an address only when the ID token says it is
      verified: the app registration's ID token needs the optional claims email,
      verified_primary_email and verified_secondary_email (the address is read from email, and
      taken only when one of the other two lists it). It now asks for openid profile email only, so the
      registration needs no consent to User.Read or offline_access. A server refuses to start
      with WHATBUILD_MICROSOFT_DOMAINS, WHATBUILD_MICROSOFT_ANY_DIRECTORY=1 or
      WHATBUILD_GITLAB_CLIENT_ID set: unset them.
    • Agents' addresses: connectors scoped to an organization or a product
      (/mcp/t/...) answer 404; each person adds <public URL>/mcp instead. OAuth's issuer is
      <public URL>/api/auth. An MCP client must name /mcp as the resource it wants a token for
      (RFC 8707, the MCP authorization spec of 2025-06-18 and later); an older one cannot connect,
      and /mcp says so.
    • WHATBUILD_DATABASE_POOL_SIZE now counts Better Auth's connections too (a fifth of it, at
      least one), so an instance holds no more than it says; its least is now 6, and a server set to
      5 refuses to start.
    • Abuse limits (WHATBUILD_ABUSE_LIMITS) apply as before to sign-in links and agent
      registrations. Better Auth's own short rate limits count only behind an edge that names client
      addresses (the Cloudflare Worker with WHATBUILD_EDGE_KEY); elsewhere they are off and the
      deployment's ceilings apply, as for every limit per client.
    • Nothing new to set: Better Auth's secret is derived from WHATBUILD_GRANT_KEY. Changing that
      key signs everyone out of the web app, and stops WhatBuild issuing agents' tokens until the
      signing key made with the old one is removed: right after the new key is live, run
      delete from better_auth.jwks; against the deployment's database. Each agent's access token is
      then refused once, and it refreshes; no agent is disconnected.
    • tools_version 0.80.0: the guide and the tools' descriptions no longer speak of scoped
      connectors, of changing a connection's level in Settings, or of turning feedback off; a
      connected client sees them after a new session.

What's Changed

Full Changelog: v0.49.0...v0.50.0

v0.49.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 01 Dec 02:54
1ad7d43

Image: ghcr.io/alejandroerickson/what-build:v0.49.0 (linux/amd64), built from 1ad7d439f2a29c082a0eef1256f4d4425e5477d5.

Migrations. This release changes the database schema since v0.48.0, the last release with an image:

  • 0057_blocking_feedback.sql
  • 0058_search_words.sql

Going back to an earlier release needs the database restored to before these ran. Take a restore point before deploying.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • A search reads only the pieces of text that hold its words. Row-level security kept Postgres from using the search index, so every search read every piece of text in the database, every organization's, and on a small server with little memory a search after a quiet spell could pass 5 seconds (503 search_timed_out). Migration 0058 adds text_chunk_words, which copies each piece's search words beside it (and drops text_chunks_tsv, which could never be used). It locks text_chunks against writes while it copies, about as long as reading every piece takes, and the database grows by about the size of the pieces' search vectors. The previous release keeps working on the migrated schema: it still searches text_chunks as before, never changes a piece in place (which the migration refuses), and the pieces it writes get their words from the migration's trigger. Nothing else needs doing. A search for words most texts hold still reads each piece that holds them.
  • Correcting a misspelt word in plain search no longer reads every text in the organization. A word that matches nothing is now corrected from the product's own pieces that hold a word starting with its first three letters (or with two neighbouring letters swapped, or from a title). It took about half a second for every five million characters of text the organization held on a fast computer, several times that on a small database server, where it could stop the search; now it takes milliseconds. People and agents will notice that a misspelling within a word's first three letters is searched as typed unless it is a swap. Looking for a correction has half a second of its own; past it, the words are searched as typed and the answer's correction_skipped says so, never search_timed_out. Agents see tools_version 0.79.0. Nothing needs doing; no migration.
  • A search stopped at its time limit says why it was likely slow. 503 search_timed_out gives details.searches_running, how many other searches ran beside it. When there were any, it tells the agent to send searches one at a time. Connected agents see the guide's new words once they refresh their tool list (tools_version 0.79.0). The Azure guide says why a search can time out on a small database server (reading text from disk after a quiet spell, or CPU credits spent) and how to tell which. Nothing needs doing; no migration.
  • Problems people meet reach the people who run the deployment at once. Errors in people's browsers (a screen that failed, an error the app's own code threw), signed in or not, the sign-in page among them, are written to the service's log as ERROR lines, browser_error, which an alert on error lines mails; a request meant to answer at once that takes 10 seconds or more is a slow_request line; every 5xx answer carries reference, the request's ID, which the web app shows beside the error with Report this problem. Feedback takes severity: "blocking" and a reference, and a blocking report is mailed to WHATBUILD_FEEDBACK_EMAIL at once, within allowances of its own. Migration 0057 adds four columns to feedback and one to feedback_counts, with defaults, which the previous release never reads or writes, so it keeps working on the migrated schema; nothing else needs doing for these. A Cloud Run deployment takes the new alerts by running deploy/cloud-run/alerts.mjs again (it adds slow requests), and, behind the Cloudflare Worker, by deploying the Worker from this release and passing EDGE_URL=https://<the app's host>, which adds an uptime check on /edge-health.txt, a path only the Worker answers, and the edge is down (Cloud Run). Agents see tools_version 0.79.0.
  • A filesystem file store that can't be written is said, not answered as an internal error. A deployment whose files go to a mounted volume (WHATBUILD_BLOB_STORE=fs, as on Azure) checks at start that it can write to WHATBUILD_BLOB_DIR. When it can't, it logs file_store_unwritable as an ERROR line that names the folder and the error, answers writes of files 503 storage_unavailable instead of 500 internal, and GET /api/v1/meta says storage: "unwritable" until a write succeeds. After changing the environment or the volume, check that storage says "ok". A deployment on object storage reads "unchecked" there. Nothing needs doing; no migration.
  • Agents' common guesses at a field's name are taken, or answered with the right one. A write takes etag for expected_etag, derived_read(action="text") takes length for limit, and the Playbook's index, read_files and get_download take folder for prefix. The actions' one-line summaries, which an agent reads before it asks for a schema, now name the fields they take: offset and limit, note_kind, prefix, and that mockups_write(action="request_upload") takes only the ZIP's size. A refused field is matched against the optional fields too, so it comes with the name meant. Nothing needs doing; no migration.
  • Agents keep corrections in the Playbook, and hear of the starter's pages nobody filled. The server's instructions, the guide and the starter's how-to/lessons.md say that writing to a product's Playbook is part of the work the person asked for, and that a correction about the product's work is a lesson there even for an agent with a memory of its own, which may keep a pointer to it. playbook_read(action="housekeeping") answers unfilled_starter, the starter's pages to fill (product/now.md, product/evidence-map.md) that nobody has written, from the first day, and leaves them out of drafts; products_read(action="get") marks such a read_first entry starter: true. A product that has written to its Playbook keeps its own copy of the starter's how-to/ files; playbook_read(action="starter") shows the new text to take. Nothing needs doing; no migration. Agents see tools_version 0.79.0, and a connected agent gets the new instructions only after its client refreshes its tool list (in Claude Code, a new conversation or a restart).

What's Changed

Full Changelog: v0.48.0...v0.49.0

v0.48.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 30 Nov 00:32
c3830ee

Image: ghcr.io/alejandroerickson/what-build:v0.48.0 (linux/amd64), built from c3830ee178689a6f7b43ebebb6a4d630e6b6b695.

Migrations. None since v0.47.2, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading. A limit reached in the web app comes with the plan that lifts it. Where the deployment has a billing service and sells a plan that sets more of the limit, its callout names that plan, with Upgrade to it for an owner of the organization and, for anyone else, that an owner can upgrade it. A refusal the plan switches off (403 plan_restricted) now reads as a fact, not a failure, and the documents_only and fetch_url refusals name their setting in details.setting. Nothing needs doing; no migration.

What's Changed

Full Changelog: v0.47.2...v0.48.0

v0.47.2

Choose a tag to compare

@alejandroerickson alejandroerickson released this 29 Nov 22:56
00e91de

Image: ghcr.io/alejandroerickson/what-build:v0.47.2 (linux/amd64), built from 00e91de6ca96a406b21cad9b1af09bb044064798.

Migrations. None since v0.47.1, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • Back from paying, the Plan says the organization is on its new plan when it already is. The
    billing service often moves an organization before its owner's browser is back, and the Plan then
    kept saying the move would come once the payment was confirmed. Nothing needs doing; no migration.

What's Changed

Full Changelog: v0.47.1...v0.47.2

v0.47.1

Choose a tag to compare

@alejandroerickson alejandroerickson released this 29 Nov 22:18
33a21d1

Image: ghcr.io/alejandroerickson/what-build:v0.47.1 (linux/amd64), built from 33a21d11467aed11463b4d81d40dc2ed407340e8.

Migrations. None since v0.47.0, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • The plan organizations start on is never offered as a paid plan. Where a deployment's plans
    file gives its starting plan a price that reads as one, such as "No charge", the organization's
    Plan in Settings showed Manage billing on it, not Upgrade, and products.billing would hand off an
    owner to pay for it. Now only plans with a price other than the starting plan are paid for: a Free
    organization's owners see Upgrade to Pro, and a handoff for the starting plan is refused 422 plan_not_sold. Nothing needs doing; no migration.

What's Changed

Full Changelog: v0.47.0...v0.47.1

v0.47.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 29 Nov 20:59
fea410d

Image: ghcr.io/alejandroerickson/what-build:v0.47.0 (linux/amd64), built from fea410dc1c9a029849c990531708184351e5cd01.

Migrations. None since v0.46.0, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • A deployment can send organizations' owners to a billing service of its own. Two new
    settings, WHATBUILD_BILLING_URL (the service's address) and WHATBUILD_BILLING_SECRET (at least
    32 random characters, which the service holds too), set together, put Upgrade and Manage billing
    on an organization's Plan in Settings for its owners, who are sent to the service with a signed
    handoff; and the service may call products.set_plan and products.organizations over REST with
    the secret as its bearer token, and nothing else. Each organization in products.organizations
    now carries its tenant_id. A deployment that sets neither sees no change. On Cloud Run,
    setup.sh takes BILLING_URL and BILLING_SECRET (Cloud Run, Plans; §9.7).
    No migration (tools_version 0.74.0: the guide says where owners pay for a plan); a connected
    client sees it after a new session.

What's Changed

  • Say above Evidence's rows that the address names a source not in the list by @alejandroerickson in #365
  • Keep a refused size from reading as within its limit, and name every page entering a heavy document by @alejandroerickson in #366
  • Open a linked page at its place in the clickable view, keep moves from showing a white page, and ring a focused page by @alejandroerickson in #367
  • Say only what can be true of a source the Evidence list leaves out, and keep it when a filter clears by @alejandroerickson in #368
  • Count every page that keeps reloading as they stop, and let the clickable prototypes plan's steps fail by @alejandroerickson in #369
  • Make the clickable prototypes plan's step 13 fit the pages it clicks in, and say who gets the tutorials by @alejandroerickson in #372
  • Bump the actions group with 2 updates by @dependabot[bot] in #370
  • Bump the minor-and-patch group with 9 updates by @dependabot[bot] in #371
  • Send owners to a deployment's billing service, and let it move plans by @alejandroerickson in #373
  • Give v0.47.0 its upgrading notes by @alejandroerickson in #374

Full Changelog: v0.46.0...v0.47.0

v0.46.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 26 Nov 18:23
c2bc26f

Image: ghcr.io/alejandroerickson/what-build:v0.46.0 (linux/amd64), built from c2bc26f2b04371566e2379527a9da73f0495553c.

Migrations. None since v0.45.0, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading. Nothing to change, and no migration.

  • A canvas's pages load in turns and stay loaded, and publish refuses a prototype whose pages load too much. On the board and in the clickable view the selected page loads first, then the two beside it, then the rest eight at a time, and a move shows the next page at once; a page still loading is a sheet that says so, never white. Before, every page of a canvas loaded at once, which for dozens of pages entering a heavy prototype was more than the browser would take, and left pages blank until a reload; the clickable view also reopened each page it moved to. Publish now refuses (422 invalid_input) an upload whose prototype gives a page a document loading more than 20 files or 1 MB, or the pages more than 12 MB together: an agent republishing such a canvas is pointed to the guide's ways of bringing it within the limits, and what each changes for the people who view it. Canvases already published are not touched and keep loading in turns. A connected client sees the new descriptions (tools_version 0.73.0) after a new session.

What's Changed

  • Say what a plan no longer defined keeps, and untick No limit to the field's number by @alejandroerickson in #361
  • Name the organization Instance admin's every-limit table is read through, and make the first-visit plans' steps followable by @alejandroerickson in #362
  • Say how to check the bot check without email sign-in, and run the Worker deploy in bash by @alejandroerickson in #360
  • Load a canvas's pages in turns, show each move at once, and refuse heavy prototypes by @alejandroerickson in #363
  • Give v0.46.0 its upgrading notes by @alejandroerickson in #364

Full Changelog: v0.45.0...v0.46.0

v0.45.0

Choose a tag to compare

@alejandroerickson alejandroerickson released this 26 Nov 06:16
a1595bf

Image: ghcr.io/alejandroerickson/what-build:v0.45.0 (linux/amd64), built from a1595bf827ea13438ce8068234eb724f0c17e0ce.

Migrations. This release changes the database schema since v0.44.2, the last release with an image:

  • 0054_the_landing_funnel.sql
  • 0055_abuse_counters.sql
  • 0056_welcome_on_own_product.sql

Going back to an earlier release needs the database restored to before these ran. Take a restore point before deploying.

If a release breaks your deployment: recovering from a bad release.

Upgrading.

  • The database connections each instance holds are a setting, WHATBUILD_DATABASE_POOL_SIZE:
    10 when unset, as before; otherwise a whole number from 5 to 100, and on anything else the server
    does not start. Nothing needs doing, and a deployment that sets nothing keeps 10. One that raises
    it first checks that its most instances times the pool, with the migration job, the backup and
    anyone else connected, fits its database's connection limit
    (the database's connections); on Cloud Run it passes
    DATABASE_POOL_SIZE to every later run of setup.sh, which otherwise sets 10 again. No
    migration.

  • Mockups and Story pages keep their newest 10 versions, and older ones are deleted. Publishing
    a version of a mockup or a Story page past what its organization's plan keeps
    (mockup_versions_max, story_page_versions_max) deletes its oldest versions, for good; a mockup
    also keeps every version a Story page shows. A plans file that leaves them out, Unlimited, and a
    deployment that defines no plans all keep 10. Nothing is deleted when the release deploys: a
    mockup or Story page past the number loses its oldest versions the next time someone publishes
    it. To keep more, or every version (null), set them in each plan of the deployment's plans file
    (deploy/plans.example.json keeps 5 on Free and 10 on Pro) or in Instance admin → Plans, before
    people publish; Unlimited and a deployment that defines no plans always keep 10. Agents are told in
    the answer (versions_deleted), and reading a deleted version answers 410 version_deleted. No
    migration (tools_version 0.72.0); a connected client sees the new descriptions after a new
    session.

  • WhatBuild says product engineering, not product discovery, in the app, the site, the tutorial,
    the mail, the guide, the operations' descriptions and the MCP server's instructions. It asks
    nothing of a deployment and adds no migration (tools_version 0.72.0, as above); a connected
    client sees the new instructions after a new session.

  • The landing pages are followed from a visit to people coming back
    (the landing-page funnel). The release migrates
    (0054_the_landing_funnel.sql adds accounts.came_via, accounts.returned_at and the table
    landing_presses, all empty), which the previous release never reads or writes, so it keeps
    working on the migrated schema and going back needs only its image. Behind Cloudflare, deploy the
    Worker with the release, as always: it serves the pages that count their buttons' presses and
    passes those counts on (POST /api/v1/pressed); until then nothing is counted. With it, people
    reading in LinkedIn's app are split like everyone else, where until now they always got /; only
    LinkedIn's link previews still do. An account made before the release gets returned_at at its
    first call after it. Nothing else needs doing.

  • Explore the demo opens the demo itself. On the landing pages and the plans page it leads to
    a sign-in page titled Explore the demo, then to the example organization's first product, on its
    Idea, instead of the overview. People who sign in any other way still land on the overview. No
    migration. Behind Cloudflare, deploy the Worker with the release, as always: until then the pages
    it serves still lead to the overview.

  • A link to the site shows a card (LinkedIn, X, Slack, iMessage): both landing pages name a
    social card and a canonical address, and no longer say they are in private preview. Behind
    Cloudflare, deploy the Worker with the release, as always: the Worker makes the card's address
    whole, and until it is deployed again, link previews get the pages without a card. Behind any
    other front, the image does it. A link shared before may keep its old preview on LinkedIn for
    about a week; its Post Inspector reads the site again (Cloud Run guide).

  • The site's plans page offers Start using WhatBuild wherever anyone may sign up, as the
    landing pages do, with Explore the demo first while guests may come in; it no longer says people
    are let in a few at a time unless nobody may sign up. Accounts made from it come into the
    landing-page funnel as /plans/, a row of their own
    (the funnel). On the landing pages, the bar at the top is
    solid, the last screen fills the window with nothing of the last picture above it, and, where
    nobody may sign up, Start using WhatBuild puts the cursor in the form's email field, which keeps
    its height on a phone. No migration or setting. Behind Cloudflare, it reaches visitors when the
    Worker is deployed with the release, as always. Nothing else needs doing.

  • The tutorial's welcome comes once more on a product of one's own. Someone offered it in the
    example organization is offered it again, once, on the first product of their own they open.
    People will notice: a guest who explored the demo and then starts an organization sees the
    welcome there. The release migrates (0056_welcome_on_own_product.sql lets
    accounts.tutorials_seen hold welcome-own, and gives it to whoever was offered the welcome and
    is in an organization other than the example, so the welcome does not come back for anyone
    already using their own). The previous release leaves welcome-own alone and never offers the
    welcome twice, so going back needs only its image. A toast that points at the account menu now
    goes when the person leaves the screens it is about, so it no longer follows a guest onto the
    Welcome form. Nothing needs doing.

  • A day's place is used only when an organization starts on it. With New organizations a day
    above 0, Start using WhatBuild, and Start your own organization in the app, now only say whether
    a place is open and take people to the Welcome form; the place is taken when they press Start
    organization, and someone who looks and leaves uses none. Whoever presses it after the day's last
    place went is told so, starts nothing and joins the waitlist with the name they typed. A place let
    go to someone on the waitlist is still held for them, by email, and counts on the day it is given.
    Someone on the waitlist who joined an organization meanwhile is passed over, and stays on the
    waitlist for an owner to let in. Starting organizations in Instance admin therefore lists only
    those who started one or were let in. Places already given before the release stay their holders' allowances. Welcome no longer
    waits behind the guests' waiting page. An agent's create_tenant takes no place, as before. No
    migration and nothing to do (tools_version 0.72.0, for the guide's wording); a number set for
    New organizations a day now counts organizations started, so an owner who set it to allow for
    people who look and leave may lower it.

  • Abuse limits, per client and for the deployment. Sign-in links, new accounts, the waitlist
    and agent registrations are limited per client address in an hour, and per IPv6 /48 under limits
    three times larger; the sign-in links and invitations the deployment emails in an hour, the
    accounts it makes in an hour for people nobody let in, and the waitlist have ceilings; an
    organization makes at most 100 invitations a day, on any plan. The defaults are in
    §9.2; a deployment changes them in
    WHATBUILD_ABUSE_LIMITS, and a name or number it does not take stops the server at start. The
    deployment-wide limit on the waitlist (200 an hour) becomes one of them. Agent registrations
    waiting for their first connection are no longer refused past a number (it was 50 an hour):
    the deployment keeps 1,000 (agent_registrations_waiting) and forgets the oldest to make room.
    Behind Cloudflare, client addresses count once the Worker of this release is deployed (it names
    the address and seals it with the edge key) and the service holds the edge key; until then, and on
    any deployment without them, only the ceilings and the organization's day apply. The service
    trusts no address the Worker did not seal, so the Worker and the service may be deployed in either
    order, as usual; a service whose Worker is older logs client_address_missing as an error, once an
    instance, which the log's alert mails, and cloud-run.md says how to
    check that addresses arrive. An invitation's email now goes out after its call commits; one the
    hour's mail cannot cover, or that could not be sent, is made with its link and says
    emailed: false (before, a mail server's failure refused members.grant). Re-run
    PROJECT_ID=$P node deploy/cloud-run/alerts.mjs for the new alert, whatbuild: an abuse ceiling filled, and the new words of whatbuild: errors in the log. Migration `0055_abus...

Read more

v0.44.2

Choose a tag to compare

@alejandroerickson alejandroerickson released this 24 Nov 02:12
bbd5268

Image: ghcr.io/alejandroerickson/what-build:v0.44.2 (linux/amd64), built from bbd52680b558520692d0302be1a3989ca4cb6e11.

Migrations. None since v0.44.1, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading. /?split=off is the front page whatever the split, so both landing pages can be seen from an address LANDING_SPLIT sends to /what-to-build/. Behind Cloudflare, it reaches the site when the Worker is deployed with the release, as always. Nothing else needs doing.

What's Changed

Full Changelog: v0.44.1...v0.44.2

v0.44.1

Choose a tag to compare

@alejandroerickson alejandroerickson released this 24 Nov 00:11
b71eee5

Image: ghcr.io/alejandroerickson/what-build:v0.44.1 (linux/amd64), built from b71eee573d58e03b9e7e2e1caa92d9fcbe6bf5aa.

Migrations. None since v0.44.0, the last release with an image: going back to it needs only its image.

If a release breaks your deployment: recovering from a bad release.

Upgrading. Nothing needs doing. No migration, setting or step, and the server is as in v0.44.0: only what a search result shows of the public site's landing pages changed (the home page's title and site name, and both pages' descriptions). The tools are unchanged (version 0.70.0).

What's Changed

Full Changelog: v0.44.0...v0.44.1