Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: heroku/libcnb.rs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.29.0
Choose a base ref
...
head repository: heroku/libcnb.rs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.29.1
Choose a head ref
  • 8 commits
  • 15 files changed
  • 4 contributors

Commits on May 21, 2025

  1. Fix auto PATH ordering (#938)

    * Failing test for #900
    
    * Add a delimiter to the path
    
    Missing delimiter strikes again
    
    * Fix auto PATH ordering
    
    In #900, I observed that the path of a layer's `./bin` dir (if present) is appended to any explicitly added paths by CNB lifecycle. Libcnb instead prepends the path.
    
    This is fixed to match the upstream implementation by changing the order of path evaluation.
    
    Close #900
    
    * Test Build and Launch scope
    
    * Expected before actual in assertion
    
    * Test LIBRARY_PATH ordering
    
    * Changelog
    
    * Doc whitespace and headers
    
    * Update docs s/append/prepend/
    
    The docs stated that we're appending the layer-bin path. With this change we're now prepending it to align with lifecycle.
    
    * Simplify layer_paths_come_before_manually_added_paths test
    
    * Emit scope and path on failure
    
    Before:
    
    ```
    thread 'layer_env::tests::layer_paths_come_before_manually_added_paths' panicked at libcnb/src/layer_env.rs:944:13:
    assertion `left == right` failed
      left: Some("/var/folders/yr/yytf3z3n3q336f1tj2b2j0gw0000gn/T/.tmpKPAfq0/bin:test-value")
     right: Some("test-value/var/folders/yr/yytf3z3n3q336f1tj2b2j0gw0000gn/T/.tmpKPAfq0/bin")
    ```
    
    After:
    
    ```
    thread 'layer_env::tests::layer_paths_come_before_manually_added_paths' panicked at libcnb/src/layer_env.rs:944:13:
    assertion `left == right` failed: For ENV var `PATH` scope `Build`
      left: Some("/var/folders/yr/yytf3z3n3q336f1tj2b2j0gw0000gn/T/.tmpaCmToR/bin:test-value")
     right: Some("test-value/var/folders/yr/yytf3z3n3q336f1tj2b2j0gw0000gn/T/.tmpaCmToR/bin")
    note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
    ```
    
    * Apply suggestions from code review
    
    Co-authored-by: Manuel Fuchs <[email protected]>
    Signed-off-by: Richard Schneeman <[email protected]>
    
    ---------
    
    Signed-off-by: Richard Schneeman <[email protected]>
    Co-authored-by: Manuel Fuchs <[email protected]>
    schneems and Malax authored May 21, 2025
    Configuration menu
    Copy the full SHA
    db2676d View commit details
    Browse the repository at this point in the history

Commits on Jul 1, 2025

  1. Bump the github-actions group with 3 updates (#950)

    ---
    updated-dependencies:
    - dependency-name: Swatinem/rust-cache
      dependency-version: 2.8.0
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: buildpacks/github-actions
      dependency-version: 5.9.2
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    - dependency-name: softprops/action-gh-release
      dependency-version: 2.3.2
      dependency-type: direct:production
      update-type: version-update:semver-minor
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 1, 2025
    Configuration menu
    Copy the full SHA
    db99227 View commit details
    Browse the repository at this point in the history
  2. Update which requirement from 7.0.3 to 8.0.0 (#949)

    Updates the requirements on [which](https://github.com/harryfei/which-rs) to permit the latest version.
    - [Release notes](https://github.com/harryfei/which-rs/releases)
    - [Changelog](https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md)
    - [Commits](harryfei/which-rs@7.0.3...8.0.0)
    
    ---
    updated-dependencies:
    - dependency-name: which
      dependency-version: 8.0.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Jul 1, 2025
    Configuration menu
    Copy the full SHA
    f11ab54 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2025

  1. Update fancy-regex requirement from 0.14.0 to 0.16.0 (#953)

    Updates the requirements on [fancy-regex](https://github.com/fancy-regex/fancy-regex) to permit the latest version.
    - [Release notes](https://github.com/fancy-regex/fancy-regex/releases)
    - [Changelog](https://github.com/fancy-regex/fancy-regex/blob/main/CHANGELOG.md)
    - [Commits](fancy-regex/fancy-regex@0.14.0...0.16.0)
    
    ---
    updated-dependencies:
    - dependency-name: fancy-regex
      dependency-version: 0.16.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    8f65703 View commit details
    Browse the repository at this point in the history
  2. Bump buildpacks/github-actions in the github-actions group (#951)

    Bumps the github-actions group with 1 update: [buildpacks/github-actions](https://github.com/buildpacks/github-actions).
    
    
    Updates `buildpacks/github-actions` from 5.9.2 to 5.9.3
    - [Release notes](https://github.com/buildpacks/github-actions/releases)
    - [Commits](buildpacks/github-actions@bc04fbf...8203df0)
    
    ---
    updated-dependencies:
    - dependency-name: buildpacks/github-actions
      dependency-version: 5.9.3
      dependency-type: direct:production
      update-type: version-update:semver-patch
      dependency-group: github-actions
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    3502729 View commit details
    Browse the repository at this point in the history
  3. Update toml requirement from 0.8.22 to 0.9.4 (#952)

    * Update toml requirement from 0.8.22 to 0.9.4
    
    Updates the requirements on [toml](https://github.com/toml-rs/toml) to permit the latest version.
    - [Commits](toml-rs/toml@toml-v0.8.22...toml-v0.8.23)
    
    ---
    updated-dependencies:
    - dependency-name: toml
      dependency-version: 0.8.23
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Fix TOML error spans in unit tests
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Manuel Fuchs <[email protected]>
    dependabot[bot] and Malax authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    2adc1fd View commit details
    Browse the repository at this point in the history
  4. Update cargo_metadata requirement from 0.19.2 to 0.20.0 (#948)

    * Update cargo_metadata requirement from 0.19.2 to 0.20.0
    
    Updates the requirements on [cargo_metadata](https://github.com/oli-obk/cargo_metadata) to permit the latest version.
    - [Release notes](https://github.com/oli-obk/cargo_metadata/releases)
    - [Changelog](https://github.com/oli-obk/cargo_metadata/blob/main/CHANGELOG.md)
    - [Commits](oli-obk/cargo_metadata@0.19.2...0.20.0)
    
    ---
    updated-dependencies:
    - dependency-name: cargo_metadata
      dependency-version: 0.20.0
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    
    * Fix compile error
    
    ---------
    
    Signed-off-by: dependabot[bot] <[email protected]>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Manuel Fuchs <[email protected]>
    dependabot[bot] and Malax authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    67daf7f View commit details
    Browse the repository at this point in the history
  5. Prepare release v0.29.1 (#954)

    Co-authored-by: heroku-linguist[bot] <136119646+heroku-linguist[bot]@users.noreply.github.com>
    heroku-linguist[bot] authored Aug 1, 2025
    Configuration menu
    Copy the full SHA
    b2d6fd1 View commit details
    Browse the repository at this point in the history
Loading