Repository navigation
v0.2.0
·
4 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Behaviour changes
memoryMailerrejects reserved headers.From,To,Cc,Bcc,Reply-To,Subject,Date,Message-ID,MIME-Version,Content-Type,Content-Transfer-Encoding,Return-PathandSender(any case) inheadersnow throw aPermanentMailErrorand record nothing, as the real adapters do. 0.1.1 only rejected malformed headers, so a test that passed one tomemoryMailernow fails. Put the reply address inreplyTo.AWS_IGNORE_CONFIGURED_ENDPOINT_URLS=trueis honoured.wrapsMailerandsesMailerkeepmessageIdwhen it is set, since the AWS SDK then ignoresAWS_ENDPOINT_URL*. Only the exact stringtruecounts. A code-setendpointstill omitsmessageId. The SDK reads the variable only from@smithy/core3.29.6 (July 2026) on; with an older SDK, update it before setting the variable.@wraps.dev/email>=0.15.1is now the peer range. Before 0.15.1 the SDK wrote a non-ASCIIsubjectas raw 8-bit text wheneverheaderswere set (a threaded reply'sIn-Reply-ToandReferences). 0.15.1 (wraps-team/wraps-js#53) encodes it as an RFC 2047 encoded-word.
Internal
PermanentMailErrorandisPermanentMailErrormoved tosrc/errors.ts, which ends the import cycle betweenindex.tsandheaders.ts. Exports and theSymbol.for("@byo-oss/mailer/permanent")brand are unchanged.- The docs drop the
<Next>tags on the 0.1.1 text.
Full Changelog: v0.1.1...v0.2.0