Skip to content
Sveltia CMS
Esc
↑↓navigate↵open⌘Jpreview
On this page

Releases

Follow Sveltia CMS updates, release notes, versioning and upgrade instructions for your installation.

This document provides information about Sveltia CMS releases, including how to find release notes, versioning practices and update instructions.

Release Frequency

Sveltia CMS ships new versions quite frequently, usually several times a week or even multiple times a day. Instead of following a strict release schedule, we prioritize releasing updates as soon as they are ready. This approach allows us to deliver new features, improvements and bug fixes to users more rapidly.

And this approach works because our product is a CDN-served SPA. As long as you use the CDN script without pinning to a specific version, there is no maintenance overhead for users to update their installations. End users can always access the latest version of Sveltia CMS without needing to manually update their software.

Release Information

Here are some ways to stay informed about new releases:

  • Our release notes are available on GitHub. There are a couple of ways to receive notifications about new releases:
  • Major, minor and security releases are also announced on our Bluesky account. Follow us there for the latest updates!
  • Interested in what’s coming next? Check out our roadmap. We have a lot of exciting ideas to make Sveltia CMS the best Git-based CMS out there.
  • Deprecated features and breaking changes are documented in the migration guide.

Versioning Policy

We follow semantic versioning for our releases. We don’t typically maintain multiple release lines, but we may do so for critical security fixes if necessary. We don’t offer long-term support (LTS) versions.

Breaking changes are only introduced in major version updates (e.g. from 1.x.x to 2.0.0). Minor and patch releases (e.g. from 1.0.0 to 1.1.0 or 1.0.1) are backward-compatible, though unintended issues may occasionally arise.

CDN or npm Package

Sveltia CMS is published as the @sveltia/cms package, which contains three builds of the app. See the API documentation for how to load each one.

CDN script CDN module npm package
File dist/sveltia-cms.js dist/sveltia-cms.mjs npm/index.js
How to load script tag script tag with type="module" import from @sveltia/cms
Format Classic script, single file JavaScript module, single file JavaScript modules, split into files
Build tool Not needed Not needed Required
Updates Automatic Automatic With your package manager
Files loaded from CDNs Yes Yes No

The CDN builds are self-contained scripts that work on any site. To keep them small, they load some files from public CDNs as needed: fonts from jsDelivr, and admin interface translations, additional libraries, image decoders and syntax highlighting definitions from UNPKG. This is still the case if you copy the script to your own site. Parts of the app that only some sites need, such as the GitLab and Gitea/Forgejo backends and the Map field, are loaded from the chunks folder next to the script, so copy dist/chunks along with it, or they’re loaded from UNPKG as well. See the privacy notes and the Content Security Policy guide for details.

The npm package includes all of these files instead, so the CMS contacts no CDN. Your build tool processes them along with the rest of your site and loads each one only when it’s needed. This requires a build tool that supports JavaScript modules, workers and assets referenced with new URL(), such as Vite and webpack 5.

Some of those files, including libraries like Leaflet for the Map field and the syntax highlighting definitions, come with packages that your package manager installs as dependencies of Sveltia CMS. If your site uses one of them too, both can share a single copy.

Checking Your Current Version

The current version of Sveltia CMS can be viewed by enabling Developer Mode in the application:

  1. Click on the avatar in the top right corner of the application to open the Account menu.
  2. Click Settings.
  3. Click the Developer tab.
  4. Enable Developer Mode.
  5. Close the Settings dialog.

A Release Notes link will now appear under the Help menu with the ? icon, displaying the current application version.

Updating Your Installation

CDN Usage

Updating Sveltia CMS when using the CDN is automatic, unless you have pinned to a specific version. The CDN always serves the latest version, so you don’t need to take any action to receive updates.

To use the latest version of Sveltia CMS via the CDN, include the following script tag in your HTML, as the start guide suggests:

<script src="https://unpkg.com/@sveltia/cms/dist/sveltia-cms.js"></script>

The CMS also periodically checks for updates and notifies users when a new version is available. When the notification appears, simply click the “Update Now” button to refresh the application and load the latest version. This works with both the classic sveltia-cms.js script and the sveltia-cms.mjs module.

To avoid major version updates that may include breaking changes, you can pin to a specific major version using the caret symbol (^) followed by the major version number:

<script src="https://unpkg.com/@sveltia/cms@^1/dist/sveltia-cms.js"></script>

With such a version range, the notification appears for a new version within the range, which a reload picks up. A release outside the range, or any release when you pin to an exact version, only logs a warning in the browser console, because reloading wouldn’t load it.

You can also pin to an exact version, but this is not recommended unless you have a specific reason, like debugging or temporarily avoiding a problematic release:

<script src="https://unpkg.com/@sveltia/cms@1.2.3/dist/sveltia-cms.js"></script>

Please report any regressions you encounter to us. Keep in mind that pinning is only a temporary solution and that unreported bugs may be overlooked forever. Reported bugs are usually solved within 8 hours.

npm Package Usage

If you’ve chosen to install the CMS using a package manager, updating the package is your responsibility. The CMS doesn’t notify users of new versions in this case, as updating requires a new build of your site. We strongly recommend using ncu or a service like Dependabot to keep dependencies up to date. Otherwise, you’ll miss important bug fixes and new features.

The pinning methods described in the CDN section above also apply to npm package versions. For example, to pin to a specific major version, you can run:

npm install @sveltia/cms@^1
yarn add @sveltia/cms@^1
pnpm add @sveltia/cms@^1
bun add @sveltia/cms@^1

See the npm semantic versioning documentation for more details on version ranges.

Was this page helpful?