@sveltia/cms 0.110.2 → 0.112.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -13
- package/dist/sveltia-cms.js +217 -217
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +224 -224
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +2 -2
- package/schema/sveltia-cms.json +29 -9
- package/types/public.d.ts +13 -5
package/README.md
CHANGED
|
@@ -127,7 +127,7 @@ Due to its unfortunate abandonment in early 2022, Netlify CMS spawned 3 successo
|
|
|
127
127
|
- ✅ Solved more than 260 issues reported in the Netlify/Decap CMS repository
|
|
128
128
|
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version
|
|
129
129
|
- [Announced in February 2023](https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/) as an official continuation with a Netlify agency partner taking ownership
|
|
130
|
-
- ⚠️ Mostly low activity with occasional releases and a few minor improvements
|
|
130
|
+
- ⚠️ Mostly low activity with only occasional releases and a few minor improvements
|
|
131
131
|
- ❌ A moderate severity [XSS vulnerability](https://github.com/advisories/GHSA-xp8g-32qh-mv28), high severity dependency vulnerabilities, fatal crashes and many other bugs remain unaddressed
|
|
132
132
|
|
|
133
133
|
Sveltia CMS is the only project that doesn’t inherit the complexity, technical debt, and numerous bugs of Netlify CMS, which was launched in 2015. Our product is **better by design**:
|
|
@@ -288,13 +288,15 @@ The [GitHub](https://decapcms.org/docs/github-backend/), [GitLab](https://decapc
|
|
|
288
288
|
- Uses the GraphQL API where possible for better performance, as mentioned above. You don’t need to set the `use_graphql` option to enable it for GitHub and GitLab.[^65]
|
|
289
289
|
- The Git branch name is automatically set to the repository’s default branch (`main`, `master` or whatever) if not specified in the configuration file, preventing data loading errors due to a hardcoded fallback to `master`.[^95][^27] If a branch name is specified, it works as expected.[^232]
|
|
290
290
|
- It’s possible to [disable automatic deployments](#disabling-automatic-deployments) by default or on demand to save costs and resources associated with CI/CD and to publish multiple changes at once.[^24]
|
|
291
|
-
- The GitLab backend implements the GraphQL API with proper authorization.[^290]
|
|
292
|
-
- The GitLab backend support comes with background [service status](https://status.gitlab.com/) checking, just like GitHub.
|
|
293
|
-
- Service status checks are performed frequently and an incident notification is displayed prominently.
|
|
294
291
|
- Users can quickly open the source file of an entry or asset in your repository via the 3-dot menu when Developer Mode is enabled.
|
|
292
|
+
- Service status checks are performed frequently and an incident notification is displayed prominently.
|
|
295
293
|
- We provide [our own OAuth client](https://github.com/sveltia/sveltia-cms-auth) for GitHub and GitLab.
|
|
296
|
-
-
|
|
297
|
-
-
|
|
294
|
+
- GitLab-specific improvements:
|
|
295
|
+
- Implements the GraphQL API with proper authorization.[^290]
|
|
296
|
+
- Doesn’t hit GraphQL complexity limits with Relation fields.[^296]
|
|
297
|
+
- Comes with background [service status](https://status.gitlab.com/) checking, just like GitHub.
|
|
298
|
+
- Supports Git LFS ([documentation](https://docs.gitlab.com/topics/git/lfs/)).[^231]
|
|
299
|
+
- Users won’t get a 404 Not Found error when you sign in to the GitLab backend.[^115]
|
|
298
300
|
- Our Gitea/Forgejo backend is high-performing because it retrieves multiple entries at once. It also supports Git LFS ([documentation](https://docs.gitea.com/administration/git-lfs-setup)). Additionally, the backend won’t cause 400 Bad Request errors due to the presence of `DRAFT_MEDIA_FILES` in file paths.[^222]
|
|
299
301
|
- Users can sign in directly with a Git-based backend using a personal access token (PAT) instead of going through the regular OAuth flow.[^258]
|
|
300
302
|
- The OAuth access token is automatically renewed when using the GitLab or Gitea/Forgejo backend with PKCE authorization.[^224] Token renewal for other backend configurations will be implemented later.
|
|
@@ -606,6 +608,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
|
|
|
606
608
|
- Uploadcare
|
|
607
609
|
- An API-based integration allows users to select existing files from their Uploadcare account.[^247]
|
|
608
610
|
- Supports [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) to prevent unauthorized uploads. Files are uploaded with a signature computed using your secret key.
|
|
611
|
+
- No error is raised for file collections if the `media_folder` option is not defined.[^295]
|
|
609
612
|
- Other integrations
|
|
610
613
|
- Integrates stock photo providers, including Pexels, Pixabay and Unsplash.[^8] Developers can [disable them](#disabling-stock-assets) if needed.
|
|
611
614
|
- More integration options, including Amazon S3 and Cloudflare R2/Images/Stream, would be added in the future.
|
|
@@ -685,7 +688,7 @@ The following Netlify/Decap CMS features will not be added to Sveltia CMS, prima
|
|
|
685
688
|
- The theme and keymap inline settings for the Code widget, along with support for some languages. Instead of [CodeMirror](https://codemirror.net/), we use Lexical’s code block functionality powered by [Prism](https://prismjs.com/), which is slated to be [replaced by Shiki](https://github.com/facebook/lexical/issues/6575).
|
|
686
689
|
- Remark plugins for the Markdown widget: Not compatible with our Lexical-based rich text editor.
|
|
687
690
|
- The `use_secure_url` option for the Cloudinary media library: Insecure URLs should never be used.
|
|
688
|
-
-
|
|
691
|
+
- Deprecated [Uploadcare jQuery File Uploader](https://uploadcare.com/docs/uploads/file-uploader/): Sveltia CMS uses the Uploadcare API to integrate the service to solve some issues, as mentioned in the [better asset management](#better-asset-management) section above. Users are prompted to enter their secret key to use the integration. This means the features found in the widget are currently unavailable. We plan to support some third-party upload sources, camera access and image editing in the future.
|
|
689
692
|
- An absolute URL in the [`public_folder`](https://decapcms.org/docs/configuration-options/#public-folder) option: Such configuration is not recommended, as stated in the Netlify/Decap CMS document.
|
|
690
693
|
- Performance-related options: Sveltia CMS has [drastically improved performance](#better-performance) with GraphQL enabled by default, so these are no longer relevant:
|
|
691
694
|
- Global: [`search`](https://decapcms.org/docs/configuration-options/#search)
|
|
@@ -1922,7 +1925,7 @@ Due early 2026
|
|
|
1922
1925
|
|
|
1923
1926
|
- Enhanced [compatibility with Netlify/Decap CMS](#current-limitations)
|
|
1924
1927
|
- Tackling some more Netlify/Decap CMS issues:
|
|
1925
|
-
- Several Cloudinary media library issues
|
|
1928
|
+
- Several Cloudinary media library issues
|
|
1926
1929
|
- Thorough site config validation[^246]
|
|
1927
1930
|
- [Entry pre-validation/normalization](https://github.com/sveltia/sveltia-cms/issues/395)[^248]
|
|
1928
1931
|
- Accessibility audit
|
|
@@ -1983,7 +1986,6 @@ Due late 2026
|
|
|
1983
1986
|
- Scheduled posts[^167]
|
|
1984
1987
|
- [Credential management](https://github.com/sveltia/sveltia-cms/issues/444) for service API keys, deploy hook URL, etc.
|
|
1985
1988
|
- Proxy for services that don’t support [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS):
|
|
1986
|
-
- Cloudinary media library’s file listing
|
|
1987
1989
|
- [DeepL Translate](https://github.com/sveltia/sveltia-cms/issues/437)
|
|
1988
1990
|
- [Git LFS support for GitHub](https://github.com/sveltia/sveltia-cms/discussions/353)[^244]
|
|
1989
1991
|
- Search enhancements:
|
|
@@ -2188,7 +2190,7 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2188
2190
|
|
|
2189
2191
|
[^72]: Netlify/Decap CMS [#7047](https://github.com/decaporg/decap-cms/issues/7047)
|
|
2190
2192
|
|
|
2191
|
-
[^73]: Netlify/Decap CMS [#6993](https://github.com/decaporg/decap-cms/issues/6993), [#7123](https://github.com/decaporg/decap-cms/issues/7123), [#7127](https://github.com/decaporg/decap-cms/issues/7127), [#7128](https://github.com/decaporg/decap-cms/issues/7128), [#7237](https://github.com/decaporg/decap-cms/issues/7237), [#7251](https://github.com/decaporg/decap-cms/issues/7251), [#7361](https://github.com/decaporg/decap-cms/issues/7361), [#7391](https://github.com/decaporg/decap-cms/issues/7391), [#7393](https://github.com/decaporg/decap-cms/issues/7393), [#7470](https://github.com/decaporg/decap-cms/issues/7470), [#7475](https://github.com/decaporg/decap-cms/issues/7475), [#7480](https://github.com/decaporg/decap-cms/issues/7480), [#7503](https://github.com/decaporg/decap-cms/issues/7503), [#7504](https://github.com/decaporg/decap-cms/issues/7504), [#7524](https://github.com/decaporg/decap-cms/issues/7524), [#7531](https://github.com/decaporg/decap-cms/issues/7531), [#7535](https://github.com/decaporg/decap-cms/issues/7535), [#7553](https://github.com/decaporg/decap-cms/issues/7553), [#7561](https://github.com/decaporg/decap-cms/issues/7561), [#7584](https://github.com/decaporg/decap-cms/issues/7584), [#7591](https://github.com/decaporg/decap-cms/issues/7591), [#7609](https://github.com/decaporg/decap-cms/issues/7609)
|
|
2193
|
+
[^73]: Netlify/Decap CMS [#6993](https://github.com/decaporg/decap-cms/issues/6993), [#7123](https://github.com/decaporg/decap-cms/issues/7123), [#7127](https://github.com/decaporg/decap-cms/issues/7127), [#7128](https://github.com/decaporg/decap-cms/issues/7128), [#7237](https://github.com/decaporg/decap-cms/issues/7237), [#7251](https://github.com/decaporg/decap-cms/issues/7251), [#7361](https://github.com/decaporg/decap-cms/issues/7361), [#7391](https://github.com/decaporg/decap-cms/issues/7391), [#7393](https://github.com/decaporg/decap-cms/issues/7393), [#7470](https://github.com/decaporg/decap-cms/issues/7470), [#7475](https://github.com/decaporg/decap-cms/issues/7475), [#7480](https://github.com/decaporg/decap-cms/issues/7480), [#7503](https://github.com/decaporg/decap-cms/issues/7503), [#7504](https://github.com/decaporg/decap-cms/issues/7504), [#7524](https://github.com/decaporg/decap-cms/issues/7524), [#7531](https://github.com/decaporg/decap-cms/issues/7531), [#7535](https://github.com/decaporg/decap-cms/issues/7535), [#7553](https://github.com/decaporg/decap-cms/issues/7553), [#7561](https://github.com/decaporg/decap-cms/issues/7561), [#7584](https://github.com/decaporg/decap-cms/issues/7584), [#7591](https://github.com/decaporg/decap-cms/issues/7591), [#7609](https://github.com/decaporg/decap-cms/issues/7609), [#7628](https://github.com/decaporg/decap-cms/issues/7628)
|
|
2192
2194
|
|
|
2193
2195
|
[^74]: Netlify/Decap CMS [#4209](https://github.com/decaporg/decap-cms/issues/4209)
|
|
2194
2196
|
|
|
@@ -2300,7 +2302,7 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2300
2302
|
|
|
2301
2303
|
[^128]: Netlify/Decap CMS [#7092](https://github.com/decaporg/decap-cms/issues/7092)
|
|
2302
2304
|
|
|
2303
|
-
[^129]: Netlify/Decap CMS [#4961](https://github.com/decaporg/decap-cms/issues/4961), [#4979](https://github.com/decaporg/decap-cms/issues/4979), [#5545](https://github.com/decaporg/decap-cms/issues/5545), [#5778](https://github.com/decaporg/decap-cms/issues/5778), [#6279](https://github.com/decaporg/decap-cms/issues/6279), [#6464](https://github.com/decaporg/decap-cms/issues/6464), [#6810](https://github.com/decaporg/decap-cms/issues/6810), [#6922](https://github.com/decaporg/decap-cms/issues/6922), [#7118](https://github.com/decaporg/decap-cms/issues/7118), [#7293](https://github.com/decaporg/decap-cms/issues/7293) — A comment on one of the issues says the crash was due to Google Translate. Sveltia CMS has turned off Google Translate on the admin page.
|
|
2305
|
+
[^129]: Netlify/Decap CMS [#4961](https://github.com/decaporg/decap-cms/issues/4961), [#4979](https://github.com/decaporg/decap-cms/issues/4979), [#5545](https://github.com/decaporg/decap-cms/issues/5545), [#5778](https://github.com/decaporg/decap-cms/issues/5778), [#6279](https://github.com/decaporg/decap-cms/issues/6279), [#6464](https://github.com/decaporg/decap-cms/issues/6464), [#6810](https://github.com/decaporg/decap-cms/issues/6810), [#6922](https://github.com/decaporg/decap-cms/issues/6922), [#7118](https://github.com/decaporg/decap-cms/issues/7118), [#7293](https://github.com/decaporg/decap-cms/issues/7293), [#7630](https://github.com/decaporg/decap-cms/issues/7630) — A comment on one of the issues says the crash was due to Google Translate. Sveltia CMS has turned off Google Translate on the admin page.
|
|
2304
2306
|
|
|
2305
2307
|
[^130]: Netlify/Decap CMS [#6571](https://github.com/decaporg/decap-cms/issues/6571), [#7539](https://github.com/decaporg/decap-cms/discussions/7539)
|
|
2306
2308
|
|
|
@@ -2614,8 +2616,6 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2614
2616
|
|
|
2615
2617
|
[^287]: Netlify/Decap CMS [#1069](https://github.com/decaporg/decap-cms/issues/1069)
|
|
2616
2618
|
|
|
2617
|
-
[^288]: Netlify/Decap CMS [#7015](https://github.com/decaporg/decap-cms/issues/7015)
|
|
2618
|
-
|
|
2619
2619
|
[^289]: Netlify/Decap CMS [#2183](https://github.com/decaporg/decap-cms/issues/2183)
|
|
2620
2620
|
|
|
2621
2621
|
[^290]: Netlify/Decap CMS [#7611](https://github.com/decaporg/decap-cms/issues/7611)
|
|
@@ -2627,3 +2627,7 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2627
2627
|
[^293]: Netlify/Decap CMS [7616](https://github.com/decaporg/decap-cms/issues/7616)
|
|
2628
2628
|
|
|
2629
2629
|
[^294]: Netlify/Decap CMS [#7576](https://github.com/decaporg/decap-cms/issues/7576), [#7587](https://github.com/decaporg/decap-cms/issues/7587)
|
|
2630
|
+
|
|
2631
|
+
[^295]: Netlify/Decap CMS [6243](https://github.com/decaporg/decap-cms/issues/6243)
|
|
2632
|
+
|
|
2633
|
+
[^296]: Netlify/Decap CMS [7627](https://github.com/decaporg/decap-cms/issues/7627)
|