shufflejs breaking changes
shufflejs 7.1.0 (October 1, 2026) is its newest release with breaking changes, 8 of them. The first: Signature changed default.EventType.LAYOUT. Every breaking API change we have recorded in shufflejs on npm: 101 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 7.1.0, released October 1, 2026. Source repository
Its 7.0.0 release requires Node.js 24 or later. Node.js end of life dates.
- From 6.1.1 to 7.1.0: 84 breaking changes in 2 versions.
- From 6.0.0 to 7.1.0: 92 breaking changes in 4 versions.
shufflejs 7.1.0 breaking changes
- Signature changed
default.EventType.LAYOUT
Was LAYOUT: "shuffle:layout"; now readonly LAYOUT: "shuffle:layout". npmjs.com - Signature changed
default.EventType.REMOVED
Was REMOVED: "shuffle:removed"; now readonly REMOVED: "shuffle:removed". npmjs.com - Signature changed
FilterArg
Was type FilterArg = string | string[] | FilterFunction; now type FilterArg = FilterArg$1<Shuffle>. npmjs.com - Signature changed
FilterFunction
Was type FilterFunction = (this: HTMLElement, element: HTMLElement, shuffle: Shuffle) => boolean; now type FilterFunction = FilterFunction$1<Shuffle>. npmjs.com - Signature changed
ShuffleOptions.initialSort
Was initialSort?: SortOptions | null; now initialSort?: SortOptions$1<ShuffleItem> | null. npmjs.com - Signature changed
SortOptions
Was interface SortOptions; now type SortOptions = SortOptions$1<ShuffleItem>. npmjs.com - Signature changed
SortOptions.compare
Was compare?: ((itemA: ShuffleItem, itemB: ShuffleItem) => number) | null; now compare?: ((itemA: Item, itemB: Item) => number) | null. npmjs.com - Signature changed
SortOptions.key
Was key?: keyof ShuffleItem; now key?: keyof Item. npmjs.com
shufflejs 7.0.0 breaking changes
- Removed
Direct references to dist/shuffle.js or minified files no longer exist; use a bundler or import maps, or install via a package manager. github.com - Removed
The double-underscored static methods have been removed from the package. github.com - Removed
The package is now pure ESM with no CommonJS build, so require() calls must be migrated to ES module imports. github.com - Removed
default.Point.constructor
new Point() was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Point.equals
Point.equals was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Point.x
Point.x was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Point.y
Point.y was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Rect.constructor
new Rect() was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Rect.height
Rect.height was removed in shufflejs 7.0.0 npmjs.com - Removed
default.Rect.id
Rect.id was removed in shufflejs 7.0.0 npmjs.com
And 66 more in this version. Sign up to see every change
shufflejs 6.1.1 breaking changes
- Signature changed
ShuffleOptions.columnWidth
Was columnWidth?: number | ((conatinerWidth: number) => number); now columnWidth?: number | ((containerWidth: number) => number). npmjs.com - Signature changed
ShuffleOptions.gutterWidth
Was gutterWidth?: number | ((conatinerWidth: number) => number); now gutterWidth?: number | ((containerWidth: number) => number). npmjs.com
shufflejs 6.1.0 breaking changes
- Signature changed
ShuffleOptions.columnWidth
Was columnWidth?: number; now columnWidth?: number | ((conatinerWidth: number) => number). npmjs.com - Signature changed
ShuffleOptions.delimiter
Was delimiter?: string; now delimiter?: string | null. npmjs.com - Signature changed
ShuffleOptions.gutterWidth
Was gutterWidth?: number; now gutterWidth?: number | ((conatinerWidth: number) => number). npmjs.com - Signature changed
ShuffleOptions.initialSort
Was initialSort?: SortOptions; now initialSort?: SortOptions | null. npmjs.com - Signature changed
SortOptions.by
Was by?: (a: Shuffle.ShuffleItem['element'], b: Shuffle.ShuffleItem['element']) => any; now by?: ((element: Shuffle.ShuffleItem['element']) => any) | null. npmjs.com - Signature changed
SortOptions.compare
Was compare?: (a: Shuffle.ShuffleItem, b: Shuffle.ShuffleItem) => number; now compare?: ((a: Shuffle.ShuffleItem, b: Shuffle.ShuffleItem) => number) | null. npmjs.com
shufflejs 6.0.0 breaking changes
- Removed
The matches-selector package is removed in favor of the native matches method. github.com - Removed
IE 11 is removed from the browsers list. Users who need IE 11 must stay on v5. github.com - Removed
Removes the throttleit dependency in shufflejs 6.0.0 github.com - Removed
ShuffleOptions.delimeter
The deprecated delimeter option is removed. Use the delimiter option instead. npmjs.com - Removed
ShuffleOptions.throttle
The throttle option is removed and has no replacement in the notes. npmjs.com - Removed
ShuffleOptions.throttleTime
The throttleTime option is removed and has no replacement in the notes. npmjs.com - Behavior changed
Resizing is now tracked with ResizeObserver. Browsers without it must add a window resize listener that calls update(). github.com - Behavior changed
Shuffle now reads group data from element.dataset instead of getAttribute('data-groups'). github.com - Signature changed
default.update
update() no longer takes a boolean; pass an options object such as { recalculateSizes: false } instead. 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.