Skip to content

Releases: atlanhq/atlan-python

v2.1.1

28 Mar 14:52
278b2dd
Compare
Choose a tag to compare

🐞 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 process qualified_name includes the connection prefix. Previously, it only used the MD5 hash as the qualified_name for the Process.

v2.1.0

27 Mar 13:26
f06a590
Compare
Choose a tag to compare

🎉 New features

  • Adds EnumDef.update() method to update an existing enumeration with more valid values.
  • Adds get_by_name() method to the TypeDefClient to retrieve a specific type definition from Atlan.
  • Adds propagation_only_through_lineage field to the AtlanTag, 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 raises NotFoundError if the enumeration with the given name does not exist. Previously the method would only return None in case the enumeration did not exist, rather than raising an error.

🥗 QOL improvements

v2.0.4

22 Mar 15:49
6ab1ca2
Compare
Choose a tag to compare

🎉 New features

  • Adds model field (__atlan_extra__) to the AtlanObject 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 the SearchLogRequest methods for excluding specific user data from search log results.

🐞 Bug fixes

  • Fixes issues related to creating data domains and data products.

🥗 QOL improvements

v2.0.3

15 Mar 11:17
6e4c300
Compare
Choose a tag to compare

🎉 New features

  • (Experimental) Adds support for Sigma and SQL Server crawlers.
  • Adds AWS IoT connector types: AWS_SITE_WISE and AWS_GREENGRASS.
  • Adds credential widget to package toolkit.

🐞 Bug fixes

  • Fixes to_dict method handling of Range queries for datetime attributes.
  • Fixes UserClient create method throwing 500 (internal server error).

🥗 QOL improvements

  • Sets asset_type keyword argument default value to Asset in get_by_guid and retrieve_minimal methods.

v2.0.2

05 Mar 15:59
ebaf516
Compare
Choose a tag to compare

🎉 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

27 Feb 15:51
d2ea6d7
Compare
Choose a tag to compare

🎉 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 and pytest-timer).

v2.0.0

22 Feb 11:20
a060ea6
Compare
Choose a tag to compare

🎉 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 and find_connections_by_name methods previously returned an empty list if no requested objects were found, despite being documented as throwing a NotFoundError in such cases. We have now made this consistent with the other find_.._by_name methods, so if a requested object is not found it will now throw a NotFoundError.

  • 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 (saved) 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

13 Feb 15:10
cfe72b3
Compare
Choose a tag to compare

🎉 New features

  • Adds a way to specify replace, append, or removal of individual relationships during save operations

🐞 Bug fixes

  • Adds missing changes to code generation templates
  • Corrects an erroneous use of the inverse operator

v1.9.3

30 Jan 17:27
e81557a
Compare
Choose a tag to compare

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

24 Jan 18:09
61dd760
Compare
Choose a tag to compare
  • Fix problem with AssetUpdatePayload not being returned from AtlanEvent
  • Fix problem with sort order for AuditSearchRequest