Skip to content

v0.20.0

Choose a tag to compare

@davepoon davepoon released this 01 Oct 09:04
· 4 commits to main since this release
  • Changed (API): contacts.list({ search }) with several whole addresses
    separated by commas, spaces or line breaks now returns exactly those
    contacts (up to 200), the same as Mailtea Studio and MCP. A list with an
    entry that is not a whole address is refused with a 400 naming it. Part of
    an address still matches as before. The search field documents this.
  • Added: "domain_managed" to DomainRefusalCode. domains.update on the
    Mailtea-managed domain (<slug>.mailtea.email) is now refused with it (400)
    instead of changing a domain Mailtea runs. Needs the API deployed with this
    change.
  • Added: CreateDomainClaimInput.purpose ("email", "site" or "both",
    default "email") and DomainClaim.purpose. A claim now creates the domain
    with that purpose, so a website-only domain no longer needs a domains.update
    afterwards, and a "site" claim gets no sending identity. Claims opened
    before this change report "email". Needs the API deployed with this change.
  • Added: Post.segment_id, CreatePostInput.segment_id and
    UpdatePostInput.segment_id (null clears it). A post with a segment goes
    to that segment's active contacts instead of all active contacts; the
    segment must be in the post's publication, or the request is refused with a
    422. The segment is resolved when the post is sent, and a send to a segment
    that cannot be resolved or matches nobody is refused rather than widened to
    the whole list. A segment that a draft, scheduled or sending post targets
    cannot be deleted: segments.delete fails with a 409 segment_in_use, so
    point those posts at another segment or clear their segment_id first. Deleting one used to send those posts to everyone.
  • Added: Segment.inactive_days, CreateSegmentInput.inactive_days and
    UpdateSegmentInput.inactive_days (null clears it): contacts with no open
    or click in the last N days (1 to 3650), counting contacts who never
    engaged. It selects the silent cohort, not engaged readers. Engagement
    tracking is not backfilled, so contacts with no recorded engagement count
    as inactive. Both need the API deployed with this change; this release adds
    the fields to the types.

Released from mailtea-app/mailtea@1ea0e1b.