cordova-lib icon indicating copy to clipboard operation
cordova-lib copied to clipboard

[RFC] feat!: remove platform pinning

Open erisu opened this issue 3 years ago • 0 comments

Platforms affected

none

Motivation and Context

  • Stop managing the platform pinning.
  • Always allow the use of the latest release version without requiring an update of the lib or cli.

Description

  • Remove platform version pinning data.
  • Remove logic for displaying the pinning version.
  • Always fetch latest version when not supplied or already installed.

Previous concerns which shouldnt not be an issue anymore: Platforms relied on the common object which was passed to platform. Platforms should now be recreating the common object using its own installed common package.

E.g.

Testing

  • not fully tested... in progress

Checklist

  • [ ] I've run the tests to see all new and existing tests pass
  • [ ] I added automated test coverage as appropriate for this change
  • [ ] Commit is prefixed with (platform) if this change only applies to one platform (e.g. (android))
  • [ ] If this Pull Request resolves an issue, I linked to the issue in the text above (and used the correct keyword to close issues using keywords)
  • [ ] I've updated the documentation if necessary

erisu avatar Aug 02 '22 12:08 erisu