Skip to content

python - v0.31.8 - 2026-04-09 12:12:19

Choose a tag to compare

@github-actions github-actions released this 09 Apr 12:12
c673bc7

python SDK v0.31.8 Changelog

Release Date: April 2026


What's New

This release adds status filtering support when listing tax rates and introduces per-request timeout control across all Proxy API methods. You can now filter tax rates by their active/inactive status, and override the default downstream timeout on any proxy call — useful for slow upstream APIs or time-sensitive requests.


Summary of Changes

Category Description Action Required
Accounting — Tax Rates New status filter field when listing tax rates None
Proxy API New timeout parameter on all proxy methods (GET, POST, PUT, PATCH, DELETE, OPTIONS) None

Detailed Changes by API

Accounting — Tax Rates

Status filter for tax_rates.list()

What changed: The TaxRatesFilter model now accepts a status field, allowing you to filter tax rates by their status (e.g., "active" or "inactive").

Impact: Backward compatible — existing calls without status continue to work unchanged.

from apideck_unify import Apideck
from apideck_unify.models import TaxRatesFilter

sdk = Apideck(api_key="...", consumer_id="...", app_id="...")

response = sdk.accounting.tax_rates.list(
    filter_=TaxRatesFilter(
        assets=True,
        equity=True,
        expenses=True,
        liabilities=True,
        revenue=True,
        status="active",  # New field
    )
)

Proxy API

Per-request timeout on all proxy methods

What changed: All proxy request models (ProxyGetRequest, ProxyPostRequest, ProxyPutRequest, ProxyPatchRequest, ProxyDeleteRequest, ProxyOptionsRequest) now accept an optional timeout field (integer, milliseconds). This overrides the default downstream request timeout of 28,000 ms (28 seconds).

Impact: Backward compatible — omitting timeout preserves the existing default behavior.

from apideck_unify import Apideck

sdk = Apideck(api_key="...", consumer_id="...", app_id="...")

# Extend timeout to 30 seconds for a slow upstream API
response = sdk.proxy.get(
    service_id="close",
    downstream_url="https://api.close.com/api/v1/lead",
    timeout=30000,  # New field — milliseconds
)

Migration Checklist

  • Update dependency to apideck-unify==0.31.8
  • Run uv pip install apideck-unify==0.31.8
  • Run your test suite