unstale

pypi / typesafe-sdk

typesafe-sdk

What changed in typesafe-sdk 0.5 to 0.7, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-20.

3 breaking1 security15 new APIs and options4 behavior and defaults6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.0 on npm

typesafe-sdk 0.712 changes

Breaking changes 2

  • Request bodies are compressed with zstd by default; non-official APIs may not support this immediately.

    0.7.5release notes

  • The serialization/deserialization library changed from msgspec to pydantic, which may affect developers relying on the previous library.

    0.7.0release notes

Security 1

  • The API key is validated early, and its value is excluded from logged exceptions.

    0.7.1release notes

New APIs and options 4

  • Assets can be referenced in text with attach_assets.

    0.7.5release notes

  • Box questions and answers are supported.

    0.7.5release notes

  • Image assets can be created from raw bytes, file paths, base64 strings, and PIL objects.

    0.7.5release notes

  • system_one accepts a response_model argument for selecting a pydantic model and adding type-safety.

    0.7.0release notes

Behavior and default changes 1

  • Default settings keep all pooled connections alive for 30 seconds.

    0.7.3release notes

Fixes and other changes 4

  • Non-finite numbers are serialized as strings instead of invalid JSON tokens.

    0.7.4release notes

  • Prevent async client crashes during concurrent TLS connections with truststore<=0.10.4.

    0.7.3release notes

  • Add more request validation checks.

    0.7.3release notes

  • str subclasses are serialized as strings instead of lists of characters.

    0.7.0release notes

typesafe-sdk 0.66 changes

Breaking changes 1

  • Score.criteria now accepts an ordered sequence instead of a dictionary keyed by integers.

    0.6.0release notes

Behavior and default changes 3

  • Error messages now include HTTP details and metadata.

    0.6.0release notes

  • SDK input type annotations now accept abstract types like Mapping.

    0.6.0release notes

  • SDK input type annotations now accept abstract types like Sequence.

    0.6.0release notes

Fixes and other changes 2

typesafe-sdk 0.511 changes

New APIs and options 11

  • Use the asynchronous client to make API calls.

    0.5.7release notes

  • Use Choice to define a question with instructions and criteria in a System One request.

    0.5.7release notes

  • Adds the http2 extra to the typesafe-sdk package for HTTP/2 support.

    0.5.7release notesrelease notes

  • Use Noul to define a question with instructions in a System One request.

    0.5.7release notes

  • Use Score to define a question with instructions and criteria in a System One request.

    0.5.7release notes

  • Call the System One API with state and questions using either SDK client.

    0.5.7release notes

  • Set this environment variable to use the SDK with the TypeSafe API.

    0.5.7release notes

  • The TypeSafe Python SDK is available as a package for making asynchronous or synchronous calls to the TypeSafe API.

    0.5.7release notes

  • Install the pil extra to send Pillow images.

    0.5.7release notes

  • Install the zstd extra to compress request bodies on Python 3.13 and earlier.

    0.5.7release notes

  • Use the synchronous client to make API calls.

    0.5.7release notes