diff --git a/CHANGELOG.md b/CHANGELOG.md index 7bbaac9..695e04b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/). ## [Unreleased] +## [1.4.3] - 2026-06-13 + +### Added +- Added the `-v`/`--version` flag to quickly check the installed modelinfo version. The version lookup is lazily evaluated to guarantee sub-100ms CLI startup times. +- Added missing entry-level GPUs to the `KNOWN_GPUS` hardware discovery dictionary. +- Added repository documentation including `CONTRIBUTING.md`, `CODE_OF_CONDUCT.md`, and GitHub issue/PR templates. + +### Fixed +- Fixed an Out-Of-Memory (OOM) vulnerability during remote inspection by capping the HTTP response read. This protects the CLI from upstream CDN proxies that ignore HTTP `Range` headers. +- Fixed confusing stack traces when a local directory is passed instead of a file by raising an explicit `IsADirectoryError`. +- Fixed the CLI to print user-friendly error messages when attempting to inspect gated or non-existent Hugging Face repositories (401 Unauthorized / 404 Not Found). +- Fixed an issue where the main entry point swallowed exceptions too broadly, obscuring critical stack traces during unexpected failures. + ## [1.4.2] - 2026-06-08 ### Fixed diff --git a/pyproject.toml b/pyproject.toml index e32d3f5..e2be958 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "modelinfo-cli" -version = "1.4.2" +version = "1.4.3" description = "A CLI tool to inspect ML checkpoints (.safetensors, .gguf, .pt) and calculate inference VRAM, multi-GPU memory splits, and vLLM serving capacity." readme = "README.md" requires-python = ">=3.10" diff --git a/src/modelinfo/__init__.py b/src/modelinfo/__init__.py index 1a750ad..d532e58 100644 --- a/src/modelinfo/__init__.py +++ b/src/modelinfo/__init__.py @@ -2,4 +2,4 @@ modelinfo - A high-performance CLI utility for inspecting ML model checkpoints. """ -__version__ = "1.4.2" +__version__ = "1.4.3"