Skip to content

FeedCourier v0.1.4

Choose a tag to compare

@github-actions github-actions released this 18 Nov 03:23
· 7 commits to main since this release
b5f93da

Added

  • System Locale Persistence & Localized Push Templates (src/channels/, src/api/, web/):
    • Added AppLocale (en / zh-CN) backed by SQLite system_settings.locale (with optional LOCALE environment variable preset and partial { "locale": ... } hot-updates on GET/PUT /api/v1/settings), automatically synchronized whenever the administrator signs into the WebUI or switches UI languages.
    • Localized fixed notification strings across Telegram (Link / 链接, Media N / 媒体 N, Read original / 阅读原文, truncation notice, and channel test messages) and SMTP email templates (Read original → / 阅读原文 →, truncation notice, and footer).

Changed

  • Native Multi-Runner Container Builds & Cargo Dependency Layer Caching (.github/workflows/release.yml, Dockerfile):
    • Replaced QEMU user-mode linux/arm64 emulation in the release workflow with parallel native builds on ubuntu-24.04 (linux/amd64) and ubuntu-24.04-arm (linux/arm64) using push-by-digest, followed by docker buildx imagetools create multi-arch manifest merging.
    • Added a version-neutral cargo-recipe manifest sanitization stage in Dockerfile so Cargo dependency compilation layers remain cached across semantic version bumps.
  • Telegram media_mode Hyperlink Captions (src/channels/telegram.rs):
    • Switched MediaMode captions and zero-media fallback messages to parse_mode: "HTML", rendering the source permalink as a clean <a href="...">Link</a> (链接 in zh-CN) hyperlink and compactly appending oversized media fallbacks on the same line ( · Media N / · 媒体 N).
  • Minimalist OpenGraph & Social Preview Banner (docs/):
    • Replaced docs/public/og-image.png with a streamlined 1280×640 (2:1) dark topographic signal-wave brand banner (og:image:width = 1280, og:image:height = 640).

Fixed

  • Telegram media_mode Inline Video Playback & Pure-Rust MP4 Metadata Extraction (src/channels/telegram.rs):
    • Bypassed Telegram's direct URL pass-through for Video attachments and ambiguous/extensionless <enclosure> items so origin CDNs omitting .mp4 extensions or serving application/octet-stream never cause Telegram to silently downgrade videos into unpreviewable Document files.
    • Added magic-byte container sniffing (sniff_media_bytes) to promote misclassified attachments and normalize video multipart uploads to video/mp4 + .mp4, paired with a zero-dependency ISO-BMFF (MP4/MOV/M4V) moov -> mvhd / tkhd / stsd parser (parse_mp4_metadata, including 90°/270° portrait rotation matrix handling) so sendVideo and sendMediaGroup (InputMediaVideo) always carry supports_streaming: true, width, height, and duration.

What's Changed

Maintenance & Dependencies

  • chore(release): release v0.1.4 with native multi-arch Docker builds, Telegram video streaming, localized captions, and updated OG banner by @ElleryHe in #18

Full Changelog: v0.1.3...v0.1.4