Repository navigation
Releases
v1.9.0
Added
- Username + password sign-in through Steam's
Authenticationservice,
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 raiseSteamLoginErrorwith Steam'sEResult
(InvalidPassword,TwoFactorCodeMismatch,RateLimitExceeded, ...);
a session Steam has closed raisesSignInExpired. 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
(QRLoginResultis the same class).
Changed
- The Python requirement is
>=3.13instead 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
QRLoginResultno longer shows its refresh token, access token or
guard data inrepr(), so logging a result doesn't log a login.
Tests
- Credentials sign-in against scripted CM replies built from the real
steammessages_authprotos, including decrypting the sent password
with a locally generated key; token logon message contents; token
replay after reconnect.
v1.8.2
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_gamesMCP 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 MCPand 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
.gitignoresilently 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 toREADME.rstin 1.7.8: the
commit strippedREADME.mdand referencedREADME.rstin
pyproject.toml, but git never addedREADME.rstbecause
the*rule ignored it.poetry buildin the release
workflow then failed withNo such file or directory: README.rst. Fix: explicit allowlist entries for all top-level
docs.- README ships in BOTH
.rstand.mdso both platforms
render their preferred format — GitHub picksREADME.md(with
the mermaid architecture diagram + rendered badges); PyPI reads
README.rstas declared inpyproject.tomlreadme =.
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 toAsyncGenerator[..., None]
(wasAsyncIterator) so callers canawait agen.aclose().prometheus_hookuseslabelnames=kwarg for
prometheus_clientstability 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
FakeBrokertoAnyat
theregister_steam_clientboundary — 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..rststays 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.tomlreadme = "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 toAsyncGenerator(was
AsyncIterator) so callers canawait agen.aclose().prometheus_hooknow useslabelnames=kwarg for
prometheus_client stability across stub versions.prometheus_clientlazy import carries an
import-not-found, unused-ignoretype-ignore that keeps
both Pylance (when the pkg is absent) and mypy (when it's
present) quiet.- TaskIQ integration test casts the
FakeBrokertoAny
at theregister_steam_clientboundary — 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→.mdso GitHub renders the new
architecture diagram natively (mermaid). PyPI accepts markdown
too — verified viareadme_renderer[md]. pyproject.tomlreadme = "README.md"updated to match.
Added
- Mermaid architecture diagram at the top of the README showing
the two-thread model (asyncio-sidesteam.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 nameUpload 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
(CannotOverwriteExistingCassetteExceptionfrom
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 insteam.aioor
steam.mcpis affected, and neither is the WebAPI runtime
code itself; only the test-replay path.Skip reason surfaces in
pytest -voutput so nobody
quietly misses the coverage regression. Follow-up work
tracked: re-record cassettes viapoetry run vcr-webapi
(needsSTEAM_API_KEY) and an interactive session against
livesteamcommunity.comfor the vanity URL test.
1.7.5
Fixed
poetry.lockregenerated with--regenerateso
urllib3moves to 2.7.0 — 1.7.4's plainpoetry 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--regeneratewhen
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.banditPython-native SAST wired into CI as a fifth
quality gate ([tool.bandit]inpyproject.toml; scoped
tosteam.aio+steam.mcp; medium severity and above;
B101/B110skipped 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 inREADME.rstrenders 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
bandittoo — 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<2pin 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 (requestsis 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 matchesrequests's own
accepted range. - Regenerated
poetry.locksopip-auditsees the newer
urllib3.
1.7.3
Fixed
- Add
pydantic >= 2.0as 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...
v1.8.1
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_gamesMCP 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 MCPand 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.