@sveltia/cms 0.71.2 → 0.72.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
@@ -126,7 +126,7 @@ While we fix reported bugs as quickly as possible, usually within 24 hours, our
126
126
  - Ensuring substantial [compatibility with Netlify/Decap CMS](#compatibility)
127
127
  - Providing partial [compatibility with Static CMS](#compatibility-with-static-cms)
128
128
  - Tackling as many [Netlify/Decap CMS issues](https://github.com/decaporg/decap-cms/issues) as possible
129
- - So far, 190+ issues, or 390+ if including duplicates, have been effectively solved in Sveltia CMS
129
+ - So far, 190+ issues, or 395+ if including duplicates, have been effectively solved in Sveltia CMS
130
130
  - Target:
131
131
  - 200 issues, or 400 if including duplicates, by GA (almost there)
132
132
  - 350 issues, or 600 if including duplicates, in the future
@@ -152,12 +152,13 @@ Netlify/Decap CMS users will definitely be pleased and surprised by the numerous
152
152
  - Offers a modern, intuitive user interface that utilizes the full viewport,[^178] inspired in part by the Netlify CMS v3 prototype.[^1]
153
153
  - Provides immersive dark mode.[^2] The UI theme follows the user’s system preference by default and can be changed in the application settings.
154
154
  - Mobile and tablet support: Users can manage content on-the-go.[^18] There are still rough edges though; we are working to fully optimize the app for small screens and touch devices.
155
+ - If you’re already signed in on your desktop, open the Account menu in the top right corner of the CMS, click Sign In with Mobile, and scan the QR code for passwordless sign-in. Your settings will be automatically copied.
155
156
  - Made with [Svelte](https://svelte.dev/), not React, means we can spend more time on UX rather than tedious state management. It also allows us to avoid common fatal React application crashes.[^113][^129] Best of all, Svelte offers great performance.
156
157
  - Other fatal crashes in Netlify/Decap CMS are also irrelevant to us, making Sveltia CMS much more stable.[^112]
157
158
  - We build [our own UI component library](https://github.com/sveltia/sveltia-ui), including custom dialogs,[^196] to ensure optimal usability without compromising accessibility.
158
- - The in-app Help menu provides all links to useful resources, including release notes, feedback and support.
159
159
  - Users can personalize the application with various settings, including appearance and language. Developer Mode can also be enabled.
160
160
  - Never miss out on the latest features and bug fixes by being notified when an update to the CMS is available.[^31] Then update to the latest version with a single click.[^66]
161
+ <!-- - The in-app Help menu provides all links to useful resources, including release notes, feedback and support. -->
161
162
 
162
163
  ### Better performance
163
164
 
@@ -183,6 +184,7 @@ Netlify/Decap CMS users will definitely be pleased and surprised by the numerous
183
184
  - Uploading files can be done with drag and drop.[^20]
184
185
  - Users can upload multiple files at once to the Asset Library.[^5]
185
186
  - Users can delete multiple entries and assets at once.
187
+ - Instant full-text search with results sorted by relevance helps you find entries faster.
186
188
  - Some [keyboard shortcuts](#using-keyboard-shortcuts) are available for faster editing.
187
189
 
188
190
  ### Better accessibility
@@ -233,7 +235,7 @@ Netlify/Decap CMS users will definitely be pleased and surprised by the numerous
233
235
  - Users won’t get a 404 Not Found error when you sign in to the GitLab backend.[^115]
234
236
  - Features the all-new local backend that boosts DX. See the [productivity section](#better-productivity) above.
235
237
  - Developers can select the local and remote backends while working on a local server.
236
- - The Test backend saves entries and assets in the browser’s [origin private file system](https://web.dev/articles/origin-private-file-system) (OPFS) so that changes are not discarded when the browser tab is closed or reloaded.[^194] Persistent storage is not yet supported in Safari.
238
+ - The Test backend saves entries and assets in the browser’s [origin private file system](https://web.dev/articles/origin-private-file-system) (OPFS) so that changes are not discarded when the browser tab is closed or reloaded.[^194] Persistent storage works with all modern browsers except Safari.
237
239
 
238
240
  ### Better i18n support
239
241
 
@@ -320,7 +322,8 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
320
322
  - Users can select multiple entries and delete them at once.
321
323
  - In an entry summary, basic Markdown syntax used in the title, including bold, italic and code, are parsed as Markdown. HTML character references (entities) are also parsed properly.[^69]
322
324
  - 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.[^159]
323
- - 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]
325
+ - Thumbnails of entries are displayed not only in the grid view but also in the list view, making it easier to navigate.
326
+ - If entries don’t have an Image field for thumbnails, the entry list will only be displayed in the list view, because it doesn’t make sense to show the grid view.[^143]
324
327
  - Assets stored in a [collection media folder](#using-a-custom-media-folder-for-a-collection) can be displayed next to the entries.
325
328
  - The New Entry button won’t appear when a developer accidentally sets the `create: true` option on a file collection because it’s useless.[^89]
326
329
  - The Delete Entry button won’t appear when a developer accidentally sets the `delete: true` option on a file collection because the preconfigured files should not be deleted.
@@ -398,6 +401,7 @@ Sveltia CMS has been built with a multilingual architecture from the very beginn
398
401
  - Users can enter spaces in a simple text-based List field.[^50]
399
402
  - Users can preview variable types without having to register a preview template.[^42]
400
403
  - 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.
404
+ - A Markdown field plays well with a variable type List field.[^202]
401
405
  - A collapsed List field will not display a programmatic summary like `List [ Map { "key": "value" } ]` if the `summary` option is not set.[^183]
402
406
  - Markdown
403
407
  - The rich text editor is built with the well-maintained [Lexical](https://lexical.dev/) framework, which solves various issues with a [Slate](https://github.com/ianstormtaylor/slate)-based editor in Netlify/Decap CMS, including fatal application crashes,[^71][^72][^73][^111] lost formatting when pasting,[^124] an extra line break when pasting,[^169] backslash injections,[^53] dropdown visibility,[^70] and text input difficulties with IME.[^54]
@@ -518,7 +522,8 @@ However, 100% feature parity is not planned, and some features are still missing
518
522
 
519
523
  ### Features not to be implemented
520
524
 
521
- - **The Azure, Bitbucket, Forgejo and Git Gateway backends**: For performance reasons. [Git Gateway](https://github.com/netlify/git-gateway) has not been actively maintained since Netlify CMS was abandoned, and it’s known to be slow and prone to rate limit violations. We plan to develop a GraphQL-based high-performance alternative in the future. We may also support the other platforms if their APIs improve to allow the CMS to fetch multiple entries at once.
525
+ - **Azure, Bitbucket and Forgejo backends**: For performance reasons. We may support these platforms if their APIs improve to allow the CMS to fetch multiple entries at once. The Gitea backend [may be implemented](https://github.com/sveltia/sveltia-cms/issues/198), but it won’t be compatible with Forgejo due to API differences.
526
+ - **Git Gateway backend**: Also for performance reasons. [Git Gateway](https://github.com/netlify/git-gateway) has not been actively maintained since Netlify CMS was abandoned, and it’s known to be slow and prone to rate limit violations. We plan to develop a GraphQL-based high-performance alternative in the future.
522
527
  - **Netlify Identity Widget**: It’s not useful without Git Gateway, and the Netlify Identity service itself is now [deprecated](https://www.netlify.com/changelog/deprecation-netlify-identity/). We plan to develop an alternative solution with role support in the future, most likely using [Cloudflare Workers](https://workers.cloudflare.com/) and [Auth.js](https://authjs.dev/).
523
528
  - The deprecated client-side implicit grant for the GitLab backend: It has already been [removed from GitLab 15.0](https://gitlab.com/gitlab-org/gitlab/-/issues/344609). Use the client-side PKCE authorization instead.
524
529
  - The deprecated Netlify Large Media service: Consider other storage providers.
@@ -613,9 +618,7 @@ Sveitia CMS works with all modern browsers, but there are a few limitations beca
613
618
 
614
619
  Currently, Sveltia CMS is primarily intended for existing Netlify/Decap CMS users. If you don’t have it yet, follow [their documentation](https://decapcms.org/docs/basic-steps/) to add it to your site and create a configuration file first. Skip the [Choosing a Backend](https://decapcms.org/docs/choosing-a-backend/) page and choose the [GitHub](https://decapcms.org/docs/github-backend/) or [GitLab](https://decapcms.org/docs/gitlab-backend/) backend instead. Then migrate to Sveltia CMS as described below.
615
620
 
616
- Unfortunately, we are unable to provide free installation and setup support at this time. As the product evolves, we’ll implement a built-in configuration editor and provide comprehensive documentation to make it easier for everyone to get started with Sveltia CMS.
617
-
618
- Here are some starter kits for popular frameworks created by community members. More to come! (Note: These third-party resources are not necessarily reviewed by the Sveltia CMS team.)
621
+ Or try one of the starter kits for popular frameworks created by community members:
619
622
 
620
623
  - Astro
621
624
  - [astro-sveltia-cms](https://github.com/majesticostudio/astro-sveltia-cms), [astro-starter](https://github.com/zankhq/astro-starter) and [astros](https://github.com/zankhq/astros) by [@zanhk](https://github.com/zanhk)
@@ -624,9 +627,11 @@ Here are some starter kits for popular frameworks created by community members.
624
627
  - [Eleventy starter template](https://github.com/danurbanowicz/eleventy-sveltia-cms-starter) by [@danurbanowicz](https://github.com/danurbanowicz)
625
628
  - Hugo
626
629
  - [Hugo module](https://github.com/privatemaker/headless-cms) by [@privatemaker](https://github.com/privatemaker)
627
- - [hugolify-sveltia-cms](https://github.com/Hugolify/hugolify-sveltia-cms/) by [@sebousan](https://github.com/sebousan)
630
+ - [hugolify-admin](https://github.com/Hugolify/hugolify-admin) by [@sebousan](https://github.com/sebousan)
631
+
632
+ The Netlify/Decap CMS website has more [templates](https://decapcms.org/docs/start-with-a-template/) and [examples](https://decapcms.org/docs/examples/). You can probably use one of them and switch to Sveltia CMS. (Note: These third-party resources are not necessarily reviewed by the Sveltia CMS team.)
628
633
 
629
- The Netlify/Decap CMS website has more [templates](https://decapcms.org/docs/start-with-a-template/) and [examples](https://decapcms.org/docs/examples/). You can probably use one of them and switch to Sveltia CMS.
634
+ Unfortunately, we are unable to provide free installation and setup support at this time. As the product evolves, we’ll provide a built-in configuration editor, comprehensive documentation and official starter kits to make it easier for everyone to get started with Sveltia CMS.
630
635
 
631
636
  ### Migration
632
637
 
@@ -754,8 +759,8 @@ In the Brave browser, you must enable the File System Access API with an experim
754
759
 
755
760
  You can specify an icon for each collection for easy identification in the collection list. You don’t need to install a custom icon set because the Material Symbols font file is already loaded for the application UI. Just pick one of the 2,500+ icons:
756
761
 
757
- 1. Visit the [Material Symbols](https://fonts.google.com/icons?icon.set=Material+Symbols&icon.platform=android) page on Google Fonts.
758
- 1. Search and select an icon, and copy the icon name displayed on the right panel.
762
+ 1. Visit the [Material Symbols](https://fonts.google.com/icons?icon.set=Material+Symbols&icon.platform=web) page on Google Fonts.
763
+ 1. Browse and select an icon, and copy the icon name that appears at the bottom of the right pane.
759
764
  1. Add it to one of your collection definitions in `config.yml` as the new `icon` property, like the example below.
760
765
  1. Repeat the same steps for all the collections if desired.
761
766
  1. Commit and push the changes to your Git repository.
@@ -825,7 +830,7 @@ For backward compatibility with [Static CMS](https://staticjscms.netlify.app/doc
825
830
 
826
831
  ### Including Hugo’s special index file in a folder collection
827
832
 
828
- Before this feature, Hugo’s [special `_index.md` file](https://gohugo.io/content-management/organization/#index-pages-_indexmd) was hidden in a folder collection, and you had to create a file collection to manage the file, since it usually comes with a different set of fields than regular entry fields. Now, with the new `index_file` option, you can include the index file inside a folder collection, above regular entries, for easier editing:
833
+ Before this feature, Hugo’s [special `_index.md` file](https://gohugo.io/content-management/organization/#index-pages-_indexmd) was hidden in a folder collection, and you had to create a file collection to manage the file, since it usually comes with a different set of fields than regular entry fields. Now, with the new `index_file` option, you can add the index file to the corresponding folder collection, above regular entries, for easier editing:
829
834
 
830
835
  ```yaml
831
836
  collections:
@@ -839,9 +844,11 @@ collections:
839
844
  fields: # Fields for the index file. If omitted, regular entry fields are used
840
845
  ...
841
846
  editor:
842
- preview: false # Hide the preview pane, optional
847
+ preview: false # Hide the preview pane if needed
843
848
  ```
844
849
 
850
+ Note that the special index file is placed right under the `folder`, regardless of the collection’s [`path` option](https://decapcms.org/docs/collection-folder/#folder-collections-path). For example, if the `path` is `{{year}}/{{slug}}`, a regular entry would be saved as `content/posts/2025/title.md`, but the index file remains at `content/posts/_index.md`.
851
+
845
852
  ### Using keyboard shortcuts
846
853
 
847
854
  - View the Content Library: `Alt+1`
@@ -1246,7 +1253,7 @@ img-src 'self' blob: data: https://*;
1246
1253
  1. Enable Developer Mode.
1247
1254
  1. Close the Settings dialog.
1248
1255
 
1249
- Now you can see the application version under the Help menu, next to the Account menu.
1256
+ A Release Notes link will now appear under the Account menu with the current application version.
1250
1257
 
1251
1258
  ## Support & feedback
1252
1259
 
@@ -1276,10 +1283,10 @@ See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/ma
1276
1283
  ### After the 1.0 release
1277
1284
 
1278
1285
  - Implementing the [remaining Netlify/Decap CMS features](#current-limitations)
1279
- - Tackling even more Netlify/Decap CMS issues, including MDX support,[^122] manual entry sorting,[^125] config editor[^10] and other [top-voted features](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc)
1286
+ - Tackling many of the remaining Netlify/Decap CMS issues, including MDX support,[^122] manual entry sorting,[^125] config editor[^10] and other [top-voted features](https://github.com/decaporg/decap-cms/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc)
1280
1287
  - Exploring features that require server-side implementation, including user management (Netlify Identity alternative), roles,[^23] commits without a GitHub or GitLab account (Git Gateway alternative), post locking (like [WordPress](https://codex.wordpress.org/Post_Locking))[^166] and scheduled posts[^167]
1281
1288
  - More integration options: stock photos, stock videos, cloud storage providers, translation services, maps, analytics tools, etc.
1282
- - AI integrations for image generation and content writing
1289
+ - AI integrations for image generation, content writing, etc.
1283
1290
  - Search enhancements
1284
1291
  - Advanced digital asset management (DAM) features, including image editing and tagging[^114]
1285
1292
  - End-user documentation
@@ -1292,7 +1299,7 @@ See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/ma
1292
1299
  ## Trivia
1293
1300
 
1294
1301
  - The [original version of Netlify CMS](https://github.com/netlify/netlify-cms-legacy) was built with Ember before being rewritten in React. And now we are completely rewriting it in Svelte. So this is effectively the second time the application has gone through a framework migration.
1295
- - Our [local repository workflow](#working-with-a-local-git-repository) shares implementation with the Test backend, as both utilize the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API), allowing us to reduce maintenance costs. The seamless local workflow is paramount to our rapid application development.
1302
+ - Our [local repository workflow](#working-with-a-local-git-repository) shares implementation with the Test backend, as both utilize the [File System API](https://developer.mozilla.org/en-US/docs/Web/API/File_System_API), allowing us to reduce maintenance costs. The seamless local workflow is critical not only for improved DX, but also for our rapid application development.
1296
1303
 
1297
1304
  ## Related links
1298
1305
 
@@ -1710,3 +1717,5 @@ This software is provided “as is” without any express or implied warranty. W
1710
1717
  [^200]: Netlify/Decap CMS [#1322](https://github.com/decaporg/decap-cms/issues/1322), [#6442](https://github.com/decaporg/decap-cms/issues/6442)
1711
1718
 
1712
1719
  [^201]: Netlify/Decap CMS [#7381](https://github.com/decaporg/decap-cms/issues/7381)
1720
+
1721
+ [^202]: Netlify/Decap CMS [#7458](https://github.com/decaporg/decap-cms/issues/7458)