You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat!: v0.4.0 remove deprecated --profile flag (#6)
* refactor(v0.4.0): migrate tests to install_selection
Switch the five test files that used init.run(profile_id=...) as a
fixture setup to call install_selection(target, Selection(...)) instead.
The legacy init.py shim is being removed in v0.4.0; this commit keeps
the suite green so the deletion in the next commit can land cleanly.
- test_init.py: rewrite as install_selection tests, drop the legacy
--profile path coverage (test_legacy_profile_*, _unknown_profile_,
_rejects_unsafe_profile_paths) and the contract-docs test (the
v0.3.0 mapping for --profile generic is harnesses=[], which does
not surface .solo-mise/generic/*).
- test_doctor.py: drop init_mod import; install_selection now writes
config.json so the openclaw-checks tests need 'openclaw' in the
selection's harnesses.
- test_ingest.py, test_handoff.py: swap init.run -> install_selection.
- test_gitignore.py: pull GITIGNORE_BEGIN/END from install.py; drop
the update_gitignore=False tests (install_selection always writes
the managed block).
109 tests pass.
* test(selection): drop legacy profile_to_selection coverage
The 7 test_profile_to_selection_* cases exercise a function being removed
in the next commit. Drop them and the now-unused import. Companion to
cc26412 which migrated the other five test files off init.run.
* feat(cli)!: remove deprecated --profile flag and supporting code
The --profile flag was deprecated in v0.3.0 with a stderr warning showing
the new --depth/--harnesses equivalent. v0.4.0 removes it along with the
dead code paths it kept alive:
- cli.py: drop the --profile argparse argument and the deprecation shim
that translated profile ids into Selections.
- selection.py: drop _PROFILE_MAP and profile_to_selection.
- templates.py: drop load_profile (depth/harness/include manifests use
_load_layered, which stays).
- init.py: delete the module. install.install_selection is the only
install path now.
- templates/profiles/: delete the six legacy profile manifests.
- prompt.py: drop the "(or --profile)" hint in the non-interactive error.
BREAKING CHANGE: `solo-mise init --profile <x>` now errors out as an
unrecognized argument. Use --depth + --harnesses (see v0.3.0 CHANGELOG
migration table).
* release: prepare v0.4.0
- Bump version to 0.4.0 in pyproject.toml and src/solo_mise/__init__.py.
- CHANGELOG: document the --profile removal and link refs.
- CI: drop the two legacy-profile install-from-source matrix entries
(the flag no longer exists, so the jobs would just argparse-fail).
Copy file name to clipboardExpand all lines: CHANGELOG.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,18 @@ All notable changes to this project will be documented in this file.
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
8
+
## [0.4.0] - 2026-05-17
9
+
10
+
### Removed
11
+
-`solo-mise init --profile <x>` flag and all supporting code paths. The flag has been deprecated since v0.3.0 with a stderr warning showing the new equivalent. Anyone still using it must switch to `--depth ... --harnesses ...` (see the v0.3.0 migration table below).
12
+
- Internal: `src/solo_mise/init.py` module (superseded by `install.install_selection`).
13
+
- Internal: `templates/profiles/` directory and the six legacy profile manifests.
14
+
- Internal: `templates.load_profile` and `selection.profile_to_selection`.
15
+
16
+
### Migration
17
+
18
+
Same as v0.3.0. If you somehow have v0.2.0-era scripts still using `--profile`, see the table in the v0.3.0 section below.
19
+
8
20
## [0.3.0] - 2026-05-16
9
21
10
22
### Added
@@ -91,7 +103,8 @@ Initial release.
91
103
- OpenClaw adapter fragments and harness-aware doctor checks.
0 commit comments