Repository navigation
osy 0.19.15
This release brings organisation policy for packages, keyed secrets, the Artifacts kit, a large round of security fixes and a larger Admin
bundle limit. Every app on Osyrin Cloud moves to 0.19.15 automatically. 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
- ⚠ People signed in before the upgrade sign in again within about an hour. A sign-in ticket now names the app (and environment) it
was issued for, and is accepted only there. Tickets issued before the upgrade keep working until they expire, but are not renewed. - ⚠ Admin 23.0.0 is a major version. It needs platform 0.19.15 or newer (0.19.14 was never released). A restore no longer takes a separate transfer grant, and every GitHub
CI deployer of an app must be made again, now naming the repository by its id (the refusal says which ids to use). - ⚠ Backup files uploaded for a restore before this release must be uploaded again. A zone now loads only uploads recorded for that app and
environment, and uploads made before this release have no record. - ⚠ A deploy now drops configuration you removed from your app — an API, MCP, OAuth or auth block — even without
--prune. - ⚠ Raising an event on a cancelled workflow run is now an error (
WorkflowCancelled) for a caller the event's[Authorize]admits;
it used to be ignored silently. An event that declares no[Authorize]-checked raiser, or a run whose row is gone, stays a quiet no-op. - ⚠ A rename line in a migration must name the old entity, field or enum member in the same letter case. A line that matched only when
case was ignored used to lose the old table's rows or leave a renamed field empty. It is now refused at every door. - ⚠
RecordOutsideModelCallcharges a call with anAccounttokey:<Account>itself; naming akey:scope yourself is refused. - ⚠ In Admin, adding a member to an organisation sends an invitation. Creating an app when you belong to several organisations must
name the organisation (osyrin app create --org).
Language
- Keyed secrets:
new Secret("X") { Keyed = true, MayWrite = P }holds one value per id (Secret.X.For(id),IsSetFor,WritesFor,
RetireFor), with who may write each one decided by a policy you name. FileAsset.Versionslists a file's history.onFocus,onFocusWithinandonBlurWithin, so whatever opens on hover can open from the keyboard too (WCAG 1.4.13).onFocus
runs when the element itself takes focus, and an element withonFocusbecomes a stop in the tab order.onFocusWithinruns when
focus enters an element or anything inside it, andonBlurWithinruns when focus leaves all of it. Moving between controls inside
does not run either. Close what opened withonEscape: open ? Hide : null. Seeosy docs onFocus.
Runtime
- A live call passed a list of rows binds them as the viewer sees them, in page order (it used to receive bare ids).
- A write to a field the writer may change but not see always lands.
- Creating an app's settings row on first use never discards other changes the same request made.
- Zone deploys no longer fail their dry run with "version app_vN has no model blob" when a live workflow run still records an older version.
- A request handed to the new runtime during a move is logged as handed on, not as a 500.
- Admin's database schema is brought up to the model a node serves before any session uses it, so an upgrade no longer fails on a
column the new model added (42703). - An Admin bundle larger than 30 MB can be deployed. The control plane's deploy route read at most 30 MB, the web server's default,
although it allows 512 MB. Admin 23.0.0 is just over 30 MB, so 0.19.14 could not install it. 0.19.15 is 0.19.14 with this fix; 0.19.14
itself was never released.
Security
- Sign-in tickets are bound to their app. A ticket from one app is refused by another, and one from another environment of the same
app is refused too. Only an app's own sign-in can issue a ticket for its own accounts. - Routes closed. REST APIs no longer accept the anonymous ticket (your data rules still applied, but the door is now shut). The zone
gateway's diagnostics route (/_diag) answers only with the gateway's own token, and the old self-registration route is gone. Compile helpers need a Developer. Control-plane routes refuse
any ticket but the control plane's own. Uploading over an existing public file is refused. - Admin fixes. Backups, restores and backup deletions check permission before acting, and a backup can only be downloaded from its own
app's place. A custom domain is verified only through DNS. A team's release move is only a request for the release it is approved for. An app's admin can no longer make
themselves its owner. Organisation owners can no longer change their own organisation's status, type, backup records and backup key, or zone placement. - Package code runs as the package that wrote it, and app code as the app — including a default value one of them gives a field the
other creates. A package's allowed hosts are reached only by that package's code. osy querynever returns a credential. Answers that would carry one are refused, with a redaction backstop.- A function kept only so a live workflow run can finish is never callable by a request. Removed functions and removed
security {}
rules no longer survive a deploy, except that a function a live run still calls stays, uncallable by requests, until no run needs it. - Rate limits and the sign-in trail use the real visitor address. The gateway and the control plane take it only from the trusted hop
in front of them. The sign-in trail records where each sign-in came from, and marks a ticket not issued by the sign-in flow. - Anonymous server calls are limited to 300 a minute per address (then
429); signed-in callers are not counted. Kit mail and
invitation sending have limits. - A host refuses to start on a file store that would let two writers overwrite each other (create-if-absent is checked at startup).
- Cascaded deletes are judged by the same rules as the delete that started them.
Osyrin Cloud
- Approved and required packages. An organisation's
packages.approvedrule refuses, at the deploy ask, a package it does not cover;
what each package reaches is recorded, signed into the deploy and checked against its files at the zone. Apackages.requiredrule names
packages every app must compose. On a single-node platform the rule also holds at compile, git deploy and push,osy testand debug. - Each platform release records the kits it carries and what each can reach, for organisations that approve packages.
- Builders see the policy before they build:
osy policy [egress|packages|settings], and early warnings fromosy validateand
osy deployabout hosts and packages the organisation has not approved. A refusal explains which rule refused, what it allows and how
to comply;osy policy requestasks a policy admin for an exception. An organisation can hide a rule's entries from builders and set
where and by how many an exception may be approved. - Refused deploys are recorded and shown on the organisation's Policy page; an app's own policy requests are listed per environment.
- Admin 23.0.0: organisations ask for another plan from Billing and operators approve; invoices numbered per
organisation per year behind a random customer code; operators issue, void and credit invoices.
Testing
- Under
osy test --pixels, a control a box cuts off can no longer be clicked or filled.Ui.Click,Ui.Fill,Ui.Select
andUi.Checkrefuse a control that lies outside what anoverflow: Hiddenbox around it shows, and the error names the box. A
person cannot see or press such a control. Before, the test passed anyway. A box that scrolls is not refused. Ui.Focus(control)moves the keyboard to a control, as a Tab that reached it would, so a test can show that hover content also
opens on focus. It refuses a control the keyboard cannot reach. Read where focus is withAssert.Focused. It also finds a stop by its
label:alone (a chart, a list box, a radio group), which before only worked for something you could click.
Kits
- New: Osysharp.Artifacts 0.1.0 — things made for review (HTML prototypes, pictures, PDFs, notes) kept with every version, commented
per version, and shown in a viewer the browser sandboxes, so an agent-made page can never act as your app. - Agents: work an app records as an agent's can be charged to the app's own scopes (
chargedTo,ChargesAgentWorkTo); delegation
and conversations between agents; an agent's work can run on a named model key (AgentRef.WithKey). - Llm: a call can name which of the app's model keys serves it (
LlmCall.Key), each key held by one budget; a model call measured
elsewhere can be recorded on the meter (RecordOutsideModelCall) and counts against the budgets after the fact. - UserAccounts: a phone number on an account says what it is for — calls (any number, never texted) or texts (a mobile confirmed by a
code). Invitations and access changes run as narrow actors. - Lists, menus, pickers and tips are never cut off by the box they open in. A
SelectField's list, aMenu, the calendar of a
DatePicker(and theDateTimePicker,TimePickerandDurationFieldpopovers) and a tip now open in the browser's top layer,
above every panel, card, dialog and scrolling box, whatever itsoverflow. Each one stays attached to the field that opened it as
the page scrolls or resizes. It opens above the field when there is no room below. Keyboard, focus and Escape work as before. Before,
a panel withoverflow: Hiddenor a scrolling side panel cut them off, so the last days or options could not be chosen. - A chart's readout works from the keyboard (Osysharp.Charts 1.9.0). The plot is one tab stop, named after the chart. When focus
arrives, the readout shows the first category's values. The arrow keys move it one category at a time, and Home and End go to the
first and last. Escape hides it and focus stays on the chart. The readout also hides when focus leaves. A screen reader hears each
point in the words the readout shows. A readout opened by the pointer now also hides on Escape (WCAG 2.1.1, 1.4.13). - Tips close on Escape. A tip shown on hover or keyboard focus (the key tip on a button, the label on a collapsed rail or sidebar
mark, and anyinside X.Hover/inside X.Focusblock that changesDisplay) now hides when you press Escape, with the focus and
the pointer left where they are. It shows again when you move away and come back (WCAG 1.4.13). - Osyrin.Look: an open hover title (
ClampText,RelativeDate,LevelMark,ReadinessMarks,DependsMark,SummaryEntry) now
closes on Escape. Withfocusable: true, the part is also a keyboard stop: its title opens on focus and closes when focus leaves. - Every kit dropdown now draws the kit's own chevron (Osysharp.Ui 3.4.0).
SelectFieldused to show the browser's arrow. It now
shows a 12px chevron inColors.SelectChevronInk, which defaults to your theme'sMetaText. The box keepsLength.SelectChevronRoom
(30px) clear at its right for it and shows a pointer cursor. Its height, padding tokens, line and words are as before; the words sit about 4px
further left, because the browser's own inset goes with its arrow. The select is still the browser's own control: its keyboard, its screen
reader and its option list. To restyle the chevron, set those two tokens in your theme. - A setting's choice is the kit's dropdown.
SettingChoicerenders throughSelectField, so it offers an enum's members in their
[Label]words exactly asSelectFielddoes and wears the same chevron.SelectFieldhas three new parameters:onChange(runs after a
pick is written),showLabel: false(names the select without drawing a caption), andsetting: true(the face a setting row uses). - A dropdown can say what each option means (Osysharp.Ui 3.4.0). Give
SelectFieldadetail:and it opens the kit's own list
instead of the browser's: each option shows its words and, under them, a line saying what it means ("Business" over "$199 a month,
25 applications").words:names options that are rows rather than enum members (options: plans, words: p => p.Name). Closed, the
box looks as before and shows the chosen option's words. It is an ARIA listbox: ↓ or Enter opens it on the chosen option, ↓/↑/Home/End
move, typing letters goes to the next option whose words start with them, Enter chooses, Escape or Tab closes it without choosing, and the keyboard returns to the box. A screen reader hears each option's
words, then what it means.SettingChoicetakes the same two parameters. ASelectFieldwithout them is unchanged. - A number box groups its digits while you are not typing in it.
200,000with no culture declared,200 000undersv-SE. Click
into the box and it shows200000. A number below 10 000 is not grouped, so a year shows as2026; this follows the common style rule
(SI, the Swedish language rules and many style guides). You can type a number with or without separators. What is stored is always the
plain number.