-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
144 changed files
with
6,016 additions
and
3,245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
|
||
## 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](https://github.com/llaville/box-manifest/issues). | ||
|
||
### 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](https://github.com/llaville/box-manifest/issues/11) : No longer require `phar.readonly` to be off for using PHPUnit | ||
|
||
**Full Changelog**: [3.5.1...4.0.0-rc.1](https://github.com/llaville/box-manifest/compare/3.5.1...4.0.0-rc.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
--- | ||
changesDir: .changes | ||
unreleasedDir: unreleased | ||
headerPath: header.tpl.md | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
parameters: | ||
level: 6 | ||
level: 8 | ||
paths: | ||
- ../../src/ | ||
treatPhpDocTypesAsCertain: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,74 +1,74 @@ | ||
--- | ||
name: Docker | ||
# https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions#upgrading-a-workflow-that-accesses-ghcrio | ||
|
||
on: | ||
workflow_dispatch: | ||
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ | ||
inputs: | ||
tag: | ||
description: "The Docker Image Tag" | ||
required: false | ||
default: "latest" | ||
type: string | ||
workflow_run: | ||
# https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions | ||
workflows: | ||
- "Release" | ||
branches: | ||
- master | ||
types: | ||
- completed | ||
workflow_dispatch: | ||
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/ | ||
inputs: | ||
tag: | ||
description: "The Docker Image Tag" | ||
required: false | ||
default: "latest" | ||
type: string | ||
workflow_run: | ||
# https://stackoverflow.com/questions/58457140/dependencies-between-workflows-on-github-actions | ||
workflows: | ||
- "Release" | ||
branches: | ||
- master | ||
types: | ||
- completed | ||
|
||
jobs: | ||
build: | ||
env: | ||
DOCKER_LATEST_TAG: ${{ github.event.inputs.tag || 'latest' }} | ||
build: | ||
env: | ||
DOCKER_LATEST_TAG: ${{ github.event.inputs.tag || 'latest' }} | ||
|
||
runs-on: ubuntu-20.04 | ||
runs-on: ubuntu-22.04 | ||
|
||
steps: | ||
- # https://github.com/actions/checkout | ||
name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
steps: | ||
- # https://github.com/actions/checkout | ||
name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }} | ||
fetch-depth: 0 | ||
|
||
- # https://github.com/shivammathur/setup-php | ||
name: Setup PHP runtime | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.1 | ||
- # https://github.com/shivammathur/setup-php | ||
name: Setup PHP runtime | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
php-version: 8.2 | ||
|
||
- # https://github.com/ramsey/composer-install | ||
name: Install Composer dependencies | ||
uses: ramsey/composer-install@v2 | ||
with: | ||
composer-options: "--prefer-dist" | ||
- # https://github.com/ramsey/composer-install | ||
name: Install Composer dependencies | ||
uses: ramsey/composer-install@v2 | ||
with: | ||
composer-options: "--prefer-dist" | ||
|
||
- # https://github.com/docker/setup-qemu-action | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
- # https://github.com/docker/setup-qemu-action | ||
name: Set up QEMU | ||
uses: docker/setup-qemu-action@v3 | ||
|
||
- # https://github.com/docker/setup-buildx-action | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
- # https://github.com/docker/setup-buildx-action | ||
name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
|
||
- # https://github.com/docker/login-action | ||
name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
- # https://github.com/docker/login-action | ||
name: Login to DockerHub | ||
uses: docker/login-action@v3 | ||
with: | ||
registry: ghcr.io | ||
username: ${{ github.actor }} | ||
password: ${{ secrets.DOCKERHUB_TOKEN }} | ||
|
||
- # https://github.com/docker/build-push-action | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v5 | ||
with: | ||
context: . | ||
push: true | ||
tags: | | ||
ghcr.io/llaville/box-manifest:${{ env.DOCKER_LATEST_TAG }} | ||
ghcr.io/llaville/box-manifest:v3.5 | ||
ghcr.io/llaville/box-manifest:v3 | ||
- # https://github.com/docker/build-push-action | ||
name: Build and push Docker images | ||
uses: docker/build-push-action@v6 | ||
with: | ||
context: . | ||
push: true | ||
tags: | | ||
ghcr.io/llaville/box-manifest:${{ env.DOCKER_LATEST_TAG }} | ||
ghcr.io/llaville/box-manifest:v4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.