Recent searches

in

Changelog

Subscribe with RSS to keep up with the latest changes.

On this page

More reliable caching between builds#

This release made caching between builds more reliable, so every build of a Site can use the files in its Preserved Paths, whichever server runs the build.

Features & Improvements

  • Improved caching between builds, allowing every build of a Site to reuse the files in its Preserved Paths, such as node_modules/, whichever server runs the build. For more information, please read our documentation on configuring caching between builds.
    • Previously, a build that ran on a different server from the Site's previous build, or on a server that had restarted, started without these files and had to recreate them.
    • The build log shows when CloudCannon restores your Preserved Paths before a build and when it saves them afterward.
    • When a build is interrupted before it finishes, the next build of that Site starts without its Preserved Paths, rather than reusing files the interrupted build may have left incomplete.

Fixes

  • Updated dependencies to patch security vulnerabilities.

General fixes#

This release addressed several issues, including those affecting keyboard shortcuts in rich text editors, File Inputs, and links to our documentation. It also updated the CloudCannon API.

Features & Improvements

  • Updated the CloudCannon API, which is in Public Beta. For more information, please read our API changelog.

Fixes

  • Fixed an issue where keyboard shortcuts in a rich text editor applied formatting that the editor's toolbar did not offer. For example, pressing Ctrl+B (or Cmd+B on macOS) made text bold in an editor configured with bold: false. Shortcuts now only apply the formatting available in that editor's toolbar.
  • Fixed an issue where a File Input linking to a page with no source file, such as a tag or pagination page, showed a blank preview. An older Visual Editor link to one of these pages also failed to load.
  • Fixed an issue where some links from the CloudCannon app to our documentation led to pages or sections that no longer exist.
  • Updated dependencies to patch security vulnerabilities.

New template string filters#

This release added more specific filters for accessing the correct data in template strings, and fixed a bug relating to Deploy Previews.

Features & Improvements

  • New template string filters are available, to help in cases where your data shares key names with CloudCannon's fixed placeholders (e.g. "slug"). See the examples here for more information about this.

    • default_data operates like the default filter, but only checks against your data
    • default_fixed operates like the default filter, but only checks against CloudCannon's fixed placeholders
    • if_data and if_fixed operates like the if filter, but only check against your data or CloudCannon's fixed placeholders, respectively.
    • unless_data and unless_fixed operates like the unless filter, but only check against your data or CloudCannon's fixed placeholders, respectively.

Fixes

  • Fixed an issue preventing Deploy Previews from working properly on Bitbucket Projects.
  • Updated dependencies to patch security vulnerabilities.
Open in a new tab