|
| 1 | +## 7.1.0 (June 27, 2025) |
| 2 | + |
| 3 | +### New Features |
| 4 | + |
| 5 | +- Added support for managing asset-to-asset relationships that include attributes. Atlan now allows setting attributes on specific relationship types, providing richer metadata and contextual information for how assets are connected. |
| 6 | + |
| 7 | +- These relationships can now carry attributes, similar to how assets themselves have attributes. The SDK has been enhanced to deserialize, access, and serialize these relationship-level attributes correctly. |
| 8 | + |
| 9 | +**Supported relationship types:** |
| 10 | + |
| 11 | +1. `AtlasGlossaryAntonym` |
| 12 | +2. `AtlasGlossarySynonym` |
| 13 | +3. `AtlasGlossaryReplacementTerm` |
| 14 | +4. `AtlasGlossarySemanticAssignment` |
| 15 | +5. `AtlasGlossaryPreferredTerm` |
| 16 | +6. `AtlasGlossaryRelatedTerm` |
| 17 | +7. `AtlasGlossaryTermCategorization` |
| 18 | +8. `AtlasGlossaryTranslation` |
| 19 | +9. `AtlasGlossaryValidValue` |
| 20 | +10. `AtlasGlossaryIsARelationship` |
| 21 | +11. `CustomParentEntityCustomChildEntities` |
| 22 | +12. `CustomRelatedFromEntitiesCustomRelatedToEntities` |
| 23 | +13. `UserDefRelationship` |
| 24 | + |
| 25 | + |
| 26 | +### Breaking Changes |
| 27 | + |
| 28 | +`Referenceable.relationship_attributes` field type updated: |
| 29 | + |
| 30 | +This field now supports: |
| 31 | + |
| 32 | + ```python |
| 33 | + Optional[Union[RelationshipAttributes, Dict[str, Any]]] |
| 34 | + ``` |
| 35 | + |
| 36 | +- If `typeName` is present in the relationship attributes, the SDK will attempt to deserialize using the correct subclass of `RelationshipAttributes`. |
| 37 | +- If `typeName` is absent, it will fall back to a raw `Dict[str, Any]`. |
| 38 | + |
| 39 | + **Before:** |
| 40 | + |
| 41 | + ```python |
| 42 | + Optional[Dict[str, Any]] |
| 43 | + ``` |
| 44 | + |
| 45 | +- This change improves structure and typing for known relationship models while maintaining backward compatibility via fallback. |
| 46 | + |
| 47 | +### Bug Fixes |
| 48 | + |
| 49 | +- Fixed automatic `401` token refresh by using `ContextVar` for `AtlanClient._401_has_retried` (bool flag) to avoid race conditions when executing SDK code in multithreading environments. |
| 50 | + |
| 51 | + |
1 | 52 | ## 7.0.1 (June 16, 2025)
|
2 | 53 |
|
3 | 54 | ### Bug Fixes
|
|
0 commit comments