Skip to content

v6.0.7

Choose a tag to compare

@github-actions github-actions released this 24 Mar 11:27

v6.0.7 - 24.03.2026

Changes: v6.0.6..v6.0.7

This release focuses on improving the developer experience for browser-side integration, upgrading core dependencies for better security/performance, and stabilizing the CI/CD pipeline with modern OIDC publishing standards.


✨ New Features & Improvements

  • 📦 Bundled Browser Typings: Added dist/officeparser.browser.d.ts. This is a single, self-contained declaration file designed specifically for developers using the browser bundle directly. It provides full IntelliSense without needing any node_modules.
  • 🚀 Robust OIDC Publishing:
    • Upgraded the release pipeline to Node.js 24 for better native support of modern NPM features.
    • Implemented explicit NPM Provenance using enhanced environment configurations and publishConfig in package.json.
  • 🧹 Cleaner Assets: Disabled source maps in the browser bundle (officeparser.browser.js) to provide a cleaner and more lightweight production asset.
  • 🔗 Updated Homepage: The project homepage has been moved to officeparser.harshankur.com.

⬆️ Dependency Upgrades

  • file-type: Upgraded to ^21.3.4 for improved file detection and security.
  • typescript: Upgraded to ^6.0.2.
  • @types/node: Upgraded to ^22.15.5.

⚙️ Technical Changes

  • Added build:browser:types script using dts-bundle-generator.
  • Refactored build-and-publish.yml to trigger on release: published, ensuring stable asset attachment.
  • Added publishConfig to package.json to codify public access and provenance rules.

Full Changelog: v6.0.6...v6.0.7