Repository navigation
v0.11.0
- 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_dateis nowstring, not
string | null. The server always reports the window it used, so the field
can no longer be null. UnderstrictNullChecksa 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_dateand
EmailAnalytics.from_datecarry it in their doc comments.
Released from mailtea-app/mailtea@c311c79.