3.0.0-alpha.0
was the first big milestone, so 3.0.0-alpha1
is in its continuity. The info
command has been greatly improved, a new dev
mode has been added and a good set of bug fixes to stabilise the previous release have been added.
As the project stabilises, the changes are now more scoped and trackable by PRs as you can see in the PR links below.
Features
- Allow
null
for thealgorithm
andcompression
settings (#89) - Add a
dev
mode (#90) - Display the number of files found in the PHAR for the
info
command (#93) - Display the weight of the PHAR for the
info
command (#93) - Display compression
[NONE]
when no compression is found when displaying the list of files contained in the PHAR for theinfo
command (#93) - A percentage of the compression listed is used when multiple compression or partial compression is used for the
info
command (#93) - Restart the process with a different configuration to avoid the user to have to tweak the
phar.readonly
setting (#91) - Dump all files added to the PHAR in debug mode (#108)
- Dump the processed configuration in debug mode (#108)
- Force the debug verbosity for the output when the debug mode is enabled (#108)
- Rework the Composer Orchestrator to no longer rely on the dumped file
scoper-autoload.php
from PHP-Scoper (#94) - Fix the info command for tar GZ & BZ2 compressed PHARs (#112)
- Make the info command able to inspect PHARs with no extension (#112)
Bugfixes
- Fix PHAR aliases: make the PHAR independent of its name or location; Allow the setting by default (#92)
- When no metadata is found for the
info
command, the metadata displayed isNone
(#93) - Calculate the compression by checking the PHAR contents for the
info
command instead of relying on the falsyPhar::isCompressed()
which returns the wrong result when the default PHAR is not used (#93) - Generate the box stub by default (#105)
- Fix the blacklist usage (#106, #110)
- Always exclude box debug directory
.box
from the collected files (#107) - Ignore symlinks which is causing issues with the dumping of the Composer autoloading (#109)
- Do not include the existing PHAR when collecting the files (#111)
Misc changes
- Remove support for the
bootstrap
setting (#88) - No longer accept a string value for the
compactors
setting (#89) - No longer accept a numerical value for the
algorithm
andcompression
settings (#89) info
command tweaks besides the one mentioned above:
BC breaks
- Remove support for the
bootstrap
setting (#88) - The option
compactors
no longer accepts a string value (#89) - No longer accept
number
foralgorithm
(#89) - No longer accept
integer
forcompression
(#89) - The command
info
no longer supports ZIP & TAR based PHARs (#93) - When using the
PhpScoper
compactor thescoper-autoload.php
file is no longer dumped. Instead the whitelist statements are directly
appended to the existing autoloader which avoids nay extra work for the user. (#94)