Files
CodexandClaude Opus 4.7 e35e8a85bd 建立版本管理体系:CHANGELOG + bump 脚本 + pyproject 元数据 + 一致性测试
新增:
- CHANGELOG.md:Keep a Changelog 1.1.0 格式,回填 V3.0.0–V3.3.3 历史
- tools/dev/bump_version.py:一键 bump major/minor/patch,
  同步 version.py / pyproject.toml / CHANGELOG.md,并创建 git tag。
  支持 --dry-run / --no-tag。
- tests/test_version_consistency.py:9 个用例确保
  version.py、pyproject.toml、CHANGELOG.md 三处版本号一致

修改:
- pyproject.toml 加 [project] 元数据,version=3.3.3(PEP 440 形式,
  与 douyin/core/version.py 同步;后者带 V 前缀,是单一事实来源)

后续会给 V3.0.0 → V3.3.3 补打 git tag。

回归:353 个 pytest 用例通过;bump_version dry-run 三种模式(patch/minor/major/set)
全部输出正确。

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-21 15:17:56 +08:00

146 lines
3.7 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Changelog
本项目所有显著变更都会记录在这里。
格式遵循 [Keep a Changelog](https://keepachangelog.com/zh-CN/1.1.0/),
版本号遵循 [Semantic Versioning](https://semver.org/lang/zh-CN/)(带 `V` 前缀,如 `V3.3.3`)。
变更类型:
- `Added` 新增
- `Changed` 调整
- `Deprecated` 即将废弃
- `Removed` 已移除
- `Fixed` 修复
- `Security` 安全相关
## [Unreleased]
### Added
- 引入完整的版本管理体系:
- `CHANGELOG.md`(Keep a Changelog 1.1.0 格式)
- `tools/dev/bump_version.py`(自动 bump major/minor/patch + 同步 `version.py` / `pyproject.toml` / `CHANGELOG.md` + 创建 git tag)
- `[project]` 元数据加入 `pyproject.toml`,与 `douyin/core/version.py` 保持单一事实来源
- 给所有历史版本(V3.0.0 → V3.3.3)补齐 git tag
### Changed
- README「版本更新日志」段简化为指向 `CHANGELOG.md` 与 git tags
## [V3.3.3] — 2025-12-28
### Added
- 30 分钟超时保护机制:长时间无成功参与时自动返回推荐页重启流程
### Fixed
- 模板与截图路径配置统一,使用 `douyin/core/path_config.py`
- 直播间检测模板文件路径错误
- GUI / Web GUI 中行为日志读取路径
### Changed
- 路径配置全量统一化:用 `path_config.py` 集中管理,简化维护
- 行为日志路径统一为 `path_config.get_actions_log_path()`
- 流程图与文档:反映 30 分钟超时检查、阶段诊断步骤、预约回退子流程
## [V3.3.2] — 2025-12-25
### Fixed
- 预约回退功能不生效:
- `needswitch` 配置未从 `config.json` 正确加载
- `self.reservations` 未从状态文件加载
- 预约回退逻辑加详细调试日志
### Changed
- 每次 `run_once_basic` 自动从状态文件加载预约队列,确保始终包含最新数据
## [V3.3.1] — 2025-12-14
### Added
- `live_room_match_threshold`:直播间检测阈值可配置
- `fudai_icon_max_wait_seconds`:福袋图标检测等待时间可配置
### Fixed
- 直播间检测模板文件路径警告
### Changed
- 阶段检测优先使用像素检测
- 合并阶段 1.5 与阶段 3 的 OCR 检测以减少冗余
## [V3.3.0]
### Changed
- 模块化重构:核心代码按职责拆分到 `douyin/` 各子包
- 阶段检测策略调整:像素检测优先
### Added
- GUI 截图 + OCR 联合调试功能
- 桌面 GUI「强制停止」按钮
### Fixed
- 多个已知问题(详情见 commit 历史)
## [V3.2.0]
### Added
- 高价值福袋预约功能(`high_value_fudai_*` 配置族)
- 高价值直播间回访功能(`high_value_room_revisit_*`)
### Changed
- 推荐页养号逻辑优化
## [V3.1.0]
### Added
- 推荐页养号功能:自动点赞 / 收藏 / 评论(按概率)
### Changed
- OCR 识别准确率提升
## [V3.0.0]
### Changed
- **重大更新**:OCR 引擎从 pytesseract 切换到 PaddleOCR
### Added
- 自动分辨率适配
### Fixed
- 大量已知问题
## V2.x
- 多分辨率支持
- 稳定性提升
- 各种 bug 修复
## V1.x
- 基础功能:福袋检测、参与、自动领奖
[Unreleased]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.3.3...HEAD
[V3.3.3]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.3.2...v3.3.3
[V3.3.2]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.3.1...v3.3.2
[V3.3.1]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.3.0...v3.3.1
[V3.3.0]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.2.0...v3.3.0
[V3.2.0]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.1.0...v3.2.0
[V3.1.0]: https://git.simgreek.com/simgreek/douyi_guaji_main/compare/v3.0.0...v3.1.0
[V3.0.0]: https://git.simgreek.com/simgreek/douyi_guaji_main/releases/tag/v3.0.0