Skip to content

Commit

Permalink
Bump to release 2.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Aryamanz29 committed Jun 19, 2024
1 parent 9650e9c commit 58e2c4b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
16 changes: 16 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## 2.3.0 (June 19, 2024)

### Breaking changes

- Introduced a new pagination approach for `AssetClient.search()` and `FluentSearch.execute()`, known as **bulk search** (disabled by default), based on asset creation timestamps. This approach will be used when the number of results exceeds the predefined threshold (i.e: `100,000` assets). Users can explicitly run this search by setting the optional keyword argument `bulk=True`.

- The `AssetClient.search()` and `FluentSearch.execute()` methods will now raise `InvalidRequestError` in the following scenarios:

- When bulk search is enabled (`bulk=True`) and any user-specified sorting option is found in the search request, the method raises an exception. This is because the bulk search approach ignores user-specified sorting and instead reorders the results based on the creation timestamps of assets to handle large numbers of assets efficiently.

- When bulk search is disabled (`bulk=False`) and the number of results exceeds the predefined threshold (i.e: `100,000` assets). The error message will suggest that the user re-run the search with `bulk=True` to extract a large number of records.

### QOL improvements

- Pinned `urllib3>=1.26.0,<3` and moved `networkx` to the dev requirements to avoid potential version mismatches.

## 2.2.4 (June 11, 2024)

### New features
Expand Down
2 changes: 1 addition & 1 deletion pyatlan/version.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.2.4
2.3.0

0 comments on commit 58e2c4b

Please sign in to comment.