Skip to content

Release 0.2.1

Latest

Choose a tag to compare

@idexus idexus released this 28 Aug 18:23
· 6 commits to main since this release
Immutable release. Only release title and notes can be modified.
8d8ded5

Linux is the release. MAUI's own GTK4 backend draws it, and what a page
describes becomes real GTK4 widgets.

StateUI.Linux is the platform — a package of its own, referenced only on a
Linux host. There is no MAUI workload there, so the head is a plain net10.0
executable and everything about it is chosen by the host OS.

One sentence, five platforms. dotnet new stateui writes it, and an
application's whole Linux half is that line and an entry point.

builder.UseStateUIApp<App>();

Ten gaps in the backend are answered so an application does not have to: the
styling a widget wears, the gestures nothing attaches, a scroller's measure and
the axis it runs along, a border's and a picture's size, the re-layout nothing
runs, an inline dispatch, a popped page's teardown, a double free in the
graphene bindings, the window icon, and which theme the desktop actually asked
for. Beside them, a scroller with no platform hooks now reports where it came to
rest, and a report arriving off the UI thread is carried onto it.

The GTK4 backend is a PREVIEW package0.1.0-preview.*, from
dotnet/maui-labs — and so is this platform's support. README's Linux section
says what a machine needs.

Nothing breaks

The Swift library is unchanged from 0.2.0, and the wire is still version 10.
UseStateUIApp<App>() is what to write when an app should build on Linux too.

Install

dotnet add package StateUI --version 0.2.1
dotnet add package StateUI.Linux --version 0.2.1   # on a Linux host, beside the line above
.package(url: "https://github.com/idexus/StateUI.git", exact: "0.2.1")

667 Swift tests and 512 C# tests