Skip to content

Releases: martpie/react-slugify

4.0.1

17 Jun 14:03
Compare
Choose a tag to compare
  • Fixed a console.log that sneaked in

4.0.0

05 Jun 13:37
Compare
Choose a tag to compare

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 to grosse

3.0.3

27 Oct 12:44
Compare
Choose a tag to compare
  • Fixed some Latvian characters not being slugified

3.0.2

21 Jan 18:35
Compare
Choose a tag to compare
  • Fixed some Turkish characters not being slugified

3.0.1

19 Jan 13:04
Compare
Choose a tag to compare
  • Fixed an issue with some bundlers failing to load source maps

3.0.0

06 Jan 15:27
Compare
Choose a tag to compare
  • Added React 18 compatibility
  • ⚠️ Dropped compatibility for older versions of React
  • Updated Reacttypings
  • Updated TypeScript from 4.4 to 4.9
  • Tested against Node 16 (instead of Node 12)
  • Changed tests to use vitest instead of jest

2.1.0

09 Oct 16:04
Compare
Choose a tag to compare
  • Fixed Vietnamese accents not sanitized

2.0.4

16 Sep 20:49
97e268f
Compare
Choose a tag to compare
  • 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"

2.0.3

11 Dec 16:12
Compare
Choose a tag to compare
  • Just making sure README is up to date on NPM :) (build was shown as failing while it was not)

2.0.2

14 Sep 09:59
Compare
Choose a tag to compare
  • Fixed polish accents not sanitized