Skip to content

v1.3.0

Choose a tag to compare

@BAHUBALISID BAHUBALISID released this 01 Dec 10:59
· 20 commits to main since this release

ONEX v1.3.0

What's New

  • onex-pdf/puppeteer drop-in adapter: 1-line migration (import puppeteer from onex-pdf/puppeteer) with smaller optimized PDFs, bundled Hindi fonts, and ONEX fail-closed security defaults.
  • Pure-JS PDF toolkit upgrades: Cross-document stream + resource dictionary deduplication in mergePdfs(), new extractPages(), splitPdf(), and watermarkPdf(), plus CLI commands (onex merge, onex split, onex watermark).
  • Thermal POS & Batch rendering: 80mm and 58mm receipt presets (auto continuous singlePage) + bounded parallel engine.renderBatch().
  • onex serve HTTP Microservice + Dockerfile: Hardened REST endpoints (/health, /render, /optimize, /inspect, /merge, /split, /watermark) with timing-safe Bearer auth and body caps.
  • onex mcp stdio MCP server: Exposes ONEX render, inspection, extraction, optimize, merge, split, watermark, and doctor tools over JSON-RPC 2.0 with path confinement.
  • onex doctor & Cross-Platform CI: Environment diagnostics (ONEX.doctor() / onex doctor --json), synced VERSION, pure-Node build.mjs, multi-OS CI matrix (ubuntu/windows/macos), and automated tag releases.
  • Security hardening: Fixed fileAccessRoot prefix-collision containment via path.relative, blocked IPv4-mapped IPv6 (::ffff:...) and CGNAT SSRF ranges, and unified browser sub-resource routing with checkUrl.

Install

npm install onex-pdf@1.3.0
# or via GitHub Packages:
npm install @bahubalisid/onex-pdf@1.3.0 --registry=https://npm.pkg.github.com/

Full Changelog: v1.2.3...v1.3.0