v0.9.0
Release v0.9.0
Release type: stable
Release line: 0.9.x
Branch: release/0.9.x
Installation
npm install @frontmcp/sdk@0.9.0Features
- Secure ID Generation: Introduced
generateSecureIdfunction for cryptographically secure random ID generation inRequestLoggerProvider. - Direct Server Creation: Added
create()factory function for flat-config direct server creation, supporting machine ID injection and instance caching. - Safe Redirect URI Validation: Implemented
safeRedirectUriSchemato ensure only HTTP/HTTPS schemes are used in OAuth flows, enhancing security.
Improvements
- CORS Configuration: Enhanced
ExpressHostAdapterwith customizable CORS options, allowing fine-grained control over origin, credentials, and max-age. - Regex Safety: Improved regex handling in
SessionStoreandwww-authenticate.utils.tsto prevent ReDoS vulnerabilities by using character-by-character parsing. - Header Redaction: Added sensitive header redaction in
HttpClientlogs to prevent credential leakage.
Breaking Changes
- OAuth Redirect URI: The
redirect_uriin OAuth flows now strictly requires HTTP/HTTPS schemes, rejecting other protocols to prevent open-redirect vulnerabilities.
What's Changed
- Cherry-pick: feat: Enhance release workflow with AI changelog generation and docs sync trigger by @github-actions[bot] in #228
- feat: Refactor docs sync process to use GitHub API for triggering updates by @frontegg-david in #230
- Cherry-pick: feat: Refactor docs sync process to use GitHub API for triggering updates by @github-actions[bot] in #231
- feat: Enhance security by implementing least-privilege permissions and improving HTML sanitization by @frontegg-david in #233
- feat: Implement machine ID override for session continuity and add tests for create() function by @frontegg-david in #234
Full Changelog: v0.8.1...v0.9.0