Platform 2020.04.06
On production sites
This release makes it safe to move and rename resource files.
Move and rename files without duplicates
Insites now finds the right resource to update when the file path or the name changes. This avoids duplicates and uniqueness validation errors. For example:
- Moving
modules/my_modules/public/form_configurations/my_form.liquidtomodules/my_modules/private/forms/my_form.liquidis recognized as the same file, even if thenameinside the file changes. The folderspublictoprivateandform_configurationstoformschanged. - Moving
modules/my_modules/private/forms/my_form.liquidtomodules/my_modules/private/forms/some_dir/my_form.liquidis recognized as the same file, but only if thenamedoes not change. - Changing the
namewithout moving the file is also recognized.
You can update a deprecated directory name to the new one, and move a file from public to private and back.
Also in this release
- Fixed a 500 server error that happened when you created a user profile with a GraphQL mutation, exported the data and then tried to import it