Skip to content

Releases: Lemonawa/music163bot-rust

v1.1.18

03 Mar 10:18
eace28f

Choose a tag to compare

v1.1.17

23 Feb 05:14
6c911a4

Choose a tag to compare

Full Changelog: v1.1.16...v1.1.17

v1.1.16

08 Feb 12:29
1bea645

Choose a tag to compare

What's Changed

  • build(deps): bump bytes from 1.11.0 to 1.11.1 by @dependabot[bot] in #3
  • build(deps): bump time from 0.3.46 to 0.3.47 by @dependabot[bot] in #4

Full Changelog: v1.1.15...v1.1.16

v1.1.15

03 Feb 13:52
c20fc1a

Choose a tag to compare

Full Changelog: v1.1.14...v1.1.15

v1.1.14

03 Feb 11:34
dfc6ec0

Choose a tag to compare

Full Changelog: v1.1.13...v1.1.14

v1.1.13

01 Feb 06:36
c9021f3

Choose a tag to compare

Full Changelog: v1.1.12...v1.1.13

v1.1.12

01 Feb 02:37
f06e0b4

Choose a tag to compare

Full Changelog: v1.1.11...v1.1.12

v1.1.11

31 Jan 12:01
94390c8

Choose a tag to compare

Full Changelog: v1.1.10...v1.1.11

v1.1.10

31 Jan 07:10
9bb6f74

Choose a tag to compare

Full Changelog: v1.1.9...v1.1.10

v1.1.9

31 Jan 06:29
571c68c

Choose a tag to compare

Release v1.1.9 - Performance & Optimization Update

🚀 Major Improvements

Binary Size Reduction (-63%)

This release dramatically reduces the binary size through aggressive optimization:

  • Before: 15MB
  • After: 5.6MB

Optimizations applied:

  • Fine-tuned dependency features (chrono, config, tracing-subscriber)
  • Enabled Link-Time Optimization (LTO) and symbol stripping
  • Used size-optimized compilation profile (opt-level = "z", panic = "abort")

Memory Management Enhancements

  • jemalloc tuning: Improved memory release strategy with decay + purge approach
  • System info caching: Cached sysinfo::System object to eliminate repeated allocations
  • Smart storage limits: Respects memory_threshold configuration for in-memory file processing
  • Concurrency control: Reduced default concurrent downloads from 10 to 3 (configurable)

Database Performance

  • SQLite WAL mode: Enabled Write-Ahead Logging for better concurrency
  • Busy timeout: Added 30-second timeout to prevent locking issues

Runtime Efficiency

  • HTTP connection pools: Tuned for different use cases (2 idle for main API, 0 for uploads)
  • FLAC processing: Optimized cover art dimension detection using ImageReader instead of full image decode
  • String allocations: Eliminated unnecessary replace() calls in URL parsing

📦 Cleanup & Maintenance

Removed Redundancies

  • Deleted unused ini crate dependency
  • Removed obsolete database2.rs module
  • Cleaned up AGENTS.md documentation

Configuration Updates

New option in config.ini:

[download]
max_concurrent = 3  # Control parallel download limit

Full Changelog: v1.1.8...v1.1.9