deluan / contentful-migrate

🐎 Schema migration tooling for Contentful, with state management
https://www.contentful.com/blog/2018/09/13/content-model-changes-scale-telus-cms-as-code/
MIT License
60 stars 37 forks source link

Bootstrap generates scripts with deprecated changeEditorInterface method #143

Closed canrozanes closed 4 years ago

canrozanes commented 4 years ago

When I run npx ctf-migrate bootstrap -c contentType -s spaceID -e environmentID, the package generates a script that uses the method changeEditorInterface. When I run this script, it emits the following warning: (deprecated) Method changeEditorInterface is deprecated and will be removed, use changeFieldControl instead

deluan commented 4 years ago

Hey @canrozanes, what version are you using? This was fixed in https://github.com/deluan/contentful-migrate/pull/85 and was released already

canrozanes commented 4 years ago

I was indeed using a previous version. I was on v0.11.3. Upon updating to latest, the issue disappeared. As such, I'm closing this issue.