Skip to content

Commit a427d6b

Browse files
committed
Enforce 1000-char limit and update docs/UI
Added a 1000-character ceiling with sentence-aware splitting to core clients, CLI, and web API. Updated README (EN/ZH), UI badges, translations, and Dockerfile to document and support the new limit. Docker image now bundles ffmpeg for out-of-the-box MP3 auto-combine. Changelog and web documentation refreshed to reflect these changes.
1 parent 053cf2f commit a427d6b

22 files changed

+160
-1616
lines changed

CHANGELOG.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8-
## [3.3.0-beta1] - 2025-09-22
8+
## [3.3.1] - 2025-10-18
99

1010
### Changed
11-
- Promoted the release to **beta1** now that HTTP endpoints are stable and long-text combining no longer depends on external ffmpeg tooling.
12-
- No additional functional changes beyond the alpha5 hotfixes; this is a stability re-tag for broader testing.
11+
- Enforced a 1000-character ceiling across the core clients, CLI, and web API, with sentence-aware splitting that falls back to word chunks when required.
12+
- Refreshed the README (EN/ZH), translations, and UI badges to document the new limit and updated release version.
13+
- Bundled `ffmpeg` inside the runtime Docker image so MP3 auto-combine succeeds out of the box without manual package installs.
14+
15+
### Testing
16+
- `pytest`
17+
- Manual `/v1/audio/speech` request (≈1.6k chars) exercised Docker auto-combine; returned `X-Chunks-Combined: 2` and a playable MP3.
1318

1419
## [3.3.0-alpha5] - 2025-09-19
1520

@@ -265,7 +270,7 @@ pip install ttsfm[web]
265270
pip install ttsfm[dev]
266271

267272
# Docker
268-
docker run -p 8000:8000 ghcr.io/dbccccccc/ttsfm:latest
273+
docker run -p 8000:8000 dbcccc/ttsfm:latest
269274
```
270275

271276
### 🚀 Quick Start
@@ -365,5 +370,3 @@ The following versions were service/API server releases only and were not availa
365370

366371
### [1.0.0] - 2025-03-26
367372
- First service release
368-
369-

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ ENV PYTHONDONTWRITEBYTECODE=1 \
2828

2929
WORKDIR /app
3030

31+
RUN apt-get update \
32+
&& apt-get install -y --no-install-recommends ffmpeg \
33+
&& rm -rf /var/lib/apt/lists/*
34+
3135
RUN useradd --create-home --shell /usr/sbin/nologin ttsfm
3236

3337
COPY --from=builder /install /usr/local

0 commit comments

Comments
 (0)