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
27 changes: 27 additions & 0 deletions .github/releases/v0.2.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# v0.2.5 - zip 9

## zip 9.5.1

anydoc opens docx, xlsx, pptx, odt and the other ZIP-based formats through the `zip` crate, which moves from 8.6.0 to 9.5.1. Five advisories affect every 8.x release: CVE-2026-115905 (critical), CVE-2026-115907, CVE-2026-115908 and CVE-2026-115909 (high), and CVE-2026-115906 (moderate). A crate that depends on both anydoc and `zip` can now drop zip 8 from its lockfile. The MSRV stays at 1.88.

## Headers survive a repeated label

A CSV, xlsx or ods table lost its header when a body cell repeated one of the column labels: the output got a blank header row and the real labels moved into the body. The header now stays whenever the column types point to one.

```
city,region,pop
Paris,north,100
Lyon,region,200
```

renders with `| city | region | pop |` as the header again. A table with no type evidence and a repeated first-row value is still treated as headerless.

## Hosted OCR: choose the Parse mode

`parseMode` in Node, `parse_mode` in Python and `--parse-mode` on the CLI pick the Firecrawl Parse PDF mode for hosted OCR: `auto` (the default) extracts text and falls back to OCR, `fast` extracts text only, `ocr` OCRs every page. Any other value is rejected before anything is sent.

```js
const markdown = await toMarkdown('scan.pdf', { ocr: 'hosted', parseMode: 'ocr' });
```

**Full Changelog**: https://github.com/firecrawl/anydoc/compare/v0.2.4...v0.2.5
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ exclude = ["fuzz"]

[package]
name = "anydoc"
version = "0.2.4"
version = "0.2.5"
edition = "2024"
# Edition 2024 needs 1.85; zip raises it to 1.88.
rust-version = "1.88"
Expand Down
108 changes: 54 additions & 54 deletions node/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions node/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 node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firecrawl/anydoc",
"version": "0.2.4",
"version": "0.2.5",
"description": "Convert documents (doc, docx, odt, rtf, epub, pdf, presentations, spreadsheets, csv) to GitHub-Flavored Markdown",
"license": "MIT",
"homepage": "https://github.com/firecrawl/anydoc#readme",
Expand Down
2 changes: 1 addition & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# dynamic version), so bump it together with the workspace release version.
[package]
name = "anydoc-python"
version = "0.2.4"
version = "0.2.5"
edition = "2024"
description = "Python bindings for anydoc"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# only keeps it off crates.io.
[package]
name = "anydoc-wasm"
version = "0.2.4"
version = "0.2.5"
edition = "2024"
description = "WebAssembly bindings for anydoc: convert documents (doc, docx, odt, rtf, epub, pdf, presentations, spreadsheets, csv) to GitHub-Flavored Markdown in the browser"
license = "MIT"
Expand Down