Skip to content

v1.14.2

Choose a tag to compare

@Keayoub Keayoub released this 16 Jul 22:47
· 25 commits to main since this release

Release Notes - v1.14.2

Release Date: July 16, 2026
Previous Version: 1.14.1


Overview

Bug-fix release addressing two collection-filtering issues and a silent-failure
issue in the Unified Catalog data product workflow.


Bug Fixes

pvw collections resources — wrong assets returned when filtering by type

When --asset-type was combined with --collection-name, the Search API
received a flat filter {"collectionId": "x", "entityType": "y"} which the
Purview API does not recognise as a compound condition. As a result the
collectionId restriction was silently ignored and assets from unrelated
collections were included in the output.

Fix: The filter is now built as a proper AND compound:

{"and": [{"collectionId": "vdjesu"}, {"entityType": "fabric_lakehouse_table"}]}

pvw collections resources--collection-name requires technical ID

Previously --collection-name only matched the internal short-ID (e.g. vdjesu).
Users who passed the human-readable friendlyName (e.g. "ws-dnai-p-ingestion")
received an empty result with no diagnostic message.

Fix: The option now matches against both name (technical ID) and
friendlyName. An informative warning is printed when neither matches.

pvw uc dataproduct remove-relationship — silent success on API errors

The DELETE call was sending entityId as a query parameter instead of as a URL
path segment. The Purview Unified Catalog API requires the entity ID in the
path (/relationships/{entityId}), so the delete was never applied, yet the CLI
printed SUCCESS because the error-detection logic checked for a literal
"error" key which is absent from the {"status": "error", "message": "..."}
error shape the client returns.

Fix (endpoint): Endpoint updated to
/datagovernance/catalog/dataproducts/{productId}/relationships/{entityId}.

Fix (error detection): The CLI now checks result.get("status") == "error",
surfaces the HTTP status code and message on failure, and prints a
PURVIEWCLI_DEBUG=1 hint to help diagnose future API-level issues.


Tests Added

  • tests/test_collections_resources_filter.py — 8 tests covering AND-filter
    construction and friendly-name resolution for collections resources.
  • tests/test_uc_dataproduct_remove_relationship.py — 10 tests covering the
    correct endpoint shape and proper error propagation for
    uc dataproduct remove-relationship.

Changed Files

File Change
purviewcli/cli/collections.py AND compound filter; friendly-name matching; unknown-name warning
purviewcli/cli/unified_catalog.py Corrected error-detection logic; improved error output
purviewcli/client/_unified_catalog.py entityId formatted into URL path for DELETE
purviewcli/client/endpoints.py delete_data_product_relationship template includes {entityId}
tests/test_collections_resources_filter.py New — 8 tests
tests/test_uc_dataproduct_remove_relationship.py New — 10 tests