github yinan-c/RSSbrew v2025.6

5 months ago

What's New

Breaking Changes

  • OPENAI_DEFAULT_MODEL environment variable removed - Use App Settings in admin UI instead

Bug Fixes

  • Fixed HTML markup causing false positive filter matches in content
  • Regex matching issue (Please submit issues if there are still are regex related bugs):
    • Resolved a bug where regex expression will be lowered
    • Fixed leading/trailing spaces affecting regex patterns with $

New features

  • #24: Static HTML Digest Pages
  • Global AI settings: Master on/off switch and default models for all AI features through App Settings
  • New management commands:
    • pythoon manage.py optimize_db (to clean up empty entries in databases)
    • python manage.py clean_admin_logs command and scheduled maintenance tasks for automatic cleanup
    • python manage.py set_article_limits command to reset the number of articles in original feeds (new default: 500)

Improvements

  • Performance: Limited processed feed entries, added database indexes for optimized query and sorting
  • Admin interface: Sortable summary article numbers, new emojis for digests (🤖 for AI-generated digests, ✅ for enabled digests without AI, ❌ for disabled digests)
  • Logging: Smaller log file rotation
  • Enforced singleton pattern for App setting (only allow one app setting)
  • Enhanced XML parsing security with defusedxml
  • Code quality: corrected type checking errors and improved code robustness with proper None checks

更新内容

Breaking Changes

  • 移除了 OPENAI_DEFAULT_MODEL 环境变量 - 请改用管理界面中的应用设置

Bug Fixes

  • 修复了内容中 HTML 标记导致过滤器误判的问题
  • 正则表达式匹配问题 (如果有更多正泽表达式的问题请提交 issue):
    • 解决了正则表达式被转换为小写的错误
    • 修复了前后空格影响带 $ 符号的正则表达式的问题

New features

  • #24:静态 HTML 摘要页面
  • 全局 AI 设置:通过应用设置提供所有 AI 功能的总开关和默认模型
  • 新增管理命令:
    • python manage.py optimize_db(清理数据库中的空条目)
    • python manage.py clean_admin_logs 命令以及自动清理的定时维护任务
    • python manage.py set_article_limits 命令用于批量重置原始订阅源中的文章数量(新默认值:500)

Improvements

  • 性能:限制了处理的订阅条目数量,添加了数据库索引以优化查询和排序
  • 管理界面:总结的文章数量变为可排序列,为 AI 生成的摘要添加 emoji(🤖 是 AI 摘要,✅ 是普通摘要,❌ 是未开启摘要)
  • 日志:缩小了日志文件轮转大小
  • 强制应用设置使用单例模式(只允许一个应用设置)
  • 使用 defusedxml 增强了 XML 解析安全性
  • 代码质量:纠正了类型检查错误,适当的 None 检查

Don't miss a new RSSbrew release

NewReleases is sending notifications on new releases.