Skip to content

v1.10.0

Choose a tag to compare

@gajaguar gajaguar released this 02 Oct 01:57
· 29 commits to main since this release
c167345

Added

Since 1.6.0 (this release also covers 1.7.0 to 1.9.0, which were tagged but not published separately):

  • ws.webhooks.logs, logs_page, statuses, statuses_page and list_for_addon, with the delivery-log models (#44).
  • ws.time_off_policies, ws.time_off_requests and ws.time_off_balances, with their models, filters and typed ids; includes the balance-assignment endpoints (#46).
  • ws.expenses.download_file, backed by the new Transport.request_bytes and AsyncTransport.request_bytes, which return a response body as raw bytes (#49).
  • ws.invoices, ws.invoice_items and ws.invoice_payments, with their models and filters; ws.invoices.export returns the file as bytes (#52).

All of it is sync and async. There are no breaking changes: request() keeps its signature and behavior.

Notes

  • Time off, Invoices and Expenses need a paid plan; a lower plan answers 403, raised as ForbiddenError.
  • None of the models added since 1.6.0 is verified against a real response. They follow Clockify's OpenAPI spec, with doubtful fields optional, because the account used to build the SDK is on the Free plan. That plan also answers 403 for every webhook endpoint.
  • A balance change, a balance-assignment update and deleting an invoice item are not retried after a 5xx, because repeating them would apply the change twice.