Skip to content

feat: uninstall installed package versions - #44

Merged
Seb-GRAF merged 1 commit into
mainfrom
feat/uninstall-packages
Oct 16, 2026
Merged

Seb-GRAF merged 1 commit into
mainfrom
feat/uninstall-packages

Conversation

@Seb-GRAF

@Seb-GRAF Seb-GRAF commented Oct 16, 2026 •

Copy link
Copy Markdown
Collaborator

Problem

Fixes #43. Installed packages could be disabled but not uninstalled, leaving unwanted packages and old versions on disk.

Changes

  • Customize → Packages gains Uninstall… with a confirmation explaining what is removed and kept.
  • --uninstall-package ID VERSION uses the running bar and the same operation as Customize.
  • The selected version is disabled in the root configuration before its files are deleted, including selections inherited from includes and installed themes. Current session edits are saved so resetting cannot restore a deleted version. Configuration validation must pass before files are removed.
  • Other versions, saved settings and Keychain secrets are retained. README explains this behavior and how to remove a saved token separately.
  • No configuration properties or schema changes. Existing package/theme edits handle the root override; imported files are preserved.

Testing

  • swift test: all 125 tests passed.
  • Regression coverage: removing an inactive version, inherited package and theme selections, saved settings and unchanged imports, session version pins surviving reset, and failed validation or invalid paths leaving configuration and installed files intact. The CLI parser is exercised through the runtime handler.
  • Release app build and commitlint passed; git diff --check passed.
  • The maintainer requested skipping the visible UI check, so no second bar was launched and no before/after screenshots were taken. Live UI and cross-process CLI interaction were not checked; automated tests exercise the CLI parser and runtime handler. No developer configuration or running bar was changed.

Merging

A merge commit. The single feature commit should reach the changelog.

GPT-6-Astra via Codex in T3 Code.

@Seb-GRAF
Seb-GRAF merged commit 6c49753 into main Oct 16, 2026
4 checks passed
@Seb-GRAF
Seb-GRAF deleted the feat/uninstall-packages branch October 16, 2026 12:11
stablebar-releases Bot pushed a commit that referenced this pull request Oct 21, 2026
## [0.5.0](v0.4.0...v0.5.0) (2026-10-21)

### Features

* add a calendar provider for the next meeting and today's agenda ([451c30a](451c30a))
* add a states map to every style ([a4ae6f2](a4ae6f2))
* add an equalizer block that bounces while its source is on ([#141](#141)) ([8e855ee](8e855ee))
* add an open state for the widget whose popup shows ([8eb69f4](8eb69f4))
* add Menu Bar, Island, Minimal and Terminal themes that restyle the whole bar ([570ab73](570ab73))
* add rules that set data states from provider values and fields ([7c9c70e](7c9c70e))
* add Tonhalle Line theme and presentation examples ([74449e5](74449e5))
* add widget packages that run no commands ([63efa16](63efa16))
* animate changed text and symbols with transitions ([9379e1a](9379e1a))
* animate the active app widget to fit the app's name ([0a00e3f](0a00e3f))
* ask before enabling an update that adds commands, hosts or permissions ([b623d76](b623d76))
* browse and install packages from the store ([b739dfc](b739dfc))
* check for and install updates in the app, on a stable or beta track ([f852a25](f852a25))
* customize StableBar without editing the configuration file ([#103](#103)) ([915e46b](915e46b))
* draw widgets, popups and the bar with Liquid Glass ([7f2310f](7f2310f))
* edit every property the bundled themes set in Customize ([d1fe47c](d1fe47c))
* fade or roll widgets in and out when their output hides them ([664d856](664d856))
* give clock layouts the time and show every widget's text in Diagnostics ([8dde579](8dde579))
* give colors light and dark values and ship the built-in look and three themes ([5d7c90c](5d7c90c))
* give each screen setup its own bar ([d71a203](d71a203))
* keep notification banners clear of the bar ([56872dc](56872dc))
* keep one Customize item in the bar's menus and move their other actions to General ([2484317](2484317))
* keep package secrets in the Keychain ([bc29768](bc29768))
* keep windows clear of the bar with Accessibility ([d18f156](d18f156))
* let script and provider output set a data state ([0581fa0](0581fa0))
* list the permissions that enabled data sources need in setup ([8e21d1d](8e21d1d))
* merge profiles by name across configuration layers ([7f0f2ed](7f0f2ed))
* offer presets in setup instead of choosing widget sets ([6473009](6473009))
* offer sets of built-in widgets in setup ([be2d9fc](be2d9fc))
* open popups on hover and add themed tooltips ([0ba0814](0ba0814))
* open URLs and apps from widgets without a shell ([8338ff9](8338ff9))
* organize Customize around the bar's look and show where each style comes from ([be1ca77](be1ca77))
* pick a theme from installed theme packages ([b600218](b600218))
* preview widget sets live on cards and place them beside the app and clock ([fc1a3ff](fc1a3ff))
* register data source types in one table and show each widget's source in Diagnostics ([45b9f3a](45b9f3a))
* remove a saved package secret from the Packages tab ([ac51e7c](ac51e7c))
* replace bundled themes with the community collection ([04b0077](04b0077))
* send power source changes to subscribed scripts ([054d9ae](054d9ae))
* set the bar's background in Customize ([bff824e](bff824e))
* share theme presentation across widgets and bar layout ([7db7ffe](7db7ffe))
* ship a sketchybar-app-font glyph set and match app name prefixes ([b23a4b0](b23a4b0))
* show and focus individual workspace windows ([85dc0a8](85dc0a8))
* show skipped releases in a compact update popup ([5319a29](5319a29))
* show temporary output for a set time ([38eb9f9](38eb9f9))
* show the app version in an About tab ([a0d94fc](a0d94fc))
* show the frontmost app's menus in an app menu widget ([45400f8](45400f8))
* show what a package needs in its review ([1740483](1740483))
* simplify configuration and onboarding ([03d527b](03d527b))
* uninstall installed package versions ([67e641f](67e641f))
* uninstall installed package versions ([#44](#44)) ([6c49753](6c49753))
* update audio widgets and scripts as soon as the volume or output device changes ([05a0e62](05a0e62))
* update battery widgets when macOS reports a power change ([1245d3b](1245d3b))

### Bug Fixes

* accept uppercase URL schemes and say widgets packages contain no commands ([90e95a5](90e95a5))
* align workspace height and expose vertical padding ([#60](#60)) ([88198ca](88198ca))
* allow calendar access in Developer ID releases ([1104e93](1104e93))
* allow negative workspace underline offsets ([a172616](a172616))
* allow package secrets only in the environments of a package's own widgets and providers ([6f7e5b9](6f7e5b9))
* check for the latest release before downloading ([2acbd83](2acbd83))
* check for updates every four minutes ([1362d62](1362d62))
* draw Blueprint's workspace underline on the widget's bottom border ([948b7dc](948b7dc))
* give Blueprint's widgets room in a full-height frame ([077bd53](077bd53))
* give icon-only widgets the height of a line of text ([9a8e8ac](9a8e8ac))
* identify local app builds as development ([83a0b4b](83a0b4b))
* ignore unchanged settings selections ([7ca7324](7ca7324))
* keep a clicked popup open when glass draws behind its widget ([2569727](2569727))
* keep colors that setup and the starter configuration wrote from hiding a theme ([c6de0a8](c6de0a8))
* keep native workspace icons steady on hover ([8b2b543](8b2b543))
* keep new beta releases in order on GitHub ([ae454b6](ae454b6))
* keep notification clearance from freezing the bar ([546c908](546c908))
* keep popup content at full size while opening ([470b7da](470b7da))
* keep the bar running when a package's widget and its popup are removed together ([a46a180](a46a180))
* keep the store's errors and unknown kinds from blocking local packages ([9424aaa](9424aaa))
* keep zoomed windows below the bar ([eb15873](eb15873))
* list commands that packages read from fields in their review ([9a50ddf](9a50ddf))
* make the whole popup block clickable ([d84a9b2](d84a9b2))
* make the whole widget tile clickable ([3f0f3ac](3f0f3ac))
* make the whole widget tile clickable ([#46](#46)) ([2f36fd6](2f36fd6))
* match update icons to the active theme ([e38f7ff](e38f7ff))
* move neighboring widgets when app menus expand ([6263d6f](6263d6f))
* preserve older themes as custom after updates ([a70201e](a70201e))
* recover app menus after temporary read failures ([1a19cea](1a19cea))
* reject contradictory width limits inside states ([026afd4](026afd4))
* render workspace icons at each display resolution ([12c477c](12c477c))
* save only edited package secrets and never lose the saved one ([6a4ff00](6a4ff00))
* show a store package's source and mark installed store entries ([39f00a6](39f00a6))
* show the review of the package selected last ([6d5703c](6d5703c))
* show updates sooner and resize the update popup ([618f575](618f575))
* take removed widgets off the bar while editing it ([#106](#106)) ([594aa34](594aa34))
* tell Settings and in-place bar editing apart in the menus ([39e8156](39e8156)), closes [#131](#131)
* treat an empty data state name as no state ([557d267](557d267))
* use widget hover colors for app menus ([f3b0e7d](f3b0e7d))

### Performance Improvements

* apply only changed script output so repeated updates redraw nothing ([f7e0d0c](f7e0d0c))
* build layout blocks without type erasure and keep the measuring copy still ([e39ac94](e39ac94))
* resolve widget styles in the store so one update redraws only its widgets ([86f8935](86f8935))
@stablebar-releases

Copy link
Copy Markdown

🎉 This PR is included in version 0.5.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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Uninstall installed packages

1 participant