- 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
i18noption without any collection or singleton havingi18n: true, or a collection or file with thei18noption but none of its fields or files having one. (#577 (comment)) - The
{{locale}}template tag in thedefaultoption 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.
- i18n options that leave nothing to translate: the top-level
- The
minlengthandmaxlengthoptions of a String field, and its character counter, now only count what the user types, leaving out theprefixandsuffix. Previously,prefix: 'Room 'withmaxlength: 3refused a single character. - A List field with the
allow_remove: falseoption can no longer be emptied with Clear, Clear All or Restore Default, and one with theallow_add: falseoption can no longer get new items with Restore Default. - With the
frontmatterformat, 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_filenameoption in the Asset Library and in File and Image fields, with the resulting name shown in the rename dialog. (#1042) - With the
trim: falseslug option, a slug thatmaxlengthdoesn’t cut now keeps thesanitize_replacementcharacter at its end. - The deprecated
logo_urloption now shows a warning in the browser console. Uselogo.srcinstead. The option still works. - Bug fixes and improvements.
Full Changelog: v0.228.0...v0.229.0