Releases: cloudinary-community/svelte-cloudinary
[email protected]
Patch Changes
- fix: loaded check condition in upload widget (
f8c0ef4)
[email protected]
Minor Changes
- feat: add svelte 5 support using s4 compatibility mode (#172)
[email protected]
Patch Changes
- fix: use
klonainstead ofstructuredClonefor cloning options (3700ba0)
[email protected]
[email protected]
Patch Changes
- deps: bump @cloudinary-util/types & @cloudinary-util/url-loader (#156)
[email protected]
[email protected]
v2 is a near ground-up rewrite of svelte-cloudinary, including significant type improvements. This will undoubtedly cause many minor typing issues that would be impractical to cover in this changelog. Major changes should be listed here and in our migration guide. We tried to make this as seamless as possible, but if you encounter any issues please let us know.
Major Changes
-
breaking: rename
videoRefreadonly prop tovideoElement(#112) -
breaking: update
@cloudinary-util/url-loaderfrom v and@cloudinary-util/utilto new their major versions (#112)Read the full
url-loaderchangelog.Read the full
utilchangelog. -
breaking: change exported types (#112)
-
breaking: now requires a
altto be given (#112) -
breaking: rename
playerRefreadonly prop toplayer(#112) -
breaking: the
versionprop on was removed and is now managed internally (#112) -
breaking: remove all
GetCldImageUrltypes (#112) -
breaking: switch to
@cloudinary-util/types(#112)Read the full
typeschangelog. -
breaking: rename environment variables, the old ones will be removed in the next major (#112)
Old Name New Name Description VITE_PUBLIC_CLOUDINARY_CLOUD_NAMEVITE_CLOUDINARY_CLOUD_NAMEYour Cloudinary cloud name VITE_PUBLIC_CLOUDINARY_API_KEYVITE_CLOUDINARY_API_KEYAPI key for use with the upload widget -
breaking: remove all
GetCldOgImageUrltypes (#112)
Minor Changes
-
feat: revamp
<CldVideoPlayer />internals (#112) -
feat: add
VITE_CLOUDINARY_SECURE_DISTRIBUTIONandVITE_CLOUDINARY_PRIVATE_CDNenv vars (#112) -
feat: export a
VERSIONconstant from the lib (#112) -
feat: revamp
<CldOgImage />internals (#112) -
feat: revamp
<CldImage />internals (#112) -
feat: revamp
<CldUploadButton />internals (#112) -
feat: add new
configureCloudinaryconfig helper (#112) -
feat: add props types for the og image, upload widget, upload button, and video player components (#112)
-
feat: revamp
<CldUploadWidget />internals (#112)
Patch Changes
-
chore: deprecate
transformationsin favour ofnamedTransformations(#112) -
chore: add jsdoc comment to configureCloudinary (
6c49f873eb55d26c9d81ee65f8412fabfb794f97) -
chore: deprecate
onUploadin favour ofonSuccess(#112)