🚀 Major Changes
This is a major release that introduces breaking changes to modernize the package and improve its stability.
💥 Breaking Changes
- ESM Migration: Package now uses ES modules instead of CommonJS
- Node.js 22+: Minimum Node.js version requirement increased from 16 to 22
- Build System: Switched from Babel to TypeScript compiler for cleaner builds
- Package Manager: Updated toolchain to use pnpm instead of yarn
✨ New Features
- Improved LibreOffice conversion error detection and handling
- Enhanced stderr error propagation for better debugging
- Comprehensive test setup with updated testing infrastructure
🔧 Improvements
- Updated to ESLint v9 with modern configuration
- Upgraded all dependencies to latest versions
- Cleaner package structure with proper ESM exports
- Removed legacy Babel configuration and CircleCI hooks
- Updated TypeScript to 5.9.2 and Jest to 30.0.5
📦 Dependencies
- Updated
@shelf/is-audio-filepath
from 2.0.0 to 3.0.1 - Updated
del
from 5.1.0 to 8.0.0 - Updated
is-image
from 3.1.0 to 4.0.0 - Updated
is-video
from 1.0.1 to 2.0.0
⚠️ Migration Guide
If you're upgrading from v7.x:
- Ensure you're using Node.js 22 or higher
- Update your imports to use ES module syntax:
// Before const { convertTo } = require('@shelf/aws-lambda-libreoffice'); // After import { convertTo } from '@shelf/aws-lambda-libreoffice';
Full Changelog: v7.2.0...v8.0.0