v0.9.1
- Bump actions/checkout from 4.1.7 to 4.2.0 (#149). In this pull request, the
actions/checkout
dependency is upgraded from version 4.1.7 to 4.2.0 in theacceptance.yml
anddownstreams.yml
workflow files. The new version provides additional Ref and Commit outputs, as well as updated dependencies, which aim to improve the functionality and security of the checkout process. TheRef
output is a string representing the reference that was checked out, and theCommit
output is the SHA-1 hash of the checked-out commit. Dependency updates include bumping thebraces
package from 3.0.2 to 3.0.3 and updating the minor-npm-dependencies group across one directory with four updates. These changes contribute to a more reliable and efficient checkout process and enhance the overall functionality and maintainability of the Action. Software engineers are recommended to review the changes and ensure they do not introduce conflicts with their current setup before adopting the new version. - Bump actions/checkout from 4.2.0 to 4.2.1 (#152). In this update, the version of the
actions/checkout
GitHub Action is bumped from 4.2.0 to 4.2.1 in a project's GitHub workflow files. This new version includes a modification to check out otherrefs/*
by commit if provided, falling back to the ref. This change enhances the flexibility of thecheckout
action in handling different types of references, which could be useful for users working with multiple branches or references in their workflows. The update also adds a workflow file for publishing releases to an immutable action package. This release was contributed by the new project collaborator, @orhantoy, who made the change in pull request 1924. - Bump databrickslabs/sandbox from acceptance/v0.3.0 to 0.3.1 (#155). In this update, the dependency for
databrickslabs/sandbox
has been bumped from versionacceptance/v0.3.0
to0.3.1
. This change includes bug fixes, upgrades to go-git libraries, and dependency updates. Thegolang.org/x/crypto
library was specifically bumped from version0.16.0
to0.17.0
in both/go-libs
and/runtime-packages
. Additionally, thecac167b
commit expanded acceptance test logs and introduced experimental OIDC refresh token rotation. The acceptance test job in the workflow was also updated to use the new version ofdatabrickslabs/sandbox
. Ignore conditions were added for previous versions ofdatabrickslabs/sandbox
in this release. The README was also modified, and install instructions were added to the changelog. - Catch all errors when checking Databricks path, notably BadRequest ones (#156). This commit introduces improvements to the error handling of the
exists
method in thepaths.py
file when checking Databricks path. Previously, onlyNotFound
errors were caught, but nowBadRequest
errors are also handled, addressing issue #2882. Theexists
method has been updated to catch and manageDatabricksError
exceptions, which now encompassBadRequest
errors, ensuring comprehensive error handling for Databricks path-related operations. Additionally, the_cached_file_info
and_cached_object_info
attributes are now initialized when aDatabricksError
exception occurs, returningFalse
accordingly. This enhancement maintains consistency and accuracy in theexists
method while broadening the range of errors captured, resulting in a more robust and reliable codebase with enhanced error reporting for users. - Normalize databricks paths as part of resolving them (#157). In this release, the
resolve
method in thepaths.py
file of the databricks/labs/blueprint project has been enhanced to handle parent directory references ("..") consistently with Python's built-inPath
object. Previously,Path("/a/b/../c").resolve()
would returnPath("/a/b/c")
, while Databricks paths were not behaving consistently. This modification introduces a new_normalize()
method, which processes the path parts and ensures that ".." segments are handled correctly. The commit also includes a new test function, 'test_resolve_is_consistent', which checks the consistent resolution of Databricks paths with various input formats, such as relative paths, ".." or "." components, and absolute paths. This change ensures that the resolved path will be normalized according to the expected behavior, regardless of the input format, contributing to the resolution of issue #2882. By normalizing Databricks paths in the same fashion as Python's built-inPath
object, the code should become more robust and predictable, providing a more reliable and predictable experience for software engineers utilizing the project. - Updated databrickslabs/sandbox requirement to acceptance/v0.3.0 (#153). In this pull request, the
databrickslabs/sandbox
package requirement in the downstreams GitHub Actions workflow is updated to version 0.3.0, which is the latest version available. This package provides a sandbox environment for development and testing, and the new version includes bug fixes and dependency updates that may enhance its reliability and performance. Dependabot has been used to ensure a smooth update process, with any conflicts being resolved automatically. However, it is recommended to review the changelog and test the updated version before merging this pull request to ensure compatibility and functionality in your specific use case. Additionally, Dependabot commands are available to manage ignore conditions for this dependency.
Dependency updates:
- Bump actions/checkout from 4.1.7 to 4.2.0 (#149).
- Bump actions/checkout from 4.2.0 to 4.2.1 (#152).
- Updated databrickslabs/sandbox requirement to acceptance/v0.3.0 (#153).
- Bump databrickslabs/sandbox from acceptance/v0.3.0 to 0.3.1 (#155).
Contributors: @dependabot[bot], @ericvergnaud