Migration Guide¶
This guide helps you upgrade between ArqonHPO versions.
v0.2 → v0.3 (Current)¶
Breaking Changes¶
- Config field rename:
probe_budget→probe_ratio
- Python import path change:
- Artifact schema:
historyfield now includescost:
Migration Steps¶
- Update config files (rename
probe_budgettoprobe_ratio) - Update imports in Python code
- Re-export artifacts from v0.2 state files:
# With v0.2
arqonhpo export --state old_state.json --output artifact.json
# Manually add "cost": 1.0 to each history entry
# With v0.3
arqonhpo import --artifact artifact.json --state new_state.json
v0.1 → v0.2¶
Breaking Changes¶
- CLI renamed:
arqon→arqonhpo
- Python package renamed:
- Config schema overhaul: Complete rewrite
- v0.1 configs are not compatible
- Re-create configs using v0.2 schema
Version Compatibility Matrix¶
| ArqonHPO | Python | Rust | State Format |
|---|---|---|---|
| v0.3.x | 3.10+ | 1.82+ | v3 |
| v0.2.x | 3.9+ | 1.75+ | v2 |
| v0.1.x | 3.8+ | 1.70+ | v1 (incompatible) |
State File Migration¶
State files are not forward compatible. To migrate state:
- Export from old version:
-
Review artifact for schema changes
-
Import with new version:
[!WARNING] If import fails due to schema changes, you may need to manually edit the artifact JSON.
Deprecation Notices¶
v0.3 (Current)¶
| Feature | Status | Replacement |
|---|---|---|
probe_budget config | Removed | Use probe_ratio |
arqonhpo._internal imports | Removed | Use arqonhpo |
v0.4 (Upcoming)¶
| Feature | Status | Replacement |
|---|---|---|
strategy_params.alpha | Deprecated | Use strategy_params.reflection_coeff |
--log-level debug | Deprecated | Use --log-level=debug (with =) |
Getting Help¶
If you encounter migration issues:
- Check Troubleshooting
- Open a GitHub Issue
- Ask in Discussions
Next Steps¶
- Installation — Install latest version
- Quickstart — Get running with v0.3
- Changelog — Full version history