This release improved Pull Requests by adding Markdown formatting to the Pull Request body and a shortcut to edit your Pull Request templates in Configuration Mode.
It also addressed several issues, including those affecting line breaks in Pull Request descriptions, dropdown menus, and Editable Regions on Nuxt Sites.
Features & Improvements#
- Changed the default Input for the body of a Pull Request to a Markdown Input, allowing you to format your Pull Request description without writing Markdown syntax by hand. The toolbar has controls for bold, italics, links, paragraph and heading formats, blockquotes, bulleted lists, numbered lists, and removing formatting.
- Added an Edit Pull Request Templates button to the Publishing page, allowing you to configure your Pull Request templates without opening your CloudCannon Configuration File in the Source Editor. This button is visible when Configuration Mode is on. For more information, please read our documentation on configuring a Pull Request template.
- Improved the configuration options for Pull Request templates in Configuration Mode.
- The
_inputskey acceptstitleandbodyentries only, which matches the fields available on a Pull Request. - The
titleandbodyentries under_inputsaccept the full range of Input configuration options. - The
bodykey uses a Markdown Input, and thetemplate_pathkey is available when you add a new template.
- The
Fixes#
- Fixed an issue where pressing Shift + Enter in the body of a Pull Request showed a literal
<br />in the Pull Request description, rather than a line break. - Fixed an issue where clicking away from an open dropdown menu cleared the name of the selected option, leaving the menu looking empty.
- Fixed an issue where client-side hydration on Nuxt Sites stopped some Editable Regions from working in the Visual Editor.
- Updated dependencies to patch security vulnerabilities.