jayjun / slugify

An Elixir library to convert strings in any language into slugs
MIT License
124 stars 10 forks source link

elixir 1.10: warning: String.normalize/2 is deprecated #8

Closed 1player closed 4 years ago

1player commented 4 years ago

Compiling the project on Elixir 1.10+ prints the following warning:

warning: String.normalize/2 is deprecated. Use :unicode.characters_to_nfc_binary/1 or :unicode.characters_to_nfd_binary/1 instead
  lib/slug.ex:145: Slug.normalize_to_codepoints/1
jayjun commented 4 years ago

1.3.0 released with String.normalize/2 replaced. Thanks @1player!