@sveltia/cms 0.45.3 → 0.46.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 +9 -5
- package/dist/sveltia-cms.js +342 -341
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +335 -334
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +5 -4
package/README.md
CHANGED
|
@@ -106,14 +106,14 @@ 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,
|
|
109
|
+
- So far, 140+ of them, or 245+ 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
111
|
- Note: Issues include both feature requests and bug reports; we also track [their 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
|
|
115
115
|
|
|
116
|
-
<br>
|
|
117
117
|
|
|
118
118
|
## Differentiators
|
|
119
119
|
|
|
@@ -252,6 +252,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
252
252
|
- Hugo’s special `_index.md` files are ignored in folder collections unless the `path` option is configured to end with `_index` and the `extension` is `md`[^120]. You can still manage these files as part of a file collection if necessary.
|
|
253
253
|
- If there was an error while parsing an entry file, such as duplicate front matter keys, it won’t show up as a blank entry, and a clear error message will be displayed in the browser console[^121].
|
|
254
254
|
- Sorting entries by a DateTime field works as expected[^110].
|
|
255
|
+
- The entry list supports basic Markdown formatting syntax in the titles: bold, italic and code are allowed. HTML character references (entities) are also parsed properly[^69].
|
|
255
256
|
- If you update an entry field that appears in the collection’s `summary`, such as `title`, the entry list displays an updated summary after you save the entry.
|
|
256
257
|
- If entries don’t have an Image field for thumbnails, the entry list will only be displayed in list view, because it doesn’t make sense to show grid view[^143].
|
|
257
258
|
- Assets stored in a [collection media folder](#using-a-custom-media-folder-for-a-collection) can be displayed next to the entries.
|
|
@@ -281,7 +282,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
281
282
|
- Netlify/Decap CMS often, but not always, omits optional and empty fields from the output. Sveltia CMS aims at complete and consistent data output — it always saves proper values, such as an empty string or an empty array, instead of nothing (`undefined`), regardless of the `required` option[^45][^46][^44].
|
|
282
283
|
- In other words, in Sveltia CMS, `required: false` makes data input optional, but doesn’t make data output optional.
|
|
283
284
|
- Note: If you have any data validation (type definition) that expects `undefined` values, you may need to revise it or the output from Sveitia CMS may break it.
|
|
284
|
-
- 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]
|
|
285
|
+
- 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].
|
|
285
286
|
- Leading and trailing spaces in text-type field values are automatically removed when you save an entry[^37].
|
|
286
287
|
- String values in YAML files can be quoted with the new `yaml_quote: true` option for a collection, mainly for framework compatibility[^9].
|
|
287
288
|
- YAML string folding (maximum line width) is disabled, mainly for framework compatibility[^119].
|
|
@@ -394,6 +395,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
|
|
|
394
395
|
|
|
395
396
|
- The application renders within the dimensions of a [custom mount element](https://decapcms.org/docs/custom-mounting/), if exists[^109].
|
|
396
397
|
- A custom logo defined with the `logo_url` property is displayed on the global application header and the browser tab (favicon)[^134]. A smaller logo is also correctly positioned on the authentication page[^135].
|
|
398
|
+
- `CMS.registerCustomFormat()` supports async parser/formatter functions[^149].
|
|
397
399
|
|
|
398
400
|
### Better localization
|
|
399
401
|
|
|
@@ -970,7 +972,7 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
970
972
|
|
|
971
973
|
[^10]: Netlify/Decap CMS [#341](https://github.com/decaporg/decap-cms/issues/341), [#1167](https://github.com/decaporg/decap-cms/issues/1167)
|
|
972
974
|
|
|
973
|
-
[^11]: Netlify/Decap CMS [#1382](https://github.com/decaporg/decap-cms/issues/1382)
|
|
975
|
+
[^11]: Netlify/Decap CMS [#1382](https://github.com/decaporg/decap-cms/issues/1382), [#6994](https://github.com/decaporg/decap-cms/issues/6994)
|
|
974
976
|
|
|
975
977
|
[^12]: Netlify/Decap CMS [#1975](https://github.com/decaporg/decap-cms/issues/1975), [#3712](https://github.com/decaporg/decap-cms/issues/3712)
|
|
976
978
|
|
|
@@ -1086,7 +1088,7 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
1086
1088
|
|
|
1087
1089
|
[^68]: Netlify/Decap CMS [#6978](https://github.com/decaporg/decap-cms/issues/6978)
|
|
1088
1090
|
|
|
1089
|
-
[^69]: Netlify/Decap CMS [#
|
|
1091
|
+
[^69]: Netlify/Decap CMS [#4350](https://github.com/decaporg/decap-cms/issues/4350)
|
|
1090
1092
|
|
|
1091
1093
|
[^70]: Netlify/Decap CMS [#6482](https://github.com/decaporg/decap-cms/issues/6482)
|
|
1092
1094
|
|
|
@@ -1245,3 +1247,5 @@ This software is provided “as is” without any express or implied warranty. W
|
|
|
1245
1247
|
[^147]: Netlify/Decap CMS [#3583](https://github.com/decaporg/decap-cms/issues/3583)
|
|
1246
1248
|
|
|
1247
1249
|
[^148]: Netlify/Decap CMS [#531](https://github.com/decaporg/decap-cms/issues/531)
|
|
1250
|
+
|
|
1251
|
+
[^149]: Netlify/Decap CMS [#13](https://github.com/decaporg/decap-cms/issues/13)
|