Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the libcnb group with 3 updates #192

Merged
merged 2 commits into from
Aug 18, 2023

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 18, 2023

Bumps the libcnb group with 3 updates: libcnb, libcnb-test and libherokubuildpack.

Updates libcnb from 0.13.0 to 0.14.0

Changelog

Sourced from libcnb's changelog.

[0.14.0] - 2023-08-18

Added

  • libcnb-package: Added cross-compilation assistance for Linux aarch64-unknown-linux-musl. (#577)
  • libcnb-cargo: Added --package-dir command line option to control where packaged buildpacks are written. (#583)
  • libcnb-test:
    • LogOutput now implements std::fmt::Display. (#635)
    • ContainerConfig now implements Clone. (#636)

Changed

  • 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)
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 Run cargo upgrade as part of preparing libcnb releases (#641)
  • ec90a43 Move packaged buildpack directory out of target/ (#583)
  • e3a3da8 Refactor libcnb-cargo integration tests (#637)
  • e99e3aa libcnb-test: Improve error messages for address_for_port (#636)
  • 74708c6 libcnb-test: Implement fmt::Display for LogOutput (#635)
  • Additional commits viewable in compare view

Updates libcnb-test from 0.13.0 to 0.14.0

Changelog

Sourced from libcnb-test's changelog.

[0.14.0] - 2023-08-18

Added

  • libcnb-package: Added cross-compilation assistance for Linux aarch64-unknown-linux-musl. (#577)
  • libcnb-cargo: Added --package-dir command line option to control where packaged buildpacks are written. (#583)
  • libcnb-test:
    • LogOutput now implements std::fmt::Display. (#635)
    • ContainerConfig now implements Clone. (#636)

Changed

  • 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)
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 Run cargo upgrade as part of preparing libcnb releases (#641)
  • ec90a43 Move packaged buildpack directory out of target/ (#583)
  • e3a3da8 Refactor libcnb-cargo integration tests (#637)
  • e99e3aa libcnb-test: Improve error messages for address_for_port (#636)
  • 74708c6 libcnb-test: Implement fmt::Display for LogOutput (#635)
  • Additional commits viewable in compare view

Updates libherokubuildpack from 0.13.0 to 0.14.0

Release notes

Sourced from libherokubuildpack's releases.

v0.14.0

Added

  • libcnb-package: Added cross-compilation assistance for Linux aarch64-unknown-linux-musl. (#577)
  • libcnb-cargo: Added --package-dir command line option to control where packaged buildpacks are written. (#583)
  • libcnb-test:
    • LogOutput now implements std::fmt::Display. (#635)
    • ContainerConfig now implements Clone. (#636)

Changed

  • 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)
Changelog

Sourced from libherokubuildpack's changelog.

[0.14.0] - 2023-08-18

Added

  • libcnb-package: Added cross-compilation assistance for Linux aarch64-unknown-linux-musl. (#577)
  • libcnb-cargo: Added --package-dir command line option to control where packaged buildpacks are written. (#583)
  • libcnb-test:
    • LogOutput now implements std::fmt::Display. (#635)
    • ContainerConfig now implements Clone. (#636)

Changed

  • 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)
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 Run cargo upgrade as part of preparing libcnb releases (#641)
  • ec90a43 Move packaged buildpack directory out of target/ (#583)
  • e3a3da8 Refactor libcnb-cargo integration tests (#637)
  • e99e3aa libcnb-test: Improve error messages for address_for_port (#636)
  • 74708c6 libcnb-test: Implement fmt::Display for LogOutput (#635)
  • Additional commits viewable in compare view

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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> 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 <dependency name> 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 name> 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 name> dependency will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

@dependabot dependabot bot requested a review from a team as a code owner August 18, 2023 21:52
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Aug 18, 2023
@dependabot dependabot bot force-pushed the dependabot/cargo/libcnb-76e7afe8e9 branch from a76d34a to 2e6b7ea Compare August 18, 2023 21:57
@edmorley
Copy link
Member

@dependabot rebase

Bumps the libcnb group with 3 updates: [libcnb](https://github.com/heroku/libcnb.rs), [libcnb-test](https://github.com/heroku/libcnb.rs) and [libherokubuildpack](https://github.com/heroku/libcnb.rs).


Updates `libcnb` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.13.0...v0.14.0)

Updates `libcnb-test` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.13.0...v0.14.0)

Updates `libherokubuildpack` from 0.13.0 to 0.14.0
- [Release notes](https://github.com/heroku/libcnb.rs/releases)
- [Changelog](https://github.com/heroku/libcnb.rs/blob/main/CHANGELOG.md)
- [Commits](heroku/libcnb.rs@v0.13.0...v0.14.0)

---
updated-dependencies:
- dependency-name: libcnb
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libcnb-test
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
- dependency-name: libherokubuildpack
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: libcnb
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/libcnb-76e7afe8e9 branch from 2e6b7ea to 8d17889 Compare August 18, 2023 21:58
@heroku heroku deleted a comment from dependabot bot Aug 18, 2023
@edmorley edmorley merged commit f3ba9a8 into main Aug 18, 2023
5 checks passed
@edmorley edmorley deleted the dependabot/cargo/libcnb-76e7afe8e9 branch August 18, 2023 22:19
@edmorley edmorley self-assigned this Aug 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant