Updating

To update minor or patch versions, run the following after taking a backup of WordPress:

composer update

Within your plugin folder (/wp-content/plugins/your-plugin/)

Composer will only update versions that fit the constraints defined in your composer.json, so major releases generally won’t be installed automatically.

Major versions may include breaking changes, so review the release notes before updating and follow any migration instructions.