Changelog
What changed in Sypnia Data, newest first.
On this page
- 2026-11-18 — @sypnia/data 0.3.1 and the link to Sypnia Cases
- 2026-11-18 — @sypnia/data 0.3.0: Sypnorm comes from @sypnia/cases
- 2026-11-17 — e-mail comes from your own provider; protected keys
- 2026-11-17: Sypnorm moves to Cases
- 2026-11-17 — engine: transactions over HTTP, an API description, stricter settings
- 2026-11-17 — security fix: privileged scopes need an entitlement
- 2026-11-17 — the documentation
2026-11-18 — @sypnia/data 0.3.1 and the link to Sypnia Cases
npx @sypnia/data initinstalls@sypnia/casesin the app when you choose Sypnorm and Sypnia Cases, with the app’s package manager (npm, pnpm, yarn or bun);--no-installskips it.@sypnia/datadepends on@sypnia/cases0.2.- A Data project links to a Sypnia Cases map, both ways. Cases writes the link with
PUT /v1/projects/{ref}/cases-map(and removes it withDELETE), and a map uploaded withnpx @sypnia/cases map --upload --project <ref>is forwarded to the linked Cases map as a draft proposal. Maps uploaded before the link stay in Data (The link to Sypnia Cases). - Sypnia Cases calls the Cloud API on behalf of a person (
Authorization: Service <key>), only on the routes it needs, with that person’s role checked as usual.
2026-11-18 — @sypnia/data 0.3.0: Sypnorm comes from @sypnia/cases
@sypnia/data/sypnormis deprecated. It re-exports@sypnia/cases/sypnorm, which@sypnia/datanow installs as a dependency, and prints aDeprecationWarning(SYPNIA_NO_DEPRECATION=1silences it).createServerfrom@sypnia/data/serverdoes the same. Code written for them runs unchanged; results also carry the new fields (outcome,dataandtell, next tovalue,failureandmessage), so a test that compares a whole result withtoEqualneedstoMatchObject. Import from@sypnia/cases/sypnorm.npx @sypnia/data maprunsnpx @sypnia/cases map, and says so.npx @sypnia/cases map --upload --project <ref>sends the map to the project’s Use cases.init --caseswritessrc/use-cases/for@sypnia/cases/sypnormand installs thesypnia-casesskill, which teaches the case files,generate,ctx.outcomeand the areas’ services.- A case some case listens to runs in its area’s service, which the app calls with the person’s session (
POST /_cases/<id>, under row-level security); its event is written to the outbox there, with its data. The Data API runner,createRunner(client, { atomic: true }), runs the cases nobody listens to and refuses the others (Runners).
2026-11-17 — e-mail comes from your own provider; protected keys
- Sypnia sends no e-mail on behalf of your project. A Cloud project without a provider answers
409 email_provider_requiredto sign-up with confirmation, magic links, codes, recovery, invites, e-mail changes and reauthentication, before anything is written. Google, GitHub and password sign-up without confirmation keep working.GET /auth/v1/settingsaddsemail_ready;GET /auth/v1/admin/settingsaddsmail_stateandmail_providers. See E-mail providers. - Self-hosting is unchanged: every project may use the engine’s own sender unless
SYPNIA_DATA_MAIL_DEFAULT_REFSlimits it. - Protected API keys.
protected: trueon a key; revoking it answers409 protected_key;POST /auth/v1/admin/api-keys/{id}/rotate-protectedreplaces it in one transaction. The console’s key of every Cloud project is protected. Engine migrationinstall/0004.
2026-11-17: Sypnorm moves to Cases
- Use any ORM. Sypnia Data is the data layer: auth, tables, the Data API, SQL, row-level security and MCP. It works with plain SQL, Prisma, Drizzle or any other tool (Use any ORM).
- Sypnorm belongs to Sypnia Cases. Its pages moved to the Cases docs; it is
@sypnia/cases/sypnorm, and@sypnia/data/sypnormandnpx @sypnia/data maponly hand over to it (2026-11-18). - The
@sypnia/datapackage page moved to Data → @sypnia/data.
2026-11-17 — engine: transactions over HTTP, an API description, stricter settings
- Transactions.
POST /rest/v1/transactionruns Data API operations in one transaction as the caller, with increments, expectations and references to earlier results.POST /sql/v1/transactiondoes the same for SQL statements. Sypnorm’screateRunner(client, { atomic: true })uses it, so atomic use cases work on managed projects (@sypnia/data0.1.3). - API description.
GET /rest/v1/returns an OpenAPI 3.1 document of the project’s Data API. - Fresh metadata. PATs and tokens an app got for a person carry the person’s current
app_metadataanduser_metadata. - Stricter checks. A Data API call with a token that has neither
data:readnordata:write(onlysql:*) gets403 insufficient_scope. Out-of-range session policies get400 invalid_session_policyinstead of being adjusted. Templates are checked on save (400 invalid_template), and settings return the default templates. - SQL limits. SQL results say
truncated, plus therow_limitapplied. - Deleting projects. Deleting a managed project drops its database and roles.
- MCP. One MCP server for every project, at
https://mcp.data.sypnia.com. - Self-hosting. A Docker image, a compose file with Postgres and Mailpit, and an AWS template.
2026-11-17 — security fix: privileged scopes need an entitlement
Before launch, a signed-up user could give themselves sql:write through a PAT or a device approval.
sql:*,auth:adminandproject:adminnow count on a user’s token only when an admin lists them inapp_metadata.scopes. Asking for them otherwise fails with403 scope_not_allowed.- Account changes (password, e-mail, PATs, sessions, linked identities) need the person’s own session.
npx @sypnia/data loginasks fordata:read data:write offline_accessby default.
See the threat model.
2026-11-17 — the documentation
The documentation is published: auth, machines and agents, the Data API, SQL, the console, Sypnia Cloud, the architecture, self-hosting, the API reference and security. Every change from here on is listed on this page.