# What changed in @sindresorhus/slugify

> 11 changes in @sindresorhus/slugify 1 to 3 from its official release notes, upgrade guides and advisories: 5 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@sindresorhus/slugify/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @sindresorhus/slugify 3

### Breaking changes

- Node.js 20 is now required to use the package. (3.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.0)

### New APIs and options

- Adds the locale option. (3.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.0)
- Adds the transliterate option. (3.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.0)

### Fixes and other changes

- Fixes slugifyWithCounter() returning the same slug twice. (3.0.2) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.2)
- Fixes handling of contractions and possessives followed by punctuation. (3.0.1) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.1)
- Fixes decamelization of acronyms followed by a word whose second letter is `s`. (3.0.1) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v3.0.1)

## @sindresorhus/slugify 2

### Breaking changes

- Node.js 12 is now required to use the package. (2.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v2.0.0)
- The package is now pure ESM, changing how developers import it. (2.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v2.0.0)
- The counter functionality moved from slugify.counter to the named export slugifyWithCounter. (2.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v2.0.0)

## @sindresorhus/slugify 1

### Breaking changes

- Slugification of camel-cased words changes, which may alter generated slugs. (1.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v1.0.0)

### New APIs and options

- Adds a counter for multiple occurrences. (1.0.0) — [release notes](https://github.com/sindresorhus/slugify/releases/tag/v1.0.0)
