Repository navigation
Description
Problem
Unknown properties are errors, by design (docs/configuration.md). So when a newer build writes a property that an older build doesn't know, the whole file is invalid for the older build, and the error says only Unknown property.
A real case: #192 (22aa125) added bar.motion and bar.popupTransition. They ship in the v0.6.0-beta builds but not in v0.5.0. A configuration that sets either one fails to load in v0.5.0.
This hits:
- beta users who switch back to Stable, which keeps the beta until a newer stable ships but can also mean running an older build on another Mac;
- dotfiles shared across Macs on different versions;
- shared includes;
- store packages, which are guarded only by the optional
minimumVersionin their manifest.
Migrations have the opposite gap. At launch, BarStore.swift:115-118 runs migrateConfigurationFile and migrateEarlierColors on the shared main file only, and the colour migration runs once per Mac behind the migratedEarlierColors UserDefaults flag. Includes, screen-setup bar files, package files and a file copied from another Mac after the flag is set are not migrated.
Proposal
- A root-level property naming the oldest StableBar version a file needs. An older build that reads it reports
This configuration needs StableBar X.Y or laterinstead ofUnknown property.Settings and command-line edits set it when they write a property newer than the current value. - Apply the migrations to every file the loader reads, instead of only the main file at launch, and drop the per-Mac flag.
Open question: whether includes and package files carry their own requirement or the main file covers them.
Possible today
No. --validate reports the unknown property, but nothing tells the user which version they need, and migrations run only on the main file.
Related
- Browse, install and update shared widget packages from a store #33 added
minimumVersionfor store packages; it doesn't apply to configuration files or includes. - Let colours vary by light and dark appearance, and ship the built-in look as a theme #29 introduced the light and dark colours that
migrateEarlierColorsrewrites.
Triaged by Claude Code via T3 Code (Claude Opus 5.5).
Activity
stablebar-releases commentedon Nov 11, 2026
🎉 This issue has been resolved in version 0.13.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀