@sveltia/cms 0.113.6 → 0.115.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
@@ -1,10 +1,10 @@
1
1
  # Sveltia CMS: Netlify/Decap CMS successor
2
2
 
3
- Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, powerful, direct replacement for Netlify CMS (now Decap CMS). While some features are still missing, we’ve already solved over 265 issues reported in the predecessor’s repository, from critical bugs to top feature requests.
3
+ Sveltia CMS is a Git-based lightweight headless CMS under active development as a modern, powerful, direct replacement for Netlify CMS (now Decap CMS). We have picked up where they left off and have already solved over 265 issues reported in the predecessor’s repository, ranging from critical bugs to top feature requests.
4
4
 
5
- Built from the ground up, Sveltia CMS offers excellent UX, DX, performance, security and internationalization (i18n) support. Our numerous enhancements across the board ensure smooth daily workflows. This free, open source alternative to Netlify/Decap CMS is currently in public beta, with version 1.0 expected in early 2026.
5
+ Built from the ground up, Sveltia CMS offers excellent UX, DX, performance, security and internationalization (i18n) support. Although some features are still missing, our numerous enhancements across the board ensure smooth daily workflows.
6
6
 
7
- Welcome to the only Netlify CMS successor you can trust!
7
+ This free, open source successor to Netlify/Decap CMS is currently in public beta, with version 1.0 expected in early 2026.
8
8
 
9
9
  ![Git-based headless CMS made right](https://raw.githubusercontent.com/sveltia/sveltia-cms/main/docs/screenshot-1.webp?20250405)<br>
10
10
 
@@ -140,9 +140,9 @@ Sveltia CMS is the only project that doesn’t inherit the complexity, technical
140
140
  - We closely monitor and analyze the predecessor’s issue tracker
141
141
  - We rearchitect the entire user experience (UX) and developer experience (DX)
142
142
 
143
- This “total reboot” allows us to implement [hundreds of improvements](#differentiators) without getting stuck in a legacy system, establishing Sveltia CMS as a **unparalleled successor** to Netlify CMS.
143
+ This “total reboot” allows us to implement [hundreds of improvements](#differentiators) without getting stuck in a legacy system.
144
144
 
145
- As we continue to add more features, we hope that our product will eventually become an appearing headless CMS option for everyone, not just for existing Netlify/Decap CMS users.
145
+ We are continuing to address the [issues](https://github.com/decaporg/decap-cms/issues) reported in the predecessor’s repository and deliver the enhancements that Netlify CMS users have desired for a long time. Of the 3 successors, only Sveltia CMS is continuously developed, with [regular updates](https://github.com/sveltia/sveltia-cms/releases) and a [clear roadmap](#roadmap). For that reason, Sveltia CMS is the **true successor to Netlify CMS** — not just a spiritual successor or a mere alternative.
146
146
 
147
147
  ### Our goals
148
148
 
@@ -303,6 +303,7 @@ The [GitHub](https://decapcms.org/docs/github-backend/), [GitLab](https://decapc
303
303
  - Comes with background [service status](https://status.gitlab.com/) checking, just like GitHub.
304
304
  - Supports Git LFS ([documentation](https://docs.gitlab.com/topics/git/lfs/)).[^231]
305
305
  - Users won’t get a 404 Not Found error when you sign in to the GitLab backend.[^115]
306
+ - We have implemented a workaround for a [GraphQL complexity limit issue](https://github.com/sveltia/sveltia-cms/issues/525) in GitLab 18.4.2, while Netlify/Decap CMS continues to suffer from the same problem.[^301]
306
307
  - Our Gitea/Forgejo backend is high-performing because it retrieves multiple entries at once. It also supports Git LFS ([documentation](https://docs.gitea.com/administration/git-lfs-setup)). Additionally, the backend won’t cause 400 Bad Request errors due to the presence of `DRAFT_MEDIA_FILES` in file paths.[^222]
307
308
  - Features the all-new [local repository workflow](#working-with-a-local-git-repository) for a better DX. See the [productivity section](#better-productivity) above.
308
309
  - Developers can select the local and remote backends while working on a local server.
@@ -551,7 +552,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
551
552
  - Compatibility note: In Static CMS, these options are implemented as `prefix` and `suffix`, respectively, which have different meaning in Sveltia CMS.
552
553
  - File and Image
553
554
  - Provides a reimagined all-in-one asset selection dialog for File and Image fields.[^234]
554
- - Entry, file, [collection](#using-a-custom-media-folder-for-a-collection) and global assets are listed on separate tabs for easy selection.[^19]
555
+ - Field, entry, file, [collection](#using-a-custom-media-folder-for-a-collection) and global assets are listed on separate tabs for easy selection.[^19]
555
556
  - A new asset can be uploaded by dragging & dropping it into the dialog.[^20]
556
557
  - A URL can also be entered in the dialog.
557
558
  - Integration with Pexels, Pixabay and Unsplash makes it easy to select and insert a free stock photo.[^8] More stock photo providers will be added in the future.
@@ -562,7 +563,7 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
562
563
  - The new `accept` option allows files to be filtered by a comma-separated list of unique file type specifiers, in the same way as the HTML [`accept` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Attributes/accept) for `<input type="file">`.[^216]
563
564
  - By default, the Image widget only accepts an AVIF, GIF, JPEG, PNG, WebP or SVG image. BMP, HEIC, JPEG XL, PSD, TIFF and other less common or non-standard files are excluded.[^217]
564
565
  - The File widget has no default restriction.
565
- - If the `public_folder` contains `{{slug}}` and you’ve edited a slug field (e.g. `title`) of a new entry after uploading an asset, the updated slug will be used in the saved asset path.[^140] Other dynamic template tags such as `{{filename}}` will also be populated as expected.[^141]
566
+ - If the collection’s `public_folder` contains `{{slug}}` and you’ve edited a slug field (e.g. `title`) of a new entry after uploading an asset, the updated slug will be used in the saved asset path.[^140] Other dynamic template tags such as `{{filename}}` will also be populated as expected.[^141]
566
567
  - The CMS prevents the same file from being uploaded twice. It compares the hashes and selects an existing asset instead.
567
568
  - Large images automatically fit in the Preview Pane instead of being displayed at their original size, which can easily exceed the width of the pane.
568
569
  - List and Object
@@ -653,16 +654,15 @@ Sveltia CMS supports all the [built-in widgets](https://decapcms.org/docs/widget
653
654
 
654
655
  ## Compatibility
655
656
 
656
- We are working to make Sveltia CMS compatible with Netlify/Decap CMS wherever possible so that more users can seamlessly switch to our modern alternative. In some casual use cases, Sveltia CMS can be used as a drop-in replacement for Netlify/Decap CMS with [just a one-line code update](#migration).
657
+ We are working to make Sveltia CMS compatible with Netlify/Decap CMS wherever possible so that more users can seamlessly switch to our modern successor. In some casual use cases, Sveltia CMS can be used as a drop-in replacement for Netlify/Decap CMS with [just a one-line code update](#migration).
657
658
 
658
659
  However, 100% feature parity is never planned, and some features are still missing or will not be added due to performance, deprecation and other factors. Look at the compatibility info below to see if you can migrate now or in the near future.
659
660
 
660
661
  ### Current limitations
661
662
 
662
- These Netlify/Decap CMS features are not yet implemented in Sveltia CMS. We are working hard to add them before the 1.0 release. Check our [release notes](https://github.com/sveltia/sveltia-cms/releases) and [Bluesky](https://bsky.app/profile/sveltiacms.app) for updates.
663
+ These Netlify/Decap CMS features are **not yet implemented** in Sveltia CMS. We are working hard to add them before the 1.0 release. Check our [release notes](https://github.com/sveltia/sveltia-cms/releases) and [Bluesky](https://bsky.app/profile/sveltiacms.app) for updates.
663
664
 
664
665
  - Comprehensive site config validation
665
- - The `media_folder` and `public_folder` options (beta) for the [File](https://decapcms.org/docs/widgets/#File) and [Image](https://decapcms.org/docs/widgets/#Image) widgets ([#497](https://github.com/sveltia/sveltia-cms/issues/497))
666
666
  - Preview for [custom editor components](https://decapcms.org/docs/custom-widgets/#registereditorcomponent) (`CMS.registerEditorComponent`)
667
667
  - [Custom widgets](https://decapcms.org/docs/custom-widgets/) (`CMS.registerWidget`)
668
668
  - [Custom preview templates](https://decapcms.org/docs/customization/#registerpreviewtemplate) (`CMS.registerPreviewTemplate`) ([#51](https://github.com/sveltia/sveltia-cms/issues/51))
@@ -670,7 +670,7 @@ These Netlify/Decap CMS features are not yet implemented in Sveltia CMS. We are
670
670
 
671
671
  [Localization](https://github.com/sveltia/sveltia-cms/blob/main/src/lib/locales/README.md), [documentation](https://github.com/sveltia/sveltia-cms/issues/485) and a [demo site](https://github.com/sveltia/sveltia-cms/issues/1) will all be prepared once the 1.0 Release Candidate is ready.
672
672
 
673
- Due to the complexity, we have decided to defer the following features to the 1.x or 2.0 release due mid-2026. Netlify/Decap CMS has dozens of open issues with these collaboration and beta features — we want to implement them the right way.
673
+ Due to the complexity, we have decided to **defer the following features to the 1.x or 2.0 release** due mid-2026. Netlify/Decap CMS has dozens of open issues with these collaboration and beta features — we want to implement them the right way.
674
674
 
675
675
  - [Editorial workflow](https://decapcms.org/docs/editorial-workflows/)
676
676
  - [Open authoring](https://decapcms.org/docs/open-authoring/)
@@ -1416,6 +1416,7 @@ In case you’re not aware, [WebP](https://developers.google.com/speed/webp) off
1416
1416
  - File processing is a bit slow on Safari because [native WebP encoding](https://caniuse.com/mdn-api_htmlcanvaselement_toblob_type_parameter_webp) is [not supported](https://bugs.webkit.org/show_bug.cgi?id=183257) and the [jSquash](https://github.com/jamsinclair/jSquash) library is used instead.
1417
1417
  - AVIF conversion is not supported because no browser has native AVIF encoding support ([Chromium won’t fix it](https://issues.chromium.org/issues/40848792)) and the third-party library (and AVIF encoding in general) is very slow.
1418
1418
  - This feature is not intended for creating image variants in different formats and sizes. It should be done with a framework during the build process. Popular frameworks like [Astro](https://docs.astro.build/en/guides/images/), [Eleventy](https://www.11ty.dev/docs/plugins/image/), [Hugo](https://gohugo.io/content-management/image-processing/), [Next.js](https://nextjs.org/docs/pages/api-reference/components/image) and [SvelteKit](https://svelte.dev/docs/kit/images) have built-in image processing capabilities.
1419
+ - Exif metadata is stripped from raster images to reduce file size. If you want to keep it, upload the original files without optimization and use the framework to process them later.
1419
1420
  - We may add more transformation options in the future.
1420
1421
 
1421
1422
  ### Disabling stock assets
@@ -1935,6 +1936,10 @@ Join us on [Discord](https://discord.gg/5hwCGqup5b) or ping us on [Bluesky](http
1935
1936
 
1936
1937
  Planning to build a website with Sveltia CMS? Looking for professional support? Maintainer [@kyoshino](https://github.com/kyoshino) is available for hire depending on your needs. Feel free to reach out!
1937
1938
 
1939
+ <!-- prettier-ignore -->
1940
+ > [!IMPORTANT]
1941
+ > Please do not email the maintainer for free support. Your emails will be ignored. Instead, use the [Discussions](https://github.com/sveltia/sveltia-cms/discussions) page.
1942
+
1938
1943
  ## Contributions
1939
1944
 
1940
1945
  See [Contributing to Sveltia CMS](https://github.com/sveltia/sveltia-cms/blob/main/CONTRIBUTING.md). Bug reports are highly encouraged.
@@ -1951,7 +1956,7 @@ Due early 2026
1951
1956
 
1952
1957
  - Enhanced [compatibility with Netlify/Decap CMS](#compatibility)
1953
1958
  - Tackling some more Netlify/Decap CMS issues:
1954
- - PKCE for GitHub[^285] — It’s [not yet supported](https://github.com/orgs/community/discussions/15752) by GitHub but is planned for [Q4 2025](https://github.com/github/roadmap/issues/1153)
1959
+ - PKCE for GitHub[^285] — It’s [not yet supported](https://github.com/orgs/community/discussions/15752) by GitHub but is [planned for Q4 2025](https://github.com/github/roadmap/issues/1153)
1955
1960
  - Thorough site config validation[^246]
1956
1961
  - [Entry pre-validation/normalization](https://github.com/sveltia/sveltia-cms/issues/395)[^248]
1957
1962
  - Accessibility audit
@@ -1971,8 +1976,11 @@ Due mid-2026
1971
1976
  - Tackling even more Netlify/Decap CMS issues:
1972
1977
  - [Manual entry sorting](https://github.com/sveltia/sveltia-cms/issues/214)[^125]
1973
1978
  - [Directory navigation in the Asset Library](https://github.com/sveltia/sveltia-cms/issues/420)[^240]
1979
+ - [Asset collections](https://github.com/sveltia/sveltia-cms/issues/301)[^271]
1974
1980
  - and a few more from the TBD list below
1975
1981
 
1982
+ See also the [2.0](https://github.com/sveltia/sveltia-cms/milestone/3) milestone.
1983
+
1976
1984
  ### v3.0
1977
1985
 
1978
1986
  Due late 2026
@@ -2003,7 +2011,6 @@ Due late 2026
2003
2011
  - Autoincrement fields[^286]
2004
2012
  - Unique constraints[^287]
2005
2013
  - Data integrity checks
2006
- - [Asset collections](https://github.com/sveltia/sveltia-cms/issues/301)[^271]
2007
2014
  - [Automatic asset file renaming with templates](https://github.com/sveltia/sveltia-cms/issues/422)[^241]
2008
2015
  - and many more (100+ issues and discussions)
2009
2016
  - Enhancements to **Sveltia CMS Additions** (some may be included in v3.0):
@@ -2662,3 +2669,5 @@ This project would not have been possible without the open source Netlify CMS pr
2662
2669
  [^299]: Netlify/Decap CMS [#5812](https://github.com/decaporg/decap-cms/issues/5812)
2663
2670
 
2664
2671
  [^300]: Netlify/Decap CMS [#7257](https://github.com/decaporg/decap-cms/issues/7257)
2672
+
2673
+ [^301]: Netlify/Decap CMS [#7627](https://github.com/decaporg/decap-cms/issues/7627)