Repository navigation
v0.13.0
- Added:
mailtea.domains.claims—create,get,verifyandcancel. When
adding a domain is refused with codedomain_held_elsewhere, another
publication holds the host; publish one TXT record to prove you control its
DNS and the domain moves to you. Verifying before the record has propagated
is safe: the claim stays pending with the same record. - Added:
Domaincarriesregion,tls,tracking_subdomainand
released_at. A domain's region decides where its mail is sent from and is
fixed at creation;tls: "enforced"bounces rather than delivering in the
clear; a tracking subdomain serves opens and clicks from your own domain;
released_atis set when another publication claimed the host, and a
released domain cannot send whatever itsstatussays. - Added:
domains.createtakesregion,tlsandtracking_subdomain;
domains.updatetakes the two that are mutable;domains.listtakesregion
andstatusfilters. - Added:
DomainRefusalCodeis exported, so a refusal is matched oncode
rather than on prose. - Added:
TrackingDomain.attached— whether the host is registered on our edge,
which is what makes a certificate exist for it. A verified CNAME with
attached: falsemeans links are still served from the platform host. - Changed: each row in
recordsnow says what it is FOR inrecord
(Ownership,DKIM,SPF,MX,Return-Path,Tracking), carries
ttl: "Auto", and reports its OWN status rather than the domain's — including
not_startedwhere nothing has checked the record yet.typestill holds the
DNS type andpurposeis unchanged. - Added:
contacts.setPropertyValues(contactId, { publication_id, values })and
contacts.listPropertyValues(contactId, { publication_id }). These write and
read the per-contact values behind{{contact.<key>}}merge tags. Defining a
property only created the field — until now there was no way from the SDK to
put a value on a contact, so a script could definefirst_nameand never set
it. Each entry takes eitherproperty_idorkey(not both); an empty
valueclears the property, and itsfallback_valueapplies again.
Released from mailtea-app/mailtea@1dff0ba.