Releases: consolidation/self-update
3.0.1
3.0.0
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
- Fix #29: Drop support for Symfony 4 and PHP 7 by @danepowell in #30
- Add support for Symfony 7 by @mbrodala in #28
- Fix #10: Use symfony http-client and respect proxy settings by @danepowell in #33
- Fix #8: Add public API by @danepowell in #34
- Version never up to date by @danepowell in #35
New Contributors
Full Changelog: 2.2.0...3.0.0
3.0.0-alpha2
What's Changed
- Version never up to date by @danepowell in #35
Full Changelog: 3.0.0-alpha1...3.0.0-alpha2
3.0.0-alpha1
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
- Fix #29: Drop support for Symfony 4 and PHP 7 by @danepowell in #30
- Add support for Symfony 7 by @mbrodala in #28
- Fix #10: Use symfony http-client and respect proxy settings by @danepowell in #33
- Fix #8: Add public API by @danepowell in #34
New Contributors
Full Changelog: 2.2.0...3.0.0-alpha1
2.2.0
2.1.0
2.0.5
What's Changed
- Do not update if current version is greater than latest release. by @kporras07 in #18
Full Changelog: 2.0.4...2.0.5
2.0.4
What's Changed
- Add option to ignore phar running check. by @kporras07 in #17
Full Changelog: 2.0.3...2.0.4