4.7.0 (2024-08-30)
- simplify transformTypes configuration and allow "Advanced CDN Media Asset Delivery Options" (#254) (d4ed539)
4.7.0-beta.1 (2024-07-28)
- simplify transformTypes configuration and allow "Advanced CDN Media Asset Delivery Options" (#254) (d4ed539)
4.6.0 (2024-06-07)
- cname, private cdn support (#252) (db13e3d), closes #251
- configurable transform types #245 (#250) (202ed12)
4.6.0-beta.2 (2024-06-07)
4.6.0-cname-private-cdn-support.1 (2024-06-06)
4.6.0-beta.1 (2024-02-13)
4.5.0 (2023-08-01)
4.4.0 (2023-03-12)
4.3.1 (2023-01-17)
4.3.0 (2022-12-21)
4.2.0 (2022-12-20)
- gatsbyImageData generates http urls, not https (#210) (3508cd3), closes #209
- peer dependency (gatsby-plugin-image) (#212) (3f40130)
4.1.0 (2022-10-26)
4.0.1 (2022-10-10)
4.0.0 (2022-10-10)
- Removed support for gatsby-image (ie.
fixed
andfluid
), use gatsby-plugin-image (ie.gatsbyImageData
instead.
3.1.0 (2022-12-20)
3.0.1 (2022-11-30)
- gatsbyImageData generates http urls, not https (#210) (3508cd3), closes #209
- peer dependency (gatsby-plugin-image) (#212) (3f40130)
Fixes:
- Remove direct mutation of nodes #156
BREAKING CHANGES:
CloudinaryAsset
nodes are not added for existing assets described by a content node- When uploading remote images the relationship between parent and child node must must be handled manually
gatsbyImageData
,fluid
andfixed
resolvers are only added to GraphQL Types configured using thetransformTypes
Additions:
- Support for
gatsby-plugin-image
(adds thegatsbyImageData
resolver)#90
Improvements:
publicId
,cloudName
andversion
available on CloudinaryAsset nodes #89- Limit files to upload by utilizing the added
uploadSourceInstanceNames
plugin option #71 and #103
Fixes:
- API key & secret is no longer required when using the plugin for only remote images.
Additions:
- Added types for
fixedImageObject
andfluidImageObject
.
Fixes:
fixedImageObject
andfluidImageObject
uses default plugin options properly in runtime.- Moved
fixedImageObject
andfluidImageObject
APIs to/api
. Fixesfs
error when importing fromindex.js
. - Set default value for
fieldsToSelect
infixedImageObject
andfluidImageObject
to empty array.
Improvements:
- Only throw an error on missing Cloudinary credentials if those credentials are actually needed to upload an image to Cloudinary.
- base64 images are no longer generated unless a query requesting them is run.
- defaultTracedSVG values are now passed along as tracedSVG values.
- Improved base64 caching so that if a second request for the same base64 image is made before the first response is received, only one request is made.
Additions:
- Added logging for each time we have to fetch a base64 image from Cloudinary to explain long query steps in the Gatsby build process.
Fixes:
- Fluid images use defaultBase64 images when they are provided.
Additions:
- Added the ability to use both width and height parameters simultaneously for fixed queries.
- Added the ability to use precomputed base64 images. When precomputed base64 images are used, build times should improve and Cloudinary usage should decrease.
Fixes:
- Deeply nested asset data is now transformed into CloudinaryAsset nodes.
Changes:
- This is a major version bump to call attention to the change in default behavior introduced in version 1.1.1. (
f_auto
andq_auto
are no longer added to image URLs by default.)
Fixes:
- Images uploaded using the
createRemoteImageNode
function respect theoverwriteExisting
argument when provided and fall back to using theoverwriteExisting
plugin option.
Fixes:
- Typo fix.
Fixes:
- Local images uploaded to Cloudinary now respect the
overwriteExisting
plugin option.
Changes:
- Added
enableDefaultTransformations
plugin option. When set to true,f_auto
andq_auto
are added to all source URLs automatically. Previously, this was on by default. This behavior is now opt-in.
Additions:
- Added ability to use existing Cloudinary images by marking nodes with
cloudinaryAssetData: true
and providingcloudName
,publicId
,originalHeight
, andoriginalWidth
properties. - Added an optional
height
argument tofixed
queries.
Improvements:
- Cache base64 images when running queries to prevent duplicate network requests.
Fixes:
- Changed the public_id to be the relative path of files without the extension instead of just the file's name. This fixes an issue with childrenCloudinaryAsset nodes being created instead of childCloudinaryAsset nodes.
Additions:
- Added CloudinaryAssetFluidLimitPresentationSize fragment.
- Added presentationHeight and presentationWidth to CloudinaryAssetFluid.
Breaking changes:
- The default for
fluidMinWidth
has been decreased from 200 to 50 to match Cloudinary defaults. - The default for
createDerived
has been changed to false. - The default for
breakpointsMaxImages
has been increased from 5 to 20 to match Cloudinary defaults. - Breakpoint calculations are no longer requested by default when uploading an image. (This is controlled by the new
useCloudinaryBreakpoints
option.) - Image uploads no longer overwrite images with the same public ID by default. (This is controlled by the new
overwriteExisting
option.)
Other changes:
- Added
createRemoteImageNode
to allow uploading remote images directly to Cloudinary without downloading them locally first. - Added Jest tests.
- Added the ability to calculate breakpoints locally to avoid consuming Cloudinary transformation credits while developing.
- Increased the timeout when uploading images to Cloudinary from 60 seconds to 5 minutes.
- Beginning of changelog.