25 lines
1.2 KiB
Python
25 lines
1.2 KiB
Python
import re
|
|
|
|
with open('CHANGELOG.md', 'r') as f:
|
|
content = f.read()
|
|
|
|
new_entry = """## [1.22.0] — 2026-08-23
|
|
|
|
### Added
|
|
- **Audiobook Export Modal.** Introduced a comprehensive GUI for exporting audiobooks directly from the Rehearser.
|
|
- **Granular Export Controls.** Users can now select specific chapters to export, define the output format (one MP3 per chapter vs. single book file), and configure custom server-side save locations.
|
|
- **Pacing Configuration.** Added UI settings to adjust pacing with precise pause durations between paragraphs and chapters.
|
|
- **Tone Warning Integration.** Warnings for out-of-bounds tone settings are now displayed within the export modal for safety before batch generation.
|
|
|
|
### Fixed
|
|
- **UI Synchronization.** Fixed an issue where the Rehearser's green dots for cached audio lines would not synchronize reliably during navigation updates.
|
|
- **Bundle Stability.** Addressed a script hoisting issue in the production bundle that caused silent initialization failures and a "Loading..." stall.
|
|
|
|
"""
|
|
|
|
content = content.replace("---\n\n## [1.21.1]", "---\n\n" + new_entry + "## [1.21.1]")
|
|
|
|
with open('CHANGELOG.md', 'w') as f:
|
|
f.write(content)
|
|
|