Skip to content

Releases: truefoundry/truefoundry-python-sdk

v0.2.0

06 Mar 18:25
f154af4

Choose a tag to compare

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
HEALTHCAREPHI Breaking rename — old wire value was "healthcare", new is "phi". Both the Python name and the serialized value changed.

v0.1.20

06 Feb 10:07
73c954a

Choose a tag to compare

SDK regeneration

v0.1.19

30 Jan 18:37
58c4091

Choose a tag to compare

SDK regeneration

v0.1.18

10 Dec 15:29
2c9e457

Choose a tag to compare

SDK regeneration

v0.1.17

10 Dec 15:10
cb94834

Choose a tag to compare

SDK regeneration

v0.1.17-rc.1

10 Dec 14:45
2e1c17b

Choose a tag to compare

v0.1.17-rc.1 Pre-release
Pre-release
SDK regeneration

v0.1.16

10 Dec 12:29
1c82942

Choose a tag to compare

SDK regeneration

v0.1.15

10 Dec 10:34
7cd4d23

Choose a tag to compare

SDK regeneration

v0.1.14

03 Nov 15:20
1f4f2a3

Choose a tag to compare

SDK regeneration

v0.1.14-rc.1

03 Nov 13:03
2b82f78

Choose a tag to compare

v0.1.14-rc.1 Pre-release
Pre-release
SDK regeneration