Repository navigation
v0.20.0
- 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. Thesearchfield documents this. - Added:
"domain_managed"toDomainRefusalCode.domains.updateon 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") andDomainClaim.purpose. A claim now creates the domain
with that purpose, so a website-only domain no longer needs adomains.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_idand
UpdatePostInput.segment_id(nullclears 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.deletefails with a 409segment_in_use, so
point those posts at another segment or clear theirsegment_idfirst. Deleting one used to send those posts to everyone. - Added:
Segment.inactive_days,CreateSegmentInput.inactive_daysand
UpdateSegmentInput.inactive_days(nullclears 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.