Skip to content

v0.2.0

Choose a tag to compare

@innoavator innoavator released this 06 Mar 18:25
f154af4

Recommended TrueFoundry Control Plane >= 0.126.0


🚨 Breaking Changes

1. Method Argument Removed

client.users.list() β€” The include_virtual_accounts parameter has been removed.

# Before
client.users.list(include_virtual_accounts="includeVirtualAccounts")

# After – this argument no longer exists
client.users.list()

Any calling code that passes include_virtual_accounts will get a TypeError.


2. Type Fields Removed

The following fields were removed from their respective types.

Type Removed Field
Account name: Optional[str]
Cluster name: str
Environment name: str
SecretGroup name: str
Team team_name: str (aliased as teamName)
VirtualAccount name: str
Workspace name: str
BudgetConfig name: str
GuardrailsConfig name: str
LoadBalancingConfig name: str
RateLimitConfig name: str

Please use .manifest.name field to access name of a resource


3. Field Type Changed

Type Field Old Type New Type
MlRepo account_id Optional[str] str (now required)
GcpKeyFileAuth key_file_content Dict[str, Any] GcpKeyFileAuthKeyFileContent
GoogleVertexProviderAccount auth_data Optional[GcpKeyFileAuth] Optional[VertexKeyFileAuth]
AzureContentSafetyGuardrailConfig auth_data AzureKeyAuth AzureContentSafetyGuardrailConfigAuthData
AzurePiiGuardrailConfig auth_data AzureKeyAuth AzurePiiGuardrailConfigAuthData
AzurePiiGuardrailConfig operation Literal["mutate"] AzurePiiGuardrailConfigOperation (enum β€” type annotation breaks strict type checks)

4. Enum Members Removed or Values Changed

AzurePiiCategory:

Member Change
ALL Value changed: "all" β†’ "*" (breaking for code serializing/comparing the value)
IP_ADDRESS Value changed: "IP Address" β†’ "IPAddress" (breaking)
DRIVERS_LICENSE_NUMBER Removed entirely
PASSPORT_NUMBER Removed entirely

AzurePiiGuardrailConfigConfigDomain:

Change Detail
HEALTHCARE β†’ PHI Breaking rename β€” old wire value was "healthcare", new is "phi". Both the Python name and the serialized value changed.