libcnb-cargo: Moved the default location for packaged buildpacks from Cargo's target/ directory to packaged/ in the Cargo workspace root. This simplifies the path and stops modification of the target/ directory which previously might have caching implications when other tools didn't expect non-Cargo output in that directory. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#583)
libcnb-package:
buildpack target directory now contains the target triple. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#580)
get_buildpack_target_dir was renamed to get_buildpack_package_dir (#583)
libcnb-test:
ContainerContext::address_for_port will now panic for all failure modes rather than just some, and so now returns SocketAddr directly instead of Option<SocketAddr>. This reduces test boilerplate due to the caller no longer needing to .unwrap() and improves debugging UX when containers crash after startup. (#605 and #636)
Docker commands are now run using the Docker CLI instead of Bollard and the Docker daemon API. (#620)
ContainerConfig::entrypoint now accepts a String rather than a vector of strings. Any arguments to the entrypoint should be moved to ContainerConfig::command. (#620)
Removed TestRunner::new since its only purpose was for advanced configuration that's no longer applicable. Use TestRunner::default instead. (#620)
Removed stdout_raw and stderr_raw from LogOutput. (#607)
Improved wording of panic error messages. (#619 and #620)
libherokubuildpack: Changed the flate2 decompression backend from miniz_oxide to zlib. (#593)
Fixed
libcnb-test:
TestContext::run_shell_command and ContainerContext::shell_exec now validate the exit code of the spawned commands and panic if they are non-zero. (#620)
ContainerContext::expose_port now only exposes the port to localhost. (#610)
If a test with an expected result of PackResult::Failure unexpectedly succeeds, the built app image is now correctly cleaned up. (#625)
libcnb-cargo: Moved the default location for packaged buildpacks from Cargo's target/ directory to packaged/ in the Cargo workspace root. This simplifies the path and stops modification of the target/ directory which previously might have caching implications when other tools didn't expect non-Cargo output in that directory. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#583)
libcnb-package:
buildpack target directory now contains the target triple. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#580)
get_buildpack_target_dir was renamed to get_buildpack_package_dir (#583)
libcnb-test:
ContainerContext::address_for_port will now panic for all failure modes rather than just some, and so now returns SocketAddr directly instead of Option<SocketAddr>. This reduces test boilerplate due to the caller no longer needing to .unwrap() and improves debugging UX when containers crash after startup. (#605 and #636)
Docker commands are now run using the Docker CLI instead of Bollard and the Docker daemon API. (#620)
ContainerConfig::entrypoint now accepts a String rather than a vector of strings. Any arguments to the entrypoint should be moved to ContainerConfig::command. (#620)
Removed TestRunner::new since its only purpose was for advanced configuration that's no longer applicable. Use TestRunner::default instead. (#620)
Removed stdout_raw and stderr_raw from LogOutput. (#607)
Improved wording of panic error messages. (#619 and #620)
libherokubuildpack: Changed the flate2 decompression backend from miniz_oxide to zlib. (#593)
Fixed
libcnb-test:
TestContext::run_shell_command and ContainerContext::shell_exec now validate the exit code of the spawned commands and panic if they are non-zero. (#620)
ContainerContext::expose_port now only exposes the port to localhost. (#610)
If a test with an expected result of PackResult::Failure unexpectedly succeeds, the built app image is now correctly cleaned up. (#625)
libcnb-cargo: Moved the default location for packaged buildpacks from Cargo's target/ directory to packaged/ in the Cargo workspace root. This simplifies the path and stops modification of the target/ directory which previously might have caching implications when other tools didn't expect non-Cargo output in that directory. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#583)
libcnb-package:
buildpack target directory now contains the target triple. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#580)
get_buildpack_target_dir was renamed to get_buildpack_package_dir (#583)
libcnb-test:
ContainerContext::address_for_port will now panic for all failure modes rather than just some, and so now returns SocketAddr directly instead of Option<SocketAddr>. This reduces test boilerplate due to the caller no longer needing to .unwrap() and improves debugging UX when containers crash after startup. (#605 and #636)
Docker commands are now run using the Docker CLI instead of Bollard and the Docker daemon API. (#620)
ContainerConfig::entrypoint now accepts a String rather than a vector of strings. Any arguments to the entrypoint should be moved to ContainerConfig::command. (#620)
Removed TestRunner::new since its only purpose was for advanced configuration that's no longer applicable. Use TestRunner::default instead. (#620)
Removed stdout_raw and stderr_raw from LogOutput. (#607)
Improved wording of panic error messages. (#619 and #620)
libherokubuildpack: Changed the flate2 decompression backend from miniz_oxide to zlib. (#593)
Fixed
libcnb-test:
TestContext::run_shell_command and ContainerContext::shell_exec now validate the exit code of the spawned commands and panic if they are non-zero. (#620)
ContainerContext::expose_port now only exposes the port to localhost. (#610)
If a test with an expected result of PackResult::Failure unexpectedly succeeds, the built app image is now correctly cleaned up. (#625)
libcnb-cargo: Moved the default location for packaged buildpacks from Cargo's target/ directory to packaged/ in the Cargo workspace root. This simplifies the path and stops modification of the target/ directory which previously might have caching implications when other tools didn't expect non-Cargo output in that directory. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#583)
libcnb-package:
buildpack target directory now contains the target triple. Users that implicitly rely on the output directory need to adapt. The output of cargo libcnb package will refer to the new locations. (#580)
get_buildpack_target_dir was renamed to get_buildpack_package_dir (#583)
libcnb-test:
ContainerContext::address_for_port will now panic for all failure modes rather than just some, and so now returns SocketAddr directly instead of Option<SocketAddr>. This reduces test boilerplate due to the caller no longer needing to .unwrap() and improves debugging UX when containers crash after startup. (#605 and #636)
Docker commands are now run using the Docker CLI instead of Bollard and the Docker daemon API. (#620)
ContainerConfig::entrypoint now accepts a String rather than a vector of strings. Any arguments to the entrypoint should be moved to ContainerConfig::command. (#620)
Removed TestRunner::new since its only purpose was for advanced configuration that's no longer applicable. Use TestRunner::default instead. (#620)
Removed stdout_raw and stderr_raw from LogOutput. (#607)
Improved wording of panic error messages. (#619 and #620)
libherokubuildpack: Changed the flate2 decompression backend from miniz_oxide to zlib. (#593)
Fixed
libcnb-test:
TestContext::run_shell_command and ContainerContext::shell_exec now validate the exit code of the spawned commands and panic if they are non-zero. (#620)
ContainerContext::expose_port now only exposes the port to localhost. (#610)
If a test with an expected result of PackResult::Failure unexpectedly succeeds, the built app image is now correctly cleaned up. (#625)
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore dependency` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore dependency` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the libcnb group with 3 updates: libcnb, libcnb-test and libherokubuildpack.
Updates
libcnb
from 0.13.0 to 0.14.0Changelog
Sourced from libcnb's changelog.
Commits
b700ea0
Prepare release v0.14.0 (#646)2b935db
Pin intra-libcnb* crate dependencies to exact versions (#644)cce17cf
Rename libcnb-cargo integration test file (#645)1db3a09
Add version links in the changelog (#643)f892818
Update Quick Start Guide (#640)4644deb
Runcargo upgrade
as part of preparing libcnb releases (#641)ec90a43
Move packaged buildpack directory out oftarget/
(#583)e3a3da8
Refactor libcnb-cargo integration tests (#637)e99e3aa
libcnb-test: Improve error messages foraddress_for_port
(#636)74708c6
libcnb-test: Implementfmt::Display
forLogOutput
(#635)Updates
libcnb-test
from 0.13.0 to 0.14.0Changelog
Sourced from libcnb-test's changelog.
Commits
b700ea0
Prepare release v0.14.0 (#646)2b935db
Pin intra-libcnb* crate dependencies to exact versions (#644)cce17cf
Rename libcnb-cargo integration test file (#645)1db3a09
Add version links in the changelog (#643)f892818
Update Quick Start Guide (#640)4644deb
Runcargo upgrade
as part of preparing libcnb releases (#641)ec90a43
Move packaged buildpack directory out oftarget/
(#583)e3a3da8
Refactor libcnb-cargo integration tests (#637)e99e3aa
libcnb-test: Improve error messages foraddress_for_port
(#636)74708c6
libcnb-test: Implementfmt::Display
forLogOutput
(#635)Updates
libherokubuildpack
from 0.13.0 to 0.14.0Release notes
Sourced from libherokubuildpack's releases.
Changelog
Sourced from libherokubuildpack's changelog.
Commits
b700ea0
Prepare release v0.14.0 (#646)2b935db
Pin intra-libcnb* crate dependencies to exact versions (#644)cce17cf
Rename libcnb-cargo integration test file (#645)1db3a09
Add version links in the changelog (#643)f892818
Update Quick Start Guide (#640)4644deb
Runcargo upgrade
as part of preparing libcnb releases (#641)ec90a43
Move packaged buildpack directory out oftarget/
(#583)e3a3da8
Refactor libcnb-cargo integration tests (#637)e99e3aa
libcnb-test: Improve error messages foraddress_for_port
(#636)74708c6
libcnb-test: Implementfmt::Display
forLogOutput
(#635)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 show