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