Skip to content

Releases: EUR-UN/metrics-community

v3.35.0-community.2: Music Explicit Sanitization & Steam Recent Games Accuracy

Choose a tag to compare

@yuanweize yuanweize released this 21 Sep 16:22

What's Changed

🕹️ Steam Plugin Inaccuracies Fixed

  • Support Steam's Dedicated GetRecentlyPlayedGames API: Queries IPlayerService/GetRecentlyPlayedGames/v0001/ for authentic 2-week recent game activity.
  • Recency Cutoff Threshold (plugin_steam_recent_days): Added configurable time range (default 14 days, matching Steam's standard window; 0 to disable). Games played months or years ago (like PUBG played 7 months ago) will no longer be perpetually shown under "Recently played".
  • Playtime Threshold Decoupling: playtime.threshold is now only applied to most-played. Recently played games under 2 hours (newly started or indie games) are no longer filtered out.
  • Free-to-Play Games Support: Added include_played_free_games=1 to GetOwnedGames (supported via plugin_steam_freegames, default yes).
  • Template Empty Guard: Prevents rendering an empty or dangling "Recently played" header when no games have been played recently.
  • Upstream PR: lowlighter/metrics#1845

🎵 Music Plugin Explicit Label Sanitization

  • Strips trailing explicit content badge text (e.g. \nExplicit Content, Explicit) from Spotify and Apple Music scraped track titles and artists, preventing titles like Lost Cause Explicit content (upstream lowlighter#1674).
  • Upstream PR: lowlighter/metrics#1844

📦 Automation & CI

  • Automated multi-arch GHCR container publishing workflow.
  • Complete regression test suite passes (17/17 tests).

v3.35.0-community.1: Community Maintenance Release

Choose a tag to compare

@yuanweize yuanweize released this 21 Sep 15:55

Metrics Community Edition v3.35.0-community.1

Independent Community-Maintained Fork of lowlighter/metrics
Baseline: lowlighter/metrics:master @ 366f8b9dfe3a59656c67d5dcad9950f59c9bc96d (v3.34)
Original License: MIT (Copyright (c) 2020-present lowlighter)

🌟 Key Fixes & Modernizations Included

  • Projects V2 Migration: Migrated achievements (Manager/Managers) and projects plugin to GitHub Projects V2 with graceful legacy fallback (fixes lowlighter#1706, based on lowlighter#1834, lowlighter#1782, lowlighter#1769).
  • Events API & PushEvent Safety: Hardened habits, activity, and languages plugins against missing or null commits in GitHub PushEvent payloads (based on lowlighter#1807, lowlighter#1781, lowlighter#1760, lowlighter#1754).
  • Lines Plugin Stability: Fixed null contributor author crashes and guarded template error rendering (based on lowlighter#1843).
  • WakaTime Template: Added optional chaining to prevent template rendering crashes when sections or plugin are disabled (based on lowlighter#1783).
  • Crypto Plugin: Restored rendered SVG example (based on lowlighter#1840).
  • Runtime & Docker Modernization: Upgraded Docker base to node:22-bookworm-slim, added xz-utils for nokogiri gem compilation, and added multi-arch (amd64/arm64) support (based on lowlighter#1838, lowlighter#1677).
  • CI Automation: Added weekly automated upstream sync workflow (.github/workflows/upstream-sync.yml) and modernized Dependabot configuration.

📦 Usage in GitHub Actions

- uses: yuanweize/metrics-community@v3.35.0-community.1
  with:
    token: ${{ secrets.METRICS_TOKEN }}