Skip to content

3.0.0-alpha1

Pre-release
Pre-release
Compare
Choose a tag to compare
@danepowell danepowell released this 27 Aug 17:19
· 2 commits to main since this release
3476c5e

Breaking changes

This major release includes a breaking change to how the SelfUpdateCommand is constructed.

Old style:

$cmd = new SelfUpdateCommand('wonder', '1.2', 'kporras07/self-update-fixture');

New style:

$selfUpdateManager = new SelfUpdateManager('wonder', '1.2', 'kporras07/self-update-fixture');
$cmd = new SelfUpdateCommand($selfUpdateManager);

Applications can now store $selfUpdateManager and call $selfUpdateManager->isUpToDate() and $selfUpdateManager->getLatestReleaseFromGitHub() in order to check for updates without invoking the full self-update command. See #34 for details and links to reference implementations.

What's Changed

New Contributors

Full Changelog: 2.2.0...3.0.0-alpha1