- Better TypeScript support: The
SiteConfigtype is now exported, so you can import it directly to construct your configuration object with proper type checking outside of theCMS.init()method. This solves #538. - Added some more config validation rules:
- Invalid collection, collection file, field, variable type names (e.g. names containing
.or*) - Mutually exclusive config options (e.g.
field,fieldsandtypeson List fields) collectionandfilereferences on Relation fields
- Invalid collection, collection file, field, variable type names (e.g. names containing
Update: The export has been renamed CmsConfig in v0.118.0.
Full Changelog: v0.116.0...v0.117.0