Changelog
v6.0.0
Overview
Changes
- Migrates project to pnpm (#419 (opens in a new tab))
CldImage, getCldImageUrl, CldOgImage, getCldOgImageUrl
This is a fundamental change in how the API works
- Removes default 2-stage resizing to avoid low resolution images for larger source images (#431 (opens in a new tab))
- Learn more about cropping
- Learn more about responsive images
- See the RFC with more details behind the change: https://github.com/cloudinary-community/next-cloudinary/discussions/432 (opens in a new tab)
CldImage
- Deprecates
transformations
in favor ofnamedTransformations
getCldImageUrl
- Removes types GetCldImageUrl and GetCldOgImageUrl
CldUploadWidget
- Add Content-Type to CldUploadWidget signature endpoint (#379 (opens in a new tab))
- Deprecates some CldUploadWidget types in favor of natively defined types from @cloudinary-util/types (opens in a new tab)
- CldUploadWidgetInfo, CldUploadWidgetPropsOptions, CldUploadWidgetResults
- Updates onError and onClose callbacks to have a consistent API with the rest of the callbacks (#424 (opens in a new tab))
- Deprecates onUpload in favor of onSuccess, matching the native Cloudinary Upload Widget API (#424 (opens in a new tab))
CldVideoPlayer
- Removes autoPlay in favor of autoplay
- Video Player: CldVideoPlayerPropsColors
- Deprecates some CldVideoPlayer types in favor of natively defined types from @cloudinary-util/types (opens in a new tab)
- CldVideoPlayerPropsColors