Skip to content

Releases: ryusui-hiro/document-svg

document-svg v2.0.2

Choose a tag to compare

@ryusui-hiro ryusui-hiro released this 21 Sep 18:07
e1284f0

document-svg 2.0.2 adds developer documentation and a way to try the viewer in your browser. The converter itself is unchanged.

Highlights:

  • Developer reference in English, Japanese and Chinese: every function, option, default, result and error for the command line, Node.js, Python, Rust and the browser viewer, and how to show pages in a web page. On the site: https://ryusui-hiro.github.io/document-svg/reference.html — and in the repository as docs/API.md.
  • Try it in your browser: https://ryusui-hiro.github.io/document-svg/viewer/ converts PDF, Word, Excel and PowerPoint files with WebAssembly on your own device. Nothing is uploaded.
  • The Node.js preview guides shipped in the npm package are rewritten as a step-by-step walkthrough.

Install:

All assets were built and tested from commit e1284f0e5d1ce25328185524a129bc6a79f8b584. Verify downloads with SHA256SUMS and release-manifest.json.

document-svg v2.0.1

Choose a tag to compare

@ryusui-hiro ryusui-hiro released this 21 Sep 12:56
9367559

document-svg 2.0.1 makes the project easier to find, understand and try. The converter itself is unchanged from 2.0.0.

Highlights:

  • New READMEs in English, Japanese and Chinese, and rewritten npm and PyPI package pages: what it does, why, how to install and try it, where each package installs, and its limits, in plain words. The full technical format matrix now lives in docs/FORMATS.md.
  • Package descriptions and home pages point to the project site: https://ryusui-hiro.github.io/document-svg/ (English, 日本語, 中文).
  • The reusable document preview workflow now works when called from other repositories, converts documents with non-ASCII names, and posts file names and warnings safely in the pull request comment.

Install:

All assets were built and tested from commit 9367559b7391142a3e5de368ac8480e34bf15083. Verify downloads with SHA256SUMS and release-manifest.json.

See CHANGELOG.md for the full list.

document-svg v2.0.0

Choose a tag to compare

@ryusui-hiro ryusui-hiro released this 20 Sep 06:46
c36c158

document-svg 2.0.0 is a major capability and distribution release.

Highlights:

  • Broadens bounded, inert SVG previews across many engineering, scientific, archival, geospatial, security, publishing, and business document formats.
  • Expands draw.io fidelity, including embedded-source round trips, stencil-aware shapes, connectors, labels, BPMN/UML/ERD elements, and safer SVG handling.
  • Improves PDF and Office conversion fidelity, performance, limits, diagnostics, and encrypted/damaged document behavior.
  • Ships multi-platform Node.js bindings, Python ABI3 wheels, standalone CLI archives, Rust crate, npm packages, and a scoped GitHub Packages mirror.
  • Adds Codex/Claude Code plugin integrations, GitHub CLI and Actions support, trusted publishing workflows, dependency notices, and release verification.

All assets were built and tested from commit c36c15846667c96cffef5527cf5b8449ec806e3d. Verify downloads with SHA256SUMS and release-manifest.json.

See CHANGELOG.md for the complete format-by-format change list.

v0.1.1 — First packaged release

Choose a tag to compare

@ryusui-hiro ryusui-hiro released this 08 Sep 17:41
2682125

document-svg 0.1.1

The first packaged release of the Rust document-to-SVG converter, with Node.js
and Python bindings, standalone CLI downloads, and verified publishing workflows.

Highlights

  • PDF font rendering and damaged-xref recovery improvements.
  • Paper-aware Excel pagination, PowerPoint fill handling, and clearer errors for
    encrypted or legacy Office inputs.
  • Faster text escaping, serialized-size accounting and repeated reverse conversion.
  • English-first documentation with pip, npm and Cargo quick starts.
  • Versioned native packages, bundled dependency notices and release checksums.

Install

# Node.js / TypeScript library (Node.js 18+)
npm install document-svg@0.1.1

# Python library (GIL-enabled CPython 3.10+)
python -m pip install document-svg==0.1.1

# Standalone CLI (Rust 1.88+ required to compile)
cargo install document-svg --version 0.1.1 --locked

Python imports use document_svg; the command-line executable is docsvg.
For compiler-free CLI installation, extract the matching CLI ZIP and put its
executable on your PATH. The static musl Linux CLI archives also run on glibc Linux.

Windows CLI downloads require the Microsoft Visual C++ runtime. If Windows
reports a missing VCRUNTIME140.dll, install the
supported Visual C++ Redistributable
for your architecture (x64 or ARM64). This runtime is not bundled in the ZIP.

Downloads and platform support

  • CLI: Windows, macOS and Linux, each on x64 and ARM64.
  • npm: Windows and macOS, plus glibc and musl Linux, on x64 and ARM64.
  • Python wheels: Windows, macOS and glibc Linux, on x64 and ARM64.
  • Alpine/musl Python: use the source distribution with Rust and native build tools.
    Prebuilt musllinux wheels are omitted pending review of their additional
    bundled compiler runtime.
  • GitHub Packages uses the authenticated @ryusui-hiro/document-svg npm mirror.

release-manifest.json records the source commit and SHA-256 of every distributed
artifact; SHA256SUMS provides the corresponding checksum list. npm tarballs are
provided for both the public npm package names and the scoped GitHub mirror.

Important limitations

This is an early-stage release. Review conversion warnings and compare important
documents against the originals. Normal text depends on available fonts.
Conversion runs locally in Rust, or on your application's Node.js server—not
inside a browser-only JavaScript converter.

Reverse export embeds SVG pages in PPTX, DOCX or XLSX with PNG fallbacks. It does
not reconstruct editable paragraphs, spreadsheet cells, formulas or charts.

See the README,
support matrix,
and publishing guide.

v0.1.0 — Alpha source release

Pre-release

Choose a tag to compare

@ryusui-hiro ryusui-hiro released this 08 Sep 13:54

document-svg 0.1.0 — alpha source release

PDF・PPTX・XLSX・DOCXをページ別SVGへ変換し、Node.jsからインメモリプレビューを利用できます。Python bindings、Codex/Claude Codeプラグイン、日本語・英語・简体中文のプレビューガイドを同梱しています。

Rust-powered PDF and Office document previews, with Node.js/Python bindings and Codex/Claude Code plugins. This release contains source code; prebuilt npm/PyPI packages are not published yet.

Install from source

git clone https://github.com/ryusui-hiro/document-svg.git
cd document-svg
git checkout v0.1.0
cargo install --path . --locked

For Codex, run ./scripts/install-codex-plugin.sh and start a new task. For Claude Code, run ./scripts/install-claude-plugin.sh and restart Claude Code.

License / ライセンス / 许可证

MIT OR Apache-2.0, at your option. When redistributing, you must retain copyright and license notices as required by the license you choose. See LICENSE, LICENSE-MIT, and LICENSE-APACHE.

再配布時は、選択したライセンスに従って著作権表示・ライセンス文を必ず保持してください。

再分发时,必须按照所选许可证保留版权声明和许可证文本。

Verification and limits

All required GitHub CI checks passed: Rust tests/Clippy/formatting, native Node.js build/tests, Python wheel/tests, and publication checks. CI evidence.

Output writing and SVG preview validation were hardened before publication. Generated QA documents and caches are not included. See docs/RELEASE_REVIEW.md for the review scope.

This is an alpha release with documented format/fidelity limits, not a guarantee of pixel-identical Office rendering. ttf-parser 0.25.1 has a maintenance warning (RUSTSEC-2026-0192); no known vulnerable dependencies were reported by the release-time RustSec audit. Browser helpers are not universal SVG sanitizers; display previews as images and isolate conversion of untrusted uploads.