Skip to content

0.3.0 — 2026-06-13

Choose a tag to compare

@github-actions github-actions released this 13 Jun 16:27

Release Notes

Still targets HDM integration spec v0.7.3.

Added

  • format_receipt — render a fiscal receipt as human-friendly text. The device prints the legal
    receipt itself and returns only structured identifiers, so this reconstructs a faithful summary
    from the request/response pair (hdm_am::format_receipt(&PrintReceiptRequest, &ReceiptResponse)).
    Returns a width- and locale-agnostic ReceiptLayout of semantic ReceiptLines with the device's
    own Armenian labels (Գ/Հ = registration number, ԱՀ = serial, ԿՀ = receipt number); render it with
    ReceiptLayout::to_plain_text(width) (or Display at DEFAULT_WIDTH). Not a pixel clone of the
    government layout — per-line VAT and taxation captions depend on data outside the pair and are
    omitted. hdm receipt now prints the rendered receipt instead of a field dump.
  • OpenAPI 3.1 document for the bridge. Assembled from the same schemars-derived schemas the
    handlers serialize (cargo run -p hdm-am-bridge --example dump-openapi --features schema),
    committed at docs/openapi.json and CI-checked with --check, served at GET /v1/openapi.json,
    and rendered as a Scalar API explorer at GET /docs.
  • clients/ — a TypeScript/JavaScript pnpm workspace generated from that document, with its own
    CI job (gen:check, typecheck, lint, test, build):
    • @hdm-am/client — isomorphic, zero-dependency client (one typed method per operation, typed
      HdmBridgeError/HdmTransportError), types generated by openapi-typescript.
    • @hdm-am/react — provider and typed query/mutation hooks over the client (react peer dep only).
    • demo — a private Vite + React + shadcn/ui app that drives a real device from the browser.

hdm-am-bridge 0.3.0

Install hdm-am-bridge 0.3.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/lobotomoe/hdm-am/releases/download/v0.3.0/hdm-am-bridge-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/lobotomoe/hdm-am/releases/download/v0.3.0/hdm-am-bridge-installer.ps1 | iex"

Download hdm-am-bridge 0.3.0

File Platform Checksum
hdm-am-bridge-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
hdm-am-bridge-x86_64-apple-darwin.tar.xz Intel macOS checksum
hdm-am-bridge-x86_64-pc-windows-msvc.zip x64 Windows checksum
hdm-am-bridge-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
hdm-am-bridge-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum

hdm-am-cli 0.3.0

Install hdm-am-cli 0.3.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/lobotomoe/hdm-am/releases/download/v0.3.0/hdm-am-cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy Bypass -c "irm https://github.com/lobotomoe/hdm-am/releases/download/v0.3.0/hdm-am-cli-installer.ps1 | iex"

Download hdm-am-cli 0.3.0

File Platform Checksum
hdm-am-cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
hdm-am-cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
hdm-am-cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
hdm-am-cli-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
hdm-am-cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum