Skip to content

feat: migrate changelog fetching from Deadlock forums to Steam API#401

Draft
LVL1024 wants to merge 14 commits into
developfrom
feature/steam-patch-notes
Draft

feat: migrate changelog fetching from Deadlock forums to Steam API#401
LVL1024 wants to merge 14 commits into
developfrom
feature/steam-patch-notes

Conversation

@LVL1024

@LVL1024 LVL1024 commented Jul 3, 2026

Copy link
Copy Markdown
Collaborator

Changed from using the forums to the Steam API since the devs don't post patch notes on
the forums anymore, they moved to Steam posts. Also removed hero labs code.

What changed:

  • fetch_forum_changelogs()fetch_steam_changelogs(), reads from
    steam_community_announcements filtered to patchnotes-tagged posts
  • _bbcode_to_text() converts Steam BBCode to plain text (paragraphs, lists, links,
    images, embeds, plus a catch-all for unknown tags)
  • MD5 hashing (steam_hash) detects when Valve edits a post after publishing, if it
    changes, the entry gets flagged was_edited: true and wiki upload is skipped for manual review
  • STEAM_MIGRATION_DATE cut-off (2026-06-04) keeps all historical forum-sourced data intact
  • forum_idsource_id in changelog_configs.json; title, steam_hash, was_edited fields added
  • feedparser and bs4 dropped from pyproject.toml
  • Removed Hero Lab changelog parsing: The get_gamefile_changelogs() pipeline (~130 lines) parsed citadel_patch_notes_english.json into _HeroLab entries. Devs haven't used Hero Labs in forever.

Parsed data in deadlock-data PR - Reopen deadbot PR or run deploy workflow for this branch here to reparse the data

@LVL1024 LVL1024 marked this pull request as draft July 3, 2026 18:58
@LVL1024 LVL1024 linked an issue Jul 3, 2026 that may be closed by this pull request
LVL1024 added 8 commits July 3, 2026 19:30
… ability subheaders, and hotfix preservation"

This reverts commit b7dd29c.
Reverts the 3 commits since 26fe3d9:
  - b1994dc feat: exclude Hero Lab entries from reprocessing
  - 9b8de0e TEST: Delete existing notes
  - 7f2e144 feat: enhance changelog processing with pending ID support

Preserves the DRY_RUN env var forwarding fix in docker-compose.yml,
which fixes a pre-existing bug where the variable was set by the
CI workflow but silently dropped at the container boundary.
@LVL1024 LVL1024 force-pushed the feature/steam-patch-notes branch from 6363402 to e20047a Compare July 4, 2026 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix changelogs

2 participants