Skip to content

v1.4.0

Choose a tag to compare

@gajaguar gajaguar released this 01 Oct 04:26
· 43 commits to main since this release
376069d

Added

  • ws.webhooks (list, get, create, update, delete, regenerate_token), sync and async, with the webhook models and event enums (#37).
  • verify_signature, SIGNATURE_HEADER and EVENT_TYPE_HEADER for webhook receivers (#37).
  • ws.reports (summary, detailed, weekly, shared) and its models, first versioned as 1.3.0, which was never released (#31).

Fixed

  • A detailed report without an explicit filter now sends the default detailedFilter, and WeeklyFilter.subgroup takes the new WeeklySubgroup enum (TIME or EARNINGS) (#34).
  • The developer reports host uses /report/v1 (#33).
  • A successful response with no body now returns None instead of raising, which a webhook delete needs (#37).

Notes

  • WeeklyFilter.subgroup no longer accepts a ReportGroup.
  • Clockify-Signature carrying the webhook's authToken, and an empty 200 on webhook delete, are not yet checked against a live workspace.