Skip to content

Commit bd34ecf

Browse files
committed
docs(changelog): record unreleased oauth2 auth migration 📑
- Add breaking section for explicit auth type migration - Add changed notes for xoauth2 auth flow and discriminator validation - Add unreleased notes for oauth2 integration test coverage updates
1 parent 96837e8 commit bd34ecf

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ and this project follows [Semantic Versioning](https://semver.org/spec/v2.0.0.ht
77

88
## [Unreleased]
99

10+
### Added
11+
12+
- Added OAuth2 integration test toggle and token placeholders in `.env.example`
13+
- Added optional OAuth2 live integration scenario in `tests/Integration.test.ts`
14+
- Added strict auth config validation test coverage in `tests/utils/Config.test.ts`
15+
16+
### Changed
17+
18+
- Updated `README.md` and `USAGE.md` to document explicit auth type configuration
19+
- Updated SMTP auth flow to support XOAUTH2 for OAuth2 credentials
20+
- Updated SMTP config validation to enforce explicit auth discriminator
21+
- Updated auth and config types to discriminated union structure
22+
23+
### Breaking
24+
25+
- Removed implicit auth shape without `auth.type`
26+
- Replaced previous auth credential model with explicit variants:
27+
`type: 'password'` with `user` and `pass`,
28+
`type: 'oauth2'` with `user` and `accessToken`
29+
1030
## [0.2.0] - 2026-03-24
1131

1232
### Added

0 commit comments

Comments
 (0)