Skip to content

prontiq 0.3.0: Address schema 1.1

Latest

Choose a tag to compare

@jbejenar jbejenar released this 16 Oct 08:03
c685b77

This release adopts the Address schema 1.1 contract and replaces the retired Stainless client with pinned openapi-python-client generation.

Migration from 0.2 is required:

  • Python 3.11 or later is required. Replace Prontiq / AsyncProntiq and client.address.* with AuthenticatedClient and operation modules in prontiq.api.address. All six operations support synchronous and asynchronous calls.
  • Configure auth_header_name="X-Api-Key", prefix="", and a finite HTTPX timeout. Use detailed responses for status/model handling; enable raise_on_unexpected_status to reject undocumented statuses.
  • Full address models now require fallbackGeocode object/null, exposed as fallback_geocode. Fallback-only addresses retain null primary location/geocode and preserve their separate fallback precision. State OT, nullable boundaries and source_data_release are supported.

The wheel includes its PEP 561 typing marker. Client representations omit credentials, and unexpected responses retain numeric statuses including nonstandard proxy codes. Generation, source tests, isolated-wheel runtime tests and consumer typing are checked before publication.

See the usage and migration guide for the new client interface and error handling.