v1.0.20

GargantuaX/gemini-watermark-removerv1.0.20Jun 8, 2026by GargantuaX

AI Summary

Optimizes installation size by moving the native image codec `sharp` to an optional peer dependency.

Key Highlights

  • `sharp` moved from hard dependency to optional peer dependency
  • Reduced install size for browser and ImageData SDK consumers
  • CLI users need `sharp` for default file decoder/encoder

New Features

  • `sharp` as optional peer dependency
  • Browser and ImageData SDK consumers without native codec
  • CLI decoder/encoder optimization

Full Release Notes

## SDK

- Moved `sharp` out of hard runtime dependencies and into an optional peer dependency.
- Browser and `ImageData` SDK consumers no longer install the native Node image codec unless they need it.
- CLI users that rely on the default file decoder/encoder should install `sharp` alongside the package.

## Validation

- `pnpm test:sdk-smoke`
- `pnpm test`
- Packed tarball metadata confirmed no `dependencies.sharp` and optional `peerDependencies.sharp`.