What's new
What changed in osy 0.22.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.22.0 20 November 2026
This release closes a set of security gaps: a row a function returns is masked for whoever called it, [Authorize] on a
class's server method is enforced, and a body field no parameter takes is refused instead of ignored. Organisations on Osyrin
Cloud get a break-glass passkey for when their identity provider is down, an Add a policy page, and billing that only billing
roles see. A long [On] handler runs to its end when the call that raised its event goes away, and a link that changes only
the query string keeps the page. It is a minor release with breaking changes: the platform's model gains a column for event
deliveries, apps pinned to Invitations 2.2.0 or UserManagement 0.13.0 must move up, and Admin 26.0.0 is a major version.
0.22.0 is the preview 0.22.0-preview.99, promoted unchanged; every organisation on Osyrin Cloud is offered it. 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. Read the known issues at the end first: both are fixed in 0.23.0.
Breaking changes
- ⚠ A body field no parameter takes is refused. A REST call answers
400(UNKNOWN_FIELD), naming each such field and listing the function's parameters; an MCP tool call answersinvalidthe same way. Both are answered before anything is bound. Such a field used to be ignored. - ⚠ Kits move to 0.22.0. The kits were published again on this release's line and need platform 0.22.0. Invitations 2.2.0
and UserManagement 0.13.0 do not compile on 0.22.0 (
WORKFLOW_EVENT_HAS_NO_DOOR): an app that pins them must take Invitations 2.3.0 and UserManagement 0.15.0. - ⚠ A hand start inside
runas (Actor, onBehalfOf: p)is asked of both. The workflow's door (StartedBy, or the default) must admit p, and the actor must be admitted byStartedByor be allowed to change the row itself. - ⚠ A deploy's
.egressstays inside its organisation's hosts. Anallowfor a host the organisation's policy does not allow fails the deploy, naming the line, and nothing is written. Remove the line, or have the policy changed. - ⚠
osy checkrefuses aBroadrole that could raise itself (ROLE_MAPPING_BROAD_ELEVATED): one that may be held inside an organisation (HeldIn = RoleScope.Appis the only scope that may be Broad), or that may write a role grant, by a rule or through the app's code. - ⚠ A class's method takes no entry-point attribute.
[AuthMethod],[Serve],[Test]and[TestFixture]on a method no longer compile; they were dropped without a word. Write a top-level function that calls the method. - ⚠
[Classification]takes only a data level as its second argument (DataLevel.Restricted); anything else there, a third argument, or an app's own enum namedDataLevelno longer compiles. A wrong second argument used to be dropped. - ⚠ Admin 26.0.0 is a major version. It needs platform 0.22.0.
Security
- A row a function returns is masked for its caller, on every path: REST, MCP,
osy run, a stream item and a page's server call. That holds for a row the function just made, so an anonymousSignupthat returns its newUserno longer hands out what adeny readhides, and for code insiderunas: what it hands back is masked for the caller, not the actor. A page's live queries and settings are masked per row the same way. [Authorize(…)]on a[Server]static method is enforced. It used to run for any signed-in caller.- An app whose organisation policy can't be read gets the strictest answer. A zone with no word of an app or its
organisation refuses every call out and reads its other rules as missing, never as "no policy"; at
/mcpan app id the platform doesn't know is not treated as known. - On Admin, a person's API key and lasting sign-ins follow their organisation's sign-in rule. When "Sign-in only through
the provider" binds a person, Admin's tool server takes their own key only if it was made in a session through that
provider, and
osy loginor an MCP sign-in made any other way ends at its next refresh. - A deploy never carries a test file. The server refuses a
*.test.osyamong a deploy's sources (TEST_FILE_IN_DEPLOY); a deploy from a repository sets them aside. A stored version whose sources hold one fails its rebuild, naming the file. - An environment that needs an approval to deploy needs one for seed data and a data reset too.
- A refusal no longer repeats what the caller sent. A row named by a key nobody holds is a
404that names the key, not the value. - In Admin, a membership's old role column, which any Owner or Admin could write, no longer becomes a role at the next deploy.
Osyrin Cloud
- A break-glass passkey. On an organisation's Sign-in tab, each Owner can designate one of their own passkeys, right after signing in through the provider with the organisation's domain; a synced passkey is refused. When the provider is down it opens Admin only, never the organisation's apps, for at most an hour, and only to repair sign-in and policy. Every use emails every Owner, and it stops working when its holder is no longer an Owner.
- Add a policy. The Policies tab has an Add a policy page that lists the policies not yet set. A setting goes into a draft and applies once it is approved.
- Billing is for billing roles. Invoices, payments, balances and plan requests are read with View billing; a budget is set with Manage billing. A new environment or private zone needs both Manage zones and hosting and Manage billing.
- An application's team is managed by its Owner or by Manage people, no longer by Manage applications. The last active Owner of an organisation can't be removed; a suspended Owner doesn't count as one.
Language
[Classification(DataLevel.X)]gives a field its level on the organisation's ladder (Public, Internal, Confidential, Restricted), alone or beside a classification:[Classification(Personal.Identity, DataLevel.Restricted)].- A base type binds by its subtype's key. A parameter typed as a kit's
Organizationbinds{"org": "ACME"}by the[BindsBy]key of the one type derived from it that declares one, read as the caller. Two such types make it a400. [BreakGlass]marks what a break-glass sign-in may run or write;Security.IsBreakGlass(),Security.MarkBreakGlassSignInandSecurity.EndBreakGlassSessionsgo with it.- A static class's
[Server]method is a function in every way:[AllowAnonymous]serves it to a signed-out page. Navigation.Queryis a live read, and may be read in alive varand in methods a render calls.
Runtime
- A long
[On]handler runs to its end. An MCP call that gives up, or a request that is cancelled, no longer stops it. A delivery handed off after five seconds holds a lease, so it is not delivered a second time while it runs. - A link that changes only the query string keeps the page. The address is patched, a history entry is pushed and the
scroll stays; only what reads
Navigation.Querydraws again. Closing the route on screen and then going somewhere is one move, with no screen in between. $orderbyon a member that can't be sorted is a400naming it, not a500. AJsonmember's schema is{}.- A zone keeps its copy of what the control plane told it through a release.
- Kits. Mail 0.13.0 retries a send the carrier refused, waiting a minute and doubling up to an hour; such a mail used
to be never sent. Llm 3.0.0 is a major (
use Osysharp.Llm@3). A kit that holds work to a model limit sees what the limit has spent again: the Agents kit gave a child agent its parent's whole limit. A WorkQueues change of view and a Reports choice of days patch the page in place.
Tooling
- The redraw check no longer fails a leave prompt's answer for the focus its modal took away, or words that become an editor.
Assert.OnPagecompares the query when the path names one, andUi.Backwalks query-only moves.- In a test whose clock is pinned, kept answers age on that clock, so a warm visit costs the same every time.
osy init --starter agentsasksOsysharp.Llm@3.
Known issues
- An endpoint with
Raw = trueanswers400to a JSON body with fields it does not declare. This breaks the push doors of Osysharp.Mail.Receiving, Mail.Gmail and Mail.Microsoft365 (Gmail Pub/Sub and Microsoft Graph notifications). Fixed in 0.23.0. - A new installation of the 0.22.0 images can't set up Admin. The Admin manifest inside the images names platform 0.22.0-preview.99, so a new control plane refuses to start. Existing installations already have an Admin and aren't affected. Fixed in 0.23.0.