File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,20 +12,24 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
1212- Added OAuth2 integration test toggle and token placeholders in ` .env.example `
1313- Added optional OAuth2 live integration scenario in ` tests/Integration.test.ts `
1414- Added strict auth config validation test coverage in ` tests/utils/Config.test.ts `
15+ - Added custom header security unit tests in ` tests/smtp/Message.test.ts `
1516
1617### Changed
1718
1819- Updated ` README.md ` and ` USAGE.md ` to document explicit auth type configuration
1920- Updated SMTP auth flow to support XOAUTH2 for OAuth2 credentials
2021- Updated SMTP config validation to enforce explicit auth discriminator
2122- Updated auth and config types to discriminated union structure
23+ - Updated SMTP message header handling with strict validation in ` src/smtp/Message.ts `
2224
2325### Breaking
2426
2527- Removed implicit auth shape without ` auth.type `
2628- Replaced previous auth credential model with explicit variants:
2729 ` type: 'password' ` with ` user ` and ` pass ` ,
2830 ` type: 'oauth2' ` with ` user ` and ` accessToken `
31+ - Disallowed overriding reserved SMTP headers via ` message.headers `
32+ - Rejected custom headers containing invalid names or CRLF line breaks
2933
3034## [ 0.2.0] - 2026-03-24
3135
You can’t perform that action at this time.
0 commit comments