Commit 66dafd8
authored
Release v0.59.1 (#4193)
* Added documentation for
[#3963](#3963)
([#4020](#4020)). The
workflow assessment functionality has been enhanced with an experimental
task that analyzes recently executed workflows for migration problems,
providing links to relevant documentation and recommendations for
addressing identified issues. This task, labeled as experimental, now
only runs for workflows executed within the last 30 days, but users can
opt to analyze all workflows by running a specific workflow. The
assessment findings, including any migration problems detected, can be
viewed in the assessment dashboard, offering a centralized location for
monitoring and addressing potential issues, and helping users to ensure
a smoother migration process.
* Enhance documentation for UCX
([#4024](#4024)). The UCX
documentation has undergone significant enhancements to improve user
experience and provide comprehensive guidance for contributors and
users. The main page has been revamped with a simplified and accelerated
Unity Catalog migration process, featuring a prominent call-to-action
and key features such as comprehensive assessment, automated migrations,
and detailed reporting. Additional pages, including a `Getting Started`
section, have been added to guide users through installation, running,
and operating the toolkit, with links to relevant sections such as
installation, running, and reference materials. The contributing section
has been updated for consistency, and a new `How to Contribute` section
has been introduced, providing clear resources for submitting issues,
pull requests, and contributing to the documentation. The documentation
structure has been reorganized, with updated sidebar positions and
revised descriptions to better reflect the content and purpose of each
section, ultimately aiming to provide better user documentation,
clarity, and a more intuitive interface for navigating and utilizing the
UCX toolkit.
* Fixes fmt and unit test failures from new blueprint release
([#4048](#4048)). The
dependency on the databricks-labs-blueprint has been updated to a
version range of 0.11.0 or higher but less than 0.12.0, incorporating
new features and bug fixes from the latest blueprint release. To ensure
compatibility with this updated version, the codebase has been updated
to address breaking changes introduced in the recent blueprint release,
including the addition of type hints to MockInstallation and the
DEFAULT_CONFIG variable, which is now defined as a dictionary with
string keys and RootJsonValue values. Furthermore, a previously failing
unit test has been fixed, and the
test_installation_recovers_invalid_dashboard function has been
refactored into two separate test functions to verify the recovery of
invalid dashboards due to InvalidParameterValue and NotFound exceptions,
utilizing the MockInstallation class and caplog fixture to capture and
verify log messages. These changes aim to resolve issues with the new
blueprint release, enable previously failing acceptance tests, and
improve the overall robustness of the installation process.
* Updated for Databricks SDK 0.56+
([#4178](#4178)). The
project's dependencies have been updated to support Databricks SDK
version 0.56 and above, with the upper bound set to less than 0.58.0, to
ensure compatibility with the evolving SDK. This update includes
breaking changes, and as a result, various modifications have been made
to the code, such as adding type hints to functions to improve linting,
replacing `PermissionsList` with `GetPermissionsResponse`, and accessing
`SecurableType` enum values using the `value` attribute. Additionally,
several test functions have been updated to reflect these changes,
including the addition of return type hints and the use of
`create_autospec` to create mock objects. These updates aim to maintain
the project's functionality and ensure seamless compatibility with the
latest Databricks SDK version, while also improving code quality and
test coverage. The changes affect various aspects of the code, including
grants management, permissions retrieval, and test cases for different
scenarios, such as migrating managed tables, external tables, and tables
in mounts.
* Workaround for acceptance with dependabot PR
([#4029](#4029)). The
library's dependency on a key SDK has been updated to support a broader
version range, now compatible with versions from 0.44.0 up to but not
including 0.54.0, enhancing flexibility and potentially allowing for the
incorporation of new features or bug fixes introduced in these versions.
Additionally, an internal function responsible for setting default
catalog settings has been refined to handle `NotFound` exceptions more
robustly. Specifically, the function now checks for the presence of
metadata before attempting to retrieve an etag, preventing potential
errors that could occur when metadata is missing, thereby improving the
overall stability and reliability of the library.1 parent 14c8223 commit 66dafd8
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
3 | 12 | | |
4 | 13 | | |
5 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
0 commit comments