Skip to content

Releases

decap-cms@3.19.0

Choose a tag to compare

@martinjagodic martinjagodic released this 03 Dec 07:50

What's Changed

  • feat: support React 18 and 19 by @martinjagodic in #8093
  • fix(lib-auth): reject OAuth callbacks when no login was started (GHSA-h6vp-4qr8-gvh5) by @martinjagodic in c4269e23a
  • fix(core): keep entry card image values out of the generated CSS (GHSA-x5xc-5mj7-9vvw) by @martinjagodic in 51d3ab59e
  • fix: never move other entries along with a moved entry by @martinjagodic in #8101
  • fix(core): resolve cached media assets from public folder paths by @fcpimenta in #8112
  • fix(core): load the entry in the address when the editor moves to another one by @martinjagodic in #8110
  • fix(core): show field label in default preview for long values by @sap1110 in #8091
    • Custom preview templates: widgetFor no longer adds a "Label:" prefix to short string, text and number values, so "Subtitle: Foo" now renders as "Foo". Labels appear only in the default preview, for values of any length.
  • fix(core): upload the original image when media processing fails by @martinjagodic in #8111
  • fix(backend-gitlab): only list editorial merge requests from cms/ branches by @martinjagodic in #8100
  • fix(backend-github): use the fork GitHub returns in open authoring by @martinjagodic in #8103
  • fix(core): search all text fields in search all by @sap1110 in #8089
  • fix(widget-markdown): keep the stored trailing newline so undone edits are not unsaved by @gasparoff in #8099
  • fix(widget-markdown): keep the line break after the front matter so undone edits are not unsaved by @martinjagodic in e5e776111
  • fix(core): open the first collection when its name has special characters by @martinjagodic in #8102
  • fix(core): keep preview scrollable after resizing the editor panes by @sap1110 in #8090
  • fix(markdown): keep spaces for line breaks in pasted html by @No898 in #8095
  • docs: fix React 19 script-tag install, normalize package metadata, add AGENTS.md and context7.json by @martinjagodic in #8092

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.18.0...decap-cms@3.19.0

decap-cms@3.18.0

Choose a tag to compare

@martinjagodic martinjagodic released this 18 Nov 12:44

What's Changed

  • feat(core): add configurable slug collision policy by @ryanvilbrandt in #7999
  • fix(core): never overwrite an entry when a nested path is taken by @martinjagodic in #8082
  • fix(core): ignore entry loads the user has already left by @martinjagodic in #8079
  • fix(widget-richtext): upgrade Plate to 53 by @martinjagodic in #8047
  • fix(gitlab,bitbucket): recover after a failed token refresh by @jackspiece in #8076
  • fix(gitlab,bitbucket): make default branch detection work by @jackspiece in #8077
  • fix(core): resolve i18n locale paths relative to the collection folder by @officialasishkumar in #8072
  • fix(core): keep the case of nested entry paths in their slug by @officialasishkumar in #8071
  • fix(core): skip config schema validation when eval is forbidden by @WolffM in #8084
  • fix(core): keep config field order when writing JSON files by @sap1110 in #8060
  • fix: file control listens to getAsset changes and only rerenders whenâ€Ķ by @sempostma in #8057
  • fix(core): update editor controls after filling in from another locale by @sap1110 in #8064
  • fix(widget-list): remove items from single field lists that have metadata by @salamca in #8081
  • fix(widget-list): pass map values to a single field widget by @sap1110 in #8066
  • fix(widget-relation): support wildcards inside string template fields by @sap1110 in #8063
  • fix(widget-list): allow typing spaces in comma separated list input by @sap1110 in #8062
  • fix(core): allow a blank meta path when it is not required by @sap1110 in #8058
  • fix(core): reset regex state when validating field pattern by @sap1110 in #8061
  • fix(ui-default): keep the toggle in sync with its active prop by @sap1110 in #8059
  • fix(turbo): say why the Turbo config request failed instead of "Failed to fetch" by @martinjagodic in 987e8faec
  • refactor: clean up changes merged since 3.17.3 by @martinjagodic in #8086
  • chore(deps): bump zod from 3.25.76 to 4.6.6 by @dependabot[bot] in #8049
  • chore(deps): bump minimatch from 7.4.9 to 11.0.1 by @dependabot[bot] in #8083
  • ci(release): wait for lagging provenance before failing the publish by @martinjagodic in 61ceb6e06
  • docs: fix dead expert services link in README by @farisbasha in #8085

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.3...decap-cms@3.18.0

decap-cms@3.17.3

Choose a tag to compare

@martinjagodic martinjagodic released this 26 Oct 10:51

What's Changed

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.2...decap-cms@3.17.3

decap-cms@3.17.2

Choose a tag to compare

@martinjagodic martinjagodic released this 26 Oct 09:13

What's Changed

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.1...decap-cms@3.17.2

decap-cms@3.17.1

Choose a tag to compare

@martinjagodic martinjagodic released this 14 Oct 11:38

Decap CMS 3.17.1

A patch release with a smaller browser bundle, a clearer Decap Turbo error, and dependency security updates. Nothing changes in how you configure or use the CMS.

Changes

  • Smaller bundle. decap-cms.js is 384 KB smaller: 4.86 MB instead of 5.24 MB, and 118 KB less over gzip. The bundle carried two full copies of lodash, two versions of Immutable, a server-side renderer it never called, and two dependencies whose code never ran. (#8032)
  • Clearer error for a Turbo site without a repository. A Turbo site can be created before a repository is chosen. The CMS used to report a missing repo in config.yml, which can't fix it. It now says the site has no repository and links to the site's page in the Turbo dashboard. (#8031)
  • Dependency updates. The lockfile now resolves to patched versions of axios, morgan, lodash, webpack, express and other dependencies, fixing open security alerts. No declared version ranges changed. (#8030)

For npm users

decap-cms-ui-default, decap-cms-widget-boolean and decap-cms-widget-map now declare immutable as a peer dependency, like the other widgets. They always needed it. If you install decap-cms-app, it already provides immutable, so nothing changes for you.

decap-cms@3.17.0

Choose a tag to compare

@martinjagodic martinjagodic released this 14 Oct 07:54

Decap CMS 3.17.0: Decap Turbo is generally available

Decap CMS 3.17.0 brings Decap Turbo out of public preview and into the stable release. Turbo is an optional hosted backend for Decap CMS: you point your config.yml at it, and it handles sign-in, access control and the traffic between your editors and GitHub or GitLab. Decap CMS itself stays free and open source, and nothing changes for sites that keep their current backend.

What Decap Turbo gives you

  • Editors don't need a GitHub or GitLab account. They sign in with a Turbo account that you invite them to from the dashboard. There's no OAuth app, auth server or Git Gateway for you to run.
  • Large collections open fast. Turbo keeps a cache of your repository's content, so the CMS loads a collection in a few requests instead of one Git API call per entry. Editors stop running into the Git host's rate limits.
  • Roles and permissions. Organizations have owners and members, and each site has its own access list. Custom roles go further and decide, per collection, whether an editor can edit, only view, or not see it at all. The rules are enforced on the server, not just hidden in the interface.
  • Your content stays in Git. Every save is still a commit on the branch you choose, and the editorial workflow keeps working through pull requests or merge requests.
  • Editors know when a change is live. After a save, the CMS follows the deploy until the change is published, and a Deploys page lists recent deploys. This works for GitHub-hosted sites today.
  • Media in your own bucket. An S3-compatible media library works with AWS S3, Cloudflare R2, Bunny or any other S3-compatible storage. It's in beta and available on Pro and above.
  • Site variables and secrets keep the credentials your site needs out of config.yml (Pro and above).
  • An activity log shows owners who changed what, and when.

See https://decapcms.org/turbo to learn more.

Getting started

  1. Sign up. Your organization starts on the Free plan.

  2. Connect your Git provider: install the Decap Turbo GitHub App, or authorize GitLab.

  3. Create a site with its repository, branch, config path and admin URL, then copy its Site ID.

  4. Point your config.yml at Turbo:

    backend:
      name: turbo-github # or turbo-gitlab
      turbo_site_id: your-site-id
  5. Load Decap CMS 3.17.0 or later. The standard script tag and the npm package both include the Turbo backends:

    <script src="https://cdn.jsdelivr.net/npm/decap-cms@^3.0.0/dist/decap-cms.js"></script>

    or npm install decap-cms-app.

  6. Invite your editors from the Turbo dashboard.

The Turbo docs cover each step, along with roles, deploy status and the media library.

Coming from the preview? If your site loads decap-cms@beta or a pinned 3.17.0-beta.N, switch to ^3.0.0 or 3.17.0. The beta tag now points at this release, but jsDelivr lets browsers keep a cached @beta bundle for up to a week.

Also in this release

  • New backend capabilities in core. To support Turbo, core gained optional hooks that any backend can implement:
    • loading configuration from the backend before the CMS starts
    • per-collection permissions, so view-only collections hide create, delete and publish
    • deploy status and a Deploys page
    • a media-library context, so a media library can use the signed-in session
  • More reliable editing. A round of fixes covers the editorial workflow, i18n entries with missing locales, slug length on every backend, search, and notes on GitHub and GitLab.
  • New packages. decap-cms-lib-turbo holds the shared Turbo client code, and decap-cms-media-library-s3 is the media library (beta).
  • Experimental APIs. CMS.editor and CMS.registerFieldAction are experimental and may change in any release.

Upgrade notes

  • decap-server now requires Node 20 or later. Its commands, environment variables and exports are unchanged.
  • The backend names turbo-github and turbo-gitlab are now reserved, and the decap-cms bundle registers media_library: s3.
  • Core now calls these optional methods on a backend that defines them, so a third-party backend that already uses one of these names for something else needs a look: preloadConfig (static), attachEditor, subscribeDeployResolutions, recordSaveForDeployWatch, commitUrl, subscribeDeployStatus, listDeployments, listCommits, deployStatusConfig and reloadEntriesAfterPersist.

Every package's CHANGELOG.md has the full list of changes from the 3.17.0-beta.0 to 3.17.0-beta.5 prereleases.

decap-cms@3.16.3

Choose a tag to compare

@martinjagodic martinjagodic released this 22 Sep 12:51

What's Changed

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.16.2...decap-cms@3.16.3

decap-cms@3.17.0-beta.1

Pre-release

Choose a tag to compare

📜 Changelog

decap-cms@3.16.1

Choose a tag to compare

@martinjagodic martinjagodic released this 08 Sep 10:45

This is mainly a fix-and-chore release, including:

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.16.0...decap-cms@3.16.1

decap-cms@3.16.0

Choose a tag to compare

@martinjagodic martinjagodic released this 31 Aug 13:09

New features

Fixes, chores

New Contributors

Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.15.1...decap-cms@3.16.0