🔮 Chroniq — Smart Versioning & Changelog CLI
Chroniq is your local-first, developer-friendly version manager + changelog tracker.
It brings semantic versioning, rollback safety, and interactive changelog support — all from your terminal.
"Because versioning shouldn't feel like a chore." 💡
🚀 Features at a Glance
| 🧠 Feature | ✅ Support |
|---|---|
| Semantic Versioning (SemVer) | ✔️ |
| Pre-release Tags (alpha, beta) | ✔️ |
| Interactive Changelog Prompts | ✔️ |
| Rollback Support | ✔️ |
| Profile-based Config (.toml) | ✔️ |
| Clean CLI Output (via rich) | ✔️ |
| Zero Cloud Dependencies | ✔️ |
| Full Test Coverage | ✔️ |
🧰 Commands Overview
| Command | Purpose |
|---|---|
chroniq init |
Initialize version.txt + CHANGELOG.md |
chroniq bump [level] |
Bump version (patch, minor, major) |
chroniq bump --pre <tag> |
Bump pre-release (alpha, beta.1, etc.) |
chroniq rollback |
Rollback latest version bump and changelog |
chroniq log [--lines n] |
Show last n changelog entries |
chroniq version |
Display the current version |
chroniq reset |
Delete version + changelog (use with caution) |
chroniq audit [--strict] |
Run diagnostic scan of config/version/changelog |
chroniq config-show |
Print merged active config, including profile |
chroniq config set |
Update config keys in .chroniq.toml |
chroniq changelog-preview |
Preview formatted changelog block (dry-run entry) |
chroniq test --smoke |
Run smoke tests only |
chroniq help |
Show grouped help with style (coming 0.9.0) |
✏️ Usage Examples
chroniq init # Sets up version.txt and CHANGELOG.md
chroniq bump minor # Bumps 1.2.3 → 1.3.0
chroniq bump --pre rc # Produces 1.3.0-rc.1
chroniq rollback # Reverts to previous version and changelog
chroniq audit --strict # Deep config/changelog validation
chroniq config set silent true # Edit .chroniq.toml via CLI
⚙️ Config Options (.chroniq.toml)
Chroniq reads a config file (.chroniq.toml) with support for profiles and strict mode:
default_bump = "patch"
silent = false
strict = false
emoji_fallback = true
auto_increment_prerelease = true
[profile.dev]
default_bump = "minor"
silent = true
[profile.release]
strict = true
🧪 Test It
# Run all unittests
python -m unittest discover -s tests
# Or just smoke test the CLI
chroniq test --smoke
🧱 Project Structure
chroniq/
├── cli.py # CLI entry point
├── core.py # SemVer logic + rollback
├── config.py # Config loading + updating
├── logger.py # system_log + activity_log
├── changelog.py # Add/preview entries
├── audit.py # Diagnostic scanning
├── tests/ # Unit tests
├── version.txt # Your current version
├── CHANGELOG.md # Changelog entries
├── .chroniq.toml # Config file (optional)
🤝 Contributing
PRs welcome — just follow:
- Keep it clean
- Keep it tested
- Keep it offline-safe
📄 License
MIT © Brandon McKinney
Metadata
Release files for chroniq 0.8.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| chroniq-0.8.0.tar.gz | 14.4 kB | Without provenance | Details for chroniq-0.8.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| chroniq-0.8.0-py3-none-any.whl | Python 3 | none | any | Details for chroniq-0.8.0-py3-none-any.whl |
Total release size: 33.3 kB
Release files / chroniq-0.8.0.tar.gz
| Download URL | chroniq-0.8.0.tar.gz |
|---|---|
| Size | 14.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f1c825a32179233ed975a98f207c9c960d6263b8144bbe01ab447f49b2a49ec4
|
|
BLAKE2b-256 checksum How to use checksums |
4b96a625b3a07cd2bf1d4e2c658543d4a940e353aecf86289dce5048a2692255
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|
Release files / chroniq-0.8.0-py3-none-any.whl
| Download URL | chroniq-0.8.0-py3-none-any.whl |
|---|---|
| Size | 19.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0989da8a495ffae29f2bf90fb4c99ee62663aa9e117242935304aecea6d33f39
|
|
BLAKE2b-256 checksum How to use checksums |
f60a67ac41ce8441348e60301674c601adbf6f39e9b5d161c8756e30eaad0669
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.5
|
Security for chroniq 0.8.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.