Repository navigation
Releases
decap-cms@3.19.0
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:
widgetForno 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.
- Custom preview templates:
- 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
- @No898 made their first contribution in #8095
- @gasparoff made their first contribution in #8099
- @fcpimenta made their first contribution in #8112
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.18.0...decap-cms@3.19.0
decap-cms@3.18.0
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
- @officialasishkumar made their first contribution in #8071
- @salamca made their first contribution in #8081
- @WolffM made their first contribution in #8084
- @farisbasha made their first contribution in #8085
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.3...decap-cms@3.18.0
decap-cms@3.17.3
What's Changed
- fix(widget-file): download unsaved media instead of opening it by @martinjagodic in 9e1e68aef (GHSA-qf66-gqh8-qvrh)
- chore(deps): refresh newly flagged lockfile entries by @martinjagodic in #8051
- fix(widget-code): size markdown code blocks to their content by @rodchristiansen in #8017
- chore(media-library-s3): describe providers generically by @martinjagodic in 653c1a6fb
- chore: integration branch for 3.17.3 (do not squash) by @martinjagodic in #8052
New Contributors
- @rodchristiansen made their first contribution in #8017
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.2...decap-cms@3.17.3
decap-cms@3.17.2
What's Changed
- fix(decap): keep the dev proxy local and out of .git by @martinjagodic in 9324b482b and 4b5ac2955 (GHSA-g884-37w2-8475)
decap dev/npx decap-servernow listens on this machine only. If you run it in Docker or behind a port mapping, setBIND_HOST=0.0.0.0(only on a network you trust; the server has no authentication).
- fix(core): never evaluate JavaScript front matter by @martinjagodic in a2b0ae153 (GHSA-fmjm-vjmx-5xhq)
- fix: place slug collision suffix before collection path by @ryanvilbrandt in #8000
- fix(core): preserve full entries returned by preSave handlers by @sridharkalaibala in #7989
- fix(datetime): preserve year while typing by @Shadorux in #8002
- fix(markdown): store pasted image url in node data by @sap1110 in #8014
- fix(gitlab): include merge request SHA when publishing by @sridharkalaibala in #7991
- fix(github): list deep trees with REST when using GraphQL by @sap1110 in #8039
- fix(backend-bitbucket): load all pages of pull requests by @sap1110 in #8033
- fix(relation): match filters against multiple-value fields by @sap1110 in #8006
- fix(widget-list): restore controls for erroneous typed items by @sridharkalaibala in #7988
- fix(core): allow uppercase characters in nested collection meta path by @sap1110 in #8007
- fix(forgejo): use existing fork when it has a different name by @sap1110 in #8013
- fix(azure): set login for the authenticated user by @sap1110 in #8038
- fix: several small issues by @yanthomasdev in #8043
- chore(deps): override vulnerable transitive dependencies by @martinjagodic in #8046
- feat(media-library-s3): list Neon Object Storage as a supported provider by @rishi-raj-jain in #8041
- fix(core): add min and max to relation field types by @sap1110 in #8034
- docs(git-gateway): fix bitbucket backend link typo by @Pharex38 in #8044
- chore: integration branch for 3.17.2 (do not squash) by @martinjagodic in #8045
New Contributors
- @sap1110 made their first contribution in #8014
- @sridharkalaibala made their first contribution in #7989
- @Shadorux made their first contribution in #8002
- @ryanvilbrandt made their first contribution in #8000
- @Pharex38 made their first contribution in #8044
- @rishi-raj-jain made their first contribution in #8041
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.17.1...decap-cms@3.17.2
decap-cms@3.17.1
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.jsis 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
repoinconfig.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
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
-
Sign up. Your organization starts on the Free plan.
-
Connect your Git provider: install the Decap Turbo GitHub App, or authorize GitLab.
-
Create a site with its repository, branch, config path and admin URL, then copy its Site ID.
-
Point your
config.ymlat Turbo:backend: name: turbo-github # or turbo-gitlab turbo_site_id: your-site-id
-
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. -
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-turboholds the shared Turbo client code, anddecap-cms-media-library-s3is the media library (beta). - Experimental APIs.
CMS.editorandCMS.registerFieldActionare experimental and may change in any release.
Upgrade notes
decap-servernow requires Node 20 or later. Its commands, environment variables and exports are unchanged.- The backend names
turbo-githubandturbo-gitlabare now reserved, and thedecap-cmsbundle registersmedia_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,deployStatusConfigandreloadEntriesAfterPersist.
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
What's Changed
- fix(release): add manual publish trigger, tolerate registry lag by @martinjagodic in #7982
- Feature/optimize editor performance by @sempostma in #7793
- Notes pane improvements, GitLab support by @martinjagodic in #7994
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
decap-cms@3.16.1
This is mainly a fix-and-chore release, including:
- fix: Windows path-mock regression and media library upload/delete edge case by @martinjagodic in #7965
- fix(gitlab): refresh expired tokens for GraphQL and REST 401s by @jackspiece in #7932
- fix(richtext): render nested shortcodes in preview by @marthesselink in #7899
- refactor: migrate from npm to pnpm by @Daniel-Mendes and @yanthomasdev in #7645
- fix(widget-list): route list item changes by item id, not position by @derekrussell in #7972
- Fix: improve relation widget by @martinjagodic in #7968
- chore(deps): bump immutable from 3.8.2 to 4.3.9 by @dependabot[bot] in #7974
- fix: applying collection filter on i18n: single file by @martinjagodic in #7612
- fix(preview): preserve blob: image URLs when sanitizing preview HTML by @si-kui-a in #7970
New Contributors
- @derekrussell made their first contribution in #7972
- @si-kui-a made their first contribution in #7970
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.16.0...decap-cms@3.16.1
decap-cms@3.16.0
New features
- Support browser image transformations by @evan6seven in #7845
Fixes, chores
- chore(deps-dev): bump webpack-dev-server from 5.2.6 to 6.0.0 by @dependabot[bot] in #7927
- chore(deps): bump dompurify from 3.4.12 to 3.4.13 by @dependabot[bot] in #7953
- chore(deps): bump ip-address from 10.2.0 to 10.5.0 by @dependabot[bot] in #7943
- chore(deps-dev): bump postcss from 8.5.21 to 8.5.26 by @dependabot[bot] in #7954
- chore(deps): bump fast-uri from 3.1.4 to 3.1.5 by @dependabot[bot] in #7948
- chore(deps): bump undici from 6.27.0 to 6.28.0 by @dependabot[bot] in #7947
- fix(backend-git-gateway): restore PKCE session on page reload by @gkanitz in #7934
- fix: solve flaky/failing tests by @yanthomasdev in #7951
- chore(deps-dev): bump nx from 21.6.11 to 23.1.1 by @dependabot[bot] in #7936
New Contributors
- @gkanitz made their first contribution in #7934
- @evan6seven made their first contribution in #7845
Full Changelog: https://github.com/decaporg/decap-cms/compare/decap-cms@3.15.1...decap-cms@3.16.0