Skip to content

Releases: shelfio/aws-lambda-libreoffice

Release v8.0.0: Major ESM migration and Node.js 22 upgrade

14 Aug 18:54
Compare
Choose a tag to compare

🚀 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:

  1. Ensure you're using Node.js 22 or higher
  2. 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

v7.1.0

03 Jan 11:03
Compare
Choose a tag to compare

File extensions .msg and .mpp added to unsupported files

v6.0.0

10 Jul 10:58
Compare
Choose a tag to compare
  • Switch to async API. All methods now return promises

v4.1.0

25 Aug 13:01
Compare
Choose a tag to compare
  • Add .zip to unsupported files
  • Extend an error message when converting to pdf

v4.0.4...v4.1.0

v4.0.1

20 Jun 20:19
Compare
Choose a tag to compare
  • NPM vulnerabilities fixes

v4.0.0

20 Jun 20:18
Compare
Choose a tag to compare

v3.0.1

13 Jan 17:15
Compare
Choose a tag to compare
  • Merge pull request #128 from shelfio/feature/add-logs 7906a94
  • Fix: assign log vars for non cold lambdas 9613e34
  • ci: declare executor properly 549af76

v3.0.0...v3.0.1

v3.0.0

10 Jan 17:10
Compare
Choose a tag to compare
  • Support Amazon Linux 2 (works with the Latest arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-brotli:1 layer)
  • Drop @shelf/aws-lambda-brotli-unpacker as since Node.js v10 brotli is natively supported

See https://github.com/vladgolubev/serverless-libreoffice/releases/tag/v6.4.0.1 for details

v2.2.0

12 Jun 15:17
Compare
Choose a tag to compare
  • feat: add canBeConvertedToPDF method 882406d

v2.1.2...v2.2.0

v2.1.2

12 Jun 14:30
Compare
Choose a tag to compare
  • fix: define typings property in package.json bc7d1c7

v2.1.1...v2.1.2