@sveltia/cms 0.112.7 β 0.113.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 +16 -5
- package/dist/sveltia-cms.js +223 -223
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +224 -224
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +5 -0
- package/types/public.d.ts +6 -0
package/README.md
CHANGED
|
@@ -160,7 +160,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
|
|
|
160
160
|
- Some missing features will be implemented before or shortly after GA
|
|
161
161
|
- Providing partial [compatibility with Static CMS](#compatibility-with-static-cms)
|
|
162
162
|
- Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
|
|
163
|
-
- So far, **260+ issues, or
|
|
163
|
+
- So far, **260+ issues, or 570+ if including duplicates, have been effectively solved** in Sveltia CMS (Yes, you read it right)
|
|
164
164
|
- Target:
|
|
165
165
|
- 250 issues, or 500 if including duplicates, by GA β We did it! π
|
|
166
166
|
- 400 issues, or 800 if including duplicates, in the future πͺ
|
|
@@ -492,6 +492,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
|
|
|
492
492
|
- A simple List field with no subfields is displayed as a multiline text field,[^219] where users can use spaces[^50] and commas[^220] for list items. A comma is no longer treated as a list delimiter.
|
|
493
493
|
- Users can preview variable types without having to register a preview template.[^42]
|
|
494
494
|
- Itβs possible to omit `fields` in a variable type object.[^163] In that case, only the `typeKey` (default: `type`) is saved in the output.
|
|
495
|
+
- The new `thumbnail` option allows developers to specify an Image field name for the list item thumbnail. Thumbnails are displayed alongside the `summary` in the collapsed item view. ([Discussion](https://github.com/decaporg/decap-cms/issues/2001))
|
|
495
496
|
- A collapsed List field will not display a programmatic summary like `List [ Map { "key": "value" } ]` if the `summary` option is not set.[^183]
|
|
496
497
|
- The `allow_remove` and `allow_reorder` options can be used to prevent users from removing items and reordering them, respectively.[^272]
|
|
497
498
|
- Map
|
|
@@ -606,6 +607,8 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
|
|
|
606
607
|
- It comes with a [built-in image optimizer](#optimizing-images-for-upload). With a few lines of configuration, images selected by users for upload are automatically converted to WebP format for reduced size,[^199] and itβs also possible to specify a maximum width and/or height.[^200] SVG images can also be optimized.
|
|
607
608
|
- The `max_file_size` option for the File/Image widget can be defined within the global `media_library` option, using `default` as the library name. It applies to all File/Image entry fields, as well as direct uploads to the Asset Library. The option can also be part of the [new `media_libraries` option](#configuring-multiple-media-libraries).
|
|
608
609
|
- Unlike Netlify/Decap CMS, files are uploaded with their original names. Sanitization is still applied to avoid issues with special characters, but uppercase letters and spaces are not converted to lowercase letters and hyphens.[^97] If you want to slugify filenames according to the [`slug` option](https://decapcms.org/docs/configuration-options/#slug-type), use the `slugify_filename` [default media library option](#configuring-multiple-media-libraries).
|
|
610
|
+
- Cloudinary
|
|
611
|
+
- Field-specific media library configuration works as expected.[^297]
|
|
609
612
|
- Uploadcare
|
|
610
613
|
- An API-based integration allows users to select existing files from their Uploadcare account.[^247]
|
|
611
614
|
- Supports [signed uploads](https://uploadcare.com/docs/security/secure-uploads/) to prevent unauthorized uploads. Files are uploaded with a signature computed using your secret key.
|
|
@@ -652,7 +655,6 @@ However, 100% feature parity is never planned, and some features are still missi
|
|
|
652
655
|
These Netlify/Decap CMS features are not yet implemented in Sveltia CMS. We are working hard to add them by the end of 2025. Check our [release notes](https://github.com/sveltia/sveltia-cms/releases) and [Bluesky](https://bsky.app/profile/sveltiacms.app) for updates.
|
|
653
656
|
|
|
654
657
|
- Comprehensive site config validation
|
|
655
|
-
- [Cloudinary](https://decapcms.org/docs/cloudinary/) media library ([#4](https://github.com/sveltia/sveltia-cms/discussions/4))
|
|
656
658
|
- Preview for [custom editor components](https://decapcms.org/docs/custom-widgets/#registereditorcomponent) (`CMS.registerEditorComponent`)
|
|
657
659
|
- [Custom widgets](https://decapcms.org/docs/custom-widgets/) (`CMS.registerWidget`)
|
|
658
660
|
- [Custom preview templates](https://decapcms.org/docs/customization/#registerpreviewtemplate) (`CMS.registerPreviewTemplate`) ([#51](https://github.com/sveltia/sveltia-cms/issues/51))
|
|
@@ -1363,8 +1365,6 @@ media_libraries:
|
|
|
1363
1365
|
defaultOperations: '/resize/800x600/'
|
|
1364
1366
|
```
|
|
1365
1367
|
|
|
1366
|
-
Note: Cloudinary is not yet supported in Sveltia CMS.
|
|
1367
|
-
|
|
1368
1368
|
Similar to the conventional `media_library` option, the unified `media_libraries` option can also be defined for each File/Image field. This allows you to use different media library configurations for different fields. For example, you can optimize images for upload in one field while using the default settings in another:
|
|
1369
1369
|
|
|
1370
1370
|
```yaml
|
|
@@ -1816,6 +1816,16 @@ Then, add the following origins depending on your Git backend and enabled integr
|
|
|
1816
1816
|
```
|
|
1817
1817
|
https://*.openstreetmap.org
|
|
1818
1818
|
```
|
|
1819
|
+
- Cloudinary:
|
|
1820
|
+
- `img-src`
|
|
1821
|
+
```
|
|
1822
|
+
https://res.cloudinary.com
|
|
1823
|
+
```
|
|
1824
|
+
or a custom domain if configured
|
|
1825
|
+
- `frame-src`
|
|
1826
|
+
```
|
|
1827
|
+
https://console.cloudinary.com
|
|
1828
|
+
```
|
|
1819
1829
|
- Uploadcare:
|
|
1820
1830
|
- `img-src`
|
|
1821
1831
|
```
|
|
@@ -1931,7 +1941,6 @@ Due early 2026
|
|
|
1931
1941
|
|
|
1932
1942
|
- Enhanced [compatibility with Netlify/Decap CMS](#current-limitations)
|
|
1933
1943
|
- Tackling some more Netlify/Decap CMS issues:
|
|
1934
|
-
- A couple of Cloudinary media library issues
|
|
1935
1944
|
- Thorough site config validation[^246]
|
|
1936
1945
|
- [Entry pre-validation/normalization](https://github.com/sveltia/sveltia-cms/issues/395)[^248]
|
|
1937
1946
|
- Accessibility audit
|
|
@@ -2635,3 +2644,5 @@ This project would not have been possible without the open source Netlify CMS pr
|
|
|
2635
2644
|
[^295]: Netlify/Decap CMS [#6243](https://github.com/decaporg/decap-cms/issues/6243)
|
|
2636
2645
|
|
|
2637
2646
|
[^296]: Netlify/Decap CMS [#7638](https://github.com/decaporg/decap-cms/discussions/7638)
|
|
2647
|
+
|
|
2648
|
+
[^297]: Netlify/Decap CMS [#2001](https://github.com/decaporg/decap-cms/issues/2001)
|