Skip to content

Commit 07d64bb

Browse files
authored
Merge pull request #148 from cloudinary-community/changeset-release/main
2 parents 1eb6e42 + 9f3d753 commit 07d64bb

24 files changed

+68
-122
lines changed

.changeset/beige-papayas-sniff.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/clean-wolves-confess.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/gentle-horses-flow.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/gold-shrimps-chew.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/great-otters-design.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/healthy-jokes-hang.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/heavy-months-lie.md

Lines changed: 0 additions & 9 deletions
This file was deleted.

.changeset/kind-beers-remember.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lemon-ligers-return.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/moody-socks-pretend.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/nervous-hats-collect.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/red-carrots-marry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rotten-cups-melt.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/rude-owls-carry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/shy-donuts-confess.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/six-points-turn.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/stupid-trainers-act.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/tiny-eels-sit.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/twelve-countries-brake.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wet-olives-report.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

.changeset/wet-sloths-allow.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/wise-planets-call.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md renamed to packages/svelte-cloudinary/CHANGELOG.md

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,70 @@
1+
# svelte-cloudinary
2+
3+
## 2.0.0
4+
5+
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](https://svelte.cloudinary.dev/migrate/v2). We tried to make this as seamless as possible, but if you encounter any issues please [let us know](https://github.com/cloudinary-community/svelte-cloudinary/issues/new/choose).
6+
7+
### Major Changes
8+
9+
- breaking: rename `videoRef` readonly prop to `videoElement` ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
10+
11+
- breaking: update `@cloudinary-util/url-loader` from v and `@cloudinary-util/util` to new their major versions ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
12+
13+
Read the full [`url-loader` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/url-loader/CHANGELOG.md).
14+
15+
Read the full [`util` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/util/CHANGELOG.md).
16+
17+
- breaking: change exported types ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
18+
19+
- breaking: <CldOgImage /> now requires a `alt` to be given ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
20+
21+
- breaking: rename `playerRef` readonly prop to `player` ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
22+
23+
- breaking: the `version` prop on <CldVideoPlayer /> was removed and is now managed internally ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
24+
25+
- breaking: remove all `GetCldImageUrl` types ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
26+
27+
- breaking: switch to `@cloudinary-util/types` ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
28+
29+
Read the full [`types` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/types/CHANGELOG.md).
30+
31+
- breaking: rename environment variables, the old ones will be removed in the next major ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
32+
33+
| Old Name | New Name | Description |
34+
| ----------------------------------- | ---------------------------- | -------------------------------------- |
35+
| `VITE_PUBLIC_CLOUDINARY_CLOUD_NAME` | `VITE_CLOUDINARY_CLOUD_NAME` | Your Cloudinary cloud name |
36+
| `VITE_PUBLIC_CLOUDINARY_API_KEY` | `VITE_CLOUDINARY_API_KEY` | API key for use with the upload widget |
37+
38+
- breaking: remove all `GetCldOgImageUrl` types ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
39+
40+
### Minor Changes
41+
42+
- feat: revamp `<CldVideoPlayer />` internals ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
43+
44+
- feat: add `VITE_CLOUDINARY_SECURE_DISTRIBUTION` and `VITE_CLOUDINARY_PRIVATE_CDN` env vars ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
45+
46+
- feat: export a `VERSION` constant from the lib ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
47+
48+
- feat: revamp `<CldOgImage />` internals ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
49+
50+
- feat: revamp `<CldImage />` internals ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
51+
52+
- feat: revamp `<CldUploadButton />` internals ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
53+
54+
- feat: add new `configureCloudinary` config helper ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
55+
56+
- feat: add props types for the og image, upload widget, upload button, and video player components ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
57+
58+
- feat: revamp `<CldUploadWidget />` internals ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
59+
60+
### Patch Changes
61+
62+
- chore: deprecate `transformations` in favour of `namedTransformations` ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
63+
64+
- chore: add jsdoc comment to configureCloudinary ([`6c49f873eb55d26c9d81ee65f8412fabfb794f97`](https://github.com/cloudinary-community/svelte-cloudinary/commit/6c49f873eb55d26c9d81ee65f8412fabfb794f97))
65+
66+
- chore: deprecate `onUpload` in favour of `onSuccess` ([#112](https://github.com/cloudinary-community/svelte-cloudinary/pull/112))
67+
168
## [1.3.2](https://github.com/cloudinary-community/svelte-cloudinary/compare/v1.3.1...v1.3.2) (2024-04-15)
269

370

packages/svelte-cloudinary/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-cloudinary",
3-
"version": "2.0.0-beta.10",
3+
"version": "2.0.0",
44
"contributors": [
55
"Willow (GHOST) <ghostdevbusiness@gmail.com> (https://ghostdev.xyz)",
66
"Colby Fayock <hello@colbyfayock.com>",

0 commit comments

Comments
 (0)