v1.3.18
microsoft/playwrightv1.3.18Jul 19, 2026by github-actions[bot]
AI Summary
A patch release that fixes CLI subtitle segmentation issues reported in the previous version, ensuring proper sentence-level timestamp output and safe handling of malformed data.
Key Highlights
- Fixed SRT/TSV subtitle output to request sentence-level timestamps from AutoModel.generate
- Added punctuation model loading for SenseVoice-style CLI runs
- Improved single-cue fallback with valid timestamp/audio bounds
- Fixed SRT millisecond formatting to avoid float truncation drift
- Added safe handling for malformed timestamp entries
Full Release Notes
## Install ```bash python -m pip install -U "funasr==1.3.18" ``` ## What changed This patch release ships the CLI subtitle segmentation fix from #3254 for the user-reported #3253 regression in `funasr ... --output-format srt`. - SRT/TSV output now requests sentence-level timestamps from `AutoModel.generate`. - Subtitle generation loads the punctuation model when needed for SenseVoice-style CLI runs. - Single-cue fallback now uses known timestamp/audio bounds instead of an invalid placeholder duration. - SRT millisecond formatting now avoids float truncation drift. - Malformed timestamp entries are skipped safely instead of crashing fallback formatting. ## Verification - `python3 -m pytest tests/test_cli.py tests/test_generate_subtitle.py tests/test_punc_model_none.py -q` -> 9 passed - `python3 -m py_compile funasr/cli.py tests/test_cli.py setup.py` - `python3 -m build --outdir dist` - `twine check dist/*` - Wheel content check confirmed version `1.3.18`, console entry point, subtitle timestamp request, punctuation setup, and safe timestamp parsing. ## Artifacts - PyPI: https://pypi.org/project/funasr/1.3.18/ - Wheel SHA-256: `20e85f86e5b700a1f2b9b496e92076d0787272eafeb9716caa9fdf6f1c4b9a77` - Source tarball SHA-256: `31502e2395f336ab12d158a55fadb305678252872572e4bde120828128c25923`