Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,14 @@

## [Unreleased]

## [1.0.1] - 2026-10-13

### Fixed

- 章节笔记:章节目录产物现在记录实际锚定的数据来源(缓存结构化对话 / 原始转写分片),笔记按同一来源精确复现。此前目录标成「原始分片」却实际锚在缓存对话上,笔记必然指纹校验失败且无法生成(生产事故:BV1fcHD6cEw3)。标签声明的来源已不存在时直接报错,不再默默换成另一份数据。
- 章节目录:模型按主题弧线而非时间序返回章节时(每章时间锚点正确),章节层不再整体失败,改为按时间排序归一化(排序改变顺序时记入日志,含错位数与 LIS 统计)。此前此类输出会导致整个视频无章节目录(生产事故:BV1fcHD6cEw3)。
- 章节生成失败原因现在落盘到任务状态的 llm_status.json(chapters_error 字段),不再只出现在服务日志里;补跑成功后旧失败原因自动清除。
- 章节生成失败原因现在落盘到任务状态的 llm_status.json(chapters_error 字段),不再只出现在服务日志里;任务正常结束或补跑成功后旧失败原因自动清除。
- 本地上传:接收失败时不再漏放请求槽位与在途资源,未移交的上传目录与临时空间配额会被完整释放。此前一次接收失败可能导致槽位被占、后续上传被拒或临时媒体残留。

## [1.0.0] - 2026-10-10

Expand Down
4 changes: 2 additions & 2 deletions e2e/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion e2e/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video-transcript-api-browser-tests",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"description": "Blocking Chromium regression tests for the existing VideoTranscriptAPI web pages",
"scripts": {
"test": "node run-browser-tests.mjs"
Expand Down
10 changes: 5 additions & 5 deletions e2e/tests/local-upload.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ test('upload page selects local media, submits raw bytes with metadata headers,
},
});

// Assert UI feedback shows accepted receipt
await expect(page.locator('#status-content')).toContainText('文件上传成功,任务已受理!');
await expect(page.locator('#status-content')).toContainText('上传ID:');
await expect(page.locator('#status-content a[href^="/view/"]')).toBeVisible();

// Assert actual raw body bytes captured by browser server fixture
const lastUploadRes = await request.get(`${baseURL}/__e2e__/last-upload`);
expect(lastUploadRes.status()).toBe(200);
Expand All @@ -128,11 +133,6 @@ test('upload page selects local media, submits raw bytes with metadata headers,
expect(lastUpload.raw_bytes_sha256).toBe(expectedSha256);
expect(lastUpload.filename).toBe('测试音频.mp3');
expect(lastUpload.byte_size).toBe(fileBytes.length);

// Assert UI feedback shows accepted receipt
await expect(page.locator('#status-content')).toContainText('文件上传成功,任务已受理!');
await expect(page.locator('#status-content')).toContainText('上传ID:');
await expect(page.locator('#status-content a[href^="/view/"]')).toBeVisible();
});

test('upload page prevents double submission on duplicate clicks', async ({ page }) => {
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "video-transcript-api-web",
"private": true,
"version": "1.0.0",
"version": "1.0.1",
"description": "JS unit tests (vitest) for the PWA front-end assets of VideoTranscriptAPI",
"scripts": {
"test:web": "vitest run",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "video-transcript-api"
version = "1.0.0"
version = "1.0.1"
description = "基于Python的视频转录API服务,支持从多个平台下载视频并转录为文字"
requires-python = ">=3.11"
dependencies = [
Expand Down
2 changes: 1 addition & 1 deletion src/video_transcript_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
一个基于Python的视频转录API服务,支持从多个平台下载视频并转录为文字。
"""

__version__ = "1.0.0"
__version__ = "1.0.1"
__author__ = "视频转录API团队"

# 导出主要组件
Expand Down
2 changes: 1 addition & 1 deletion src/video_transcript_api/api/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ async def lifespan(app: FastAPI):
app = FastAPI(
title="VideoTranscriptAPI",
description="视频转录API服务",
version="1.0.0",
version="1.0.1",
lifespan=lifespan,
)

Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading