Repository navigation
Releases: jkomalley/convbase
Releases · jkomalley/convbase
Release list
v1.1.1
v1.1.0
Added
- The package now ships a
py.typedmarker and declaresTyping :: Typed, so
downstream type checkers see convbase's inline annotations instead of
treating the package as untyped. - Full type annotations on the CLI command functions.
Changed
- CLI
--helptext reworded to imperative mood ("Convert VALUE to binary"
rather than "Converts VALUE to binary") and reflowed. Behaviour is unchanged. click.BadParameteris now raised withfrom err, so tracebacks retain the
underlyingValueErrorinstead of discarding it.- Packaging metadata standardized: SPDX
licensefield replacing the
deprecatedLicense ::classifier, consistent[project.urls]keys, and
populatedkeywords. - Minimum Python raised to 3.11 (from 3.10, which reaches end of life in
October 2026). - Build requirement floor raised to
uv_build>=0.12.0,<0.13.0.
Internal
- Ruff configuration adopted the project-family standard (
select = ["ALL"]
with a shared ignore list), resolving 29 violations. - Test directory renamed
test/totests/. - CI consolidated into one matrixed
checkjob over Python 3.11-3.14 with a
version-guardjob; type checking pinned to 3.14. - Release pipeline replaced: publishing now follows CI success on
mainand
creates the tag and GitHub release itself, rather than being triggered by a
manually created release. - Dependency updates grouped by ecosystem, with a new
pre-commitecosystem,
and minor/patch updates merged automatically.
v1.0.0
What's Changed
Added
--versionflag on all four CLI commands.- Accepted input formats and error behavior documented in README.
[tool.pytest.ini_options]inpyproject.tomlwith--cov-fail-under=100to enforce 100% coverage in CI.
Changed
- Improved
--helptext for all commands to document accepted input prefixes (0b,0o,0x, decimal). - Updated Development Status classifier to
5 - Production/Stable. Justfilesetuprecipe updated fromuv pip install -e .[dev]touv sync.- CI pytest step simplified — flags now managed via
pyproject.toml. - Updated
pre-commit-hooksfromv4.5.0tov6.0.0. - Updated
ruff-pre-commitfromv0.3.4tov0.15.5.
Removed
- Dead
mirrors-mypypre-commit hook (CI usesty).
Full Changelog: https://github.com/jkomalley/convbase/blob/main/CHANGELOG.md
v0.2.2
What's Changed
Changed
- Replaced curl-based uv install in CD workflow with
astral-sh/setup-uv@v6.
Full Changelog: https://github.com/jkomalley/convbase/blob/main/CHANGELOG.md
v0.2.1
What's Changed
Added
- Tests for invalid input:
ValueErrorraised by lib functions, non-zero exit and error message from CLI commands; 100% branch coverage.
Fixed
- CLI commands now return a clear error message on invalid input instead of crashing (raises
click.BadParameter). - Fixed absolute import in
__init__.pyto use a relative import.
Changed
- Renamed internal CLI functions
bin/oct/dec/hextobin_cmd/oct_cmd/dec_cmd/hex_cmdto avoid shadowing Python built-ins. - Pinned
click>=8.0dependency. - Enabled ruff
A001lint rule to catch built-in shadowing. - Replaced curl-based uv install in CI with the official
astral-sh/setup-uv@v6action.
Removed
- Dead
[tool.mypy]configuration (CI usesty).
Full Changelog: https://github.com/jkomalley/convbase/blob/main/CHANGELOG.md
v0.2.0
Removed
- Breaking Change: Removed specific conversion commands:
hextodec,hextooct,hextobindectohex,dectooct,dectobinocttohex,octtodec,octtobinbintohex,bintodec,bintooct
Added
- Breaking Change: Introduced generic conversion commands to replace the removed ones:
bin: Convert from any base to binary.oct: Convert from any base to octal.dec: Convert from any base to decimal.hex: Convert from any base to hexadecimal.
- Migrated build system to
uv.
v0.1.0
Features
- Initial release of convbase
- Commands
hextodec [--help] [--version] valuehextooct [--help] [--version] valuehextobin [--help] [--version] valuedectohex [--help] [--version] valuedectooct [--help] [--version] valuedectobin [--help] [--version] valueocttohex [--help] [--version] valueocttodec [--help] [--version] valueocttobin [--help] [--version] valuebintohex [--help] [--version] valuebintodec [--help] [--version] valuebintooct [--help] [--version] value
Installation
pipx (recommended)
pipx install convbasepip
pip install convbaseWhat's Changed
- Create ci.yml by @jkomalley in #1
- Implement conversions by @jkomalley in #5
New Contributors
- @jkomalley made their first contribution in #1
Full Changelog: https://github.com/jkomalley/convbase/commits/v0.1.0