Skip to content

Commit c93fa4c

Browse files
authoredMar 11, 2023
v4 features (#250)
* BREAKING changes * Removed support for PHP `<8.0` ([#91] via [#250]) * Removed support for PHP `<8.1` (via [#250]) * Removed support for Composer `<2.3` ([#153] via [#250]) * CLI * Removed deprecated composer command `make-bom`, call `composer CycloneDX:make-sbom` instead ([#293] via [#309]) * Changed option `output-file` to default to `-` now, which causes to print to STDOUT (via [#250]) * Removed option `exclude-dev` in favour of new option `omit` (via [#250]) * Removed option `exclude-plugins` in favour of new option `omit` (via [#250]) * Removed option `no-version-normalization` ([#102] via [#250]) * SBOM results * Components' version is no longer artificially normalized ([#102] via [#250]) * Dependencies * Requires `cyclonedx/cyclonedx-library:^2.0`, was `:^1.4.2` ([#128] via [#250]) * Changed * Evidence analysis prefers actually installed packages over lock file ([#122] via [#250]) * Root component's versions is unset, if version detection fails ([#154] via [#250]) * Composer packages of type "composer-installer" are treated as composer plugins (via [#250]) * Added * Evidence collection knows actually installed packages ([#122] via [#250]) * SBOM results * Support for CycloneDX Spec v1.4 (via [#250]) * might have `serialnumber` populated ([#279] via [#250]) * might have `metadata.timestamp` populated ([#112] via [#250]) * might have `metadata.tools[].tool.externalReferences` populated ([#171] via [#250]) * might have `components[].component.author` populated ([#261] via [#250]) * might have `components[].component.properties` populated according to [`cdx:composer` Namespace Taxonomy](https://github.com/CycloneDX/cyclonedx-property-taxonomy/blob/main/cdx/composer.md) (via [#250]) * CLI * New option `omit` (via [#250]) * New switch `validate` to override `no-validate` (via [#250]) * New switches `output-reproducible` and `no-output-reproducible` (via [#250]) * Misc * Added demo and reproducible continuous integration test "devReq" that is dedicated to composer's `require-dev` feature (via [#250]) * Reworked demo setups to be more global-install like (via [#250]) [#91]: #91 [#102]: #102 [#112]: #112 [#122]: #122 [#128]: #128 [#153]: #153 [#154]: #154 [#171]: #171 [#250]: #250 [#261]: #261 [#279]: #279 [#293]: #293 [#309]: #309 [#313]: #313 --------- Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
1 parent 9d223d3 commit c93fa4c

File tree

93 files changed

+25873
-13325
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+25873
-13325
lines changed
 

‎.gitattributes

+29-30
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,33 @@
1-
* text=auto
1+
* text=auto eol=lf
22

3-
*.txt text eol=lf
4-
*.md text eol=lf diff=markdown
5-
*.php text eol=lf diff=php
6-
*.json text eol=lf diff=json
7-
*.xml text eol=lf diff=xml
8-
*.xml.dist text eol=lf diff=xml
9-
*.xsd text eol=lf diff=xml
10-
*.neon text eol=lf diff=yaml
11-
*.neon.dist text eol=lf diff=yaml
12-
composer.lock text eol=lf diff=json
3+
*.txt text eol=lf
4+
*.md text eol=lf diff=markdown
5+
*.php text eol=lf diff=php
6+
*.json text eol=lf diff=json
7+
*.xml text eol=lf diff=xml
8+
*.xml.dist text eol=lf diff=xml
9+
*.xsd text eol=lf diff=xml
10+
*.neon text eol=lf diff=yaml
11+
*.neon.dist text eol=lf diff=yaml
12+
composer.lock text eol=lf diff=json
1313

1414
# files that are not bundled into the "dist" release are marked `export-ignore`
15-
.gitattributes export-ignore
16-
.gitignore export-ignore
17-
.editorconfig export-ignore
18-
/.github export-ignore
19-
/tests export-ignore
20-
/tools export-ignore
21-
/.php-cs-fixer.dist.php export-ignore
22-
/phpunit.xml.dist export-ignore
23-
/psalm.xml.dist export-ignore
24-
/.psalm export-ignore
25-
/HISTORY.md export-ignore
26-
/CODEOWNERS export-ignore
27-
/CONTRIBUTING.md export-ignore
28-
/demo export-ignore
29-
/docs/dev export-ignore
15+
/CODEOWNERS export-ignore
16+
/CONTRIBUTING.md export-ignore
17+
.gitattributes export-ignore
18+
.gitignore export-ignore
19+
.editorconfig export-ignore
20+
/.* export-ignore
21+
/demo export-ignore
22+
/docs/dev export-ignore
23+
/tests export-ignore
24+
/tools export-ignore
25+
/composer-require-checker.json export-ignore
26+
/phpunit.dist.xml export-ignore
27+
/psalm.xml.dist export-ignore
3028

31-
# files that are forced to be exported in "dist" releaes
32-
/NOTICE -export-ignore
33-
/LICENSE -export-ignore
34-
/semver.txt -export-ignore
29+
# files that are forced to be exported in "dist" releases
30+
/README.* -export-ignore
31+
/NOTICE -export-ignore
32+
/LICENSE -export-ignore
33+
/semver.txt -export-ignore

‎.github/FUNDING.yml

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/displaying-a-sponsor-button-in-your-repository
2+
3+
## copied from https://github.com/CycloneDX/.github/blob/master/FUNDING.yml
4+
custom:
5+
- "https://owasp.org/donate/?reponame=www-project-cyclonedx&title=OWASP+CycloneDX"
6+
7+
## project extras
8+
github:
9+
- jkowalleck
10+

0 commit comments

Comments
 (0)