Skip to content

Commit 1e56d12

Browse files
author
Natalie Arellano
committed
Update migration guide to reflect buildpacks/spec#286
Signed-off-by: Natalie Arellano <[email protected]>
1 parent 45483b6 commit 1e56d12

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

content/docs/reference/spec/migration/buildpack-api-0.6-0.7.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ SBOM files for launch will be included in the application image if the platform
3131

3232
Layer-associated SBOM files will be cached and restored to the buildpack layers directory on re-builds of the same image (much like the `<layers>/<layer>.toml` metadata file). `<layers>/launch.sbom.<ext>` and `<layers>/build.sbom.<ext>` must be re-created on each build.
3333

34-
The `[bom]` tables in launch.toml and build.toml are no longer supported.
34+
The `[bom]` tables in launch.toml and build.toml are deprecated, but remain supported to enable backwards compatibility with platforms implementing Platform API < 0.8.
3535

3636
### New fields in buildpack descriptor
3737

content/docs/reference/spec/migration/platform-api-0.7-0.8.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ Note that the `<layers>/sbom/build` directory is NOT present in the application
4545

4646
#### Backwards compatibility - older buildpacks
4747

48-
Platforms can continue to retrieve BOM information output by buildpacks implementing Buildpack API < 0.7 by reading the `bom` key in the `io.buildpacks.build.metadata` label (for run-time dependencies), and by saving off report.toml prior to the build container exiting (for build-time dependencies).
48+
Platforms can continue to retrieve BOM information in the legacy format (if output by buildpacks) by reading the `bom` key in the `io.buildpacks.build.metadata` label (for run-time dependencies), and by saving off report.toml prior to the build container exiting (for build-time dependencies).

0 commit comments

Comments
 (0)