The highlight of this release is the cargo libcnb package changes to support compilation of both buildpacks and meta-buildpacks.
Changed
libcnb-cargo: The cargo libcnb package command now supports compiling buildpacks and meta-buildpacks (#575):
When used in a buildpack directory it will compile only that buildpack.
When used in a workspace directory it will compile all buildpacks found in subdirectories.
libcnb-package: Changed default_buildpack_directory_name to accept a BuildpackId (#575)
Added
libcnb-cargo
Buildpacks can reference other buildpacks within a workspace by using uri = "libcnb:{buildpack_id}" as a dependency entry in the buildpack's package.toml file. (#575)
libcnb-data
Serialization / deserialization of package.toml files supported with the Buildpackage struct. (#575)
libcnb-package
Added
read_buildpackage_data,
find_buildpack_dirs,
get_buildpack_target_dir
to support packaging operations. (#575)
Added
buildpack_dependency::BuildpackDependency,
buildpack_dependency::get_local_buildpackage_dependencies,
buildpack_dependency::rewrite_buildpackage_local_dependencies,
buildpack_dependency::rewrite_buildpackage_relative_path_dependencies_to_absolute
to support Buildpack dependency handling and packaging operations. (#575)
Added
buildpack_package::BuildpackPackage,
buildpack_package::read_buildpack_package
to support libcnb.rs-based Rust packages. (#575)
Added
dependency_graph::DependencyNode,
dependency_graph::create_dependency_graph,
dependency_graph::get_dependencies
to support dependency ordering and resolution in libcnb.rs-based Rust packages. (#575)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps libcnb-test from 0.12.0 to 0.13.0.
Changelog
Sourced from libcnb-test's changelog.
Commits
868e6f3
Prepare release 0.13.0 (#578)5a22147
Compiling all project types with libcnb package (#575)1721509
Bump Swatinem/rust-cache from 2.4.0 to 2.5.0 (#576)0bb114f
Update fastrand requirement from 1.8.0 to 2.0.0 (#573)29ffc58
Fix lint failures with Rust 1.70 (#574)83559b6
Bump Swatinem/rust-cache from 2.3.0 to 2.4.0 (#572)9016f39
Bump Swatinem/rust-cache from 2.2.1 to 2.3.0 (#571)d970623
Bump buildpacks/github-actions from 5.1.0 to 5.2.0 (#569)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)