Releases: cloudinary-community/svelte-cloudinary
[email protected]
Minor Changes
- feat: add svelte 5 support using s4 compatibility mode (#172)
[email protected]
Patch Changes
- fix: use
klona
instead ofstructuredClone
for 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
videoRef
readonly prop tovideoElement
(#112) -
breaking: update
@cloudinary-util/url-loader
from v and@cloudinary-util/util
to new their major versions (#112)Read the full
url-loader
changelog.Read the full
util
changelog. -
breaking: change exported types (#112)
-
breaking: now requires a
alt
to be given (#112) -
breaking: rename
playerRef
readonly prop toplayer
(#112) -
breaking: the
version
prop on was removed and is now managed internally (#112) -
breaking: remove all
GetCldImageUrl
types (#112) -
breaking: switch to
@cloudinary-util/types
(#112)Read the full
types
changelog. -
breaking: rename environment variables, the old ones will be removed in the next major (#112)
Old Name New Name Description VITE_PUBLIC_CLOUDINARY_CLOUD_NAME
VITE_CLOUDINARY_CLOUD_NAME
Your Cloudinary cloud name VITE_PUBLIC_CLOUDINARY_API_KEY
VITE_CLOUDINARY_API_KEY
API key for use with the upload widget -
breaking: remove all
GetCldOgImageUrl
types (#112)
Minor Changes
-
feat: revamp
<CldVideoPlayer />
internals (#112) -
feat: add
VITE_CLOUDINARY_SECURE_DISTRIBUTION
andVITE_CLOUDINARY_PRIVATE_CDN
env vars (#112) -
feat: export a
VERSION
constant from the lib (#112) -
feat: revamp
<CldOgImage />
internals (#112) -
feat: revamp
<CldImage />
internals (#112) -
feat: revamp
<CldUploadButton />
internals (#112) -
feat: add new
configureCloudinary
config 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
transformations
in favour ofnamedTransformations
(#112) -
chore: add jsdoc comment to configureCloudinary (
6c49f873eb55d26c9d81ee65f8412fabfb794f97
) -
chore: deprecate
onUpload
in favour ofonSuccess
(#112)