regex breaking changes
regex 6.0.0 (January 29, 2025) is its newest release with breaking changes, 13 of them. The first: Removed internals:emulationGroupMarker. Every breaking API change we have recorded in regex on npm: 13 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 6.1.0, released December 9, 2025. Source repository
Packages on npm run on Node.js. Node.js end of life dates.
regex 6.0.0 breaking changes
- Removed
internals:emulationGroupMarker
emulationGroupMarker was removed in regex 6.0.0 npmjs.com - Removed
internals.emulationGroupMarker
emulationGroupMarker is removed because markers are no longer used for hidden captures. github.com - Removed
internals.RegExpSubclass
RegExpSubclass no longer supports the undocumented capture transfer feature. github.com - Removed
PluginData.useEmulationGroups
PluginData.useEmulationGroups was removed in regex 6.0.0 npmjs.com - Behavior changed
Plugins
Plugins must now return an object with a string pattern property instead of a plain string. github.com - Signature changed
internals:atomic
Was function atomic(expression: string, data?: import("./regex.js").PluginData): string; now function atomic(expression: string, data?: import("./regex.js").PluginData): Required<import("./regex.js").PluginResult>. npmjs.com - Signature changed
internals:possessive
Was function possessive(expression: string): string; now function possessive(expression: string): import("./regex.js").PluginResult. npmjs.com - Signature changed
internals:RegExpSubclass.constructor
Was constructor(expression: string | RegExpSubclass, flags?: string, options?: {useEmulationGroups: boolean;}); now constructor(expression: RegExpSubclass, flags?: string) constructor(expression: string, flags?: string, options?... npmjs.com - Signature changed
PluginData
Was type PluginData = {flags?: string; useEmulationGroups?: boolean;}; now type PluginData = {flags?: string; captureTransfers?: Map<number | string, number>; hiddenCaptures?: Array<number>;}. npmjs.com - Signature changed
RegexTagOptions
Was type RegexTagOptions = {flags?: string; subclass?: boolean; plugins?: Array<(expression: string, data: PluginData) => string>; unicodeSetsPlugin?: ((expression: string, data: PluginData) => string) | null; disable?: {x?: boolean; n?... npmjs.com - Signature changed
RegexTagOptions.plugins
Was plugins?: Array<(expression: string, data: PluginData) => string>; now plugins?: Array<(expression: string, data: PluginData) => PluginResult>. npmjs.com - Signature changed
RegexTagOptions.unicodeSetsPlugin
Was unicodeSetsPlugin?: ((expression: string, data: PluginData) => string) | null; now unicodeSetsPlugin?: ((expression: string, data: PluginData) => PluginResult) | null. npmjs.com - Signature changed
rewrite
The returned expression property of rewrite is now named pattern; update code reading it. npmjs.com
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.