Skip to content

v5.0.0

Latest

Choose a tag to compare

@xtrime-ru xtrime-ru released this 08 Nov 23:11
· 1 commit to master since this release

Features & Improvements

  • Added shared caching for Telegram messages and peer information across RSS, JSON, and media requests, reducing repeated API calls. Enabled by default, with optional zstd compression.
  • Reuse cached history for media lookups and merge concurrent requests for the same data.
  • Preserve cached data and active FLOOD_WAIT cooldowns across graceful restarts.
  • Serve feeds from stale cached data during FLOOD_WAIT, while keeping other channels available.
  • Added per-client sliding-window rate limits, with separate quotas for feeds and media. Authenticated users share their quota across IP addresses.
  • Added Cache-Status response headers and cache/rate-limit metrics in access logs.
  • Cancel upstream requests and media streams when clients disconnect.
  • Updated dependencies, including Amp File 4 and Symfony 8.

Fixes

  • Fixed RSS item titles to use the first line of each message.
  • Improved API response validation and handling of missing avatars.
  • Disabled nginx buffering for media streams.
  • Added Retry-After headers for rate limits, temporary bans, and FLOOD_WAIT responses.
  • Fixed graceful shutdown and dependency installation on startup.

Requirements

  • PHP 8.4.1+.
  • Optional ext-zstd 0.18+ for cache compression.

Full Changelog: v4.5.0...v5.0.0