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
16 changes: 11 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,31 @@ the pre-release development history.

## [Unreleased]

## [0.1.0] - Pending release

### Added

- Workbook reference facts and conservative dependency queries; chart/image semantic blocks
with source evidence and partial-result diagnostics.
- Versioned Workbook Bundle v1, queries, `workbook-json` CLI export and frozen compatibility fixture.
- Fixed-token and sliding-window chunkers, registry and CLI options; repository Agent Skill.
- Optional formula/name/table/visibility/dependency truth metrics and Bundle contract metrics.
- Optional immutable progress events for PDF, Excel and concurrent batches; CLI `--progress`
writes to stderr, with callback failure isolation and no new core dependencies.

### Fixed

- Classify typed timeout causes without misclassifying invalid timeout options.
- Preserve drawing-reader loss and unresolved chart source diagnostics; unify repository Ruff gates.
- Preserve quoted Sheet names, avoid quadratic scans for direct formula dependencies, and reject
Bundle inputs missing query fields.

### Added
### Release scope

- Optional immutable progress events for parsing and concurrent batches, with
PDF page/engine progress, Excel stages, callback failure isolation, and CLI
`--progress` output on stderr. Unknown progress remains unspecified; no new
core dependencies or persisted task service.
- Core runtime dependencies remain empty. Format/model support is installed through extras.
- Rich Excel results cover OOXML; formulas are retained without evaluation or external-file access.
- Existing real samples provide regression evidence; independent business holdout remains open.
- See [v0.1.0 release scope](docs/RELEASE_0.1.0.md) for supported paths and known limits.

## [0.1.0rc2] - 2026-09-08

Expand Down
20 changes: 20 additions & 0 deletions CHANGELOG_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,32 @@

## [未发布]

## [0.1.0] - 待发布

### 新增

- 公式、名称、原生 Table 和外部引用事实,保守依赖血缘查询及分析 chunks。
- 图表系列/轴/跨 Sheet 数据来源与图片对象进入结构、渲染和 chunks。
- Workbook Bundle v1、查询、Schema、冻结兼容样例与 `workbook-json` CLI。
- 固定词法/滑动窗口分块、注册表与 CLI;Agent Skill 和接入示例。
- 可选事实真值指标与 Bundle 来源/结构/往返稳定性指标。

- 新增可选 `progress_callback` 与不可变进度事件,覆盖 PDF 页/引擎进度、Excel
阶段和并发批次完成数;CLI `--progress` 输出到 stderr。未知进度保持空值,
普通回调异常不影响解析,不增加核心依赖。

### 修复

- 超时类型与原因链分类,图表无法解析引用和读入丢失对象的部分解析诊断。
- 含单引号的 Sheet 引用、单格血缘平方级扫描及 Bundle 缺查询字段校验。
- 全仓 Ruff 与格式门禁统一。

发布范围与验收边界见 [v0.1.0 发布说明](docs/RELEASE_0.1.0.md)。

## [0.1.0rc2] - 2026-09-08

### 新增

- 新增真实样本本地回归脚本:固定源文件 hash,独立核对源事实、分块值与来源引用,
执行显式语义标注和本地 OCR 检查,并生成源文件与解析结果对照报告。私有数据保持
Git 忽略;语义差异返回非零退出码,不自动宣称生产就绪。
Expand Down
1 change: 1 addition & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ include docs/WORKBOOK_BUNDLE.md docs/CHUNKING.md
recursive-include skills/langparse *.md
include examples/agent_ingestion.py
recursive-include tests/fixtures *.json
include docs/RELEASE_0.1.0.md
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ The current release candidate is `0.1.0rc2`. Core multi-format parsing,
structured OOXML workbooks, semantic chunking, batch processing, quality checks,
and CI are available today. LangParse remains pre-1.0; see
[docs/PROGRESS.md](docs/PROGRESS.md) for the module-by-module source of truth and
known gaps.
known gaps. Source version `0.1.0` is being prepared; see the
[release scope](docs/RELEASE_0.1.0.md).

## Why LangParse?

Expand Down Expand Up @@ -703,7 +704,7 @@ See [CHANGELOG.md](CHANGELOG.md) ([中文](CHANGELOG_cn.md)) for release notes a
## License
This project is licensed under the [Apache 2.0 License](https://www.apache.org/licenses/LICENSE-2.0).

### 新增能力(Unreleased)
### v0.1.0 capabilities (pending release)

- [Workbook Bundle 与查询](docs/WORKBOOK_BUNDLE.md)
- [分块策略与 CLI](docs/CHUNKING.md)
Expand Down
5 changes: 3 additions & 2 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,8 @@ PDF 和 Word 能力让 LangParse 覆盖完整文档管道;Excel 是项目主

当前公开候选版本为 `0.1.0rc2`。多格式解析、OOXML 工作簿结构化、语义分块、
批处理、质量检查和 CI 已可用。项目仍处于 pre-1.0;各模块的真实完成度和已知缺口
以 [docs/PROGRESS.md](docs/PROGRESS.md) 为准。
以 [docs/PROGRESS.md](docs/PROGRESS.md) 为准。源码已准备 `0.1.0`,
正式发布范围见 [发布说明](docs/RELEASE_0.1.0.md)。

## 为什么选择 LangParse?

Expand Down Expand Up @@ -466,7 +467,7 @@ langparse benchmark samples/public.example.json --engine mineru --output-dir rep

benchmark 报告会记录成功率、耗时、页数/秒、表格数量、OCR 指标、多列顺序告警、页眉页脚过滤数量,以及图像/图表 metadata 覆盖情况。

### 解析进度(未发布)
### 解析进度(v0.1.0 待发布)

`AutoParser`、`ParseService` 和 `PDFParser` 的解析调用支持可选的
`progress_callback`。回调接收不可变的 `ProgressEvent`,默认不输出进度、不增加依赖。
Expand Down
7 changes: 3 additions & 4 deletions docs/PROGRESS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# LangParse 研发进度

**版本**: 0.1.0rc2(候选版)
**源码版本**: 0.1.0(待发布;PyPI 当前仍为 0.1.0rc2)
**必需依赖**: 无(按格式安装 extras)
**最后更新**: 2026-10-10
**验证范围**: 本轮按模块和具体用例回归,未运行全量测试;历史全量记录为
2026-09-16 的 839 passed、1 skipped。本轮功能属于 Unreleased。
2026-09-16 的 839 passed、1 skipped。本轮功能已合并,纳入待发布的 0.1.0。

### 2026-10-10 问题修复

Expand Down Expand Up @@ -83,8 +83,7 @@ Excel 则不止提取文本,而是尽可能保留事实、恢复业务结构
包含回调故障隔离、并发通知及最终排序、失败/跳过/输出失败、阶段百分比与参数隔离测试。
仓库公开 Excel 样本已实际验证单文件分块、两文件并发批处理和 CLI stdout JSON /
stderr 进度分离。PDF 本轮通过模拟引擎测试,不代表重新验证模型推理或远程 MinerU 服务。
`ruff check langparse tests` 和对应格式检查通过;仓库级检查仍有未改动的 examples /
下载脚本中的 60 项 lint 问题及全局 17 个格式问题。该能力尚未发布。
历史局部门禁已通过;全仓 lint/format 遗留问题已在 2026-10-10 修复。该能力纳入待发布的 0.1.0。

### Golden 验收与安装包收尾(2026-09-08)

Expand Down
33 changes: 33 additions & 0 deletions docs/RELEASE_0.1.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# v0.1.0 发布范围与验收

状态:版本与发布说明已准备,正式 GitHub Release / PyPI 发布尚未执行。

## 支持范围

- Python 3.10+,标准库 logging,核心运行时依赖为空;按格式安装 extra。
- Markdown、DOCX、CSV 和 Excel 统一解析/分块/批处理/CLI;PDF 使用现有 Simple、MinerU、DeepDoc 后端,模型与服务按需配置。
- `.xlsx/.xlsm` 保留单元格事实、合并/可见性、逻辑表/表单/矩阵/文本与跨 Sheet 续接;来源范围可追溯。
- 引用事实、名称、原生 Table 和保守血缘查询;图表系列与图片对象结构。
- Workbook Bundle schema v1、查询与 `workbook-json` CLI;默认省略原始单元格并预览最多 200 行,完整导出显式配置。
- 固定词法、滑动窗口与语义分块;Excel retrieval/analysis profiles 保留结构证据。
- 可选进度回调与 Agent Skill;模型消歧显式 opt-in。

## 已知限制

- 不计算公式,不读取外部工作簿;动态或不支持引用保留明确诊断。
- `.xls/.xlsb` 不提供与 OOXML 同等丰富的工作簿结果;图片默认不识别内部文字/语义,WPS DISPIMG 视觉内容未验收。
- 固定分块默认使用词法单元,模型 token 需要调用方注入 codec。
- DeepDoc 复杂扫描版式的模型质量由 #12 暂缓跟踪;Paddle/Vision LLM 后端仍未实现。
- 现有业务样本已参与修复,验证属于回归;独立 holdout、业务分布阈值和模型生产效果验收由 #7 跟踪。发布版本不改变 `production_ready` 判定。

## 当前验收证据

- PR #13 三路审查完成,修复已复核;Python 3.10–3.13 CI 与各版本安装 wheel 冒烟通过。
- 既有 Golden 六份有效文件:10,833 项语义检查零失败。补充路径的预算工作簿:15 Sheet、2,852 个非空单元格、290 个合并范围对照通过,138 项检查零失败,两种分块保留 236 条逻辑行。
- 补充预算文件与此前样本哈希一致,复用原冻结标注,不能重复计为独立未见样本。私有源文件、清单和报告不发布。
- 本次版本准备只执行静态门禁、锁文件一致性、构建、分发元数据与隔离安装验证;不为版本号改动增加单测或重跑本机全量。

## 正式发布顺序

合并发布准备 PR,确认目标 main 提交的 CI,通过最终发布确认后创建 `v0.1.0` Release。
既有工作流校验 tag/版本一致,测试、静态检查、extras 审计、构建及安装验证后,通过受保护的 `pypi` 环境发布同一份已验证产物。发布后核对 PyPI 版本和干净安装。
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "langparse"
version = "0.1.0rc2"
version = "0.1.0"
description = "A developer-friendly document parsing toolkit with precise, source-grounded Excel understanding."
readme = "README.md"
requires-python = ">=3.10"
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