# Changelog

What each Jadpo release changed, newest first. A release that needs changes to your app starts with a list of them, under "Before you upgrade".

## Jadpo 0.6.0

Released 27 November 2026.

This release adds caches and Redis, telemetry sent over OTLP, and outgoing webhooks to the addresses
your customers register. Queries can filter by a related record, search inside text, read every
record that matches and see the records a lifecycle hides. `jadpo explain` gives a coding agent a
map of your app, and `jadpo fix` applies the edits that leave no choice. Some new checks refuse code
Jadpo 0.5.0 accepted, and an `Int` now reaches JSON as a number.

### Before you upgrade

- **A route whose action may set a field nobody may set is refused** (`policy.effect_ungranted`).
  Before, only a field the action always set was. Now a field of a patch's `Input`, and one
  `when_supplied:` sets, are refused too, at check rather than with a 403 when the request supplies
  them. Leave the field out of what the action writes, such as the patch's `Input`. If someone
  should be able to set it, ask the app's owner: letting more callers set a field is a widening a
  person accepts.
- **A restricted field copied through a query's output is checked**
  (`policy.output_field_unproved`). A value read through a query's `Output` is now followed as a
  read from the record, so a copy into a record whose readers may not read the source is refused,
  where 0.5.0 missed it. Copy only what those readers may read, or have a person approve the copy in
  an acceptance, as `"desk.Macro.body -> desk.Reply.body": PolicyChange.field_copied`.
- **A batch that saves no tenant is refused** (`policy.batch_tenant_missing`). In an app with a
  `tenant:`, a batch's run reaches only the tenant its saved values name, so one that saves none
  would walk nothing, every time. Save the tenant's `id` in `from:`, in what `each:` or `finished:`
  captures, or in `key:`. Work for every tenant at once belongs in a schedule's own action.
- **A unique rule over a value with an empty part holds it once, and the next migration checks your
  data** (`migration.apply_failed`). Two `EmailWithName` values with the same address and no name,
  or two choices that leave the same fields empty, used to both get in. The next migration rebuilds
  each such key, and `jadpo migrate apply` refuses while records share a value, naming how many sets
  it found and the first records' `id`s. Change or remove the duplicates, then apply it again.
- **An `Int` with an open side reaches JSON as a number.** A bare `Int`, a count, or an `Int` type
  with only a `min:` used to be sent as a string, `"3"`, and is now `3`. Only a type whose declared
  `min:` or `max:` goes past 2^53 - 1 is still a string. Reading takes either form, but a client that
  parses these fields as strings needs changing. OpenAPI now gives them as `integer`.
- **`rate_limits.counted_in_memory` is retired**, so a `decline` naming it is `decline.unused`.
  Rate limits in a Redis store are now counted in Redis, on Workers too. Remove the decline line.
- **Your own type can't take the name of a new built-in type** (`semantic.duplicate_declaration`).
  `WebhookSecret`, `RegisteredWebhook` and `NormalForm` are now built in. Rename your declaration.
- **`telemetry` is a reserved name** (`semantic.standard_namespace_reserved`). It is the new
  namespace code records metrics through. Rename a declaration, domain, library, parameter or
  variable called `telemetry`. A field or a named argument may still use the word.

### New

- **Caches.** A query's `cache:` keeps a route's results in a Redis store, or with `Driver.memory`
  in each server's own memory, for at most `keep:`, by caller and by arguments. An entity's
  `caches: { records: }` keeps each record whole by `id`, one copy held to policy each time it is
  read. Every committed write, purge and erasure clears what it could have made stale, and a write's
  `Jadpo-Revision` header and cookie make that caller's next read skip older entries. Writes always
  go to the database. `Driver.memory` is reported as `connection.memory_cache` until you decline it,
  since on several servers it serves stale pages.
- **Redis.** `Driver.redis` works natively and on Workers, over TLS. Rate limits counted in it share
  one count and window across every server and Worker instance. An entity can be kept in Redis,
  each record expiring `expires_after:` its last write, read by `id`, by a unique field, and as a page
  or a count by an indexed field. An action's writes to it still commit all together.
- **Telemetry over OTLP.** A `telemetry:` section in `application { }` sends each request's trace,
  metrics and logs as OTLP, from `jadpo dev` and from deployables, to any collector: a vendor is an
  endpoint and a header. You declare metrics in a domain's `monitoring.jadpo`, record them with
  `telemetry.<metric>.add(...)`, and add to a trace with `telemetry.note`. A personal field is
  refused as a label or an attribute. `jadpo traces`, `jadpo metrics` and `jadpo logs` read what
  `jadpo dev` kept.
- **Outgoing webhooks to your customers' addresses.** An entity's `webhooks:` lists the events its
  records' addresses receive, and the generated `register_webhook`, `webhooks` and `remove_webhook`
  keep them under the record's grants. Each address gets a secret of its own, shown once, and each
  event is posted to it signed and retried: HTTPS only, public addresses checked at every attempt,
  and no redirects.
- **Scopes for external tokens.** `external_token: { scopes: }` declares the scopes its tokens
  carry, and an entity's policy names the scope each effect needs with `scopes:`. A scope only ever
  takes away, so a token never reaches more than its person can. Loosening one needs
  `PolicyChange.scopes_loosened`, and a route test gives a token's scopes with `scopes:`.
- **Callers matched by kind.** A `match` on a `Principal` has an arm for each kind of caller,
  `user(name)` or `service(name)`, so one route both kinds call can tell them apart. A
  `Principal.user` or `Principal.service` widens to `Principal`.
- **Filtering by a related record.** `exists(EnquiryTag.enquiry_id, EnquiryTag.tag_id == tag_id)`
  on a query's `where:` keeps the records with a linked record that meets the condition, and
  `not exists(...)` the ones with none. It works on a page and in an aggregate query too.
- **The bin.** `include_hidden: true` on a query, or as the last argument of `exists(...)`, reads
  the records a lifecycle hides as well as the visible ones, so a bin view and a guard such as "no
  tickets, binned ones included" can be written. A transition marked `reaches: hidden` brings a
  hidden record back. It needs the entity's `update:` grants and, when the lifecycle has a `delete`
  transition, its `delete:` grants, so nobody undoes a delete they couldn't have made.
- **`limit: every`.** A query returning a list reads every record that matches, up to 10,000. When
  more match it gives none of them and the action stops with a fault, so a list is never cut short
  and a bulk change made of the query and a loop of writes changes nothing.
- **Searching inside text.** `text.contains_ignoring_case(Todo.title, words)` works on a query's
  `where:` and `where_present:`, through a trigram index the migration makes. `text` gains
  `normalise`, `index_of`, `last_index_of`, `trim_start`, `trim_end`, `pad_end`, `truncate`,
  `equals_ignoring_case` and `contains_ignoring_case`.
- **Ordering by an optional field.** A list or a page can be ordered by an optional field, with
  `none` after every value in both directions.
- **A request with no body.** A blank body reads as `{}` on a route whose input has no field the
  body must send, whatever its `Content-Type` says.
- **Reading another store.** An action can read a second store, in a read-only snapshot of its own,
  beside the transaction of the store it writes. It used to be refused as not built yet.
- **Changing a stored field's type.** A column whose type changes other than by widening moves to a
  new column filled by the backfill, and the old one stays until a later migration drops it, so
  servers still on the old build keep working. `jadpo fix <name> swap` now also swaps a standard type
  in under stored data, and writes the migration that converts each value.
- **Policy that follows what a value is for.** A restricted field used only to choose an existing
  record's `id`, compared with the action's parameters, is a lookup, not a copy, and needs no
  acceptance, nor does a find-or-create built on it. A field that only decides whether an action goes
  ahead, by a check that can only `reject`, is checked once, as the failure it gives. A value copied
  into a record whose owner is the caller, such as a duplicate of their own record, is proved
  against what that caller could read.
- **`jadpo explain`** prints a map of your app, read from what `jadpo check` builds: where the
  product's rules are written, who can call it and how they sign in, each entity with its fields,
  lifecycle and policy, the routes, the background work and the docs topics to read. A coding agent
  reads it before changing an app. `jadpo help topic <id>` prints a docs topic offline.
- **`jadpo fix`**, alone, applies every edit `jadpo check`'s errors carry that leaves no choice,
  checks again and repeats, then lists what it changed. It never writes an acceptance or widens who
  can read or write anything. A failing check shows each edit under `fix`, and its last line says how
  many of the errors `jadpo fix` would fix.
- **`jadpo check` does more of the routine work.** Outside CI it writes the record views and the
  next migration a command would have written, when nothing needs a decision, and says what it
  wrote. Errors only a person can clear are asked once together, as one question with the
  acceptance entries a yes would write.
- **`jadpo fmt`** formats only the files edited since the last commit. `jadpo fmt --all` formats
  every file, and `--check` still reads them all.
- **Agents ask the owner.** The `AGENTS.md` `jadpo new` writes, the agent skill and the primer tell
  a coding agent to stop and ask when a change needs a person's acceptance, contradicts a rule the
  project writes down, or leaves open a case the product's rules would decide, and to ask once,
  with every open point in one question.
- **A generated erasure test.** For each person entity no test erases, `jadpo test` makes the person
  and a record of each kind that belongs to them, erases the person, and checks their export holds
  the records first and nothing after. Generated tests now run inside workerd too.
- **Keeping AI prompts and answers.** `ai: { keep_content: }` keeps each call of the listed prompts
  beside the caller's sessions, sealed, exported and erased with them, and deleted after `keep:`. A
  package's `embed:` with a `batch:` splits `ai.embed_all` across requests.
- **Packages.** `jadpo package conform` runs the `email` and `receiving` suites, and
  `jadpo package check` and `verify` run each capability's suite against the package's recordings
  and a local fake. The registry shows each release's run, pinned to its digest. `jadpo package
  record` writes an operation's output type from the sandbox's answer, and recipes' tests run in
  `sample/`.

### Fixed

- A data builder in a test runs without policy, as a test's own call does. On an entity whose
  `create:` granted no one, `make.<Entity>` used to be refused.
- `Ticket.status(Status.closed)` builds an enum field's type from a value of its enum. It used to be
  refused as `type.constructor_input`.
- A field read through an optional `Page`, such as `response.output.items`, is
  `type.nullable_selection`, with `match` as the fix. It used to pass `jadpo check` and stop the test
  with "not built yet".
- A principal's subject kept in several columns or as JSON is read whole. Sessions, API tokens and
  service keys for such a subject used to answer 503.
- A passing `jadpo check` describes a first commit's records as a notice an agent carries on from.
  It used to print a decision marked `(human)`, which stopped agents on an unchanged app.
- A view of a record Jadpo could have written is `record.out_of_date`, which `jadpo check` writes
  again. It used to be reported as a hand edit.
- The formatter keeps a declaration written inside an entity's braces in its place, keeps a
  snippet's `use` lines after a bare seed or test, and doesn't start a line with `!=` or `in` when it
  removes a `;`.
- Several errors say what they need. A write a `match` is on is told to move into an action of its
  own, `type.mismatch` shows the `list.map` that converts a list, `naming.folded_collision` names
  what to rename, a migration beside other errors says `jadpo check` writes it once they are fixed,
  and the acceptance errors tell an agent to ask its user before drafting one.
- `jadpo help` says a type built on `Text` is text already, rather than pointing at `text.from`.

## Jadpo 0.5.0

Released 13 November 2026.

This release carries out people's requests to export or erase their data, and keeps files: uploads
go straight to a store, on disk or S3, and downloads go out as signed links. It adds commands that
rename and move code without breaking stored data, and new ways to write and run tests. New checks
keep passwords, secrets and personal data where they belong, and some of them refuse code that
Jadpo 0.4.1 accepted.

### Before you upgrade

- **A field marked `personal:` that nothing reads is refused** (`data.personal_unread`). Personal
  data your app holds and never uses is data it shouldn't hold. Read the field where your app needs
  it, in a query, an output or an action; a test or a fixture reading it doesn't count. If you keep
  it for a legal reason and only an export reads it, put
  `decline data.personal_unread: "<your reason>"` above the field.
- **An action that erases a person needs an erasure log** (`data.erasure_log_required`). The log is
  how Jadpo erases someone again after a restored backup brings them back. Name where it is kept in
  `app.jadpo`, as `privacy: { erasure_log: { store: <connection> } }`: a second database, or a store
  of files, that holds none of the records erasure reaches (`data.erasure_log_store` otherwise).
- **A provider call that sends a `Password` is refused** (`type.password_sent_to_provider`). So is a
  call of a package's action that sends one on. Send the provider something else it takes, such as a
  token it issued. If the call has to carry the password, put a `decline` line with the reason above
  your action, and have a person accept it in an acceptance.
- **A route can't read a secret value from its URL or a header** (`route.secret_outside_body`). A
  `Password`, `TotpSecret`, `SecretText` or `OneTimeCode` comes in the JSON body of a `POST`, `PUT`
  or `PATCH`. A `BearerToken`, `Jwt` or `ApiKey` may also come in a header. A webhook's `reply:` now
  holds no secret value at all (`type.secret_exposed`).
- **A file in `domains/` or `shared/` that no declaration uses is refused**
  (`layout.asset_unreferenced`). Those folders hold your code and the files it uses, such as an
  email's templates. Put the file beside the declaration that uses it, or move it out of the code
  folders.
- **An email needs words for its subject in every locale**. With no `locales { }` in `app.jadpo`,
  `jadpo check` refuses the email (`translation.locales_required`), and a domain with no language
  file for a supported locale is `translation.file_missing`. The email used to fail only when it was
  sent. Declare your locales, and give the email its entry in each domain's language files.
- **`make`, `privacy`, `postal` and `names` are reserved names**
  (`semantic.standard_namespace_reserved`). They are new namespaces: `make` for data builders in
  tests, `privacy` for data requests, and `postal` and `names` in the standard library. Rename a
  declaration, domain, library, parameter or variable called one of them. A field or a named
  argument may still use the word.
- **Your own type can't take the name of a new built-in type** (`semantic.duplicate_declaration`).
  `FileUpload`, `UploadSlot`, `AnyObject`, `PersonErased`, `PersonalDataExport` and the data-request
  types whose names start with `Privacy` are now built in. Rename your declaration.
- **A `decline` line above a field of a value built in a body is refused**
  (`syntax.expected_statement`). Move it above the function or action that builds the value: a
  decline there now covers a finding in that field.

### New

- **Data requests.** `privacy:` in `app.jadpo` generates the routes for a person to ask for an
  export or an erasure of their data: by email address without signing in, signed in, or through
  your staff with `privacy.create_request`. Each request has its one-month legal deadline, an
  alert a week before it and `PrivacyRequestOverdue` once it passes. An erasure waits out a
  cooling-off period, 14 days unless you set it, with a cancel link, and an export is a single-use
  download link. Jadpo generates the endpoints, and your frontend builds the pages.
  `jadpo privacy requests` lists the requests still to finish. Exports are kept in a store of
  files: on disk natively, or in S3 natively and on Workers.
- **`User.export(id)`** gives everything held about a person, in every store, as JSON with your
  API's field names: their record, the records erasure would delete with them, and the records kept
  that refer to those. A `File` in it is a signed link.
- **Erasure reaches further.** `User.erase` now emits `PersonErased`, and after it commits it erases
  the person's records in your other stores and asks each provider whose package declares an
  `erasure:` to erase them, retrying until the provider confirms. It also takes them out of the
  feature-flag tables. Each erasure is logged, and the log is replayed every time the app starts, so
  a restored backup brings nobody back.
- **Personal data in logs and reports.** A failure that ends a route, a delivery or a schedule's run
  is now logged as `failure.rejected`, and that log and an audited entity's history keep a marked
  field only as a keyed hash. Every export, erasure and read of a sensitive field is recorded as an
  access event with no values in it. The personal-data report lists, for each person entity, every
  marked field with who may read it, its retention and what erasure does.
- **Uploads, downloads and S3.** A client uploads a file straight to the store. An action calls the
  generated `Entity.field_upload()` for an `UploadSlot`, the client sends the file to the slot's
  address, and an ordinary create or update attaches it with a `FileUpload`. A field over 100 MB is
  uploaded in parts, and any part can be sent again. A `File` in an output goes out as a signed link
  valid for five minutes. `Driver.s3` keeps files in a bucket on any S3-compatible service, natively
  and on Workers.
- **Files go out with what you send.** A `File` in a provider operation's input or a webhook's reply
  is sent as its bytes, and an email attaches every file a list, set or map field holds.
- **`jadpo files`** lists a store's files, in production or in `jadpo dev`, shows, gets and puts
  one, and copies every file and the erasure log from one store to another.
- **`jadpo rename` and `jadpo domain`.** `jadpo rename` renames a declaration or a field everywhere
  code names it, and moves its file and its test. Renaming in the editor runs the same code.
  `jadpo domain rename`, `split` and `merge` move a domain's files and every call into it. Stored
  data keeps up: a renamed field keeps its column, a renamed entity its table, and a renamed enum
  variant or JSON member the name its stored values hold, so there is nothing to migrate.
- **`jadpo inspect` and `jadpo impact`.** `jadpo inspect` prints the project map: each domain's
  declarations, where each is written and what each calls. `jadpo impact <name>` lists what a change
  to one declaration reaches: the domains that call it, the routes, schedules and subscribers that
  reach it, and the tests that cover it.
- **Data builders and `assert emitted` in tests.** `make.Loan { title: "Middlemarch" }` creates a
  record through the entity's real create and fills each field you leave out with a valid value. It
  can set a lifecycle's state, so a hard-to-reach state is easy to start from.
  `assert emitted OrderPlaced { order_id: order.id }` checks that an event with those fields was
  emitted.
- **Tests generated for each route.** `jadpo test` also runs tests it writes from each route's
  OpenAPI document: that the route refuses bad input with `{ field, rule }`, that each failure it
  lists reaches the client in its envelope, and that it sends nothing its output doesn't declare.
- **New ways to run tests.** `jadpo test --interactive` opens a keyboard view of every test with its
  last result. `--affected` runs the tests that reach what your branch changed. Under `--watch`,
  `enter`, `a` and `f` run tests between saves.
- **Files and providers in tests.** `fixture_file("customers.csv", store: imports)` keeps a file
  from the domain's `fixtures/files/` in the test's store, and `fakes: { imports: unavailable }` or
  `storage_full` makes a store fail. `<connection>.<resource>.<operation>.requests` lists what your
  code sent a provider, typed as the operation's input.
- **Queries and writes over more types.** A query compares and orders standard types, amounts of
  money and values kept in several columns or as JSON, as your code does. A unique rule or an index
  can cover a value kept as JSON, and `IndexKind.json` adds a JSON index. An update by `id` can
  work a value out from stored fields and refuse it by its rule in one statement, as
  `Stock(Product.stock - ordered) { min: OutOfStock }` does, without loading the record. A `geo.`
  condition works in an include or an aggregate query.
- **Migrations and database reports.** `jadpo migrate apply` refits a stored field given a new
  `pattern:`, and applies a computed backfill for a field that allows less, in batches.
  `jadpo migrate new` asks for a missing purpose at a terminal. `jadpo check` writes
  `build/report/database.md` and `queries.md`: every table, column and index with the statements it
  serves. `jadpo sql <query> --explain` shows PostgreSQL's plan for each statement, made on a
  throwaway database.
- **Batches over a provider's list.** The file helpers' writes, such as `csv.write`, can walk a
  provider's list operation page by page, and so can a `batches.each` whose `each:` action calls no
  provider. A query's page of more than 1,000 items is split into batches. `jadpo batches` lists,
  shows and cancels runs.
- **Publishing events to other systems.** `publishing:` in `application { }` posts chosen public
  events to an address through a `Driver.webhook` connection once the action that emits them
  commits, signed as Standard Webhooks signs and retried. Each API's OpenAPI document lists them in
  `x-jadpo-events`.
- **Events and deliveries.** A `GET` route's action may now emit an event, so a subscriber can count
  a read. A delivery waits as long as a provider's `Retry-After` asks before trying again. Each
  process names itself, and `jadpo schedules` shows which one holds a schedule.
- **Sign in with GitHub** through a `Driver.github` connection, with `client_id:` and `credential:`.
- **More from provider packages.** A failure can say how its provider writes it, with
  `wire_status:` and `wire_name:`. A body can be sent as a form or in parts, with
  `Protocol.form_http` and `.multipart_http`. A host can hold a placeholder filled from a setting, a
  setting can have a `default:`, and a webhook's field can be read by the package's own `decode:`.
  An input field typed `AnyObject` takes any of your app's object types, for a provider's template
  variables or metadata. Importing a description again keeps a type you renamed.
- **Upgrading packages.** `jadpo package update <name> --plan` lists what an update would reach and
  the compile errors, schema changes and reviews it would bring, and changes nothing. When a newer
  Jadpo finds more in an installed package's own code than the publishing bar did, such as a
  judgement call, `jadpo check` shows one alert about the package and goes on. A package that
  doesn't compile, or breaks a security rule, is still refused. `jadpo package check --previous`
  names the release to compare with.
- **Typed holes.** Write `_` where a value goes, and `jadpo check` answers with `type.hole`: the
  type that goes there and up to five values in scope that fit, with an edit for the closest. A
  project with a hole never checks, tests or builds.
- **UK postcodes and registry names.** The `postal` namespace takes a UK postcode apart:
  `outward_code`, `inward_code`, `area`, `district`, `sub_district`, `sector` and `unit`.
  `names.registry_part` writes a name from code as the package registry does: `AcmeCouriers` is
  `acme-couriers`.
- **Editor and tooling.** The VS Code extension highlights `.jadpo_record` files, and the language
  server shows a record's errors and outline as you edit it. `jadpo check` tells a record edited by
  hand from one that is out of date. Declared names are bold and comments italic in any theme.
  `jadpo routes` and OpenAPI show the generated routes' rate limits, and a refused magic link sends
  `RateLimit` headers. `jadpo build` copies each served API's failure wording beside its
  deployable. Every error page now has the same parts: what happened, why, an example with its
  output, and each fix.

### Fixed

- A library package's functions read its own constants, and a field of an object constant read by
  its name alone, such as `extent.east`, works. Both used to be refused.
- A `File` held inside a list, set, map or object field counts as held, so its bytes stay. In a
  store that a `File` field also names, they used to be deleted a day after they were put.
- An optional field that is `none` is left out of a provider's JSON body, at any depth. It used to
  be sent as `null`, which some providers refuse.
- A secret value given to a provider's operation is sent as itself. It used to reach the provider
  as a `<redacted …>` placeholder.
- After `jadpo package add @jadpo/british-grid`, the hint names the package as you typed it, and
  `package show`, `update` and `remove` take that name. It used to name the package's folder.
- A field declared twice in a type is one `type.duplicate_field`, or `type.duplicate_variant_field`
  in an enum variant, not also `package.wire_name_invalid`. An event, a message or an entity reports
  it the same way.
- The edit `type.mismatch` offers writes every field the value needs, optional ones included.
  Applying it used to give `type.missing_field`.
- Removing a `;` at the start of an indented line keeps the line's indent. The edit used to close
  the block early.
- A download from the registry that a signal interrupts carries on, rather than failing.
- The registry's verifier accepts a `NOTICE` file beside a package's licence, and reports when the
  package's contract recordings were last made. It used to refuse a `NOTICE` and report no date.
- Several errors say what they need: an optional value in a `nearest` order, a `limit:` or a page
  `size:` is no longer told to use `where_present:`, a function calling a query isn't told a query
  may write data, and a generated field set through `patch:` or `when_supplied:` is to be removed
  from there.

## Jadpo 0.4.1

Released 7 November 2026.

This release fixes downloading Jadpo 0.4 for a project that needs it. It changes nothing in the
language or the compiler.

### Fixed

- **`jadpo` from an earlier release can download Jadpo 0.4.** When a project's `jadpo:` names a
  newer version than the `jadpo` you run, `jadpo` downloads that version and checks the download
  was built from its release. Jadpo 0.4.0's download couldn't be checked that way, so `jadpo`
  0.3.0 refused it with `toolchain.version_newer`. Jadpo 0.4.1's can. Installing 0.4.0 directly
  always worked.

## Jadpo 0.4.0

Released 7 November 2026.

This release works with the package registry, now live at
[jadpo.dev/packages](https://jadpo.dev/packages). A provider package is a package that connects your
app to an outside service, such as Resend for email. Publishing one now checks its types, and the
package commands work against the live registry.

### Before you upgrade

- **A provider package needs a `reviewed:` list to be published.** A package's public types are
  the ones it offers to the apps that install it. `jadpo package check` refuses a release until
  `reviewed:` in `provider.jadpo` lists each of them (`publish.type_unreviewed`). Listing a type
  there records that someone checked it against the service's documentation. Your app isn't
  affected: the packages it has installed keep working.
- **A package release with a `reviewed:` list needs Jadpo 0.4.0 to install.** Jadpo 0.3.0 can't
  read a `reviewed:` list, so an app on 0.3.0 stays on the release of the package it already has.

### New

- **`jadpo package check` suggests standard types in a provider package.** Standard types are
  Jadpo's built-in types, such as `Email` and `Instant`. A field named like an email address or a
  time, but typed as plain `Text` or a number, is flagged with the standard type to use instead
  (`package.standard_candidate`). So is free text that may hold personal data and isn't marked
  `personal:`. When the plain type is right, you can decline the finding with a reason.
- **`jadpo package publish` ends with a link to the release's page on jadpo.dev.** The command
  sends the release to be checked. On its page, you confirm it with your passkey to make it live.
  With `--json`, the link is `page`.
- **`jadpo package publish` sends the publisher's name.** A publisher lists the repositories it
  releases from, so the registry can turn a release away before checking it when it comes from a
  repository that publisher hasn't listed. When the registry turns a release away, the command
  shows the registry's reason.
- **`jadpo package verify --json` gives descriptions as their own fields**: the package's, and
  those of each public type and function, under `descriptions`.

### Fixed

- `jadpo build` builds an app whose action reads a top-level `constant`. An action is a function
  in your app that reads or changes data. The build used to fail with `toolchain.build_failed`,
  though `jadpo check` passed.
- A package type with the same name as one of your app's types no longer makes `jadpo check` say a
  stored record has changed since your last migration.
- `jadpo package check` on a tagged commit compares it with the release before it, to work out
  whether the change is a patch, minor or major release. It used to compare it with the
  repository's newest tag.
- `jadpo package check` finds the changes in a provider package that sends fixed headers. It used
  to find none, so a breaking change could pass as a patch.
- A failed package test shows where it failed in your package, not in a temporary folder.
- The registry's verifier, which checks a package's code before it can go live, refuses a
  repository address that redirects. A renamed or moved repository is never fetched from its new
  owner (`publish.repository_refused`).
- In a test, `.requests` on a fake of an outside service now reports that it isn't built yet
  (`toolchain.not_built_yet`). It used to give a wrong error.
- When jadpo.dev answers a package command with "not found", the command now reports that the
  registry isn't answering, rather than that the package doesn't exist.

## Jadpo 0.3.0

Released 5 November 2026.

This release adds the commands for finding, installing and publishing packages. It checks much more
of how your app handles personal data: what it deletes when a person asks, and which outside
services it sends it to. It also adds passkey confirmation for single requests, encrypted fields
and an audit trail.

A few terms come up below. Erasing a person deletes their personal data when they ask. A connection
is an outside service your app calls, declared in `app.jadpo`. A domain is a part of your app with
its own folder, such as `billing`. An acceptance is a short file in `acceptances/` in which a person
records that they agreed to a change, and why. Jadpo asks for one where the choice is yours, such as
removing data.

### Before you upgrade

These refuse code that 0.2.0 accepted. `jadpo check` names each one, with its fix.

- **Erasing a person clears their contact details.** On a record that is kept after a person is
  erased, an `Email`, `PhoneNumber`, `PersonName`, `PostalAddress`, `GivenName` or `FamilyName`
  field must be optional, so it can be cleared, or say `erase: Erasure.retained`
  (`data.erase_field_required`).
- **Sending an `Email` to an outside service needs an acceptance** when the connection or package
  receiving it doesn't declare `erasure:`, which says how it deletes data on request. That includes
  the recipients of email sent over SMTP (`acceptance.missing`). `jadpo build` checks this too.
- **An `Email` in a prompt to an AI model needs `contact` in the prompt's `allowed:` list**
  (`semantic.ai_field_unmarked`). A route marked `cache: immutable` can't return one
  (`route.cache_invalid`).
- **Schedules, event subscribers and batch jobs only reach data whose access rules grant
  `Access.system`** (`policy.system_grant_missing`).
- **A `File` can't be sent to or received from a provider package, a queue or an AI prompt**, and a
  route can't take or return one yet. Reading a file's fields directly is refused; use the file's
  functions.
- **A migration that removes data needs an acceptance** (`migration.drop_not_accepted`), and so
  does a package upgrade that Jadpo marks as risky.
- **`bytes` is a reserved name**, so a domain or a library can't use it. `ProblemDetails`' field
  `type_` is now `type`.
- **A test can't read a `TestPasskey`'s fields.**

### New

- **Packages.** A package names its publisher with `publisher:`. `jadpo package new` starts one,
  and `jadpo package search`, `add`, `show`, `update` and `remove` work with a registry.
  `jadpo package verify` checks a package the way the registry does, and refuses a proprietary
  licence. You can install packages from your company's own git repositories once someone records
  an acceptance listing them.
- **Personal data.** An email address counts as personal data, and `jadpo check` points out a
  route anyone can call without signing in that returns one. Erasing a person clears their phone
  numbers, names and postal addresses even where you didn't mark them, and erases a record they
  shared once no one else is left on it. `jadpo check` lists every connection and outside address
  that personal data reaches, and asks for a reason when data stays at a connection that can't
  delete it.
- **Passkeys confirm a single request**, such as a payment, on top of signing in.
- **Encrypted fields**, whose keys are kept in your app's database rather than in configuration.
- **An audit trail**: a record's history, kept for as long as you say and erased with the person.
- **Feature flags** can be changed, listed and removed. A test can run with each value of a flag,
  and `GET /flags` returns the caller's flags.
- **Rate limits** on a route or a whole API, with `rate_limit:`.
- **Routes.** A `GET` route can run an action, a function that reads or changes data, when Jadpo can
  prove it only reads. A route can send raw bytes, and say its answer never changes so it can be
  cached.
- **Monitoring thresholds**, such as an error rate that raises an alert, set for each domain.
- **Standard type pages**, one for each of Jadpo's built-in types such as `Email`, also shown by
  `jadpo help <Type>`.
- **The approval report**, the summary a person reads before approving a change to an app, lists
  the decisions first.
- **A reserved word can name a field** or an enum variant.
- **Shorter command output**, with `--full` for everything, and a single error, rather than one per
  test, when the test database doesn't work.

### Fixed

- A route that takes or returns a `File` is refused by `jadpo check`, not when it runs.
- Columns of a PostgreSQL extension's types, such as pgvector's, are read correctly.

## Jadpo 0.2.0

Released 1 November 2026.

This release adds signing in with an outside provider, such as Google, and the first rules for
personal data: records that belong to a person, erasing them when the person asks, and how long
fields are kept. It also adds feature flags, search on PostgreSQL, and guides in the docs.

### New

- **Sign in through a provider.** Jadpo checks a sign-in provider declared with `Driver.oidc`, and
  your app answers the provider's sign-in routes. `jadpo dev` signs you in through a provider with
  an account chooser, and a route test signs in with `test_providers`. An app can also accept tokens
  from an outside issuer, and `on_first_sign_in:` says what happens the first time someone it
  hasn't seen signs in.
- **Person entities.** An entity, a kind of stored record, can say it is a person, and other
  records can belong to one. `User.erase` erases a person's records.
- **Retention.** A field or an entity says how long it is kept, and a schedule deletes what is past
  it.
- **Feature flags.** Declare flags, read them for the caller, and set them in tests.
- **Search on PostgreSQL**, with highlighted matches, ranked and paged results, and your app's
  access rules applied.
- **Files.** A file's bytes are deleted once no record holds the file. Writing a file checks it
  against its field's storage, allowed file types and `max_size:`.
- **Acceptances** for changes a person must agree to: an API change that could break callers,
  wider access, a new outside address, a declined security finding, or a package from git. An
  acceptance is a short file in `acceptances/` that records who agreed and why.
- **Money and measurements.** Using a plain number for an amount of money or a measurement, such as
  kilograms, is an error. You can decline it if you give a reason.
- **`jadpo seed`** fills a database with starting records.
- **Roles from the sign-in provider.** Access rules can use roles that the provider gives a person.
- **Docs.** Guides, each for one job such as adding sign-in, and a generated page for every
  built-in type. The primer, the page a coding agent reads before writing an app, comes with a
  lending desk example.

### Fixed

- `jadpo check` refuses an unknown section of `application { }`, and a test that sets the same
  thing twice.
- `jadpo build` reports a package it can't download as `toolchain.fetch_failed`.
- A migration no longer reports an unchanged column as changed because the fields are in a
  different order.
- Using a security feature that isn't built yet is an error on the line you write it, rather than
  being ignored.
- The VS Code extension has its icon.

## Jadpo 0.1.0

Released 30 October 2026.

The first release of Jadpo: the compiler, the `jadpo` command and the VS Code extension. See
[Learn Jadpo](https://jadpo.dev/learn) to build your first app.

### New

- **`jadpo new`** starts a project.
- **`jadpo build`** builds an app, from any folder.
- **The Jadpo version an app needs.** `jadpo:` in `application { }` names the version of Jadpo the
  app is written for, and the `jadpo` command runs the matching release.
- **Tenants.** In an app that serves many customer organisations, each one a tenant, a value that
  must be unique only has to be unique within its tenant.
- **Tests sign in through magic links**, the sign-in emails Jadpo sends.
- **Help lines link to jadpo.dev**: every error's `help:` line is its page on the site.
- **Bug reports from coding agents.** An agent can draft a bug report about Jadpo for you to read
  and send.
- **The VS Code extension**, published with each release.
