---
title: "shufflejs 7.1.0 Breaking Changes on npm | Since.dev"
description: "What each shufflejs release removed, renamed or changed: 101 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/shufflejs
last_updated: 2026-12-04
---

# 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

Latest version `7.1.0`, released October 1, 2026. [Source repository](https://github.com/glen-cheney/Shuffle)

Its 7.0.0 release requires [Node.js 24](https://since.dev/calendar/nodejs/24.md) or later. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [6.1.1](#v-6-1-1) to [7.1.0](#v-7-1-0): 84 breaking changes in 2 versions.
- From [6.0.0](#v-6-0-0) to [7.1.0](#v-7-1-0): 92 breaking changes in 4 versions.

## shufflejs 7.1.0 breaking changes

shufflejs 7.1.0, released October 1, 2026: 8 breaking changes.

- **Signature changed** `default.EventType.LAYOUT`  

Was LAYOUT: "shuffle:layout"; now readonly LAYOUT: "shuffle:layout". [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `default.EventType.REMOVED`  

Was REMOVED: "shuffle:removed"; now readonly REMOVED: "shuffle:removed". [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `FilterArg`  

Was type FilterArg = string | string\[\] | FilterFunction; now type FilterArg = FilterArg$1\<Shuffle>. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `FilterFunction`  

Was type FilterFunction = (this: HTMLElement, element: HTMLElement, shuffle: Shuffle) => boolean; now type FilterFunction = FilterFunction$1\<Shuffle>. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `ShuffleOptions.initialSort`  

Was initialSort?: SortOptions | null; now initialSort?: SortOptions$1\<ShuffleItem> | null. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `SortOptions`  

Was interface SortOptions; now type SortOptions = SortOptions$1\<ShuffleItem>. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `SortOptions.compare`  

Was compare?: ((itemA: ShuffleItem, itemB: ShuffleItem) => number) | null; now compare?: ((itemA: Item, itemB: Item) => number) | null. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)
- **Signature changed** `SortOptions.key`  

Was key?: keyof ShuffleItem; now key?: keyof Item. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.1.0)

## shufflejs 7.0.0 breaking changes

shufflejs 7.0.0, released February 13, 2026: 76 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](https://github.com/glen-cheney/Shuffle/releases/tag/v7.0.0)
- **Removed**  

The double-underscored static methods have been removed from the package. [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v7.0.0)
- **Removed**  

The package is now pure ESM with no CommonJS build, so require() calls must be migrated to ES module imports. [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v7.0.0)
- **Removed** `default.Point.constructor`  

new Point() was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Point.equals`  

Point.equals was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Point.x`  

Point.x was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Point.y`  

Point.y was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Rect.constructor`  

new Rect() was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Rect.height`  

Rect.height was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)
- **Removed** `default.Rect.id`  

Rect.id was removed in shufflejs 7.0.0 [npmjs.com](https://www.npmjs.com/package/shufflejs/v/7.0.0)

And 66 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## shufflejs 6.1.1 breaking changes

shufflejs 6.1.1, released February 22, 2024: 2 breaking changes.

- **Signature changed** `ShuffleOptions.columnWidth`  

Was columnWidth?: number | ((conatinerWidth: number) => number); now columnWidth?: number | ((containerWidth: number) => number). [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.1)
- **Signature changed** `ShuffleOptions.gutterWidth`  

Was gutterWidth?: number | ((conatinerWidth: number) => number); now gutterWidth?: number | ((containerWidth: number) => number). [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.1)

## shufflejs 6.1.0 breaking changes

shufflejs 6.1.0, released July 7, 2022: 6 breaking changes.

- **Signature changed** `ShuffleOptions.columnWidth`  

Was columnWidth?: number; now columnWidth?: number | ((conatinerWidth: number) => number). [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.0)
- **Signature changed** `ShuffleOptions.delimiter`  

Was delimiter?: string; now delimiter?: string | null. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.0)
- **Signature changed** `ShuffleOptions.gutterWidth`  

Was gutterWidth?: number; now gutterWidth?: number | ((conatinerWidth: number) => number). [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.0)
- **Signature changed** `ShuffleOptions.initialSort`  

Was initialSort?: SortOptions; now initialSort?: SortOptions | null. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.1.0)
- **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](https://www.npmjs.com/package/shufflejs/v/6.1.0)
- **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](https://www.npmjs.com/package/shufflejs/v/6.1.0)

## shufflejs 6.0.0 breaking changes

shufflejs 6.0.0, released February 15, 2022: 9 breaking changes.

- **Removed**  

The matches-selector package is removed in favor of the native matches method. [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v6.0.0)
- **Removed**  

IE 11 is removed from the browsers list. Users who need IE 11 must stay on v5. [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v6.0.0)
- **Removed**  

Removes the throttleit dependency in shufflejs 6.0.0 [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v6.0.0)
- **Removed** `ShuffleOptions.delimeter`  

The deprecated delimeter option is removed. Use the delimiter option instead. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.0.0)
- **Removed** `ShuffleOptions.throttle`  

The throttle option is removed and has no replacement in the notes. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.0.0)
- **Removed** `ShuffleOptions.throttleTime`  

The throttleTime option is removed and has no replacement in the notes. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.0.0)
- **Behavior changed**  

Resizing is now tracked with ResizeObserver. Browsers without it must add a window resize listener that calls update(). [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v6.0.0)
- **Behavior changed**  

Shuffle now reads group data from element.dataset instead of getAttribute('data-groups'). [github.com](https://github.com/glen-cheney/Shuffle/releases/tag/v6.0.0)
- **Signature changed** `default.update`  

update() no longer takes a boolean; pass an options object such as { recalculateSizes: false } instead. [npmjs.com](https://www.npmjs.com/package/shufflejs/v/6.0.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
