Osy#betaRun it on Osyrin: osyrin.com

What's new

What changed in osy 0.21.x.

Every published version of the toolchain, newest first, with the notes its release carries. The same notes in your terminal: osy whats-new. Install or update with curl -fsSL https://osysharp.com/get | sh. Older releases.

osy 0.21.0 19 November 2026

This release makes the first steps on Osyrin one command each: osy login signs you in in the browser, the first osy deploy creates and links the app, and osy open shows it. osy setup claude connects Claude Code to Osyrin. Organisations get roles in Admin, sign-in through their own provider, verified domains, and policy rules for API keys, kinds of application and build systems. Apps gain [Stored] and [BindsBy] members, and a test can hold a part of what it spends to a budget. It is a minor release with breaking changes: an onBehalfOf: must name a person the platform attests, and Admin 25.0.0 is a major version. Every app on Osyrin Cloud moves to 0.21.0 automatically; an app whose code no longer compiles stays on its current version, serving, until it is fixed. If you run the platform yourself, upgrade the control plane, Admin, the zone and the CLI together. To upgrade, run osy upgrade, then osy update in a project.

Breaking changes

  • ⚠ onBehalfOf: must name a person the platform attests. In runas (Actor, onBehalfOf: …) that is Session.CurrentUser, a row's [CreatedBy] or [CreatedFor] stamp (or Records.CreatedBy(row)), null, or a local set from one of these and never written again. A person the code picked — a parameter, a field the code set, a lookup by an id — no longer compiles (ON_BEHALF_OF_NOT_ATTESTED; 0.19.12 only warned). To act for a person later, store them on the row as a [CreatedFor] stamp ([CreatedFor] Guid? ActsFor;, written by the platform when the row is made) and pass onBehalfOf: row.ActsFor. In a workflow body that runs as its actor, write no onBehalfOf:: the person who started the run is acted for.
  • ⚠ Every event of an actor workflow says who may raise it (RunsAs = …): [Authorize(…)], or [Authorize(u => true)] for anyone who can see the run. An event with neither no longer compiles (WORKFLOW_EVENT_HAS_NO_DOOR).
  • ⚠ A CrudTool must name its Operations. new CrudTool<Item>() with none no longer compiles; it used to give an agent all seven of the entity's tools. Write Operations = [CrudOp.Read] for the read tools, and add Create, Update or Delete only where an agent writes the entity directly.
  • ⚠ Whoever writes a schedule must be able to make what it makes. Writing a schedule, or any of its rules and times, is refused when the writer could not create the row an occurrence would make (You may not schedule work that makes a …). Under a person's security a schedule's rows are written one at a time: a set-based Update, Insert or Delete of them is refused. A schedule made where the app itself acts ([OnStart], a workflow body, an [On] handler) is not asked.
  • ⚠ Sign-in through a provider is stricter. A sign-in with the provider's own script (POST /api/app-auth/oauth) needs a nonce from POST /api/app-auth/oauth/nonce in the id_token; one without is refused with 400. A Microsoft email counts as verified only when the id_token carries the optional claim xms_edov: add it to the app registration in Entra, or a Microsoft sign-in cannot sign up or link by email. A Microsoft Tenant that is a domain name no longer compiles: give the tenant id, common, organizations or consumers.
  • ⚠ Admin 25.0.0 is a major version. It needs platform 0.20.1 or newer.

Security

  • A deactivated person's API key opens nothing, on every path.
  • Failed credentials are limited per address. A key or ticket that fails counts against its client address at the app's REST APIs and its tool server; past the limit every credential from that address is answered 429 TOO_MANY_ATTEMPTS with a Retry-After. A credential that works never counts.
  • An agent's markdown_* tools reach only what its tool sets offer. It reads an entity's documents only where a catalog in its session offers Read for that entity, and changes them only where one offers Update. A document of any other entity answers as one that does not exist.
  • Dangerous steps need a recent sign-in. A deploy to an app's highest environment, a delete, and a switch to a restored database need a sign-in from the last 12 hours. The command opens your browser to sign in again, then sends the request once more.
  • Your organisation can keep API keys narrow. mcp.toolSets caps the tool sets any key may carry, at its mint and at every request; mcp.personalKeys = false lets only machine accounts' keys reach your apps' tool servers and REST APIs, and people sign in instead.

Osyrin Cloud

  • Roles in Admin. An organisation's Roles tab shows who holds what. Each area of Admin is a permission a role can be given: Manage people, Manage applications, zones and hosting, Manage backups and data, View billing and Manage billing, Approve policy. People shows every role a person holds, and an invitation offers only the roles the inviter may give.
  • Sign-in through your organisation's own provider. An organisation registers its own sign-in clients in Admin; its apps on Osyrin list them beside their own ("Continue with Acme Okta"). The rule "Sign-in only through the provider" holds on every way into its apps.
  • Verified domains. An organisation verifies a domain by a DNS TXT record. A custom name under it then needs no TXT record of its own, no other organisation can attach a name under it, and one wildcard CNAME can point every name at your apps.
  • How long an application lives. An application is created as one of the kinds the organisation's policy names (apps.kinds): a kind that ends gets an end date, a reviewed kind a review date. Its owners are sent notices before the end (apps.endSteps), and its users see a one-line notice in the app. At its end the app is retired: every address answers a retired page (410), its data and backups are kept, and its Owner can bring it back. osyrin app create takes --kind and --ends.
  • Where a version was built. Each deploy says where it was built (a build system, a repository and commit), and the app's page shows it as "Built in". Under the policy rule apps.buildFrom an organisation accepts deploys only through a deploy token or machine account bound to its build system; an Owner or Admin can grant an exception for up to a week.
  • osyrin app restart <app> --env <environment> --reason <text> makes an environment drop what it holds in memory and build it again, without a redeploy.
  • Slow queries. An app's Usage page has a Slow queries tab, which suggests the index a slow statement needs, with its file and entity.
  • Your sign-ins. Your account page in Admin lists each computer and assistant signed in as you, and you can end any of them.

Language

  • [Stored] members. A computed member marked [Stored] is kept in a column, written with every change to the members it reads, so a query can filter, count and index it.
  • [BindsBy] on a [Unique] key lets REST, MCP and osy run name a row by its key ({"order": "A1042"}) as well as by its id.
  • runas (Actor, readOnly: true) { … } reads as the actor and writes nothing: every write, send and effect inside it is refused where it is made.
  • A kit's own bookkeeping. A function an entity names in both allow read via and deny … except via may write that entity, so a kit can keep a count or a reservation that every caller adds to but few may read.
  • [Section(Key)] on a part that draws a page's head keeps it on screen when the next page shows the same section, so a tab switch redraws only the body.
  • ThenBy may come before a Select, and a Markdown member can be projected as its text.

Runtime

  • A rule that reads the clock reads one instant per request. Every where rule and when guard in a request compares with the same moment. It is renewed when the request commits a write, and at least every 30 seconds.
  • A permission check costs a caller one statement, not one per request. A lookup about the caller inside a when guard is kept per caller until a table it reads is written.
  • An API is served by the deployed version only. A deploy that removes an endpoint, or a whole RestApi, from the app or from a package stops serving it.
  • A REST $filter on an enum takes the member's name; an unknown name is a 400 that lists the members.
  • list.Select(x => Member(x)) runs in the browser.
  • A null enum value reads blank, without a warning in the log.
  • On an iPhone, a styled button keeps its label in the middle, and a drawer as tall as the window shows every row.
  • A package's textures reach the app that uses it, as its icons do.

Tooling

  • osy login signs you in in the browser, on Osyrin's own page, at https://osyrin.app unless you name another server. The sign-in lasts while you use it and ends after 30 days unused. osy whoami and osy logout go with it.
  • The first osy deploy of a project not yet on Osyrin creates the app, links the project and deploys it when the choice is unique. It signs you in if needed, never asks a question, and ends on one line with the app's address and its Admin page.
  • osy open opens the app in your browser; osy open --admin opens its page in Admin.
  • osy setup claude (or codex, cursor) gives your agent the Osyrin skills and connects it to Admin's tools, which read your organisations, apps, deployments and recent errors as you.
  • osy help <what you are doing> prints the verbs for it — "a test failed", "slow page" — with a line to type.
  • osy test --pixels --engine webkit draws your UI tests in WebKit, Safari's engine (osy browser install --engine webkit once). Assert.NoOverflow() now also fails when a box cuts off a control or words it holds.
  • Tests that measure cost. Cost.Span(name, mark) names a part of a test and can hold it to a budget; osy test --cost-report <path> writes them out. [Growth(Small = 10, Large = 40)] runs a test at two sizes and fails a part whose statements grow with the size.
  • UI tests. Ui.HoldDelays() keeps a page's delays open so a test can check its busy state; Assert.RedrawsOnly(region) checks that an action redrew nothing outside that part of the screen.
  • A failing test's trace is kept on disk, so osy inspect <trace> works after the run. What a test run logs can be read with osy logs.
  • osy lint reports a shell script after -c whose quote never closes, and a page that draws a part a kit it uses replaces (replaces in the kit's package.osy).

The release on GitHub, with every asset and its SHA-256