Repository navigation
Releases
Releases · alsd4git/h388x-cli
v0.2.2
What's Changed
- docs(readme): clarify CLI overview and status by @alsd4git in #9
- ci: refresh supported runtimes and test coverage by @alsd4git in #10
- Align build metadata and public release installation guidance by @alsd4git in #13
- Prepare h388x-cli 0.2.2 for registry distribution by @alsd4git in #15
Full Changelog: v0.2.1...v0.2.2
v0.2.1
Security
- Require
urllib3>=2.8.0andidna>=3.15, including in installed package
metadata, and update the lockfile to address GHSA-gh4c-6fx4-qh6g,
GHSA-vxq7-64xx-v4gw, GHSA-8988-9cw3-xx77 and GHSA-65pc-fj4g-8rjx. - Require
certifi>=2026.10.19and refresh the locked certificate bundle to
remove trust in the compromised emSign G3 certificate chain
(GHSA-6q48-6c7w-9gw2 / PYSEC-2026-4320).
Changed
- Preserve existing release notes and assets when the release workflow is
rerun; fail closed on authentication or lookup errors. - Update installation examples for the public repository and document the
administrator direct-push exception, while keepingmainhistory protected. - Remove the internal pre-publication validation record from the current tree.
Added
- A tag-pinned quick start and a real, read-only device-info walkthrough with
the serial redacted. A regression test verifies the documented output filter.
Installation
uv tool install --force "git+https://github.com/alsd4git/h388x-cli.git@v0.2.1"The release remains alpha and targets TIM HUB+ ZTE H388X with AGZHM firmware, tested on AGZHM_1.4.4. PyPI publishing is not enabled.
Verification
- Release-commit CI: all ten jobs passed.
- Release workflow: quality gates, build, tag/version and clean wheel checks passed.
- Local suite: 285 tests passed; one opt-in modem test skipped. A separate real-device read-only info capture succeeded and was anonymized for the README.
- Public tag, published wheel and sdist installed without GitHub credentials; metadata, asset SHA-256 digests, version and CLI help verified.
- Runtime dependency audit found no known vulnerabilities.
v0.2.0
[0.2.0] - 2026-10-13
Migration notes
- JSON and non-interactive scripts must pass
--yesfor delete commands,
devices clearandreboot. - Failed writes expose
errorinstead ofraw. Failed bulk items also expose
error_type; raw modem responses and exception messages are not printed. - File exports refuse to replace an existing path. Choose a new filename.
- CLI configuration precedence is process environment, current directory
.env, then the user'sh388x-cli/config.envunder the configuration directory.
Fixed
- Keep authentication, unexpected empty-response and write-precondition errors
machine-readable in JSON mode. - Preserve typed operational failure codes during device imports without
exposing raw exception messages. - Avoid Unicode encoding failures when displaying CLI output on legacy Windows
terminals or pipes with limited character sets. - Require explicit
--yesfor destructive commands in JSON and non-interactive
mode, before contacting the modem. - Protect device reservation exports with private permissions and no-overwrite
semantics. - Load user configuration and the current directory's
.envusing explicit
paths while preserving process environment overrides. - Replace raw write-error responses with token-free summaries and numeric modem
error IDs, including bulk device failures. - Ignore session caches with invalid JSON structures or invalid token/cookie types.
- Write session caches through unique private temporary files and replace them
atomically, preserving the previous cache when replacement fails.
Added
- Verify that release tags point to commits on
mainbefore publishing. - Run package install/entry-point smoke checks on Windows and macOS as well as
Linux. - Public HTTPS installation examples, contribution guidelines, a security
reporting policy and redaction prompts in issue templates. - GitHub remote and repository protection guidance for releases and publication.
This release remains alpha. PyPI publishing is not enabled.
Validation
- The actual uploaded wheel and sdist were downloaded with authenticated GitHub CLI access. Metadata checks passed; the wheel installed and
h388x --helpran successfully in a clean local Python 3.14 environment. - Local read-only modem smoke passed: login, device information and logout, with no configuration changes.
v0.1.0
What's Changed
New Contributors
Full Changelog: https://github.com/alsd4git/h388x-cli/commits/v0.1.0