@sveltia/cms 0.36.4 → 0.37.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 CHANGED
@@ -28,7 +28,7 @@ Due to its unfortunate abandonment, Netlify CMS spawned 3 successors:
28
28
 
29
29
  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 2016. We are confident that our decision to rebuild the application from scratch was the right one, as proven by the hundreds of improvements we have already made.
30
30
 
31
- While Sveltia CMS is specifically designed to replace legacy Netlify CMS instances, it also aims to serve as a substitute for the other products that are not receiving substantial updates. (Note: Static CMS compatibility will be worked on after the Sveltia CMS 1.0 release)
31
+ While Sveltia CMS is specifically designed to replace legacy Netlify CMS instances, it also aims to serve as a substitute for the other products. (Note: Static CMS compatibility will be worked on after the Sveltia CMS 1.0 release)
32
32
 
33
33
  ### Our goals
34
34
 
@@ -46,7 +46,7 @@ While we are fixing reported bugs as fast as we can, the overall progress may be
46
46
 
47
47
  - Ensuring maximum [compatibility with existing versions of Netlify/Decap CMS](#compatibility)
48
48
  - Tackling as many [issues reported to Netlify/Decap CMS](https://github.com/decaporg/decap-cms/issues) as possible
49
- - So far, 110+ of them (or 185+ including duplicates) have been effectively solved in Sveltia CMS
49
+ - So far, 110+ of them (or 190+ including duplicates) have been effectively solved in Sveltia CMS
50
50
  - Target: 125 issues by GA, 250 in a future release
51
51
  - [Let us know](https://github.com/sveltia/sveltia-cms/issues/new) if you have any specific issues you’d like to see solved!
52
52
  - Responding to user feedback
@@ -72,7 +72,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
72
72
  - Created and maintained by an [experienced UX engineer](https://github.com/kyoshino) who loves code, design and marketing. You can expect constant improvements to the user experience (UX) and developer experience (DX) across the platform.
73
73
  - Offers a modern, intuitive user interface, including an immersive dark mode[^2], inspired in part by the Netlify CMS v3 prototype[^1].
74
74
  - Comes with touch device support. While the UI is not yet optimized for small screens, large tablets like iPad Pro or Pixel Tablet should work well. Mobile support is planned after the 1.0 release.
75
- - Made with Svelte, not React, means we can spend more time on UX rather than tedious state management. It also allows us to avoid fatal React application crashes[^113]. Best of all, Svelte offers great performance!
75
+ - Made with Svelte, not React, means we can spend more time on UX rather than tedious state management. It also allows us to avoid common fatal application crashes[^113]. Best of all, Svelte offers great performance!
76
76
  - The screenshots above are worth a thousand words, but read on to learn about many other improvements in detail.
77
77
 
78
78
  ### Better performance
@@ -84,7 +84,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
84
84
  - 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].
85
85
  - 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/).
86
86
  - Using caching and lazy loading techniques. A list of repository files is stored locally for faster startup and bandwidth savings.
87
- - Thumbnails of assets, including PDF files, are generated and cached for faster rendering of the Asset Library and other parts of the CMS[^39].
87
+ - 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].
88
88
  - No typing lag on input widgets, especially within nested lists and objects[^77].
89
89
 
90
90
  ### Better productivity
@@ -110,6 +110,7 @@ We are working hard to create a **significantly better alternative to Netlify CM
110
110
  - Enabled and disabled buttons can be clearly distinguished[^105].
111
111
  - Links are underlined by default to make them easier to recognize. This behaviour can be changed in the Accessibility Settings if you prefer.
112
112
  - Honours your operating system’s [reduced motion](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-motion) and [reduced transparency](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-reduced-transparency) settings. (Support for [high contrast mode](https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-contrast) will be added later.)
113
+ - Browser console logs for developers are readable in either light or dark mode[^116].
113
114
  - We’ll continue to test and improve the application to meet [WCAG 2.2](https://w3c.github.io/wcag/guidelines/22/).
114
115
 
115
116
  ### Better security
@@ -155,6 +156,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
155
156
  - You can easily switch between locales while editing by clicking a button instead of a dropdown list. No internal error is thrown when changing the locale[^103].
156
157
  - Language labels appear in human-readable display names instead of ISO 639 language codes, which not everyone is familiar with. (For example, it might be difficult to recognize `DE` as German, `NL` as Dutch, or `ZH` as Chinese.)
157
158
  - The List widget’s `label` and `label_singular` are not converted to lowercase, which is especially problematic in German, where all nouns are capitalized[^98].
159
+ - Long menu item labels, especially in non-English locales, don’t overflow the dropdown container[^117].
158
160
  - Content editing
159
161
  - [Integrates DeepL](#using-deepl-to-translate-entry-fields) to allow translation of text fields from another locale with one click. More translation services will be added in the future.
160
162
  - You can [disable non-default locale content](#disabling-non-default-locale-content)[^15].
@@ -189,6 +191,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
189
191
 
190
192
  - Required fields, not optional fields, are clearly marked for efficient data entry.
191
193
  - You can revert changes to all fields or a specific field.
194
+ - If you revert changes and there are no unsaved changes, the Save button is disabled as expected[^118].
192
195
  - You can hide the preview of a specific field with `preview: false`.
193
196
  - Fields with validation errors are automatically expanded if they are part of nested, collapsed objects[^40].
194
197
  - When you click on a field in the preview pane, the corresponding field in the edit pane is highlighted. It will be automatically expanded if collapsed[^41].
@@ -205,6 +208,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
205
208
  - Leading and trailing spaces in text-type field values are automatically removed when you save an entry[^37].
206
209
  - JSON/TOML/YAML data is saved with a new line at the end of the file to prevent unnecessary changes being made to the file[^11][^69].
207
210
  - String values in YAML files can be quoted with the new `yaml_quote: true` option for a collection, mainly for framework compatibility[^9].
211
+ - YAML string folding (maximum line width) is disabled, mainly for framework compatibility[^119].
208
212
 
209
213
  ### Better widgets
210
214
 
@@ -300,7 +304,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
300
304
 
301
305
  ## Compatibility
302
306
 
303
- We are trying to make Sveltia CMS as compatible as possible with Netlify/Decap CMS, so that more users can seamlessly switch to our modern, powerful alternative. However, some features will be omitted due to deprecations and other factors.
307
+ We are trying to make Sveltia CMS as compatible as possible with Netlify/Decap CMS, so that more users can seamlessly switch to our modern, powerful, performant alternative. However, some features will be omitted due to deprecations and other factors.
304
308
 
305
309
  ### Current limitations
306
310
 
@@ -320,7 +324,7 @@ These limitations are expected to be resolved before or shortly after GA:
320
324
  | Widget | Status in Sveltia CMS |
321
325
  | --- | --- |
322
326
  | Code | Not yet supported. |
323
- | DateTime | The `date_format` and `time_format` options with Moment.js tokens are not yet supported. Note: Decap CMS 3.1 has replaced Moment.js with [Day.js](https://day.js.org/); we’ll follow the change soon. |
327
+ | DateTime | The `date_format` and `time_format` options with Moment.js tokens are not yet supported. [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 the change soon. |
324
328
  | 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. |
325
329
  | Map | Not yet supported. |
326
330
  | Markdown | Editor components, including built-in `image` and `code-block` as well as custom components, are not yet supported. |
@@ -329,7 +333,7 @@ Missing any other features? Let us know by [filing an issue](https://github.com/
329
333
 
330
334
  ### Features not to be implemented
331
335
 
332
- - **The Bitbucket, Gitea/Forgejo and Git Gateway backends will not be supported** due to performance limitations. We may implement a performant Git Gateway alternative in the future.
336
+ - **The Bitbucket, Gitea/Forgejo and Git Gateway backends will not be supported** due to performance limitations. We may implement a high-performance Git Gateway alternative in the future.
333
337
  - 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.
334
338
  - 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.
335
339
  - The deprecated Netlify Large Media service will not be supported. Consider other storage providers.
@@ -1017,3 +1021,11 @@ This software is provided “as is” without any express or implied warranty. W
1017
1021
  [^114]: Netlify/Decap CMS [#5029](https://github.com/decaporg/decap-cms/issues/5029), [#5048](https://github.com/decaporg/decap-cms/issues/5048)
1018
1022
 
1019
1023
  [^115]: Netlify/Decap CMS [#7172](https://github.com/decaporg/decap-cms/issues/7172)
1024
+
1025
+ [^116]: Netlify/Decap CMS [#3431](https://github.com/decaporg/decap-cms/issues/3431)
1026
+
1027
+ [^117]: Netlify/Decap CMS [#3562](https://github.com/decaporg/decap-cms/issues/3562)
1028
+
1029
+ [^118]: Netlify/Decap CMS [#7267](https://github.com/decaporg/decap-cms/issues/7267)
1030
+
1031
+ [^119]: Netlify/Decap CMS [#5640](https://github.com/decaporg/decap-cms/issues/5640)