Releases: martpie/react-slugify
Releases · martpie/react-slugify
4.0.1
4.0.0
No breaking changes in terms of code invocation, the API is the same.
- [Changed] Migrated to
node-diacritics
to remove accents, meaning:- All accents should now correctly be removed, without having
react-slugify
maintaining its own outdated dictionary - 1-to-2 characters mapping is now done, for example,
Große
will be converted togrosse
- All accents should now correctly be removed, without having
3.0.3
3.0.2
3.0.1
3.0.0
2.1.0
2.0.4
- Fixed a couple of edgecases:
slugify('a little slug of mine - Slug')
// Before: "a-little-slug-of-mine---slug"
// Now: "a-little-slug-of-mine-slug"
slugify('a little slug of mine @')
// Before: "a-little-slug-of-mine--"
// Now: "a-little-slug-of-mine"
slugify('@ a little slug of mine')
// Before: "--a-little-slug-of-mine"
// Now: "a-little-slug-of-mine"