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".
- 0.6.0 27 Nov 2026
- 0.5.0 13 Nov 2026
- 0.4.1 7 Nov 2026
- 0.4.0 7 Nov 2026
- 0.3.0 5 Nov 2026
- 0.2.0 1 Nov 2026
- 0.1.0 30 Oct 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 upgrade8 changes
- 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'sInput, and onewhen_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'sInput. 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'sOutputis 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 atenant:, 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'sidinfrom:, in whateach:orfinished:captures, or inkey:. 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). TwoEmailWithNamevalues 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, andjadpo migrate applyrefuses while records share a value, naming how many sets it found and the first records'ids. Change or remove the duplicates, then apply it again. - An
Intwith an open side reaches JSON as a number. A bareInt, a count, or anInttype with only amin:used to be sent as a string,"3", and is now3. Only a type whose declaredmin:ormax: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 asinteger. rate_limits.counted_in_memoryis retired, so adeclinenaming it isdecline.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,RegisteredWebhookandNormalFormare now built in. Rename your declaration. telemetryis a reserved name (semantic.standard_namespace_reserved). It is the new namespace code records metrics through. Rename a declaration, domain, library, parameter or variable calledtelemetry. 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 withDriver.memoryin each server's own memory, for at mostkeep:, by caller and by arguments. An entity'scaches: { records: }keeps each record whole byid, 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'sJadpo-Revisionheader and cookie make that caller's next read skip older entries. Writes always go to the database.Driver.memoryis reported asconnection.memory_cacheuntil you decline it, since on several servers it serves stale pages. - Redis.
Driver.redisworks 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 expiringexpires_after:its last write, read byid, 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 inapplication { }sends each request's trace, metrics and logs as OTLP, fromjadpo devand from deployables, to any collector: a vendor is an endpoint and a header. You declare metrics in a domain'smonitoring.jadpo, record them withtelemetry.<metric>.add(...), and add to a trace withtelemetry.note. A personal field is refused as a label or an attribute.jadpo traces,jadpo metricsandjadpo logsread whatjadpo devkept. - Outgoing webhooks to your customers' addresses. An entity's
webhooks:lists the events its records' addresses receive, and the generatedregister_webhook,webhooksandremove_webhookkeep 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 withscopes:. A scope only ever takes away, so a token never reaches more than its person can. Loosening one needsPolicyChange.scopes_loosened, and a route test gives a token's scopes withscopes:. - Callers matched by kind. A
matchon aPrincipalhas an arm for each kind of caller,user(name)orservice(name), so one route both kinds call can tell them apart. APrincipal.userorPrincipal.servicewidens toPrincipal. - Filtering by a related record.
exists(EnquiryTag.enquiry_id, EnquiryTag.tag_id == tag_id)on a query'swhere:keeps the records with a linked record that meets the condition, andnot exists(...)the ones with none. It works on a page and in an aggregate query too. - The bin.
include_hidden: trueon a query, or as the last argument ofexists(...), 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 markedreaches: hiddenbrings a hidden record back. It needs the entity'supdate:grants and, when the lifecycle has adeletetransition, itsdelete: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'swhere:andwhere_present:, through a trigram index the migration makes.textgainsnormalise,index_of,last_index_of,trim_start,trim_end,pad_end,truncate,equals_ignoring_caseandcontains_ignoring_case. - Ordering by an optional field. A list or a page can be ordered by an optional field, with
noneafter 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 itsContent-Typesays. - 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> swapnow 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 onlyreject, 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 explainprints a map of your app, read from whatjadpo checkbuilds: 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 editjadpo 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 underfix, and its last line says how many of the errorsjadpo fixwould fix.jadpo checkdoes 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 fmtformats only the files edited since the last commit.jadpo fmt --allformats every file, and--checkstill reads them all.- Agents ask the owner. The
AGENTS.mdjadpo newwrites, 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 testmakes 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 afterkeep:. A package'sembed:with abatch:splitsai.embed_allacross requests. - Packages.
jadpo package conformruns theemailandreceivingsuites, andjadpo package checkandverifyrun 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 recordwrites an operation's output type from the sandbox's answer, and recipes' tests run insample/.
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 astype.constructor_input.- A field read through an optional
Page, such asresponse.output.items, istype.nullable_selection, withmatchas the fix. It used to passjadpo checkand 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 checkdescribes 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, whichjadpo checkwrites 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
uselines after a bare seed or test, and doesn't start a line with!=orinwhen it removes a;. - Several errors say what they need. A write a
matchis on is told to move into an action of its own,type.mismatchshows thelist.mapthat converts a list,naming.folded_collisionnames what to rename, a migration beside other errors saysjadpo checkwrites it once they are fixed, and the acceptance errors tell an agent to ask its user before drafting one. jadpo helpsays a type built onTextis text already, rather than pointing attext.from.
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 upgrade9 changes
- 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, putdecline 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 inapp.jadpo, asprivacy: { erasure_log: { store: <connection> } }: a second database, or a store of files, that holds none of the records erasure reaches (data.erasure_log_storeotherwise). - A provider call that sends a
Passwordis 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 adeclineline 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). APassword,TotpSecret,SecretTextorOneTimeCodecomes in the JSON body of aPOST,PUTorPATCH. ABearerToken,JwtorApiKeymay also come in a header. A webhook'sreply:now holds no secret value at all (type.secret_exposed). - A file in
domains/orshared/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 { }inapp.jadpo,jadpo checkrefuses the email (translation.locales_required), and a domain with no language file for a supported locale istranslation.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,postalandnamesare reserved names (semantic.standard_namespace_reserved). They are new namespaces:makefor data builders in tests,privacyfor data requests, andpostalandnamesin 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,PersonalDataExportand the data-request types whose names start withPrivacyare now built in. Rename your declaration. - A
declineline 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:inapp.jadpogenerates 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 withprivacy.create_request. Each request has its one-month legal deadline, an alert a week before it andPrivacyRequestOverdueonce 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 requestslists 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. AFilein it is a signed link.- Erasure reaches further.
User.erasenow emitsPersonErased, and after it commits it erases the person's records in your other stores and asks each provider whose package declares anerasure: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 anUploadSlot, the client sends the file to the slot's address, and an ordinary create or update attaches it with aFileUpload. A field over 100 MB is uploaded in parts, and any part can be sent again. AFilein an output goes out as a signed link valid for five minutes.Driver.s3keeps files in a bucket on any S3-compatible service, natively and on Workers. - Files go out with what you send. A
Filein 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 fileslists a store's files, in production or injadpo dev, shows, gets and puts one, and copies every file and the erasure log from one store to another.jadpo renameandjadpo domain.jadpo renamerenames 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,splitandmergemove 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 inspectandjadpo impact.jadpo inspectprints 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 emittedin 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 testalso 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 --interactiveopens a keyboard view of every test with its last result.--affectedruns the tests that reach what your branch changed. Under--watch,enter,aandfrun tests between saves. - Files and providers in tests.
fixture_file("customers.csv", store: imports)keeps a file from the domain'sfixtures/in the test's store, andfiles/ fakes: { imports: unavailable }orstorage_fullmakes a store fail.<connection>.<resource>.<operation>.requestslists 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.jsonadds a JSON index. An update byidcan work a value out from stored fields and refuse it by its rule in one statement, asStock(Product.stock - ordered) { min: OutOfStock }does, without loading the record. Ageo.condition works in an include or an aggregate query. - Migrations and database reports.
jadpo migrate applyrefits a stored field given a newpattern:, and applies a computed backfill for a field that allows less, in batches.jadpo migrate newasks for a missing purpose at a terminal.jadpo checkwritesbuild/andreport/ database.md queries.md: every table, column and index with the statements it serves.jadpo sql <query> --explainshows 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 abatches.eachwhoseeach:action calls no provider. A query's page of more than 1,000 items is split into batches.jadpo batcheslists, shows and cancels runs. - Publishing events to other systems.
publishing:inapplication { }posts chosen public events to an address through aDriver.webhookconnection once the action that emits them commits, signed as Standard Webhooks signs and retried. Each API's OpenAPI document lists them inx-jadpo-events. - Events and deliveries. A
GETroute's action may now emit an event, so a subscriber can count a read. A delivery waits as long as a provider'sRetry-Afterasks before trying again. Each process names itself, andjadpo schedulesshows which one holds a schedule. - Sign in with GitHub through a
Driver.githubconnection, withclient_id:andcredential:. - More from provider packages. A failure can say how its provider writes it, with
wire_status:andwire_name:. A body can be sent as a form or in parts, withProtocol.form_httpand.multipart_http. A host can hold a placeholder filled from a setting, a setting can have adefault:, and a webhook's field can be read by the package's owndecode:. An input field typedAnyObjecttakes 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> --planlists 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 checkshows 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 --previousnames the release to compare with. - Typed holes. Write
_where a value goes, andjadpo checkanswers withtype.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
postalnamespace takes a UK postcode apart:outward_code,inward_code,area,district,sub_district,sectorandunit.names.registry_partwrites a name from code as the package registry does:AcmeCouriersisacme-couriers. - Editor and tooling. The VS Code extension highlights
.jadpo_recordfiles, and the language server shows a record's errors and outline as you edit it.jadpo checktells a record edited by hand from one that is out of date. Declared names are bold and comments italic in any theme.jadpo routesand OpenAPI show the generated routes' rate limits, and a refused magic link sendsRateLimitheaders.jadpo buildcopies 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
Fileheld inside a list, set, map or object field counts as held, so its bytes stay. In a store that aFilefield also names, they used to be deleted a day after they were put. - An optional field that is
noneis left out of a provider's JSON body, at any depth. It used to be sent asnull, 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/, the hint names the package as you typed it, andbritish-grid package show,updateandremovetake that name. It used to name the package's folder. - A field declared twice in a type is one
type.duplicate_field, ortype.duplicate_variant_fieldin an enum variant, not alsopackage.wire_name_invalid. An event, a message or an entity reports it the same way. - The edit
type.mismatchoffers writes every field the value needs, optional ones included. Applying it used to givetype.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
NOTICEfile beside a package's licence, and reports when the package's contract recordings were last made. It used to refuse aNOTICEand report no date. - Several errors say what they need: an optional value in a
nearestorder, alimit:or a pagesize:is no longer told to usewhere_present:, a function calling a query isn't told a query may write data, and a generated field set throughpatch:orwhen_supplied:is to be removed from there.
This release fixes downloading Jadpo 0.4 for a project that needs it. It changes nothing in the language or the compiler.
Fixed
jadpofrom an earlier release can download Jadpo 0.4. When a project'sjadpo:names a newer version than thejadpoyou run,jadpodownloads that version and checks the download was built from its release. Jadpo 0.4.0's download couldn't be checked that way, sojadpo0.3.0 refused it withtoolchain.version_newer. Jadpo 0.4.1's can. Installing 0.4.0 directly always worked.
This release works with the package registry, now live at 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 upgrade2 changes
- 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 checkrefuses a release untilreviewed:inprovider.jadpolists 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 areviewed:list, so an app on 0.3.0 stays on the release of the package it already has.
New
jadpo package checksuggests standard types in a provider package. Standard types are Jadpo's built-in types, such asEmailandInstant. A field named like an email address or a time, but typed as plainTextor 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 markedpersonal:. When the plain type is right, you can decline the finding with a reason.jadpo package publishends 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 ispage.jadpo package publishsends 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 --jsongives descriptions as their own fields: the package's, and those of each public type and function, underdescriptions.
Fixed
jadpo buildbuilds an app whose action reads a top-levelconstant. An action is a function in your app that reads or changes data. The build used to fail withtoolchain.build_failed, thoughjadpo checkpassed.- A package type with the same name as one of your app's types no longer makes
jadpo checksay a stored record has changed since your last migration. jadpo package checkon 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 checkfinds 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,
.requestson 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.
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 upgrade8 changes
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,GivenNameorFamilyNamefield must be optional, so it can be cleared, or sayerase: Erasure.retained(data.erase_field_required). - Sending an
Emailto an outside service needs an acceptance when the connection or package receiving it doesn't declareerasure:, which says how it deletes data on request. That includes the recipients of email sent over SMTP (acceptance.missing).jadpo buildchecks this too. - An
Emailin a prompt to an AI model needscontactin the prompt'sallowed:list (semantic.ai_field_unmarked). A route markedcache: immutablecan'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
Filecan'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. bytesis a reserved name, so a domain or a library can't use it.ProblemDetails' fieldtype_is nowtype.- A test can't read a
TestPasskey's fields.
New
- Packages. A package names its publisher with
publisher:.jadpo package newstarts one, andjadpo package search,add,show,updateandremovework with a registry.jadpo package verifychecks 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 checkpoints 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 checklists 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 /returns the caller's flags.flags - Rate limits on a route or a whole API, with
rate_limit:. - Routes. A
GETroute 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 byjadpo 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
--fullfor 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
Fileis refused byjadpo check, not when it runs. - Columns of a PostgreSQL extension's types, such as pgvector's, are read correctly.
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 devsigns you in through a provider with an account chooser, and a route test signs in withtest_providers. An app can also accept tokens from an outside issuer, andon_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.eraseerases 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 seedfills 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 checkrefuses an unknown section ofapplication { }, and a test that sets the same thing twice.jadpo buildreports a package it can't download astoolchain.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.
The first release of Jadpo: the compiler, the jadpo command and the VS Code extension. See
Learn Jadpo to build your first app.
New
jadpo newstarts a project.jadpo buildbuilds an app, from any folder.- The Jadpo version an app needs.
jadpo:inapplication { }names the version of Jadpo the app is written for, and thejadpocommand 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.