Skip to content

v9.0.0

Latest

Choose a tag to compare

@vladholubiev vladholubiev released this 29 Sep 15:04
· 2 commits to master since this release

Highlights

  • Adopt LibreOffice 25.2 in the Lambda runtime (convertTo now shells out to libreoffice25.2), matching the latest Shelf base image and unlocking the newest import/export fixes.
  • Replace the ad-hoc integration shell scripts with a Podman-backed Lambda harness. Use pnpm test:integration for Jest integration coverage and pnpm test:lambda to bundle the handler, build a disposable image, spin up the runtime, and inspect real conversion output.
  • Add reusable build utilities (scripts/build-lambda.mjs plus the scripts/utils/* helpers) that generate the Lambda bundle, manage container lifecycles, and expose conversion summaries for debugging.
  • Tighter error reporting from convertTo: the thrown error now keeps LibreOffice stderr/stdout in the cause, making failed conversions easier to diagnose.

Breaking changes

  • The package now expects a base image that provides the libreoffice25.2 binary. Update to the matching libreoffice-lambda-base tag (for example public.ecr.aws/shelf/lambda-libreoffice-base:25.2-node22-x86_64) before deploying.
  • The legacy test/ harness has been removed. Local end-to-end checks require Podman; the Jest integration suite will skip automatically when Podman or the base image is not available.

Testing

  • pnpm test:unit
  • pnpm test:integration
  • pnpm test:lambda -- --cleanup

Compare v8.0.4...v9.0.0