@sveltia/cms 0.46.3 → 0.46.5
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 -10
- package/dist/sveltia-cms.js +191 -191
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +186 -186
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -106,9 +106,9 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
106
106
|
|
|
107
107
|
- Ensuring substantial [compatibility with Netlify/Decap CMS](#compatibility)
|
|
108
108
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
109
|
-
- So far, 140+ of them, or
|
|
109
|
+
- So far, 140+ of them, or 250+ including duplicates, have been effectively solved in Sveltia CMS
|
|
110
110
|
- Target: 150 issues by GA, 250 or all relevant and fixable issues in a future release
|
|
111
|
-
- Note: Issues include both feature requests and bug reports; we also track
|
|
111
|
+
- Note: Issues include both feature requests and bug reports; we also track their [stale issues](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+%22Closing+as+stale%22) and [discussions](https://github.com/decaporg/decap-cms/discussions)
|
|
112
112
|
- [Let us know](https://github.com/sveltia/sveltia-cms/issues/new) if you have any specific issues you’d like to see solved!
|
|
113
113
|
- Responding to feedback from clients and regular users
|
|
114
114
|
- Implementing our own enhancement ideas for every part of the product
|
|
@@ -137,10 +137,10 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
137
137
|
- 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.
|
|
138
138
|
- 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.
|
|
139
139
|
- Sveltia CMS is free of technical debt and [virtual DOM overhead](https://svelte.dev/blog/virtual-dom-is-pure-overhead).
|
|
140
|
-
- 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]
|
|
140
|
+
- 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] (the useless `search` configuration option is ignored). It also avoids the slowness and potential API rate limit violations caused by hundreds of requests with Relation widgets[^14].
|
|
141
141
|
- 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/).
|
|
142
142
|
- Sorting, filtering and grouping of entries is done instantly without reloading the entire content.
|
|
143
|
-
-
|
|
143
|
+
- Uses caching and lazy loading techniques. A list of repository files is stored locally for faster startup and bandwidth savings.
|
|
144
144
|
- Thumbnails of assets, including videos and PDF files, are generated and cached for faster rendering of the Asset Library and other parts of the CMS[^39].
|
|
145
145
|
- No typing lag on input widgets, especially within nested lists and objects[^77].
|
|
146
146
|
|
|
@@ -152,7 +152,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
|
|
|
152
152
|
- When you delete an entry or an asset file, the empty folder that contains it is also deleted, so you don’t have to delete it manually.
|
|
153
153
|
- Provides a smoother user experience in the Content Editor:
|
|
154
154
|
- A local backup of an entry draft is automatically created without interruption by a confirmation dialog, which annoys users and can cause a page navigation problem if dismissed[^106]. The backup can then be reliably restored without unexpected overwriting[^85].
|
|
155
|
-
- Click once (the Save button) instead of twice (Publish > Publish now) to save an entry.
|
|
155
|
+
- Click once (the Save button) instead of twice (Publish > Publish now) to save an entry. Or just hit the `Ctrl+S` (Windows/Linux) or `Command+S` (macOS) key to save your time.
|
|
156
156
|
- The editor closes automatically when an entry is saved. This behaviour can be changed in the application settings.
|
|
157
157
|
- Uploading files can be done with drag and drop[^20].
|
|
158
158
|
- Users can upload multiple files at once to the Asset Library[^5].
|
|
@@ -298,6 +298,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
298
298
|
- The preview shows both the RGB(A) hex value and the `rgb()` function notation.
|
|
299
299
|
- DateTime
|
|
300
300
|
- A DateTime field doesn’t trigger a change in the content draft status when you’ve just started editing a new entry[^90].
|
|
301
|
+
- User’s local time is not saved in UTC unless the `picker_utc` option is `true`[^150].
|
|
301
302
|
- Hidden
|
|
302
303
|
- The `default` value supports the following template tags:
|
|
303
304
|
- `{{locale}}`: The current locale code[^101].
|
|
@@ -408,11 +409,11 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
408
409
|
|
|
409
410
|
We are trying to make Sveltia CMS compatible with Netlify/Decap CMS where possible, so that more users can seamlessly switch to our modern alternative. It’s ready to be used as a drop-in replacement for Netlify/Decap CMS in some casual use case scenarios with a [single line of code update](#migration).
|
|
410
411
|
|
|
411
|
-
However, 100% feature parity is not planned, and some features are still missing or will not be added due to deprecation and other factors. Look at the compatibility info below to see if you can migrate now or in the near future.
|
|
412
|
+
However, 100% feature parity is not planned, and some features are still missing or will not be added due to performance, deprecation and other factors. Look at the compatibility info below to see if you can migrate now or in the near future.
|
|
412
413
|
|
|
413
414
|
### Features not to be implemented
|
|
414
415
|
|
|
415
|
-
- **The Bitbucket, Gitea/Forgejo and Git Gateway backends will not be supported** for performance reasons. We may implement a high-performance Git Gateway alternative in the future. We may also support the other platforms if/when their APIs improve to allow the CMS to fetch multiple
|
|
416
|
+
- **The Bitbucket, Gitea/Forgejo and Git Gateway backends will not be supported** for performance reasons. We may implement a high-performance Git Gateway alternative in the future. We may also support the other platforms if/when their APIs improve to allow the CMS to fetch multiple entries at once.
|
|
416
417
|
- **The Netlify Identity widget will not be supported**, as it’s not useful without Git Gateway. We may be able to support it in the future if/when a Git Gateway alternative is created.
|
|
417
418
|
- The deprecated client-side implicit grant for the GitLab backend will not be supported, as it has already been [removed from GitLab 15.0](https://gitlab.com/gitlab-org/gitlab/-/issues/344609). Use the client-side PKCE authorization instead.
|
|
418
419
|
- The deprecated Netlify Large Media service will not be supported. Consider other storage providers.
|
|
@@ -438,7 +439,7 @@ These limitations are expected to be resolved before or shortly after GA:
|
|
|
438
439
|
| Widget | Status in Sveltia CMS |
|
|
439
440
|
| --- | --- |
|
|
440
441
|
| Code | Not yet supported. |
|
|
441
|
-
| DateTime | The `date_format` and `time_format` options with Moment.js tokens are not yet supported. Note that [Decap CMS 3.1.1](https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.1.1) replaced Moment.js with [Day.js](https://day.js.org/), and [Decap CMS 3.3.0](https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.3.0) made other changes to the widget behaviour; we’ll follow these changes
|
|
442
|
+
| DateTime | The `date_format` and `time_format` options with Moment.js tokens are not yet supported. Note that [Decap CMS 3.1.1](https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.1.1) replaced Moment.js with [Day.js](https://day.js.org/), and [Decap CMS 3.3.0](https://github.com/decaporg/decap-cms/releases/tag/decap-cms%403.3.0) made other changes to the widget behaviour; we’ll follow these changes where it makes sense. |
|
|
442
443
|
| File/Image | Field-specific media folders and media library options are not yet supported other than `media_library.config.max_file_size` for the default media library. |
|
|
443
444
|
| Map | Not yet supported. |
|
|
444
445
|
| Markdown | Editor components, including built-in `image` and `code-block` as well as custom components, are not yet supported. |
|
|
@@ -1016,7 +1017,7 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
1016
1017
|
|
|
1017
1018
|
[^32]: Netlify/Decap CMS [#302](https://github.com/decaporg/decap-cms/issues/302), [#5549](https://github.com/decaporg/decap-cms/issues/5549)
|
|
1018
1019
|
|
|
1019
|
-
[^33]: Netlify/Decap CMS [#6513](https://github.com/decaporg/decap-cms/issues/6513), [#7295](https://github.com/decaporg/decap-cms/issues/7295)
|
|
1020
|
+
[^33]: Netlify/Decap CMS [#542](https://github.com/decaporg/decap-cms/issues/542), [#6513](https://github.com/decaporg/decap-cms/issues/6513), [#7295](https://github.com/decaporg/decap-cms/issues/7295)
|
|
1020
1021
|
|
|
1021
1022
|
[^34]: Netlify/Decap CMS [#2138](https://github.com/decaporg/decap-cms/issues/2138), [#5932](https://github.com/decaporg/decap-cms/discussions/5932)
|
|
1022
1023
|
|
|
@@ -1246,6 +1247,8 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
1246
1247
|
|
|
1247
1248
|
[^147]: Netlify/Decap CMS [#3583](https://github.com/decaporg/decap-cms/issues/3583)
|
|
1248
1249
|
|
|
1249
|
-
[^148]: Netlify/Decap CMS [#531](https://github.com/decaporg/decap-cms/issues/531)
|
|
1250
|
+
[^148]: Netlify/Decap CMS [#531](https://github.com/decaporg/decap-cms/issues/531), [#1282](https://github.com/decaporg/decap-cms/issues/1282), [#1877](https://github.com/decaporg/decap-cms/issues/1877)
|
|
1250
1251
|
|
|
1251
1252
|
[^149]: Netlify/Decap CMS [#13](https://github.com/decaporg/decap-cms/issues/13) — The issue appears to have been closed without a fix being available.
|
|
1253
|
+
|
|
1254
|
+
[^150]: Netlify/Decap CMS [#7319](https://github.com/decaporg/decap-cms/issues/7319)
|