Repository navigation
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
Upgrading to 0.3.0
Behaviour changes
- The optional
vitestpeer dependency is now^4.1.12 || >=5.0.5(was>=3). It matters if your project has vitest installed, whether or not you usetestMailer. With an older vitest, npm 7 or later stops withERESOLVEand 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/mockerredirect mock - GHSA-qxg6-89mg-rqv8 (medium): in
@vitest/mockerbefore 4.1.12, and 5.0.0 to 5.0.2 - GHSA-xp26-3454-mjgp (medium): in
@vitest/mocker4.1.11, and 5.0.0 to 5.0.2. vitest pins@vitest/mockerto 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 orapi); 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