Skip to content

A package that needs a beta is refused by that beta's own release #762

Closed

Description

@M4n0x

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

  1. Run StableBar 0.17.0 (build 1187).
  2. In Settings → Store, open Status ring, or install it with StableBar --install-package from a copy of packages/status-ring in 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

Triaged by Claude Code (Claude Opus 5.5).

Activity

  1. added
    bug
    on Nov 16, 2026
  2. stablebar-releases commented on Nov 20, 2026

    @stablebar-releases

    🎉 This issue has been resolved in version 0.18.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugreleased

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions