@sveltia/cms 0.111.0 → 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 +14 -13
- package/dist/sveltia-cms.js +99 -99
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +129 -129
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
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.
|
|
@@ -686,7 +688,7 @@ The following Netlify/Decap CMS features will not be added to Sveltia CMS, prima
|
|
|
686
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).
|
|
687
689
|
- Remark plugins for the Markdown widget: Not compatible with our Lexical-based rich text editor.
|
|
688
690
|
- The `use_secure_url` option for the Cloudinary media library: Insecure URLs should never be used.
|
|
689
|
-
-
|
|
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.
|
|
690
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.
|
|
691
693
|
- Performance-related options: Sveltia CMS has [drastically improved performance](#better-performance) with GraphQL enabled by default, so these are no longer relevant:
|
|
692
694
|
- Global: [`search`](https://decapcms.org/docs/configuration-options/#search)
|
|
@@ -1923,7 +1925,7 @@ Due early 2026
|
|
|
1923
1925
|
|
|
1924
1926
|
- Enhanced [compatibility with Netlify/Decap CMS](#current-limitations)
|
|
1925
1927
|
- Tackling some more Netlify/Decap CMS issues:
|
|
1926
|
-
- Several Cloudinary media library issues
|
|
1928
|
+
- Several Cloudinary media library issues
|
|
1927
1929
|
- Thorough site config validation[^246]
|
|
1928
1930
|
- [Entry pre-validation/normalization](https://github.com/sveltia/sveltia-cms/issues/395)[^248]
|
|
1929
1931
|
- Accessibility audit
|
|
@@ -1984,7 +1986,6 @@ Due late 2026
|
|
|
1984
1986
|
- Scheduled posts[^167]
|
|
1985
1987
|
- [Credential management](https://github.com/sveltia/sveltia-cms/issues/444) for service API keys, deploy hook URL, etc.
|
|
1986
1988
|
- Proxy for services that don’t support [CORS](https://developer.mozilla.org/en-US/docs/Web/HTTP/Guides/CORS):
|
|
1987
|
-
- Cloudinary media library’s file listing
|
|
1988
1989
|
- [DeepL Translate](https://github.com/sveltia/sveltia-cms/issues/437)
|
|
1989
1990
|
- [Git LFS support for GitHub](https://github.com/sveltia/sveltia-cms/discussions/353)[^244]
|
|
1990
1991
|
- Search enhancements:
|
|
@@ -2189,7 +2190,7 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2189
2190
|
|
|
2190
2191
|
[^72]: Netlify/Decap CMS [#7047](https://github.com/decaporg/decap-cms/issues/7047)
|
|
2191
2192
|
|
|
2192
|
-
[^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)
|
|
2193
2194
|
|
|
2194
2195
|
[^74]: Netlify/Decap CMS [#4209](https://github.com/decaporg/decap-cms/issues/4209)
|
|
2195
2196
|
|
|
@@ -2301,7 +2302,7 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2301
2302
|
|
|
2302
2303
|
[^128]: Netlify/Decap CMS [#7092](https://github.com/decaporg/decap-cms/issues/7092)
|
|
2303
2304
|
|
|
2304
|
-
[^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.
|
|
2305
2306
|
|
|
2306
2307
|
[^130]: Netlify/Decap CMS [#6571](https://github.com/decaporg/decap-cms/issues/6571), [#7539](https://github.com/decaporg/decap-cms/discussions/7539)
|
|
2307
2308
|
|
|
@@ -2615,8 +2616,6 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2615
2616
|
|
|
2616
2617
|
[^287]: Netlify/Decap CMS [#1069](https://github.com/decaporg/decap-cms/issues/1069)
|
|
2617
2618
|
|
|
2618
|
-
[^288]: Netlify/Decap CMS [#7015](https://github.com/decaporg/decap-cms/issues/7015)
|
|
2619
|
-
|
|
2620
2619
|
[^289]: Netlify/Decap CMS [#2183](https://github.com/decaporg/decap-cms/issues/2183)
|
|
2621
2620
|
|
|
2622
2621
|
[^290]: Netlify/Decap CMS [#7611](https://github.com/decaporg/decap-cms/issues/7611)
|
|
@@ -2630,3 +2629,5 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2630
2629
|
[^294]: Netlify/Decap CMS [#7576](https://github.com/decaporg/decap-cms/issues/7576), [#7587](https://github.com/decaporg/decap-cms/issues/7587)
|
|
2631
2630
|
|
|
2632
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)
|