Skip to content

php - v0.18.4 - 2026-04-09 12:11:54

Choose a tag to compare

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

php SDK v0.18.4 Changelog

Release Date: April 2026


What's New

This release adds two new filtering and control capabilities. You can now filter tax rates by status (active, inactive, or archived) when listing them through the Accounting API. All Proxy API methods (get, post, put, patch, delete, options) now accept a timeout parameter, giving you control over how long a proxied downstream request is allowed to run before timing out.


Summary of Changes

Category Description Action Required
Accounting — Tax Rates New status filter field on TaxRatesFilter None — optional parameter
Proxy — All methods New timeout request parameter None — optional parameter

Detailed Changes by API

Accounting — Tax Rates

New status filter when listing tax rates

What changed: TaxRatesFilter now includes an optional status field backed by the new TaxRatesFilterStatus enum. Use it to restrict results to only active, inactive, or archived tax rates.

Impact: Fully backward compatible. Existing calls without status continue to work unchanged.

use Apideck\SDK\Models\Components\TaxRatesFilter;
use Apideck\SDK\Models\Components\TaxRatesFilterStatus;

$request = new AccountingTaxRatesAllRequest(
    filter: new TaxRatesFilter(
        assets: true,
        equity: true,
        expenses: true,
        liabilities: true,
        revenue: true,
        status: TaxRatesFilterStatus::Active, // new
    ),
);

$response = $apideck->accounting->taxRates->list($request);

TaxRatesFilterStatus values:

Name Value
Active active
Inactive inactive
Archived archived

Proxy — All methods

New timeout parameter for downstream requests

What changed: All Proxy request models (ProxyGetProxyRequest, ProxyPostProxyRequest, ProxyPutProxyRequest, ProxyPatchProxyRequest, ProxyDeleteProxyRequest, ProxyOptionsProxyRequest) now accept an optional timeout integer field. The value is passed as the x-apideck-timeout header to control how long (in milliseconds) the Apideck gateway waits for the downstream service to respond.

Impact: Fully backward compatible. Omitting timeout preserves existing behavior.

use Apideck\SDK\Models\Operations\ProxyGetProxyRequest;

$request = new ProxyGetProxyRequest(
    serviceId: 'close',
    downstreamUrl: 'https://api.close.com/api/v1/lead',
    downstreamAuthorization: 'Bearer <token>',
    timeout: 30000, // new — milliseconds
);

$response = $apideck->proxy->get($request);

Migration Checklist

  • Update apideck-libraries/sdk-php to ^0.18.4 in composer.json
  • Run composer update apideck-libraries/sdk-php
  • Run your test suite