- Publish mode enhancements:
- The new Preview Workflow is enabled with
publish_mode: preview. Like Editorial Workflow, each save goes to a pull request, so the change can be checked on a deploy preview before it goes live. Unlike Editorial Workflow, there are no review stages, so an entry can be published as soon as it’s saved. The Editorial Workflow page becomes a list of drafts. Like the other publish modes, it can also be set for each collection. This effectively solves decaporg/decap-cms#942. - The
publish_modeoption also takes an object, with the publish mode astypeand three new options. The string form still works. A collection-levelpublish_modeoverrides the top-level one option by option.stagesleaves out the In Review or Ready stage of Editorial Workflow, e.g.[draft, pending_publish]. When In Review is left out, saving a draft offers to mark it ready. This effectively solves decaporg/decap-cms#1306.direct_publishadds Save and Publish to the Save button, so a quick fix can go live in one go while other changes still go through review. An entry without a pull request is committed straight to the configured branch; one with a pull request is saved to it, which is then merged. The Publish button is also available at every stage. This effectively solves decaporg/decap-cms#4054. (#980)allow_incomplete_drafts: falseenforces required fields in drafts too. By default, a draft can still be saved with its required fields left empty. This effectively solves decaporg/decap-cms#5013.
- Open Authoring can be used with Preview Workflow as well as Editorial Workflow.
- The new Preview Workflow is enabled with
- Bug fixes and improvements.
Full Changelog: v0.240.0...v0.241.0