@workos-inc/node breaking changes
Updated December 4, 2026
On this page
Latest version 12.4.2, released December 4, 2026. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
- From 11.0.0 to 12.3.0: 205 breaking changes in 4 versions.
- From 10.8.0 to 12.3.0: 259 breaking changes in 8 versions.
@workos-inc/node 12.3.0 breaking changes
- Behavior changed
Requests to the WorkOS API are no longer followed across redirects. Code that relied on redirect following must handle the redirect response itself. github.com - Signature changed
BaseOrganizationMembershipResponse.organization_name
Was organization_name: string; now organization_name?: string. npmjs.com - Signature changed
KnownEvent
Was type KnownEvent = AgentBlueprintCreatedEvent | AgentBlueprintDeletedEvent | AgentBlueprintUpdatedEvent | AgentInstanceCreatedEvent | AgentInstanceDeletedEvent | AgentInstanceSessionCreatedEvent | AgentInstanceSessionRevokedEvent |... npmjs.com - Signature changed
KnownEventResponse
Was type KnownEventResponse = AgentBlueprintCreatedEventResponse | AgentBlueprintDeletedEventResponse | AgentBlueprintUpdatedEventResponse | AgentInstanceCreatedEventResponse | AgentInstanceDeletedEventResponse |... npmjs.com - Signature changed
OrganizationMembership.organizationName
The membership organization name may now be undefined. TypeScript code that reads organizationName as a string must handle undefined. npmjs.com - Signature changed
RequestOptions
Was type RequestOptions = {params?: Record<string, any>; headers?: RequestHeaders; maxRetries?: number;}; now type RequestOptions = {params?: Record<string, any>; headers?: RequestHeaders; maxRetries?: number; signal?: AbortSignal;}. npmjs.com - Signature changed
UnknownEvent.context
Was context: Record<string, unknown> | undefined; now context: never. npmjs.com - Signature changed
UnknownEventResponse.context
Was context?: Record<string, unknown>; now context: never. npmjs.com
@workos-inc/node 12.2.0 breaking changes
- Removed
ListEventOptions.order
ListEventOptions.order was removed in @workos-inc/node 12.2.0 npmjs.com - Removed
listEvents
The order option is no longer accepted by listEvents. Remove any code that passes it. github.com - Removed
SerializedListEventOptions.order
SerializedListEventOptions.order was removed in @workos-inc/node 12.2.0 npmjs.com - Behavior changed
Session cookie handling now rejects access tokens that are not user tokens, so code relying on those tokens in session cookies will stop working. github.com
@workos-inc/node 12.1.0 breaking changes
- Signature changed
WidgetSessionTokenScopes
Was const WidgetSessionTokenScopes: {readonly WidgetsUsersTableManage: "widgets:users-table:manage"; readonly WidgetsDomainVerificationManage: "widgets:domain-verification:manage"; readonly WidgetsSSOManage: "widgets:sso:manage"; readonly... npmjs.com
@workos-inc/node 12.0.0 breaking changes
- Removed
Duplicate vault object interfaces were removed. Code importing these interfaces must switch to the remaining types. github.com - Removed
FlagCustomTarget
FlagCustomTarget was removed in @workos-inc/node 12.0.0 npmjs.com - Removed
FlagPollEntry.targets
FlagPollEntry.targets was removed in @workos-inc/node 12.0.0 npmjs.com - Removed
FlagTarget
FlagTarget was removed in @workos-inc/node 12.0.0 npmjs.com - Removed
GenerateLink.adminEmails
The adminEmails option was renamed to itContactEmails. Update calls to use the new name. npmjs.com - Removed
GenerateLinkResponse.admin_emails
GenerateLinkResponse.admin_emails was removed in @workos-inc/node 12.0.0 npmjs.com - Removed
ReadObjectMetadataResponse
ReadObjectMetadataResponse was removed in @workos-inc/node 12.0.0 npmjs.com - Removed
ReadObjectResponse
ReadObjectResponse was removed in @workos-inc/node 12.0.0 npmjs.com - Behavior changed
The DirectorySync module was regenerated with oagen, which changes its generated interface. Code using DirectorySync may need updating. github.com - Behavior changed
The SDK now includes 28 more event types in the Event union. Code with exhaustive handling of event types may need updating. github.com
And 182 more in this version. Sign up to see every change
@workos-inc/node 11.0.0 breaking changes
- Removed
DataIntegrationCredentialsResponseCredential.authMethod
DataIntegrationCredentialsResponseCredential.authMethod was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredential.expiresAt
DataIntegrationCredentialsResponseCredential.expiresAt was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredential.missingScopes
DataIntegrationCredentialsResponseCredential.missingScopes was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredential.object
DataIntegrationCredentialsResponseCredential.object was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredential.scopes
DataIntegrationCredentialsResponseCredential.scopes was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredential.value
DataIntegrationCredentialsResponseCredential.value was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredentialResponse.auth_method
DataIntegrationCredentialsResponseCredentialResponse.auth_method was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredentialResponse.expires_at
DataIntegrationCredentialsResponseCredentialResponse.expires_at was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredentialResponse.missing_scopes
DataIntegrationCredentialsResponseCredentialResponse.missing_scopes was removed in @workos-inc/node 11.0.0 npmjs.com - Removed
DataIntegrationCredentialsResponseCredentialResponse.object
DataIntegrationCredentialsResponseCredentialResponse.object was removed in @workos-inc/node 11.0.0 npmjs.com
And 30 more in this version. Sign up to see every change
@workos-inc/node 10.12.0 breaking changes
- Signature changed
CreateWebhookEndpointEvents
Was const CreateWebhookEndpointEvents: {readonly AuthenticationEmailVerificationSucceeded: "authentication.email_verification_succeeded"; readonly AuthenticationMagicAuthFailed: "authentication.magic_auth_failed"; readonly... npmjs.com - Signature changed
Event
Was type Event = AuthenticationEmailVerificationSucceededEvent | AuthenticationMfaSucceededEvent | AuthenticationOAuthFailedEvent | AuthenticationOAuthSucceededEvent | AuthenticationSSOFailedEvent | AuthenticationSSOSucceededEvent |... npmjs.com - Signature changed
EventResponse
Was type EventResponse = AuthenticationEmailVerificationSucceededEventResponse | AuthenticationMagicAuthFailedEventResponse | AuthenticationMagicAuthSucceededEventResponse | AuthenticationMfaSucceededEventResponse |... npmjs.com - Signature changed
UnprocessableEntityException.constructor
Was constructor({code, errors, message, requestID}: {code?: string; errors?: UnprocessableEntityError[]; message?: string; requestID: string;}); now constructor({code, error, errors, message, requestID}: {code?: string; error?: string... npmjs.com - Signature changed
UpdateWebhookEndpointEvents
Was const UpdateWebhookEndpointEvents: {readonly AuthenticationEmailVerificationSucceeded: "authentication.email_verification_succeeded"; readonly AuthenticationMagicAuthFailed: "authentication.magic_auth_failed"; readonly... npmjs.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
@workos-inc/node 10.11.0 breaking changes
- Removed
EvaluationContext.organizationId
EvaluationContext.organizationId was removed in @workos-inc/node 10.11.0 npmjs.com - Removed
EvaluationContext.userId
EvaluationContext.userId was removed in @workos-inc/node 10.11.0 npmjs.com
And 2 more in this version.
@workos-inc/node 10.9.0 breaking changes
- Signature changed
AuthenticationFactor.totp
Was totp: Totp; now totp?: Totp. npmjs.com - Signature changed
AuthenticationFactor.type
Was type: 'totp'; now type: AuthenticationFactorType. npmjs.com
And 3 more in this version.
@workos-inc/node 10.8.0 breaking changes
- Removed
ApiKey.owner.id
ApiKey.owner.id was removed in @workos-inc/node 10.8.0 npmjs.com - Removed
ApiKey.owner.type
ApiKey.owner.type was removed in @workos-inc/node 10.8.0 npmjs.com
And 12 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.