@sveltia/cms 0.41.1 → 0.42.1
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 +16 -14
- package/dist/sveltia-cms.js +475 -474
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +473 -472
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Sveltia CMS
|
|
2
2
|
|
|
3
|
-
Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, quick replacement for Netlify CMS and Decap CMS. In some simple cases, migration is as easy as a single line of code change, although we are still working on improving compatibility. The free, open source alternative to Netlify/Decap CMS is now in public beta, offering
|
|
3
|
+
Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, quick replacement for Netlify CMS and Decap CMS. In some simple cases, migration is as easy as a single line of code change, although we are still working on improving compatibility. The free, open source alternative to Netlify/Decap CMS is now in public beta, offering great UX, performance, i18n support and more.
|
|
4
4
|
|
|
5
5
|
<br>
|
|
6
6
|
|
|
@@ -79,16 +79,14 @@ To achieve radical improvements in UX, performance, i18n and other areas, it was
|
|
|
79
79
|
|
|
80
80
|
Due to its unfortunate abandonment, Netlify CMS spawned 3 successors:
|
|
81
81
|
|
|
82
|
-
- [Static CMS](https://github.com/StaticJsCMS/static-cms): a community
|
|
82
|
+
- [Static CMS](https://github.com/StaticJsCMS/static-cms): a community fork, initial commit made in September 2022, discontinued in September 2024
|
|
83
83
|
- **Sveltia CMS**: a total reboot, started in November 2022, first appeared on GitHub in March 2023
|
|
84
|
-
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version,
|
|
84
|
+
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version, [announced in February 2023](https://www.netlify.com/blog/netlify-cms-to-become-decap-cms/) as the official successor, with a Netlify agency partner taking ownership
|
|
85
85
|
|
|
86
86
|
Sveltia CMS is the only project that doesn’t inherit the complexity, technical debt and miscellaneous bugs of Netlify CMS, which was launched back in 2015. We are confident that our decision to rebuild the application from scratch was the right one, as proven by the [hundreds of improvements](#differentiators) we have already made.
|
|
87
87
|
|
|
88
88
|
While Sveltia CMS is specifically designed to replace legacy Netlify CMS instances, it also aims to serve as a substitute for the other products.
|
|
89
89
|
|
|
90
|
-
Note: While we are closely following the development of Decap CMS, compatibility with Static CMS will be worked on mostly after the release of Sveltia CMS 1.0.
|
|
91
|
-
|
|
92
90
|
### Our goals
|
|
93
91
|
|
|
94
92
|
- Making Sveltia CMS a viable, definitive successor to Netlify CMS
|
|
@@ -99,14 +97,14 @@ Note: While we are closely following the development of Decap CMS, compatibility
|
|
|
99
97
|
|
|
100
98
|
## Development status
|
|
101
99
|
|
|
102
|
-
Sveltia CMS is currently in **beta
|
|
100
|
+
Sveltia CMS is currently in **beta** and version 1.0 is expected to ship in **early 2025**, in time for the 10th anniversary of Netlify CMS. Check our [release notes](https://github.com/sveltia/sveltia-cms/releases) for updates. See also our [roadmap](#roadmap).
|
|
103
101
|
|
|
104
|
-
While we fix reported bugs as quickly as possible, usually within 24 hours, our overall progress may be slower than you think. The thing is, it’s not just a personal project of [@kyoshino](https://github.com/kyoshino), but also involves different kinds of activities:
|
|
102
|
+
While we fix reported bugs as quickly as possible, usually within 24 hours, our overall progress may be slower than you think. The thing is, it’s not just a personal project of [@kyoshino](https://github.com/kyoshino), but also involves different kinds of activities that require considerable effort:
|
|
105
103
|
|
|
106
104
|
- Ensuring substantial [compatibility with Netlify/Decap CMS](#compatibility)
|
|
107
105
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
108
106
|
- So far, 135+ of them, or 240+ including duplicates, have been effectively solved in Sveltia CMS
|
|
109
|
-
- Target: 150 issues by GA,
|
|
107
|
+
- Target: 150 issues by GA, 250 or all relevant and fixable issues in a future release
|
|
110
108
|
- Note: Issues include both feature requests and bug reports; we also track [their discussions](https://github.com/decaporg/decap-cms/discussions)
|
|
111
109
|
- [Let us know](https://github.com/sveltia/sveltia-cms/issues/new) if you have any specific issues you’d like to see solved!
|
|
112
110
|
- Responding to feedback from clients and regular users
|
|
@@ -134,7 +132,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
134
132
|
|
|
135
133
|
- Built completely from scratch with Svelte instead of forking React-based Netlify/Decap CMS. The app starts fast and stays fast. The compiled code is vanilla JavaScript — you can use it with any framework or static site generator (SSG) that can load static data files during the build process.
|
|
136
134
|
- Small footprint: The bundle size is less than 450 KB when minified and brotlied, which is much lighter than Netlify CMS (1.5 MB), Decap CMS (1.8 MB) and Static CMS (2.6 MB)[^57][^64], even though we haven’t implemented some features yet. That’s the power of Svelte + Vite.
|
|
137
|
-
- We have upgraded from Svelte 4 to [Svelte 5
|
|
135
|
+
- We have upgraded from Svelte 4 to [Svelte 5](https://svelte.dev/blog/svelte-5-is-alive) to further improve performance, including an even smaller bundle size. A full migration to the Runes reactivity API will follow.
|
|
138
136
|
- Sveltia CMS is free of technical debt and [virtual DOM overhead](https://svelte.dev/blog/virtual-dom-is-pure-overhead).
|
|
139
137
|
- Uses the GraphQL API for GitHub and GitLab to quickly fetch content at once, so that entries and assets can be listed and searched instantly[^32][^65]. It also avoids the slowness and potential API rate limit violations caused by hundreds of requests with Relation widgets[^14].
|
|
140
138
|
- Saving entries and assets to GitHub is also much faster thanks to the [GraphQL mutation](https://github.blog/changelog/2021-09-13-a-simpler-api-for-authoring-commits/).
|
|
@@ -420,7 +418,7 @@ These limitations are expected to be resolved before or shortly after GA:
|
|
|
420
418
|
| Workflow | Editorial Workflow and Open Authoring are not yet supported and will be implemented after the 1.0 release. |
|
|
421
419
|
| Collections | Nested Collections are not yet supported and will be implemented after the 1.0 release. |
|
|
422
420
|
| Widgets | Custom widgets are not yet supported. See the table below for other limitations. |
|
|
423
|
-
| Customizations | Custom previews
|
|
421
|
+
| Customizations | Custom previews and event subscriptions are not yet supported. |
|
|
424
422
|
|
|
425
423
|
| Widget | Status in Sveltia CMS |
|
|
426
424
|
| --- | --- |
|
|
@@ -430,6 +428,8 @@ These limitations are expected to be resolved before or shortly after GA:
|
|
|
430
428
|
| Map | Not yet supported. |
|
|
431
429
|
| Markdown | Editor components, including built-in `image` and `code-block` as well as custom components, are not yet supported. |
|
|
432
430
|
|
|
431
|
+
We also plan to provide partial compatibility with new features added to Static CMS, such as the [KeyValue widget](https://staticjscms.netlify.app/docs/widget-keyvalue).
|
|
432
|
+
|
|
433
433
|
Found a compatibility issue or other missing feature? Let us know by [filing an issue](https://github.com/sveltia/sveltia-cms/issues/new).
|
|
434
434
|
|
|
435
435
|
## Getting started
|
|
@@ -479,6 +479,8 @@ That said, we strongly recommend testing your new Sveltia CMS instance first on
|
|
|
479
479
|
|
|
480
480
|
Sveltia CMS does not support the Git Gateway backend due to performance limitations. If you don’t care about user management with Netlify Identity, you can use the [GitHub backend](https://decapcms.org/docs/github-backend/) or [GitLab backend](https://decapcms.org/docs/gitlab-backend/) instead. Make sure **you install an OAuth client** on GitHub or GitLab in addition to updating your configuration file. As noted in the document, Netlify is still able to facilitate the auth flow.
|
|
481
481
|
|
|
482
|
+
To allow multiple users to edit content, simply invite people to your GitHub repository with the write role assigned.
|
|
483
|
+
|
|
482
484
|
Once you have migrated from the Git Gateway and Netlify Identity combo, you can remove the Netlify Identity widget script tag from your HTML:
|
|
483
485
|
|
|
484
486
|
```diff
|
|
@@ -605,7 +607,7 @@ Rather, if you’d like to add all the media files for a collection in one singl
|
|
|
605
607
|
+ public_folder: /media/products
|
|
606
608
|
```
|
|
607
609
|
|
|
608
|
-
In Sveltia CMS, those per-collection media folders are displayed prominently for easier asset management.
|
|
610
|
+
In Sveltia CMS, those per-collection media folders are displayed prominently for easier asset management. We recommend setting `media_folder` and `public_folder` for each collection if it contains one or more File/Image fields.
|
|
609
611
|
|
|
610
612
|
### Using keyboard shortcuts
|
|
611
613
|
|
|
@@ -861,7 +863,7 @@ img-src 'self' blob: data: https://*;
|
|
|
861
863
|
|
|
862
864
|
## Support & feedback
|
|
863
865
|
|
|
864
|
-
While we don’t have dedicated developer/user support resources, quick questions and feedback are welcome on the [Discussions](https://github.com/sveltia/sveltia-cms/discussions) page of this GitHub repository. We also have a [Discord channel](https://discord.gg/5hwCGqup5b) for casual chat
|
|
866
|
+
While we don’t have dedicated developer/user support resources, [quick questions](https://github.com/sveltia/sveltia-cms/discussions/new?category=q-a) and [feedback](https://github.com/sveltia/sveltia-cms/discussions/new?category=general) are welcome on the [Discussions](https://github.com/sveltia/sveltia-cms/discussions) page of this GitHub repository. We also have a [Discord channel](https://discord.gg/5hwCGqup5b) for casual chat.
|
|
865
867
|
|
|
866
868
|
Looking to build a website with Sveltia CMS? Maintainer [@kyoshino](https://github.com/kyoshino) is available for hire depending on your requirements. Feel free to reach out!
|
|
867
869
|
|
|
@@ -873,9 +875,9 @@ See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/ma
|
|
|
873
875
|
|
|
874
876
|
### Before the 1.0 release
|
|
875
877
|
|
|
876
|
-
- [Svelte 5](https://svelte.dev/blog/svelte-5-
|
|
878
|
+
- [Svelte 5](https://svelte.dev/blog/svelte-5-is-alive) Runes migration
|
|
877
879
|
- Enhanced [compatibility with Netlify/Decap CMS](#compatibility)
|
|
878
|
-
-
|
|
880
|
+
- Partial compatibility with Static CMS, a now-discontinued community fork of Netlify CMS, specifically the [KeyValue widget](https://staticjscms.netlify.app/docs/widget-keyvalue)[^123]
|
|
879
881
|
- Localization with the new [Fluent](https://projectfluent.org)-powered sveltia-i18n library
|
|
880
882
|
- Accessibility audit
|
|
881
883
|
- Developer documentation (implementation guide)
|