- A custom field type that stores an object or array value now keeps the value in place when an entry is saved, with the properties in the order the control gave them. Previously, the value was moved to the end of the data and its properties were sorted alphabetically. As a result, the first save of an existing entry with such a field may reorder these lines in the file.
- Custom field type controls now receive the
getAssetprop, just like previews, so a control can display a file stored in its value. This is also available in Netlify/Decap CMS, though undocumented. - The
getAssetfunction given to custom preview templates and custom field types now:- Accepts the temporary
blob:URL a field holds for a file that hasn’t been saved yet, so a newly uploaded image appears in the preview before the entry is saved. - Causes the component to render again once the file has been retrieved, so the
urlproperty points to the file instead of its public path.
- Accepts the temporary
- Bug fixes and improvements.
Full Changelog: v0.225.0...v0.226.0