NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist
Packagist, #2631 most downloaded on Packagist
Library to create CLI applications
Latest stable
0.6.11
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 2 weeks to 10 months
Nearly every release is documented
notes for 21 of 22 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
22 releases · first in 2021
Drag across the ruler to compare, or tap a release to open it.
Bump min Symfony7 supported version to 7.2
Fix missing symfony/deprecation-contracts dependency
Bump minimum supported Symfony version to 6.4
Your coding agent can read these notes before it upgrades. Set up the MCP server →
### Fixes - Add missing psr/log dependency
psr/log dependency (#205)Revert "fix: Remove the deprecation layer (#187)"
Add support for using native Symfony commands
Allow to use the ReversedSymfonyCommand to be registered
Add support for testing separate outputs
Bump minimum required version of Symfony Flex (#185) -
Restore the previous IO::getArgument() and ::getOption()
Add an deprecated alias for IO to avoid a hard BC break
Make the IO object as all around utility class
### Bugfixes - Fix invalid package path
Fix usage in a Symfony application
Lower min dependencies range required
Provide a factory to get an error IO
Do no export unnecessary directories
Make DisplayNormalizer::removeTrailingSpaces() allow multiple extra normalizers
The old API is still available but deprecated [Soft BC Break]:
AppTester which is a variant of the Symfony ApplicationTester// Before
function (\Fidry\Console\IO $io): bool {
return $io->getBooleanArgument('my-arg');
}
// After
function (\Fidry\Console\Input\IO $io): bool {
return $io->getArgument('my-arg')->asBoolean();
}
IO from the Fidry\Console namespace to Fidry\Console\Input. The old class is still available for BC. (#37) [Soft BC break]ConsoleAssert into InputAssert (#29) and enrich InputAssert [Soft BC Break] (the class was marked as @private)Note: support for PHP7.4 and 8.0 is planned to be dropped for the next release.
From 0.3.x to 0.4.x, there is no hard BC break. In other words, unless you were relying on classes marked as @private or @internal, nothing should break.
Nonetheless deprecations have been introduced. The following guide is about taking care of those:
Fidry\Console\IO to Fidry\Console\Input\IO$io->get*Argument('arg-name') to $io->getArgument('arg-name')->as*()$io->get*Option('option-name') to $io->getOption('option-name')->as*()Add support for Symfony 5.3 lazy commands (#9, #15)
LazyCommand::getDescription() static methodIO::getXArrayArgument() methods into IO::getXListArgument()Various doc improvements (#5, #6, 25d29e4, 81bdefd, #11, #13, #16).
Add support for Command awareness
Nothing published for this version
One column per quarter.