Box Project Box Versions Save

📦🚀 Fast, zero config application bundler with PHARs.

4.3.4

1 year ago

Misc

  • ci: Add building the docker image for Box to the build (#905)

4.3.3

1 year ago

Misc

  • ci: Fix the docker tag (#903)

4.3.2

1 year ago

Misc

  • ci: Fix the docker publish job (#897)
  • ci: Fix the homebrew formula release (#898)
  • ci: Fix the job to update the requirement checker (#899, #900, #901)
  • build: Update the RequirementChecker (#902)

4.3.1

1 year ago

Misc

  • fix the release (#896)

4.3.0

1 year ago

Features

  • Add support for the micro SAPI (#827)
  • Use mlocati/install-php-extensions instead of docker-php-ext-install for the generated Dockerfile (#836)
  • Allow PHP 8.2 as a docker image for the generated Dockerfile (#849)
  • Deprecate explicitly enabling the requirement checker when the composer.lock file could not be found. (#867)
  • Detect conflicting requirement in the requirement checker (#872)
  • Improve the requirement checker constraint messages (when checking the PHAR requirements) (#877)
  • Allow to use a custom Composer binary (#887)
  • Check if the Composer binary used is a supported version (#888)

Bugs

Various fixes regarding the generated Dockerfile (via the box docker command):

  • Fix the generation of the Dockerfile which resulted in the last extension to not be properly installed (#848)
  • Remove duplicate extension requirements in the generated Dockerfile (#850)

Various fixes regarding the requirement checker:

  • Do not execute any requirement checker code when the requirement checker is disabled (#851)
  • Rephrase incorrect message for the PHP constraint when checking the PHAR requirements (#860)
  • Use information from the composer.lock file when possible for the requirement checker (#868)
  • Take the polyfilled extensions from the provide package info instead of guessing based on the package name (#870)
  • Fix the detection of the PHP extension Zend OPcache (#871)

Other fixes:

  • Correctly disable the annotation compacting when configuring annotations=false (#855)
  • Remove unused metadata option of the info command (#854)
  • Fix enable/disabling the requirement checker (#874)
  • Fix the constraint message displayed when checking the PHAR requirements (#876)
  • Do not remove test directories and *Test.php files (#882)

Misc

  • No longer use the parallel mode internally (#723)
  • Various tests and pipeline improvements:
    • Fix the pipeline (#724, #725, #726)
    • Update the GitHub Actions steps (#728)
    • Automatically sign the release PHAR (#731)
    • Simplify the security check workflow (#732)
    • Refactor the release workflow (#733)
    • Fix invalid lint workflow trigger (#738)
    • Rework the lint workflow (#737)
    • Introduce meta builds for the tests (#743)
    • Remove Xdebug from the PHP setup (#767)
    • Fix e2e tests broken by the migration (#766)
    • Disable unit tests for Composer 2.2 & non-locked dependencies (#772)
    • Fix the infection build (#773)
    • Consolidate the e2e tests by testing both stdout and stderr (#774)
    • Execute both PHAR readonly & writable within the same test (#775)
    • Rename the builds (#776)
    • Enable the colors in the CI (#777)
    • Fix some CI CS inconsistencies (#778)
    • Fix re-deploy website if only the mkdocs configuration changes (#782)
    • Fix the tracked pre-requisites to rebuild the website (#783)
    • Move the produced artifacts of the website out to the dist directory (#784)
    • Re-organise the website related rules (#781)
    • Build the website in strict & clean mode (#785)
    • Move the lint workflow to the AutoReview workflow (#786)
    • Rename security job (#787)
    • Create a make autoreview and PHPUnit AutoReview test suite (#789)
    • Do not execute the AutoReview test suite when generating the coverage reports (#799)
    • Re-use the built PHAR for the E2E tests (#802)
    • Fix the workflows to wait on the release workflow to start the E2E tests (#804)
    • Build the docker images as a separate step (#803, #764, #806, #808, #809, #810, #807, #865)
    • Fix the condition to build the E2E docker images (#805)
    • Fix step that ensures the box.phar is up to date (#811)
    • Split E2E tests between the ones using docker and the ones not (#812)
    • Add BoxValidate & ComposerValidate to the autoreview (#813)
    • Fix default stub generation (#818)
    • Skip the tests when their fixtures cannot be found (#821)
    • Fix the fixture generation fo the ComposerOrchestratorTest (#823)
    • Fix running tests with PHAR readonly or writeable (#826)
    • Fix flaky test (#828)
    • Fix the deployment of the doc (#830)
    • Fix GH pages change detection (#831)
    • Automatically update the hombrew tap on release (#832)
    • Add missing @requires bz2 annotations (#837)
    • Add auto-review tests to ensure the E2E tests are in sync with the GitHub Actions config (#845)
    • Add an e2e test for the Dockerfile generation (#846)
    • Make git based configuration test more reliable (#847)
    • Publish a docker image on release (#853)
    • Improve testing against multiple PHP and dependencies versions (#856)
    • Tests against the different Composer versions (#765)
    • Reduce the number of API calls made (#869)
    • Automate updating the requirement checker (#843)
    • Split the requirement checker tests (#883)
    • Refactor the E2E tests to test both the stdout and stderr (#884)
    • Make the ComposerInstalledVersions e2e test reliable (#885)
  • Various Makefile improvements:
    • Configure makefile flags (#734)
    • Avoid to accidentally create files via the Makefile (#736)
    • Add tests for Makefiles (#755)
    • Rework how the Makefile dependencies are installed (#739)
    • Move the CS commands to a dedicated section (#780)
    • Add the colors (#792)
    • Rework the makefile (#791)
    • Rework the box.phar rules (#796)
    • Rework the E2E tests (#798)
    • Move the E2E tests into a dedicated Makefile (#800)
    • Fix the coverage generation (#820)
    • Fix make clean command and apply it (#816)
  • Update the project CS:
    • Remove CodeSniffer (#735)
    • Add Composer Normalize (#740)
    • Add gitignore sort (#741)
    • Add missing gitignore entry (#742)
    • Make PHP-CS-Fixer verbose when fixing the CS (#819)
    • Update the PHP-CS-Fixer config (#833)
  • Add the $schema entry to the box.json.dist files (#757)
  • Move the requirement checker artifacts (#756)
  • Fix the Makefile test for the E2E tests of the requirement checker (#768)
  • Move PHPUnit and PHP-CS-Fixer artifacts to the dist directory (#790)
  • Fix the PHPUnit and PHP-CS-Fixer artifact creation (#793)
  • Exclude the AutoReview test suite from Infection (#794)
  • Remove unused Psalm config (#795)
  • Move back Composer bins to vendor/bin (#797)
  • Document that the shebang cannot be an empty string (#815)
  • Update gitignore to no longer ignore files under the bin directory (#817)
  • Refactor the StubGenerator (#814)
  • Fix the PHP-Scoper incompatibilities (#834)
  • Remove the last usages of "whitelist" (#835)
  • Simplify the exported configuration (#863)
  • Introduce a CompressionAlgorithm enum (#861)
  • Introduce value objects for the requirements (#862)
  • Add intermediate PHAR built to gitignore (#873)
  • Refactor elements of the requirement checker (#875)
  • Use webmozarts/strict-phpunit (#880)

Misc (RequirementChecker)

  • Move the entries of the reuqirement checker from the root to the requirement checker gitignore (#744)
  • Add a Makefile (#745)
  • Add a gitignore sort command (#746)
  • Refactor the TerminalDiff check (#748)
  • Implement the make clean command (#750)
  • Move PHPUnit cache to a dist directory (#749)
  • Revert to the standard Composer bin directory (#751)
  • Add composer normalize (#752)
  • Add back a CS fixer (#753)
  • Add requirement checker make commands to the root Makefile (#758)
  • Move the requirement checker dump from the root Makefile to the requirement checker's Makefile (#754)
  • Add a dedicated workflow for the requirementchecker (#759)
  • Fix the unit tests workflow labels (#761)
  • Fix wrong PHONY target for the website rule (#762)
  • Make the docker build script usable from different working directories directories (#763)
  • Move the e2e tests to the requirement checker (#760)
  • Update the clean target to include the fixtures artifacts (#769)
  • Move E2E tests artifacts into a temporary directory (#771)
  • Re-use the build PHAR job (#779)
  • Add an AutoReview command with a PHPUnit auto-review test suite (#788)
  • Use bin/box.phar instead of the old box (#801)
  • Make the Composer autoloader suffix deterministic (#842)
  • Fix the namespace of the auto-review tests (#844)

4.2.0

1 year ago

Features

  • Allow PHP-Scoper 0.18 RC (#714, #719)

Misc

  • Update and bump the dependencies (#717)
  • Update homebrew installation instructions (#709)
  • Add security check (#711)
  • Fix composer orchestrator tests (#715)
  • Use main branch instead of master (#716)
  • Fix Bamarni config (#718)

4.1.0

1 year ago

Features

  • Allow $schema in JSON schema (#696)
  • Requirements checker now logs to stderr (#679)

Bugfixes

  • Fix for Composer installation (#695)

Docs

  • Remove deplicate entry. (#701)
  • Fix broken documentation link (#700)
  • Fix documentation site (#690)

4.0.2

1 year ago

Bugfixes

  • Fix the Composer branch alias (#688)

4.0.1

1 year ago

Empty release to trigger the CI.

4.0.0

1 year ago

For more details about the BC breaks, see the upgrade guide.

Features

  • Bump to PHP 8.1 (#613)
  • [BC Break] Remove the build command (#623)
  • [BC Break] Remove support for legacy compactors (#626)
  • (RequirementChecker) Drop PHP5.3 support - new min is 7.2.4+ (#674)
  • [BC Break] Require sodium & Remove sodium compat layer (#628)

Bugfixes

  • Fix Amp integration (#618)

Misc

  • Migrate from PathUtil to SymfonyFilesystem (#614)
  • Remove unnecessary @inheritdoc phpdoc (#617)
  • Migrate the PHP Compactor to the new PHPToken API (#619)
  • Bump XdebugHandler to min 3.x (#624)
  • Remove obsolete patcher for PHP-Parser (#629)
  • Remove Hoa leftovers (#627)
  • Execute the diff commands with the Process component (#634)
  • Migrate to FidryConsole (#646, #675, #677, #676, #673, #672, #671, #669, #668, #667, #666, #665, #664, #663, #662, #661, #660)