Repository navigation
Description
What happens
StableBar 0.17.0 refuses the Store package Status ring (status-ring 1.0.0), whose manifest sets "minimumVersion": "0.17.0-beta.20261116153113.1185". Opening its page or changing its settings in Settings → Store fails with:
Package status-ring needs StableBar 0.17.0-beta.20261116153113.1185 or later.
0.17.0 is newer than that beta, so the package should be accepted.
Steps to reproduce
- Run StableBar 0.17.0 (build 1187).
- In Settings → Store, open Status ring, or install it with
StableBar --install-packagefrom a copy ofpackages/status-ringin stablebar-packages.
Expected
A release satisfies a minimumVersion naming one of its own betas, as Semantic Versioning orders them: 0.17.0-beta.… < 0.17.0.
Environment
- StableBar 0.17.0 (1187), stable channel
- macOS 27.2
Evidence
"0.17.0".compare("0.17.0-beta.20261116153113.1185", options: .numeric) returns .orderedAscending: a numeric string compare ranks the shorter string first when one is a prefix of the other.
Diagnosis
WidgetPackageStore.requiresNewerApp in Sources/StableBar/WidgetPackage.swift:366 compares with String.compare(_:options: .numeric). inspect throws newerVersionRequired when it returns true, and every review, install, settings change and version switch goes through inspect. compareReleases in Sources/StableBar/AppVersion.swift already orders releases as Semantic Versioning does and is what NewerConfiguration.written(for:) uses for the same minimumVersion when the bar loads a package. Only a release whose core version equals the beta's is affected: amphetamine and dock-badges name 0.10.0 betas, which 0.17.0 passes.
Until a release carries the fix, the package can name 0.17.0 instead, which 0.17.0 accepts.
Related
- Browse, install and update shared widget packages from a store #33 / feat: browse and install widget packages from a store #35 added
minimumVersion. - A configuration saved by a newer build fails to load in older builds #223 / feat: load configurations written for a newer StableBar #337 load configurations written for a newer release; they use
compareReleasesand aren't affected.
Triaged by Claude Code (Claude Opus 5.5).
Activity
chore(release): 0.18.0 [skip ci]
stablebar-releases commentedon Nov 20, 2026
🎉 This issue has been resolved in version 0.18.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀