@sveltia/cms 0.119.1 → 0.119.2
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 +13 -5
- package/dist/sveltia-cms.js +255 -255
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +176 -176
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +1 -1
- package/types/public.d.ts +10 -6
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Sveltia CMS: Netlify/Decap CMS successor
|
|
2
2
|
|
|
3
|
-
Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, powerful, direct replacement for Netlify CMS (now Decap CMS). We have picked up where they left off and have already solved over
|
|
3
|
+
Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, powerful, direct replacement for Netlify CMS (now Decap CMS). We have picked up where they left off and have already solved over 270 issues reported in the predecessor’s repository, ranging from critical bugs to top feature requests.
|
|
4
4
|
|
|
5
5
|
Built from the ground up, Sveltia CMS offers excellent UX, DX, performance, security and internationalization (i18n) support. Although some features are still missing, our numerous enhancements across the board ensure smooth daily workflows.
|
|
6
6
|
|
|
@@ -127,7 +127,7 @@ Due to its unfortunate abandonment in early 2022, Netlify CMS spawned 3 successo
|
|
|
127
127
|
- **Sveltia CMS**: not a fork but a **complete rewrite**
|
|
128
128
|
- Started in November 2022, first appeared on GitHub in March 2023
|
|
129
129
|
- ✅ Actively developed with frequent releases and numerous improvements
|
|
130
|
-
- ✅ Solved more than
|
|
130
|
+
- ✅ Solved more than 270 issues reported in the Netlify/Decap CMS repository
|
|
131
131
|
- [Decap CMS](https://github.com/decaporg/decap-cms): a rebranded version
|
|
132
132
|
- [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
|
|
133
133
|
- ⚠️ Mostly low activity with only occasional releases and a few minor improvements
|
|
@@ -165,7 +165,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
165
165
|
- Some missing features will be implemented before or shortly after GA
|
|
166
166
|
- Providing partial [compatibility with Static CMS](#compatibility-with-static-cms)
|
|
167
167
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
168
|
-
- So far, **
|
|
168
|
+
- So far, **270+ issues, or 580+ if including duplicates, have been effectively solved** in Sveltia CMS (Yes, you read it right)
|
|
169
169
|
- Target:
|
|
170
170
|
- 250 issues, or 500 if including duplicates, by GA — We did it! 🎉
|
|
171
171
|
- 400 issues, or 900 if including duplicates, in the future 💪
|
|
@@ -179,7 +179,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
179
179
|
- Responding to requests from the maintainer’s clients
|
|
180
180
|
- Making the code clean and maintainable
|
|
181
181
|
|
|
182
|
-
<br>
|
|
183
183
|
|
|
184
184
|
## Differentiators
|
|
185
185
|
|
|
@@ -293,6 +293,7 @@ We’ve made various improvements to help you get your work done faster and more
|
|
|
293
293
|
- Common backend misconfigurations, such as an incorrect repository name or a missing OAuth client ID[^303]
|
|
294
294
|
- A mismatch between the `format` and `extension` options for a collection
|
|
295
295
|
- Invalid collection, collection file, field, variable type names (e.g. names containing `.` or `*`)
|
|
296
|
+
- `slug` templates containing slashes
|
|
296
297
|
- Mutually exclusive config options (e.g. `field`, `fields` and `types` on List fields)
|
|
297
298
|
- `collection` and `file` references on Relation fields
|
|
298
299
|
- Duplicate variable type names
|
|
@@ -323,6 +324,7 @@ The [GitHub](https://decapcms.org/docs/github-backend/), [GitLab](https://decapc
|
|
|
323
324
|
- Users won’t get a 404 Not Found error when you sign in to the GitLab backend.[^115]
|
|
324
325
|
- We have implemented a workaround for a [GraphQL complexity limit issue](https://github.com/sveltia/sveltia-cms/issues/525) in GitLab 18.4.2, while Netlify/Decap CMS continues to suffer from the same problem.[^301]
|
|
325
326
|
- 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]
|
|
327
|
+
- Unlike Netlify/Decap CMS, Sveltia CMS does not have a hardcoded API request timeout of 60 seconds, which can lead to unexpected errors when working with large files or slow networks.[^304] Though users may still experience timeouts due to server-side limitations, at least the client-side won’t impose an arbitrary limit.
|
|
326
328
|
- Features the all-new [local repository workflow](#working-with-a-local-git-repository) for a better DX. See the [productivity section](#better-productivity) above.
|
|
327
329
|
- An indicator is displayed in the account menu when using the local repository workflow.[^302]
|
|
328
330
|
- Developers can select the local and remote backends while working on a local server.
|
|
@@ -739,7 +741,11 @@ There are some differences in behaviour between Sveltia CMS and Netlify/Decap CM
|
|
|
739
741
|
- Sveltia CMS requires a [secure context](https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts), meaning it only works with HTTPS, `localhost` or `127.0.0.1` URLs. If you’re running your own remote server and serving content over HTTP, the CMS will not work. We recommend obtaining a TLS certificate from [Let’s Encrypt](https://letsencrypt.org/).
|
|
740
742
|
- As of [Sveltia CMS 0.105.0](https://github.com/sveltia/sveltia-cms/releases/tag/v0.105.0), the `sanitize_preview` option for the [Markdown](https://decapcms.org/docs/widgets/#Markdown) widget is set to `true` by default to prevent potential XSS attacks via entry previews. We recommend keeping this option enabled unless disabling it fixes a broken preview and you fully trust all users of your CMS.
|
|
741
743
|
|
|
742
|
-
|
|
744
|
+
There may be other minor differences in behaviour that are not listed here.
|
|
745
|
+
|
|
746
|
+
Sveltia CMS is also adding various config validation checks to help users identify potential issues, so you may see errors that were not present in Netlify/Decap CMS before. For example, Sveltia CMS raises an error if the `slug` collection option contains slashes (`/`), which is supposed to be invalid.
|
|
747
|
+
|
|
748
|
+
[Let us know](https://github.com/sveltia/sveltia-cms/issues/new?type=bug) if you have encounter any compatibility issues not mentioned here. We want to make the migration process as smooth as possible for our users.
|
|
743
749
|
|
|
744
750
|
### Framework support
|
|
745
751
|
|
|
@@ -2710,3 +2716,5 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2710
2716
|
[^302]: Netlify/Decap CMS [#3286](https://github.com/decaporg/decap-cms/issues/3286)
|
|
2711
2717
|
|
|
2712
2718
|
[^303]: Netlify/Decap CMS [#3803](https://github.com/decaporg/decap-cms/issues/3803)
|
|
2719
|
+
|
|
2720
|
+
[^304]: Netlify/Decap CMS [#4538](https://github.com/decaporg/decap-cms/issues/4538), [#6371](https://github.com/decaporg/decap-cms/issues/6371)
|