0.15.0
please read the upgrading guide.
Migrate to @makeswift/runtime/controls
This upgrade guide is only necessary if you’re using deprecated APIs from
@makeswift/runtime/prop-controllers
. If you’re not using these APIs, you can safely skip this upgrade guide.@makeswift/runtime/controls
module that replaces the deprecated @makeswift/runtime/prop-controllers
. To upgrade, you’ll need to update your components to use controls from the new module.
Updating Imports
For most controls, you can simply update the import statement. Here’s an example for migrating theRichText
control:
Special Cases
Some controls, likeList
and Shape
, require additional changes beyond updating the import statement. When using these controls, you’ll also need to update the controls used to define their types.
Refer to the documentation for each control to see if any special migration steps are necessary.