Skip to content

Releases

v1.9.0

Choose a tag to compare

@H47R15 H47R15 released this 05 Oct 08:15

Added

  • Username + password sign-in through Steam's Authentication service,
    the flow Steam's own client uses since 2023:
    AsyncSteamClient.begin_credentials_login() encrypts the password
    with the account's RSA key and opens an auth session;
    submit_steam_guard_code() answers an e-mailed or mobile-app code;
    poll_credentials_login() / wait_credentials_login() collect the
    refresh token once the sign-in is confirmed (by code, in the mobile
    app, or through the e-mailed link). CredentialsLoginSession
    round-trips through JSON, so each step may run in a different
    process. Refusals raise SteamLoginError with Steam's EResult
    (InvalidPassword, TwoFactorCodeMismatch, RateLimitExceeded, ...);
    a session Steam has closed raises SignInExpired.
  • SteamClient.login_with_token() and
    AsyncSteamClient.login_with_token(): log on with a refresh token
    from either sign-in (credentials or QR), the method the QR docs
    already pointed at. The async client replays it after a reconnect,
    so a token login survives a dropped connection without the password.
  • SignInResult, the general name for what a finished sign-in returns
    (QRLoginResult is the same class).

Changed

  • The Python requirement is >=3.13 instead of ^3.13.11. The patch
    floor was a local interpreter's version rather than a requirement,
    and it stopped projects on an earlier 3.13 patch from resolving the
    package.

Fixed

  • QRLoginResult no longer shows its refresh token, access token or
    guard data in repr(), so logging a result doesn't log a login.

Tests

  • Credentials sign-in against scripted CM replies built from the real
    steammessages_auth protos, including decrypting the sent password
    with a locally generated key; token logon message contents; token
    replay after reconnect.

v1.8.2

Choose a tag to compare

@H47R15 H47R15 released this 24 Jul 07:17

1.8.2

Fixed

  • Fixed the requests.get() parameter typing in the upcoming-games store client.
  • Completed the lint, mypy, and test quality gates required for package publishing.

1.8.1

Added

  • Added AsyncSteamClient.get_player_count() as an async facade for
    Steam's concurrent-player count API, including timeout translation
    consistent with the rest of the async client.
  • Added public upcoming-games catalogue browsing through
    AsyncSteamClient.get_upcoming_games(). Results support calendar
    periods, country/language selection, stable pagination, and compact
    table-ready rows containing release, review, price, store URL, and
    image data.
  • Added the steam.upcoming_games MCP tool with validated input and
    output models. It supports today, this/next week, this/next month,
    and the current year's popular upcoming games.

Fixed

  • QR authentication now requests a Steam Client platform token instead
    of a Web Browser token, matching the token audience required by
    login_with_token().
  • Changed the default QR authorized-device name to
    pysteam-client MCP and clarified that browser User-Agent spoofing
    does not apply to the CM protocol login.

Tests

  • Added coverage for player-count forwarding, upcoming-store parsing
    and pagination, MCP tool registration, and QR platform-token
    selection.

1.8.0

Added

  • Steam QR authentication support in the async client flow.

Fixed

  • Tightened QR/session handling and type-safety fixes for the local async Steam client surface.

1.7.9

Fixed

  • .gitignore silently ignoring top-level docs. The file
    starts with * (deny-all) and had no allowlist entries for
    README.* / SECURITY.md / CHANGES.md / LICENSE.*.
    Files tracked before this rule (LICENSE, CHANGES.md) kept
    working, but any new top-level doc was silently swallowed —
    which is exactly what happened to README.rst in 1.7.8: the
    commit stripped README.md and referenced README.rst in
    pyproject.toml, but git never added README.rst because
    the * rule ignored it. poetry build in the release
    workflow then failed with No such file or directory: README.rst. Fix: explicit allowlist entries for all top-level
    docs.
  • README ships in BOTH .rst and .md so both platforms
    render their preferred format — GitHub picks README.md (with
    the mermaid architecture diagram + rendered badges); PyPI reads
    README.rst as declared in pyproject.toml readme =.
    Content is mirrored between the two.

Fixed (from 1.7.8's uncommitted queue)

  • 4 Pylance findings on the async surface — none were runtime
    bugs, all type-check-only:
    • events() return-type widened to AsyncGenerator[..., None]
      (was AsyncIterator) so callers can await agen.aclose().
    • prometheus_hook uses labelnames= kwarg for
      prometheus_client stability across stub versions; the
      lazy import carries a
      # type: ignore[import-not-found, unused-ignore] that keeps
      both Pylance (when the pkg is absent) and mypy (when it's
      present) quiet.
    • TaskIQ integration test casts the FakeBroker to Any at
      the register_steam_client boundary — the fake intentionally
      implements only the two-method subset the helper touches.

1.7.8

Changed

  • Reverted README format .md → .rst. 1.7.7's markdown
    conversion was done for the mermaid diagram (Markdown renders
    it natively on GitHub, RST doesn't), but the format switch
    lost more than it gained. .rst stays the canonical Python
    README; if we want the architecture diagram back, we'll render
    mermaid to SVG and reference the image, not swap the whole
    file format.
  • pyproject.toml readme = "README.rst" restored.

Added

  • MCP tools badge in the README badge row —
    [MCP tools included] in Anthropic-purple, linking to the
    MCP wiki page <https://github.com/H47R15/steam/wiki/MCP>_. Sits between
    the Python-versions and License badges.

Fixed

  • 4 Pylance findings on the async surface — none were real
    runtime bugs, all were type-check-only:
    • events() return-type widened to AsyncGenerator (was
      AsyncIterator) so callers can await agen.aclose().
    • prometheus_hook now uses labelnames= kwarg for
      prometheus_client stability across stub versions.
    • prometheus_client lazy import carries an
      import-not-found, unused-ignore type-ignore that keeps
      both Pylance (when the pkg is absent) and mypy (when it's
      present) quiet.
    • TaskIQ integration test casts the FakeBroker to Any
      at the register_steam_client boundary — the fake
      intentionally implements only the two-method subset the
      helper touches.

1.7.7

Changed

  • README rewritten — smaller, focused on architecture +
    quick-start. Everything detailed now lives in the
    Wiki with an organised
    link tree in the README so users find the right page fast.
  • README format .rst → .md so GitHub renders the new
    architecture diagram natively (mermaid). PyPI accepts markdown
    too — verified via readme_renderer[md].
  • pyproject.toml readme = "README.md" updated to match.

Added

  • Mermaid architecture diagram at the top of the README showing
    the two-thread model (asyncio-side steam.aio / steam.mcp
    vs. the background gevent-hub daemon thread running the sync
    SteamClient), the libev async-watcher bridge between them,
    and the outbound CM / WebAPI / CDN paths. Renders natively on
    GitHub; PyPI shows the mermaid source as a code block (still
    readable) with a click-through to the GitHub view.

Fixed

  • .github/workflows/scorecard.yml — the step name Upload artifact (retention: 5 days) had a second colon inside the
    parenthetical that YAML parsed as a nested mapping-value
    marker. Result: "workflow file issue" — the run failed
    instantly at parse time with zero logs and the OpenSSF
    Scorecard workflow never got to score the repo. Quoted the
    name so the colon is a literal character; all four workflow
    files now parse clean.

1.7.6

Fixed

  • Skip tests/test_webapi.py::TCwebapi (7 tests) and
    tests/test_steamid.py::steamid_functions::test_steam64_from_url
    when running under urllib3 2.x. Their VCR cassettes
    (vcr/webapi.yaml, vcr/steamid_community_urls.yaml) were
    recorded against urllib3 1.x; vcrpy 8.3 can't replay the
    requests under 2.x because urllib3 changed enough at the
    connection layer that the recorded signature no longer matches
    (CannotOverwriteExistingCassetteException from
    vcr/stubs/__init__.py).

    The 1.7.5 upgrade to urllib3 2.7.0 (to close five CVEs — see
    1.7.5 notes) exposed this — nothing in steam.aio or
    steam.mcp is affected, and neither is the WebAPI runtime
    code itself; only the test-replay path.

    Skip reason surfaces in pytest -v output so nobody
    quietly misses the coverage regression. Follow-up work
    tracked: re-record cassettes via poetry run vcr-webapi
    (needs STEAM_API_KEY) and an interactive session against
    live steamcommunity.com for the vanity URL test.

1.7.5

Fixed

  • poetry.lock regenerated with --regenerate so
    urllib3 moves to 2.7.0 — 1.7.4's plain poetry lock
    preserved 1.26.20 (still satisfied the new ">=1.26,<3"
    constraint) and CI failed on the same five CVEs a second
    time. Every release from here on uses --regenerate when
    a constraint changes.

Added

  • SECURITY.md — vulnerability reporting policy with a
    copy-paste report template, supported-versions table, response
    commitments (48 h ack, 5 business-day triage, 30/60/90-day fix
    per severity, 90-day coordinated-disclosure embargo),
    safe-harbour clause for good-faith researchers, and explicit
    in-scope / out-of-scope lists.
  • bandit Python-native SAST wired into CI as a fifth
    quality gate ([tool.bandit] in pyproject.toml; scoped
    to steam.aio + steam.mcp; medium severity and above;
    B101 / B110 skipped for documented intentional patterns
    in cleanup paths + type-narrowing asserts). Runs on every push,
    PR, and release.
  • CodeQL workflow (.github/workflows/codeql.yml) —
    GitHub-native semantic SAST with cross-file dataflow analysis.
    Runs on push + PR + weekly cron. Results in the repo's
    Security tab. Complements bandit's single-file pattern scan.
  • OpenSSF Scorecard workflow — automated repository-posture
    scoring; badge in README.rst renders the public score from
    api.securityscorecards.dev.
  • Dependabot config (.github/dependabot.yml) — weekly
    grouped dep-update PRs for pip + GitHub Actions, plus immediate
    security-update PRs whenever a CVE lands on a dep.
  • README security section + badges — CI, CodeQL, OpenSSF
    Scorecard, PyPI version, supported Python versions.
  • Publish workflow gated on bandit too — a failing SAST
    finding blocks the PyPI upload.

1.7.4

Fixed

  • urllib3 CVEs. Relax the urllib3 = "<2" pin to
    ">=1.26,<3". The previous <2 pin forced CI's fresh
    poetry venv onto urllib3 1.26.20, which pip-audit flagged with
    five open CVEs (PYSEC-2026-141 / -1994 / -1996 / -1998 / -1999)
    — all fixed in urllib3 2.x. The fork has zero direct urllib3
    imports (requests is the only consumer); the earlier
    comment claiming "cert-verification breakage in the fork under
    urllib3 2.x" was unsourced and nothing in the tree exercises
    the code path. New constraint matches requests's own
    accepted range.
  • Regenerated poetry.lock so pip-audit sees the newer
    urllib3.

1.7.3

Fixed

  • Add pydantic >= 2.0 as a runtime dependency. steam.mcp.tools
    imports it at module-top for the MCP tool input/output schemas, so
    it can't be lazy — 1.7.1 / 1.7.2 shippe...
Read more

v1.8.1

Choose a tag to compare

@H47R15 H47R15 released this 24 Jul 06:44

1.8.1

Added

  • Added AsyncSteamClient.get_player_count() as an async facade for
    Steam's concurrent-player count API, including timeout translation
    consistent with the rest of the async client.
  • Added public upcoming-games catalogue browsing through
    AsyncSteamClient.get_upcoming_games(). Results support calendar
    periods, country/language selection, stable pagination, and compact
    table-ready rows containing release, review, price, store URL, and
    image data.
  • Added the steam.upcoming_games MCP tool with validated input and
    output models. It supports today, this/next week, this/next month,
    and the current year's popular upcoming games.

Fixed

  • QR authentication now requests a Steam Client platform token instead
    of a Web Browser token, matching the token audience required by
    login_with_token().
  • Changed the default QR authorized-device name to
    pysteam-client MCP and clarified that browser User-Agent spoofing
    does not apply to the CM protocol login.

Tests

  • Added coverage for player-count forwarding, upcoming-store parsing
    and pagination, MCP tool registration, and QR platform-token
    selection.

v1.8.0

Choose a tag to compare

@H47R15 H47R15 released this 24 Jul 01:04

Full Changelog: v1.7.10...v1.8.0

v1.7.10

Choose a tag to compare

@H47R15 H47R15 released this 24 Jul 00:43

Full Changelog: v1.7.9...v1.7.10

v1.7.9

Choose a tag to compare

@H47R15 H47R15 released this 23 Jul 08:16

Full Changelog: v1.7.8...v1.7.9

v1.7.8

Choose a tag to compare

@H47R15 H47R15 released this 23 Jul 08:09

Full Changelog: v1.7.7...v1.7.8

v1.7.7

Choose a tag to compare

@H47R15 H47R15 released this 23 Jul 08:03

Full Changelog: v1.7.6...v1.7.7

v1.7.6

Choose a tag to compare

@H47R15 H47R15 released this 23 Jul 07:53

Full Changelog: v1.7.5...v1.7.6

v1.7.5

Choose a tag to compare

@H47R15 H47R15 released this 23 Jul 07:28

Full Changelog: v1.7.4...v1.7.5