From aa705aef90336354acf6fbfc5bd379c4d5fcd0c7 Mon Sep 17 00:00:00 2001 From: YoursFunny Date: Thu, 13 Aug 2026 22:52:38 +0800 Subject: [PATCH] chore: bump version to 1.2.0 New in 1.2.0: - feat: debounced inline queries, bounded graceful shutdown, config fail-fast on invalid env values - fix: local-media tasks (ugoira/bsky MP4) survive queue retries, photo-first ordering in mixed media groups, caption truncation to Telegram's 1024-char limit - perf: SQLite connection pool, concurrent upload-fallback downloads, ugoira zip streamed to disk, photo processing without re-reading the temp file, release profile LTO - ci: test/clippy gate + layered live/token job - docs: English README (README.en.md) --- AGENTS.md | 2 +- Cargo.lock | 4 ++-- crates/x-media/Cargo.toml | 2 +- crates/xmedia-bot/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 987dd63..2ea52ff 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -4,7 +4,7 @@ Telegram bot (teloxide) that turns post links from X/Twitter, Pixiv, and Bluesky into media messages (images, video, GIF) with the post's title, author, and tags. It supports batch media splitting, retry with persistence, inline queries, forward-channel rebinding with caption templates, and Pixiv ugoira→MP4 transcoding. README and user-facing strings are in Chinese. The project is a Rust port of a Python predecessor (see `queue.rs` comments referencing `utils/task_queue.py`). -Two-crate Cargo workspace (both v1.1.1, edition 2024, resolver 3): +Two-crate Cargo workspace (both v1.2.0, edition 2024, resolver 3): - **`crates/x-media`** — library that fetches and normalizes media from the three sites. Pure, no Telegram knowledge. - **`crates/xmedia-bot`** — the bot binary: teloxide dispatcher, SQLite-backed chat state, persistent task queue. diff --git a/Cargo.lock b/Cargo.lock index 6605102..0215f35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2925,7 +2925,7 @@ checksum = "1ffae5123b2d3fc086436f8834ae3ab053a283cfac8fe0a0b8eaae044768a4c4" [[package]] name = "x-media" -version = "1.1.1" +version = "1.2.0" dependencies = [ "bytes", "dotenv", @@ -2944,7 +2944,7 @@ dependencies = [ [[package]] name = "xmedia-bot" -version = "1.1.1" +version = "1.2.0" dependencies = [ "bytes", "dotenv", diff --git a/crates/x-media/Cargo.toml b/crates/x-media/Cargo.toml index c97cefa..8af18e9 100644 --- a/crates/x-media/Cargo.toml +++ b/crates/x-media/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "x-media" -version = "1.1.1" +version = "1.2.0" edition = "2024" [dependencies] diff --git a/crates/xmedia-bot/Cargo.toml b/crates/xmedia-bot/Cargo.toml index f2c1e3c..d49452a 100644 --- a/crates/xmedia-bot/Cargo.toml +++ b/crates/xmedia-bot/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "xmedia-bot" -version = "1.1.1" +version = "1.2.0" edition = "2024" [dependencies]