Skip to content

v0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 17 Nov 16:52
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
v0.3.0
e1cef8f

Upgrading to 0.3.0

Behaviour changes

  • The optional vitest peer dependency is now ^4.1.12 || >=5.0.5 (was >=3). It matters if your project has vitest installed, whether or not you use testMailer. With an older vitest, npm 7 or later stops with ERESOLVE and other package managers warn. Upgrade vitest to 4.1.12 or newer on the 4.x line, or 5.0.5 or newer.

Nothing else changed. The sender interface, the adapters and their peer ranges are the same as 0.2.0.

Security

The old range admitted vitest versions affected by these advisories. None of them is a bug in @byo-oss/mailer:

  • GHSA-9crc-q9x8-hgqq (critical): remote code execution from a malicious website while the Vitest API server is listening
  • GHSA-5xrq-8626-4rwp (critical): arbitrary file read and execution while the Vitest UI server is listening
  • GHSA-8gvc-j273-4wm5 (medium): browser mode serves arbitrary files
  • GHSA-82fw-gwwq-j7x9 (medium): path traversal through a @vitest/mocker redirect mock
  • GHSA-qxg6-89mg-rqv8 (medium): in @vitest/mocker before 4.1.12, and 5.0.0 to 5.0.2
  • GHSA-xp26-3454-mjgp (medium): in @vitest/mocker 4.1.11, and 5.0.0 to 5.0.2. vitest pins @vitest/mocker to its own version, so both follow the vitest version
  • GHSA-p458-7748-mcp3 (medium): vitest 5.0.0 to 5.0.4 when Vitest runs an HTTP server (--ui, browser mode or api); fixed in 5.0.5

What's Changed

  • site: wait 5 minutes after a release before rebuilding byo.dev by @stewartjarod in #9
  • Normalize repository.url in package.json by @stewartjarod in #10
  • Raise the optional vitest peer to ^4.1.12 || >=5.0.5 (0.3.0) by @stewartjarod in #11

Full Changelog: v0.2.0...v0.3.0