Skip to content

legends-youtube v0.3.0

Latest

Choose a tag to compare

@avalonreset avalonreset released this 02 Dec 15:47

Highlights

  • YouTube Data API v3 2026 Policy & Readback Hardening:
    • Retries stale YouTube Data API v3 readbacks with bounded exponential backoff in metadata-apply while failing closed immediately on privacyStatus drift.
    • Added videos:batchGetStats support (YouTubeClient.batch_get_video_stats, CLI batch-stats, and dedicated 10,000/day granular quota bucket in quota.py).
    • Raised MAX_THUMBNAIL_BYTES from 2 MB to 50 MB (2026-09-14 thumbnails.set revision) and added 9:16 Shorts thumbnail support (720x1280+) in thumbnail-check.
    • Added explicit paidProductPlacementDetails (hasPaidProductPlacement: False default, opt-in --paid-product-placement on draft-freeze) to videos.insert payloads (2026-11-16 API policy) while locking privacyStatus="private".
    • Surfaced the 2026-11-16 TV co-views metric boundary note across analytics-audit, packaging-audit, batch-stats, and docs/AGENT-RECIPE.md.
  • yt-dlp Security Floor & Word-Ledger Handoff:
    • Tightened dependency to yt-dlp[default]>=2026.10.26 (MIN_SAFE_YTDLP_VERSION = (2026, 10, 26)) and added advisory yt_dlp_ejs reporting in legends-yt-dlp doctor.
    • Added *.words.jsonl word-ledger ingestion to load_transcript_segments so legends-yt-dlp word ledgers feed directly into transcript-package and retention-xray.
    • Added explicit --dotenv + --token-file OAuth client pairing and heatmap float redaction fixes.
  • Router & Ecosystem Parity:
    • Added machine-readable routes.json covering both legends-youtube and legends-yt-dlp commands with quota and cost metadata.
    • Synced vendored cto-legends router skill pin (ff90a8bd2348).

Verification

  • Verified offline suite (135 tests PASS), scripts/check_release.py (0 issues), and live read-only YouTube Data API v3 batchGetStats + heatmap + OAuth token checks.
  • Standardized release assets (legends-youtube-0.3.0-bundle.tar.gz, Python wheel, source distribution, and SHA256SUMS.txt).