Skip to content

4.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@llaville llaville released this 04 Sep 15:03
· 41 commits to master since this 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