Repository navigation
Kazo OS 3.4.0
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)
- Connect a network drive from File Explorer, Settings or the terminal. File Explorer's "Connect a network drive" dialog offers a folder of the computer and, once their connectors arrive, Dropbox, OneDrive and S3 compatible storage, with the choice between the whole storage and a folder reserved for Kazo OS. Settings ▸ Cloud accounts lists the accounts, reconnects and removes them. In the terminal, mount -t dropbox, onedrive or s3 mounts the same drives. Apps holding the new cloud-accounts.manage capability reach all of it through KazoCloudAccounts and KazoDriveInfo.MountNetworkDriveAsync. (cloud-drives-ui.md, 0270-cloud-drives-in-the-app-sdk.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)
- Privacy policy and terms of use pages. os.kazo.ca/privacy.html and os.kazo.ca/terms.html explain, in French and English, that Kazo OS has no server receiving your files or cloud tokens. They are plain pages, available offline. (cloud-accounts.md)
- S3 buckets as network drives. A bucket of an S3 compatible service (Cloudflare R2, Backblaze B2, MinIO, AWS S3), or a prefix of it, mounts under /mnt as a network drive. Requests are signed in the OS with the user's keys, which stay sealed on the device in an s3 cloud account; folders are prefixes and writes are guarded by the ETag. The bucket needs a CORS rule for Kazo OS, described in the S3 guide. (s3-drives.md, 0267-cloud-drives-as-network-drives.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)
- Network drives show their service and starting folder. In the File Explorer, each cloud drive carries the Dropbox or Microsoft mark and a second line with the service and the starting folder, so two accounts with the same e-mail address are told apart. With the folder reserved for Kazo OS, the sign-in dialog shows where that folder is (/Apps/Kazo OS Folder/) before the starting folder. Apps read KazoDriveInfo.Root and KazoCloudProvider.AppFolderPath. (cloud-drives-ui.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
- Connect a network drive: leave a sign-in that failed. While the Dropbox or OneDrive sign-in window is open, the dialog says so, and Back, Close and Escape stay usable: they stop waiting for a window that shows an error or was closed, instead of leaving the dialog stuck. (cloud-drives-ui.md)
- 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)
- Cloud accounts: sign-in without a server. The OS can sign in to Dropbox and OneDrive with OAuth and PKCE, in a pop-up window that comes back to a static page of Kazo OS. Tokens stay on the device, sealed under a key of the user's keyring, and are renewed before they expire. The app ids of the Kazo OS registrations are set in KazoOs:CloudDrives, and /etc/kazoos/cloud-drives.config replaces them for an OS served at another address; the drives and the dialog come with the next steps of the series. (cloud-accounts.md, 0267-cloud-drives-as-network-drives.md)
- Cloud drives: OneDrive connector. A connected Microsoft account's OneDrive can be mounted in /mnt as a network drive, over Microsoft Graph from the browser: the whole OneDrive or the folder reserved for Kazo OS, service revisions with If-Match, large files sent in pieces, quota in df. After 24 hours the drive asks to reconnect. Nothing is offered until a OneDrive app id is set; the dialog comes with the next step of the series. (onedrive-drives.md, 0267-cloud-drives-as-network-drives.md)
- Cloud drives: the Dropbox connector. A connected Dropbox account can be mounted as a network drive under /mnt/Dropbox (the whole storage or the Apps/Kazo OS folder, as chosen when connecting), with Dropbox's own revisions for conditional writes and its quota in df. The drive disconnects offline and reconnects by itself when the network returns. The connectors share a base and a contract test suite. The connection dialog comes with the next step of the series. (cloud-drive-connectors.md, 0267-cloud-drives-as-network-drives.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)
- Network drives come from drive sources. The network drive service mounts what any INetworkDriveSource gives it: the folder of the computer (hostfs) today, cloud connectors next. A drive may report its service's quota and revisions, write on condition, and reconnects by itself when its service can be reached again. df, /proc/mounts and KazoDriveInfo show its type. (network-drive-sources.md, 0267-cloud-drives-as-network-drives.md)
All versions: CHANGELOG.md