All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fixed a bug where the add button would still appear for preview images if no images were found in the preview source folder set in the plugin settings
- Fixed an error that occurred when applying project config changes that included a new content template
- Added Craft 5 compatibility
- Removed Craft 4 compatibility
- Fixed an error that occurred when applying project config changes that included a new content template
- Fixed an error that occurred when applying a content template to a new entry, if the primary site was disabled for the entry's section (thanks @IrateGod)
- Fixed an error that occurred when saving a content template for an entry type with an SEO field on its field layout
- Fixed a bug where rebuilt project config data could include content template orders with missing array keys, which caused errors when applying that project config data
- Fixed a bug where the 'Choose a template' modal would reappear when reloading a new draft with changes made to any of its field values, as long as the slug had not been set
- Fixed a bug where the 'Choose a template' modal would not appear when creating a new entry with fields with non-empty default values
- Fixed an "Element query executed before Craft is fully initialized" warning in the Craft logs that was caused by Content Templates
- Fixed an error that occurred when saving a content template if the Preparse Field plugin is also installed
- Fixed a bug where content templates could not be created for entry types that didn't yet have a content template structure created
- Fixed an error that occurred when deleting a content template draft, if the associated entry type had no other content templates
- Initial release