|
| 1 | +## 3.0.0 (December 13, 2024) |
| 2 | + |
| 3 | +### New features |
| 4 | + |
| 5 | +- Added a new connector type (`BIGID`). |
| 6 | +- Added support for the following options in `Batch` operations: |
| 7 | + - `update_only`: bool (default: `False`) |
| 8 | + - `track`: bool (default: `False`) |
| 9 | + - `case_insensitive`: bool (default: `False`) |
| 10 | + - `table_view_agnostic`: bool (default: `False`) |
| 11 | + - `creation_handling`: `AssetCreationHandling` (default: `AssetCreationHandling.FULL`) |
| 12 | +- Added default timeouts (`read`, `connect`) to `AtlanClient`: |
| 13 | + - Total retries: 5 |
| 14 | + - `AtlanClient.connect_timeout`: float (default: 30.0 seconds) |
| 15 | + - `AtlanClient.read_timeout`: float (default: 120.0 seconds) |
| 16 | +- Added support for a new `parent_type` (`SnowflakeDynamicTable`) in `Column.creator()`. |
| 17 | +- Added exposure for source-specific custom attributes (e.g: `Asset.custom_attributes`). |
| 18 | +- Added handling for `error_cause` and `backend_error_id` in `ErrorInfo`. |
| 19 | + |
| 20 | +### Bug fixes |
| 21 | + |
| 22 | +- Fixed the generator to correctly handle the naming of the `Asset.DOMAIN_GUIDS` keyword search field. |
| 23 | +- Fixed an issue where search pages (`IndexSearchResults` and `AuditSearchResults`) could overrun when the total results are just under the `_MASS_EXTRACT_THRESHOLD`. |
| 24 | +- Fixed an issue with timestamp paging returning incomplete results when searching with a small page size (e.g: `2`) and assets with the same creation time. |
| 25 | + |
| 26 | +### QOL improvements |
| 27 | + |
| 28 | +- Generated the latest typedef models. |
| 29 | +- Added the `@init_guid` decorator to the `updater()` method of assets to ensure that GUIDs are properly initialized and resolved in batch operations. |
| 30 | +- Removed `type_name` validation from `Table`, `View`, and `Materialised View` to make them configurable when running `Batch` operations with `table_view_agnostic=True`. |
| 31 | +- Removed deprecated `AssetClient.get_lineage()` integration tests. |
| 32 | +- Updated integration test asset constants to align with the new tenant setup. |
| 33 | + |
| 34 | +### Deprecated features |
| 35 | + |
| 36 | +- Removed the deprecated `AssetClient.get_lineage()` method, which is slower and will no longer receive enhancements. Use the `AssetClient.get_lineage_list()` operation instead. |
| 37 | + |
| 38 | +### Breaking changes |
| 39 | + |
| 40 | +- `Batch` now accepts `AtlanClient` as the first parameter, replacing the previous use of `AssetClient`. |
| 41 | + |
| 42 | +- Introduced a new pagination approach in `AuditClient.search()` called **audit bulk search** (disabled by default). The SDK switches to this search operation automatically if results exceed a predefined threshold (e.g: `10,000` results). Alternatively, users can enable bulk search explicitly by setting `bulk=True` in `AuditClient.search()`. This breaking change affects searches that return more than `10,000` results — either the results will now be sorted differently or an error will be thrown. |
| 43 | + |
| 44 | +- `AuditClient.search()` method will now raise an `InvalidRequestError` exception in the following scenarios: |
| 45 | + - when bulk search is enabled (`bulk=True`) and any user-specified sorting options are included in the search request. |
| 46 | + - when bulk search is disabled (`bulk=False`), the number of results exceeds the predefined threshold (e.g: `10,000` assets), and any user-specified sorting options are found in the search request. |
| 47 | + |
| 48 | + _This is because the audit bulk search approach ignores user-specified sorting and instead reorders results based on the creation timestamps of assets to handle large volumes of assets efficiently._ |
| 49 | + |
1 | 50 | ## 2.7.0 (December 4, 2024)
|
2 | 51 |
|
3 | 52 | ### QOL improvements
|
|
0 commit comments