Skip to content

v0.2.0

Choose a tag to compare

@github-actions github-actions released this 23 Oct 19:50
· 4 commits to main since this release
Immutable release. Only release title and notes can be modified.
v0.2.0
fbdb758

Behaviour changes

  • memoryMailer rejects reserved headers. From, To, Cc, Bcc, Reply-To, Subject, Date, Message-ID, MIME-Version, Content-Type, Content-Transfer-Encoding, Return-Path and Sender (any case) in headers now throw a PermanentMailError and record nothing, as the real adapters do. 0.1.1 only rejected malformed headers, so a test that passed one to memoryMailer now fails. Put the reply address in replyTo.
  • AWS_IGNORE_CONFIGURED_ENDPOINT_URLS=true is honoured. wrapsMailer and sesMailer keep messageId when it is set, since the AWS SDK then ignores AWS_ENDPOINT_URL*. Only the exact string true counts. A code-set endpoint still omits messageId. The SDK reads the variable only from @smithy/core 3.29.6 (July 2026) on; with an older SDK, update it before setting the variable.
  • @wraps.dev/email >=0.15.1 is now the peer range. Before 0.15.1 the SDK wrote a non-ASCII subject as raw 8-bit text whenever headers were set (a threaded reply's In-Reply-To and References). 0.15.1 (wraps-team/wraps-js#53) encodes it as an RFC 2047 encoded-word.

Internal

  • PermanentMailError and isPermanentMailError moved to src/errors.ts, which ends the import cycle between index.ts and headers.ts. Exports and the Symbol.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