Skip to content

Releases: llaville/box-manifest

4.1.3

08 Dec 04:59
Compare
Choose a tag to compare

4.1.3 - 2024-12-08

Fixed

  • #17 : Cannot build a PHAR distribution when banner is declared by an array of string

Full Changelog: 4.1.2...4.1.3

4.1.2

04 Dec 08:14
Compare
Choose a tag to compare

4.1.2 - 2024-12-04

Fixed

  • invalid $firstBin argument type provided on BoxConfigurationHelper::retrieveMainScriptPath() when project source code does not have a Composer bin declaration

Full Changelog: 4.1.1...4.1.2

4.1.1

02 Dec 16:08
Compare
Choose a tag to compare

4.1.1 - 2024-12-02

Fixed

  • #16 : BOX main setting behaviour not correctly handled

Full Changelog: 4.1.0...4.1.1

4.1.0

28 Nov 05:03
Compare
Choose a tag to compare

4.1.0 - 2024-11-28

Added

  • Bartlett\BoxManifest\Helper\BoxConfigurationHelper class handle now the BOX configuration settings
    required by BOX Manifest instead of Bartlett\BoxManifest\Helper\BoxHelper::getBoxConfiguration()

Changed

  • BOX alias setting is internally set to box-auto-generated-alias.phar value, if not defined by BOX config file(s)

  • Pipeline payload contents has changed :

    • configuration contains now an instance of Bartlett\BoxManifest\Helper\BoxConfigurationHelper instead of KevinGH\Box\Configuration\Configuration
    • map and configurationFile were removed (because can be internally retrieved by the new BoxConfigurationHelper)
  • Bartlett\BoxManifest\StubGenerator removed dependency to legacy BOX KevinGH\Box\StubGenerator

  • Use the symfony/process ExecutableFinder
    to find default box vendor binary

Fixed

  • Always use Phar::mapPhar
    to solve an issue when BOX alias setting was not previously defined

Removed

  • resources directory, because template(s) are now handled internally by Bartlett\BoxManifest\StubGenerator
  • stub.php file. Will now be generated on fly

Full Changelog: 4.0.2...4.1.0

4.0.2

19 Nov 08:51
Compare
Choose a tag to compare

4.0.2 - 2024-11-19

Fixed

  • #15 : Cannot generate SBOM manifest format for project with multiple licenses

Full Changelog: 4.0.1...4.0.2

4.0.1

04 Nov 05:49
Compare
Choose a tag to compare

4.0.1 - 2024-11-04

Changed

Drop PHPUnit 10 support and upgrade to PHPUnit 11

  • #14 : PHPUnit 11 support

Fixed

  • PHPStan may now analyse source code on level 9, that became compatible
  • Give a chance to RestartHandler to restart process with phar.readonly disabled even if xdebug extension is not available

Full Changelog: 4.0.0...4.0.1

4.0.0

03 Oct 13:24
Compare
Choose a tag to compare

4.0.0 - 2024-10-03

Read the first release candidate notes of this major version
to learn more about changes since 3.5.1

Fixed

  • GH-13 : v4.0.0-rc.1 does not support correctly the BOX dump-autoload setting

Full Changelog: 4.0.0-rc.1...4.0.0

4.0.0-rc.1

04 Sep 15:03
Compare
Choose a tag to compare
4.0.0-rc.1 Pre-release
Pre-release

4.0.0-rc.1 - 2024-09-04

Road to stable version 4.0

After almost one year since the latest 3.5.1 release, we’re getting closer to BOX Manifest 4.0 !

This new major version is based on Pipeline Pattern implemented with excellent package https://github.com/thephpleague/pipeline

Read this good article https://medium.com/@bonnotguillaume/software-architecture-the-pipeline-design-pattern-from-zero-to-hero-b5c43d8a4e60,
if you are unconfortable with this design pattern.

An effort was made to write a better and enhanced documentation. Read it carefully at https://llaville.github.io/box-manifest/4.0/

All features are already included into this first release candidate.
So, if you want to improve this package before final stable version 4.0, please carefully test this version and report any issues found in the bug reporting system.

Added

  • Shortcut -b for --bootstrap option
  • Shortcut -r for --resource option
  • New make command (to replace legacy commands)
  • New inspect command to show PHAR manifest list and details
  • Install bamarni/composer-bin-plugin to handle dev tools without conflicts
  • Introduces new ManifestFactory methods: toSbomJson and toSbomXml

Changed

  • Removed usage of deprecated Fidry/Console elements
  • Rename --format option to --output-format, and change origin of constants and visibility
  • Upgrade cyclonedx/cyclonedx-library constraint to use major version 3
  • Use latest SBOM specification version (1.6) as default
  • Consider serialNumber as optional and do not stop SBOM generation if an appropriate source of randomness cannot be found
  • Default build strategy has evolved to produce a new decorated console table format
  • Version of BOX Manifest used to generate stub (from template) is now identified
  • Introduces auto-detection by new filenames (see Bartlett\BoxManifest\Composer\DefaultStrategy::getCallable for details)

Fixed

  • #11 : No longer require phar.readonly to be off for using PHPUnit

Full Changelog: 3.5.1...4.0.0-rc.1

3.5.1

13 Oct 09:36
Compare
Choose a tag to compare

3.5.1 - 2023-10-13

IMPORTANT: This bugfix release mark the latest version that will support BOX v4 and development is stopped !

Changed

  • update humbug/box constraint to restrict BOX v4 support to 4.3.x
  • use latest SBOM spec version (1.5) on manifest:build command

Fixed

  • #10: box:validate command support now the recommendation color style formatter

Full Changelog: 3.5.0...3.5.1

3.5.0

16 Apr 06:44
Compare
Choose a tag to compare

3.5.0 - 2023-04-16

CAUTION : if you want to use the new PostInstallStrategy, please read https://github.com/composer/composer/discussions/11430 first.

Added

  • PostInstallStrategy to keep your manifests synchronized with dependencies installed.

Changed

  • Refactor code to add strategy pattern on manifest build process

Full Changelog: 3.4.0...3.5.0