Repository navigation
Kazo OS 3.4.0-preview.4
Pre-release
Pre-release
New
- A beta of Kazo OS on os-beta.kazo.ca. Prereleases of Kazo OS run on their own site, os-beta.kazo.ca (os.kazo.ca/beta leads there), with their own data. A beta shows a "Beta" badge next to its version and, in Settings > About, a link back to the stable version; the stable site offers a "Try the beta" link. (beta-site.md, 0271-beta-channel-and-automatic-app-updates.md)
- A welcome wizard at your first sign-in. The first time you sign in, Kazo OS lets you choose your language, your theme, your wallpaper and your time zone before the desktop opens. Each choice applies at once, you can skip the wizard, and everything stays changeable in Settings. (welcome-wizard.md)
- Apps can carry their own libraries, and a shared library is loaded once. An app installed from a package can now have libraries of its own (another project, a NuGet package or a DLL): KazoOsPack puts them in the package and the OS loads them before the app, so such an app is no longer refused for a missing assembly. A library its author marks as shared (MSBuild property KazoOsSharedLibrary in the library's project) is loaded once for every app: the copy of an installed feature, otherwise the newest one of the same major version. When another copy is already loaded, the app keeps running with it and is shown as “Restart to finish”. An app whose shared library has another major version than an installed feature's copy is refused at installation, as is a library named like an assembly of the OS. For developers: nothing to declare in the app; kazoos-package.json lists the libraries. (0261-app-libraries-and-shared-versions.md)
- Apps can use the services of an optional feature of the OS. A feature can now provide services to other apps: it declares ProvidedServices (an interface of a shared library and the class that implements it), and an app gets the instance with KazoFeatures.GetServiceAsync(), or null when the feature is absent, disabled or outside the version range the app declares. The instance is created once per page, on the first request, in the feature’s own context and with its permissions. KazoFeatures.IsAvailable(), GetStatusAsync() and Changed tell why and when a service comes and goes. An app that declares the feature as an optional dependency stays in the catalog when the installed version is out of range. The build checks the declaration (KOSAPP0035) and that an app calling KazoFeatures declares a dependency (KOSAPP0034); a second feature that provides the same contract is refused at installation. (0262-feature-service-registry-and-async-resolution.md)
- Links to Kazo OS show an image on Facebook. A link to os.kazo.ca shared on Facebook, LinkedIn or X now shows the Kazo OS image, its title and a short description. (github-pages-deployment.md)
- Optional features of the OS, installed for the whole machine. A package can now bring a feature (kind feature): one identity with its entry points (commands, windows, services), installed for every user by an administrator who approves its permissions once at installation; its entry points ask nothing at their first launch. The Store lists a feature its catalog marks kind: feature with the apps and offers “Install for everyone” only. Settings ▸ Applications lists each feature with its entry points. For developers: FeatureDefinition and FeatureEntryPoint in the SDK, one entrypoints/.json per entry point in the package, diagnostics KOSAPP0032 and KOSAPP0033. (0260-feature-app-type.md)
Improved
- Installed apps keep a single copy of their files. The files of an installed app are no longer copied into a browser cache in every session: the service worker serves them straight from the app's folder in the file system, after checking they are the files its manifest declares. A 64 MiB app with its previous version kept now takes 128 MiB instead of 192 MiB (236 MiB before file content was stored as binary), and its first launch in a session copies nothing. The OS database moves to version 6; a backup keeps the same format. (0274-single-copy-of-app-files.md, app-installation.md)
- Large files are read as they are used. Opening a file over 16 MiB no longer loads it whole: only the part being read is in memory, 16 MiB at most, and jumping ahead in a file loads only the piece around the new position. Apps read such a file asynchronously; a synchronous read past what is loaded is refused. (kazo-file-api.md, 0275-partial-read-and-file-address.md)
- Large files save and open much faster. File content is now stored as bytes instead of text, and each 256 KiB piece is checked by its own fingerprint when it is read. The first start after the update converts the files already stored once, behind a waiting screen; it resumes where it stopped if the tab is closed. (browser-infrastructure.md, 0272-binary-file-content.md)
- Saving a large file takes less memory. A file larger than 16 MiB is now handed to the browser 16 MiB at a time while it is saved, instead of being copied whole in the OS memory, which WebAssembly never gives back. KazoFile.WriteAllBytesAsync no longer copies the array it receives: do not change it before the returned task completes. (browser-infrastructure.md, 0275-partial-read-and-file-address.md)
- Search and categories in the "Open with" box. The File Explorer's "Open with" box now has a search box and a category selector to find an installed app quickly. Each app's id no longer spills below its row, on a computer as on a phone. (file-explorer.md)
- The Kazo OS Store moves to the Start menu's Quick access. The Start menu's Quick access panel now lists File Explorer, the Store, then Settings. The Store is no longer pinned by default: a profile where it was pinned by default loses that pin once, and a pin you add back stays. (app-installation.md, 0268-store-in-start-menu-quick-access.md)
- The Store offers the newest app version your Kazo OS runs, and a beta OS reads the beta catalog. The Store, kazopkg and the update check no longer offer an app version built for a newer Kazo OS than yours: they pick the newest version that runs here, so an app rebuilt for a newer SDK does not block an older OS. A prerelease of Kazo OS reads the beta channel of the official catalog (catalog-beta.json) and offers the beta versions of the apps; a stable Kazo OS reads catalog.json and never sees them. (app-installation.md, 0271-beta-channel-and-automatic-app-updates.md)
Fixed
- The space of rewritten and deleted files is given back. The old content of a rewritten or deleted file no longer stays in the browser forever: it is erased after one day, or after five minutes when storage is low. The OS does it when the desktop shows, every hour, after the trash is emptied, and before warning about low storage. (browser-infrastructure.md, system-backup.md)
For developers
- App repositories call shared workflows and follow new Kazo OS versions by themselves. The kazoos-solution template now generates short workflows that call the reusable workflows of Kazo-ca/Os-AppTemplate (@v1), plus a "Kazo OS SDK update" workflow: when Kazo OS releases a version, the app moves to it, runs its CI, and is published (beta branch and beta channel for a pre-release; merged and published for a minor or major release; checked only for a patch). A red CI opens a TODO issue. A beta version (1.2.1-beta.1) goes to the beta channel of the catalog, and .github/scripts/bump-app-version.sh changes the app's version. (app-repository.md, 0271-beta-channel-and-automatic-app-updates.md)
- Kazo OS prereleases are published from the beta branch. Changing the preview number in build/Versions.props on the beta branch publishes a prerelease: Kazo.Os.* packages on nuget.org, a v tag and a GitHub pre-release. main only accepts a stable version and beta only a prerelease version. (releases.md, 0271-beta-channel-and-automatic-app-updates.md)
All versions: CHANGELOG.md