For migration guides between major versions, see the Migration Guide.
Version 8.7.0
Released: February 26, 2026Features
- Added
resourceTypeSlugto permissions, environment and organization roles (#1502) - Added deserialization support for feature flag events (#1494)
Bug Fixes
- Updated release-please manifest to match actual version 8.6.0 (#1503)
Version 8.6.0
Previous stable release.Version 8.0.0
Major Release - Universal Runtime Support & API ModernizationHighlights
- Universal runtime compatibility - Works seamlessly across Node.js, Deno, Bun, and Cloudflare Workers
- PKCE authentication support - Full support for public clients (mobile, CLI, browser apps)
- API modernization - Removed deprecated methods and improved type safety
- Node.js 20+ required - Updated minimum Node version from 16 to 20
Breaking Changes
Runtime Requirements
- Minimum Node.js version increased from 16 to 20
- Package is now ESM-first with dual CJS/ESM exports
Directory Sync
- Removed
emails,username, andjobTitlefields fromDirectoryUserinterface - Use
customAttributesinstead
User Management
- Removed
contextfield fromAuthorizationURLOptions - Removed deprecated methods:
sendMagicAuthCode(),sendPasswordResetEmail(),refreshAndSealSessionData() listOrganizationMemberships()now requires eitheruserIdororganizationId
SSO
SSOAuthorizationURLOptionsconverted to discriminated union- Removed
domainfield (deprecated)
MFA
- Removed
verifyFactor()method - useverifyChallenge()instead
Organizations
- Removed
allowProfilesOutsideOrganizationanddomainsfields - Use
domainDatainstead ofdomains
Vault
- Removed all
*Secretmethod aliases - use*Objectmethods instead
Events
- Removed
dsync.deactivatedevent type - usedsync.deletedinstead
New Features
- PKCE authentication - Support for public clients without API keys
createWorkOS()factory function - Compile-time type safety for client modes- Enhanced runtime support - Better Deno, Bun, and Cloudflare Workers compatibility
Version History
For the complete version history, see the GitHub releases page.Versioning Policy
WorkOS follows Semantic Versioning for all SDKs:- Major versions (X.0.0) - Breaking changes that require code updates
- Minor versions (X.Y.0) - New features, backwards compatible
- Patch versions (X.Y.Z) - Bug fixes, backwards compatible
We strongly recommend reading the changelog before upgrading to any major version.
Beta Releases
WorkOS occasionally releases beta versions for new features. Beta releases:- May contain breaking changes between versions
- Should be pinned to specific versions in production
- Are indicated by
-betaor-rcversion suffixes
Release Notifications
Stay updated on new releases:- Watch the GitHub repository
- Subscribe to npm package updates
- Follow @WorkOS on Twitter