@sveltia/cms 0.97.0 → 0.98.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
@@ -138,9 +138,9 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
138
138
  - Ensuring substantial [compatibility with Netlify/Decap CMS](#current-limitations)
139
139
  - Providing partial [compatibility with Static CMS](#compatibility-with-static-cms)
140
140
  - Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
141
- - So far, **245+ issues, or 515+ if including duplicates, have been effectively solved in Sveltia CMS** (Yes, you read it right)
141
+ - So far, **250+ issues, or 520+ if including duplicates, have been effectively solved** in Sveltia CMS (Yes, you read it right)
142
142
  - Target:
143
- - 250 issues, or 500 if including duplicates, by GA — Almost there!
143
+ - 250 issues, or 500 if including duplicates, by GA — We did it! 🎉
144
144
  - 400 issues, or 800 if including duplicates, in the future 💪
145
145
  - or every single issue that’s relevant, fixable, and worth dealing with 🔥
146
146
  - Issues include everything from feature requests to bug reports and [issues closed as stale](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+%22Closing+as+stale%22) or without an effective solution, as well as [discussions](https://github.com/decaporg/decap-cms/discussions) and stalled [pull requests](https://github.com/decaporg/decap-cms/pulls)
@@ -152,7 +152,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
152
152
  - Responding to requests from the maintainer’s clients
153
153
  - Making the code clean and maintainable
154
154
 
155
- ![245 Netlify/Decap CMS issues solved in Sveltia CMS](https://raw.githubusercontent.com/sveltia/sveltia-cms/main/docs/headline-1.webp?20250808)<br>
155
+ ![250 Netlify/Decap CMS issues solved in Sveltia CMS](https://raw.githubusercontent.com/sveltia/sveltia-cms/main/docs/headline-1.webp?20250814)<br>
156
156
 
157
157
  ## Differentiators
158
158
 
@@ -579,6 +579,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
579
579
  - `CMS.registerEditorComponent()` accepts a component definition with the `icon` property. Developers can specify a Material Symbols icon name just like [custom collection icons](#using-a-custom-icon-for-a-collection).
580
580
  - The `fromBlock` function can be omitted if the `pattern` regex contains [named capturing groups](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Named_capturing_group) for the values.
581
581
  - Inline components are supported.[^267]
582
+ - Field validation works as expected.[^279]
582
583
 
583
584
  ### Better localization
584
585
 
@@ -628,7 +629,7 @@ These Netlify/Decap CMS features are not yet implemented in Sveltia CMS. We are
628
629
  - [Cloudinary](https://decapcms.org/docs/cloudinary/) and [Uploadcare](https://decapcms.org/docs/uploadcare/) media libraries ([#4](https://github.com/sveltia/sveltia-cms/discussions/4))
629
630
  - LineString and Polygon types for the [Map](https://decapcms.org/docs/widgets/#map) widget
630
631
  - [Custom widgets](https://decapcms.org/docs/custom-widgets/)
631
- - [Custom editor components](https://decapcms.org/docs/custom-widgets/#registereditorcomponent): Support for preview, widgets with complex values (Code with `output_code_only: false`, Hidden, KeyValue, List, Object, Select/Relation with `multiple: true`), the `default` field option and [multiline components](https://github.com/sveltia/sveltia-cms/issues/410)
632
+ - [Custom editor components](https://decapcms.org/docs/custom-widgets/#registereditorcomponent): preview and multiline components ([#410](https://github.com/sveltia/sveltia-cms/issues/410))
632
633
  - [Custom preview templates](https://decapcms.org/docs/customization/#registerpreviewtemplate) ([#51](https://github.com/sveltia/sveltia-cms/issues/51))
633
634
  - [Event hooks](https://decapcms.org/docs/registering-events/) ([#167](https://github.com/sveltia/sveltia-cms/issues/167))
634
635
 
@@ -1052,7 +1053,7 @@ Sveltia CMS comes with a handy translation API integration so that you can trans
1052
1053
  1. Enable the [Cloud Translation API](https://console.cloud.google.com/apis/library/translate.googleapis.com). It’s free up to 500,000 characters per month.
1053
1054
  1. Create a [new API key](https://console.cloud.google.com/apis/api/translate.googleapis.com/credentials) and copy it.
1054
1055
  - OpenAI
1055
- 1. Sign in or sign up for [Open AI](https://platform.openai.com/docs/overview) and create a new project.
1056
+ 1. Sign in or sign up for [OpenAI Platform](https://platform.openai.com/docs/overview) and create a new project.
1056
1057
  1. Add a credit balance (minimum $5) to your account.
1057
1058
  1. Create a [new API key](https://platform.openai.com/api-keys) and copy it.
1058
1059
  1. Open an entry in Sveltia CMS.
@@ -1060,6 +1061,8 @@ Sveltia CMS comes with a handy translation API integration so that you can trans
1060
1061
  1. Select a translation service from the dropdown menu and paste your API key when prompted.
1061
1062
  1. The field(s) will be automatically translated.
1062
1063
 
1064
+ You can also provide your API keys in the Settings dialog.
1065
+
1063
1066
  Note that the Translation button on the pane header only translates empty fields, while in-field Translation buttons override any filled text.
1064
1067
 
1065
1068
  Earlier versions of Sveltia CMS included DeepL integration, but it has been disabled [due to an API limitation](https://github.com/sveltia/sveltia-cms/issues/437). More translation services will be added in the future.
@@ -2279,3 +2282,5 @@ This software is provided “as is” without any express or implied warranty. W
2279
2282
  [^277]: Netlify/Decap CMS [#86](https://github.com/decaporg/decap-cms/issues/86)
2280
2283
 
2281
2284
  [^278]: Netlify/Decap CMS [#7575](https://github.com/decaporg/decap-cms/issues/7575), [#7576](https://github.com/decaporg/decap-cms/issues/7576)
2285
+
2286
+ [^279]: Netlify/Decap CMS [#4912](https://github.com/decaporg/decap-cms/issues/4912), [#6986](https://github.com/decaporg/decap-cms/issues/6986)