Skip to content

Releases

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 02 Dec 22:04
dd0d0f5

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

Choose a tag to compare

@github-actions github-actions released this 27 Oct 18:10

Security

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 keeping main history 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

Choose a tag to compare

@github-actions github-actions released this 13 Oct 12:10

[0.2.0] - 2026-10-13

Migration notes

  • JSON and non-interactive scripts must pass --yes for delete commands,
    devices clear and reboot.
  • Failed writes expose error instead of raw. 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's h388x-cli/config.env under 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 --yes for 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 .env using 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 main before 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 --help ran 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

Choose a tag to compare

@github-actions github-actions released this 05 Oct 15:09

What's Changed

  • Harden and prepare H388X CLI for v0.1.0 by @alsd4git in #6

New Contributors

Full Changelog: https://github.com/alsd4git/h388x-cli/commits/v0.1.0