Skip to content

v0.11.0

Choose a tag to compare

@davepoon davepoon released this 25 Aug 12:06
· 22 commits to main since this release
  • Documented: the API now enforces your plan's analytics retention window on
    from_date. It is clamped to 30 days on most plans and 90 on Scale and
    Enterprise; a value reaching further back returns data from the start of that
    window rather than an error, and omitting it returns the window rather than
    all time.
  • BREAKING (types only) — EmailAnalytics.from_date is now string, not
    string | null.
    The server always reports the window it used, so the field
    can no longer be null. Under strictNullChecks a null comparison against it
    is now a compile error; delete the null branch. No runtime behaviour changes,
    and reading the field is unaffected.
  • Added: EmailListResponse.from_date — the list response now reports the
    window used, the same way analytics does. That is how a clamped request stays
    visible rather than silently returning less.
  • Changed: EmailListParams.from_date, EmailAnalyticsParams.from_date and
    EmailAnalytics.from_date carry it in their doc comments.

Released from mailtea-app/mailtea@c311c79.