github sveltia/sveltia-cms v0.229.0

latest releases: v0.270.1, v0.270.0, v0.269.2...
one month ago
  • The configuration is now checked for options that can’t work as configured. If you see one of these errors after updating, fix your configuration as the message says:
    • i18n options that leave nothing to translate: the top-level i18n option without any collection or singleton having i18n: true, or a collection or file with the i18n option but none of its fields or files having one. (#577 (comment))
    • The {{locale}} template tag in the default option of a Hidden field without i18n support for the collection or file. The tag used to be replaced with _default, a key the CMS uses internally.
  • The minlength and maxlength options of a String field, and its character counter, now only count what the user types, leaving out the prefix and suffix. Previously, prefix: 'Room ' with maxlength: 3 refused a single character.
  • A List field with the allow_remove: false option can no longer be emptied with Clear, Clear All or Restore Default, and one with the allow_add: false option can no longer get new items with Restore Default.
  • With the frontmatter format, which is the default for Markdown files, an existing entry is now saved back in the front matter format it was read in. Previously, TOML and JSON front matter was rewritten as YAML.
  • A renamed file now follows the slugify_filename option in the Asset Library and in File and Image fields, with the resulting name shown in the rename dialog. (#1042)
  • With the trim: false slug option, a slug that maxlength doesn’t cut now keeps the sanitize_replacement character at its end.
  • The deprecated logo_url option now shows a warning in the browser console. Use logo.src instead. The option still works.
  • Bug fixes and improvements.

Full Changelog: v0.228.0...v0.229.0

Don't miss a new sveltia-cms release

NewReleases is sending notifications on new releases.