10.0.0 (2024-10-17)
-
This module only supports ESM. CommonJS and non-ESM script tags are no longer supported.
-
chore: add web-test-runner
-
chore: add coverage reporting for CLI tests
-
chore: fail CLI tests if coverage is not 100%
9.1.0 (2024-05-24)
9.0.0 (2024-03-07)
- Drop support for Node.js older than 18.x
8.2.3 (2023-07-18)
8.2.2 (2022-10-02)
8.2.1 (2022-10-02)
8.2.0 (2022-10-02)
8.1.0 (2022-10-02)
8.0.0 (2022-08-31)
- Loading via AMD will no longer work out-of-the-box.
7.0.0 (2022-08-31)
- Drop support for Node.js earlier than 14.x.
6.1.0 (2022-08-31)
6.0.0 (2022-08-16)
- drop support for IE11 (9927860)
- drop support for IE11
5.3.0 (2022-03-04)
- add bugs entry to package.json (ca72836)
5.2.0 (2021-12-27)
5.1.1 (2021-12-13)
5.1.0 (2021-06-15)
5.0.1 (2021-05-09)
5.0.0 (2021-05-03)
- Drop support for Node.js 10.x which is now EOL.
4.1.0 (2021-05-03)
4.0.4 (2021-04-16)
- honor special character replacements in charmap (f5e18c9)
4.0.3 (2021-02-24)
- add arabic letter إ i (ce9ce2f)
4.0.2 (2020-10-30)
- update from deprecated license specification (bc16c49)
4.0.1 (2020-10-22)
- add Œ/œ (5abe081)
4.0.0 (2020-10-21)
- remove symbols (853ad52)
- symbols are removed
3.5.2 (2020-10-20)
- correct errors in code samples (f74890f)
3.5.1 (2020-10-13)
3.5.0 (2020-10-11)
- add support for React Native (7962f8b)
3.4.0 (2020-10-11)
- add support for Hebrew (04851c4)
3.3.6 (2020-10-11)
- reset() should reset all multicharmap defaults (a429809)
3.3.5 (https://github.com/Trott/slug/compare/v3.3.4...v3.3.5) (2020-09-29)
* prevent slug function from mutating option object (41916a3 (https://github.com/Trott/slug/commit/41916a32c6a6cdd3af1fe2405224e8b91c7760d4))
* fix: add German locale for parity with slugify
chore: add missing Latin/Greek char
fix: remove template strings for IE11 compatibility
fix: use let for ie11 compat
chore: move regex to improve performance
chore: add documentation and tests for remove option
feat: make Base64 fallback in browser far more robust
fix: disregard lone surrogates in Node.js, as in the browser
fix: enable browser compatibility for all code points
feat: add support for Azerbaijani characters
feat: add support for Slovak characters
feat: add support for Georgian characters
feat: add locale sr (Serbian)
feat: support locale bg (Bulgarian)
fix: repair markdown layout for README file
fix: remove erroneous "bin" entry in package.json
BREAKING CHANGE: make output lowercase by default (#43)
BREAKING CHANGE: more aggressively remove punctuation by default (#39)
BREAKING CHANGE: do not load/use unicode symbol table (#50)
BREAKING CHANGE: require first argument to be a string (#32)
BREAKING CHANGE: remove CLI (#52)
feat: support Devanagari for Hindi, Sanskrit, and other languages (#55)
feat: add Kazakh characters (#42)
feat: add Serbian transliterations (#45)
feat: add ruble, bitcoin, tenge (#47)
feat: implement .extend() (#51)
feat: implement .reset() and browser testing (#53)
Restore IE 11 support by removing arrow functions.
Fallback to base64 if slug is empty. This allows minimal out-of-the-box support for character sets not in the default mappings.
Add support for Farsi. (Thanks, @hassan-jahan!)
This is being released as a breaking change because it changes some of the slugs for Arabic strings. It probably won't break anything, but just in case....