Skip to content

Commit 3229a9e

Browse files
authored
Merge pull request #112 from cloudinary-community/v2
2 parents 1c04c7d + fd80e15 commit 3229a9e

File tree

224 files changed

+16344
-15409
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+16344
-15409
lines changed

.all-contributorsrc

Lines changed: 63 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,46 @@
11
{
22
"files": [
3-
"README.md"
3+
"README.md",
4+
"packages/svelte-cloudinary/README.md"
45
],
56
"imageSize": 100,
67
"commit": false,
78
"commitType": "docs",
89
"commitConvention": "angular",
910
"contributors": [
11+
{
12+
"login": "ghostdevv",
13+
"name": "Willow (GHOST)",
14+
"avatar_url": "https://avatars.githubusercontent.com/u/47755378?v=4",
15+
"profile": "https://github.com/ghostdevv",
16+
"contributions": [
17+
"code",
18+
"doc",
19+
"example"
20+
]
21+
},
22+
{
23+
"login": "matiasfha",
24+
"name": "Matías Hernández Arellano",
25+
"avatar_url": "https://avatars.githubusercontent.com/u/282006?v=4",
26+
"profile": "https://matiashernandez.dev/",
27+
"contributions": [
28+
"code",
29+
"doc",
30+
"example"
31+
]
32+
},
33+
{
34+
"login": "colbyfayock",
35+
"name": "Colby Fayock",
36+
"avatar_url": "https://avatars.githubusercontent.com/u/1045274?v=4",
37+
"profile": "https://colbyfayock.com/newsletter",
38+
"contributions": [
39+
"code",
40+
"doc",
41+
"example"
42+
]
43+
},
1044
{
1145
"login": "troyciesco",
1246
"name": "Troy Ciesco",
@@ -42,6 +76,33 @@
4276
"contributions": [
4377
"doc"
4478
]
79+
},
80+
{
81+
"login": "codercatdev",
82+
"name": "Alex Patterson",
83+
"avatar_url": "https://avatars.githubusercontent.com/u/3102249?v=4",
84+
"profile": "https://beacons.ai/codingcatdev",
85+
"contributions": [
86+
"code"
87+
]
88+
},
89+
{
90+
"login": "heronet",
91+
"name": "Sirat",
92+
"avatar_url": "https://avatars.githubusercontent.com/u/61063136?v=4",
93+
"profile": "https://github.com/heronet",
94+
"contributions": [
95+
"code"
96+
]
97+
},
98+
{
99+
"login": "tanhauhau",
100+
"name": "Tan Li Hau",
101+
"avatar_url": "https://avatars.githubusercontent.com/u/2338632?v=4",
102+
"profile": "https://twitter.com/lihautan",
103+
"contributions": [
104+
"tutorial"
105+
]
45106
}
46107
],
47108
"contributorsPerLine": 7,
@@ -50,4 +111,4 @@
50111
"repoHost": "https://github.com",
51112
"projectName": "svelte-cloudinary",
52113
"projectOwner": "cloudinary-community"
53-
}
114+
}

.changeset/beige-papayas-sniff.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: revamp `<CldVideoPlayer />` internals

.changeset/clean-wolves-confess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": patch
3+
---
4+
5+
chore: deprecate `transformations` in favour of `namedTransformations`

.changeset/config.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"$schema": "https://unpkg.com/@changesets/config@3.0.1/schema.json",
3+
"changelog": [
4+
"@svitejs/changesets-changelog-github-compact",
5+
{ "repo": "cloudinary-community/svelte-cloudinary" }
6+
],
7+
"commit": false,
8+
"linked": [],
9+
"access": "public",
10+
"ignore": [],
11+
"baseBranch": "main",
12+
"updateInternalDependencies": "patch"
13+
}

.changeset/gentle-horses-flow.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: add `VITE_CLOUDINARY_SECURE_DISTRIBUTION` and `VITE_CLOUDINARY_PRIVATE_CDN` env vars

.changeset/great-otters-design.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: rename `videoRef` readonly prop to `videoElement`

.changeset/healthy-jokes-hang.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": patch
3+
---
4+
5+
chore: deprecate `onUpload` in favour of `onSuccess`

.changeset/heavy-months-lie.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: update `@cloudinary-util/url-loader` from v and `@cloudinary-util/util` to new their major versions
6+
7+
Read the full [`url-loader` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/url-loader/CHANGELOG.md).
8+
9+
Read the full [`util` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/util/CHANGELOG.md).

.changeset/kind-beers-remember.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: change exported types

.changeset/lemon-ligers-return.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: export a `VERSION` constant from the lib

.changeset/moody-socks-pretend.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: <CldOgImage /> now requires a `alt` to be given

.changeset/nervous-hats-collect.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: revamp `<CldOgImage />` internals

.changeset/red-carrots-marry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: revamp `<CldImage />` internals

.changeset/rotten-cups-melt.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: revamp `<CldUploadButton />` internals

.changeset/rude-owls-carry.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: add new `configureCloudinary` config helper

.changeset/shy-donuts-confess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: rename `playerRef` readonly prop to `player`

.changeset/six-points-turn.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: the `version` prop on <CldVideoPlayer /> was removed and is now managed internally

.changeset/stupid-trainers-act.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: add props types for the og image, upload widget, upload button, and video player components

.changeset/tiny-eels-sit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: remove all `GetCldImageUrl` types

.changeset/twelve-countries-brake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": minor
3+
---
4+
5+
feat: revamp `<CldUploadWidget />` internals

.changeset/wet-olives-report.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: switch to `@cloudinary-util/types`
6+
7+
Read the full [`types` changelog](https://github.com/cloudinary-community/cloudinary-util/blob/main/packages/types/CHANGELOG.md).

.changeset/wet-sloths-allow.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: rename environment variables, the old ones will be removed in the next major
6+
7+
| Old Name | New Name | Description |
8+
| ----------------------------------- | ---------------------------- | -------------------------------------- |
9+
| `VITE_PUBLIC_CLOUDINARY_CLOUD_NAME` | `VITE_CLOUDINARY_CLOUD_NAME` | Your Cloudinary cloud name |
10+
| `VITE_PUBLIC_CLOUDINARY_API_KEY` | `VITE_CLOUDINARY_API_KEY` | API key for use with the upload widget |

.changeset/wise-planets-call.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"svelte-cloudinary": major
3+
---
4+
5+
breaking: remove all `GetCldOgImageUrl` types

.git-blame-ignore-revs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
# format all files
2-
f0acc811374c1249f9c4940ffb6b84f1b10d5011
2+
f0acc811374c1249f9c4940ffb6b84f1b10d5011
3+
# format
4+
0d755b72017ee5bed4a4f0e06501984b9cdfe3cd

.github/images/cloudinary-logo.png

-13 KB
Binary file not shown.

.github/images/svelte-logo.png

-6.98 KB
Binary file not shown.

.github/workflows/release.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
release:
10+
if: github.repository == 'cloudinary-community/svelte-cloudinary'
11+
name: Release
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
with:
17+
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
18+
fetch-depth: 0
19+
20+
- name: Setup Node 22
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: 22
24+
registry-url: https://registry.npmjs.org/
25+
26+
- name: Setup PNPM
27+
uses: pnpm/action-setup@v3.0.0
28+
with:
29+
version: 8.15.8
30+
31+
- name: Install
32+
run: pnpm install
33+
34+
- name: Build
35+
run: pnpm package
36+
37+
- name: Create Release Pull Request
38+
uses: changesets/action@v1
39+
with:
40+
publish: pnpm changeset publish
41+
env:
42+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
43+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test_and_release.yml

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

0 commit comments

Comments
 (0)