Skip to content

3.0.0

Latest
Compare
Choose a tag to compare
@danepowell danepowell released this 04 Nov 20:28
3d7304a

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