Releases: atlanhq/atlan-python
v2.1.1
🐞 Bug fixes
- Fixes an issue where certain structs could cause errors during marshalling and unmarshalling.
- Fixes
Process.generate_qualified_name()
method to ensure that the generated processqualified_name
includes the connection prefix. Previously, it only used the MD5 hash as thequalified_name
for theProcess
.
v2.1.0
🎉 New features
- Adds
EnumDef.update()
method to update an existing enumeration with more valid values. - Adds
get_by_name()
method to theTypeDefClient
to retrieve a specific type definition from Atlan. - Adds
propagation_only_through_lineage
field to theAtlanTag
, allowing users to specify that propagation will only occur downstream in the lineage and not within the hierarchy.
⛑️ Breaking changes
EnumCache.get_by_name()
method now raisesNotFoundError
if the enumeration with the given name does not exist. Previously the method would only returnNone
in case the enumeration did not exist, rather than raising an error.
🥗 QOL improvements
- Bump pre-commit black from
23.7.0
to24.3.0
(Fixes CVE security vulnerability).
v2.0.4
🎉 New features
- Adds model field (
__atlan_extra__
) to theAtlanObject
model to accommodate extra properties from API responses. - Adds an optional parameter (
return_info
) to the user creation method, allowing control over whether to return the list of created users or not. - Adds an optional parameter (
exclude_users
) to theSearchLogRequest
methods for excluding specific user data from search log results.
🐞 Bug fixes
- Fixes issues related to creating data domains and data products.
🥗 QOL improvements
- Bump black from
23.7.0
to24.3.0
(Fixes CVE security vulnerability).
v2.0.3
🎉 New features
- (Experimental) Adds support for
Sigma
andSQL Server
crawlers. - Adds AWS IoT connector types:
AWS_SITE_WISE
andAWS_GREENGRASS
. - Adds credential widget to package toolkit.
🐞 Bug fixes
- Fixes
to_dict
method handling ofRange
queries fordatetime
attributes. - Fixes
UserClient
create method throwing 500 (internal server error).
🥗 QOL improvements
- Sets
asset_type
keyword argument default value toAsset
inget_by_guid
andretrieve_minimal
methods.
v2.0.2
🎉 New features
- (Experimental) Adds the ability to search the background tasks queue.
- Adds the missing connector type for
MICROSTRATEGY
.
🐞 Bug fixes
- Replaces spaces with underscores in generated enums.
v2.0.1
🎉 New features
- Adds pagination to listings for user, group, and membership.
🐞 Bug fixes
- Fixes
LineageListResults
not including custom metadata. - Avoid throwing
ValidationError
when aggregating an index search with no results.
🥗 QOL improvements
- Improves the tests report experience by using pytest plugins (
pytest-sugar
andpytest-timer
).
v2.0.0
🎉 New features
- Migrates to Pydantic 2.6
- Allows use of Python 3.8 as a minimum version supported by the SDK
- Adds file connector as a new connector type
- Adds Essbase connector as a new connector type
- Allows fluent lineage conditions to be configured for combining (AND) or any (OR)
- Adds an option to rerun workflows idempotently
⛑️ Breaking changes
Since this is a new major release, there are some breaking changes:
-
The move to Pydantic 2.6 means we have a dependency on a different major release of this library than previously. We do not believe it will impact your use of any of our methods; however, it could impact you if you rely on Pydantic v1 elsewhere in your codebase and are not yet ready to move to Pydantic v2 yourself.
-
The
find_personas_by_name
,find_purposes_by_name
andfind_connections_by_name
methods previously returned an empty list if no requested objects were found, despite being documented as throwing aNotFoundError
in such cases. We have now made this consistent with the otherfind_.._by_name
methods, so if a requested object is not found it will now throw aNotFoundError
. -
To create consistency across our SDKs, we are also introducing new asset creation and modification methods. This is to reserve the use of verbs in a method name for server-side interactions (like
save
,find
, etc) and instead use nouns to indicate that you are creating an instance of an object purely in-memory — but that it still needs to be acted upon (save
d) in order to be persisted to Atlan. These offer identical functionality to the old methods, and we will keep the old methods around until at least the next major release but simply mark them as deprecated. (So no immediate change to any existing code should be needed.)Old method New method create()
creator()
create_for_modification()
updater()
v1.9.4
v1.9.3
Bug fixes
- raise exception if tag in query in FluentSearch does not exist
- (Experimental) fix defects custom package generation
QOL Improvements
- add api to assign a token to a purpose
- add api to enable running sql queries
v1.9.2
- Fix problem with AssetUpdatePayload not being returned from AtlanEvent
- Fix problem with sort order for AuditSearchRequest