Upgrade
You can upgrade Variable Number Fieldtype using composer - it's as easy as that.
For major versions, you will need to manually increment version numbers as these may include breaking changes and may need some additional changes to your code.
2.x to 3.x New
Due to Statamic's upgrade of Vue 2 to Vue 3, 3.x drops support for Statamic 5.
Update the following dependencies in your site's composer.json
file:
mitydigital/statamic-variable-number-fieldtype
to^3.0
1.x to 2.x
2.x drops support for Statamic 4.
Update the following dependencies in your site's composer.json
file:
mitydigital/statamic-variable-number-fieldtype
to^2.0