This release contains no important changes. I had a week off from work and decided to refactor the code. However there are some small breaking changes so I have released it as 2.0.0.
- Refactor internals for simplicity
- Use built-in Ruby UTF-8 support in places of other gems.
- Drop support for Ruby < 2.5.0.
Babosa::Identifier#word_chars
no longer removes dashesBabosa::Identifier#to_ruby_method
default argumentallow_bangs
is now a keyword argument
- Fix nil being cast to frozen string (#52)
- Fix Active Support 6 deprecations (#50)
- Fix regression in ActiveSupport UTF8 proxy.
- Fix error with tidy_bytes on Rubinius.
- Simplify Active Support UTF8 proxy.
- Fix
allow_bangs
argument to to_ruby_method being silently ignored. - Raise error when generating an impossible Ruby method name.
- Adopt semantic versioning.
- When using Active Support, require 3.2 or greater.
- Require Ruby 2.0 or greater.
- Fix Ruby warnings.
- Improve support for Ukrainian.
- Support some additional punctuation characters used by Chinese and others.
- Add Polish spec.
- Use native Unicode normalization on Ruby 2.2 in UTF8::DumbProxy.
- Invoke Ruby-native upcase/downcase in UTF8::DumbProxy.
- Proxy
tidy_bytes
method to Active Support when possible. - Remove SlugString constant.
- Add support for Vietnamese.
- Fix Macedonian "S/S". Don't
include JRuby
unnecessarily.
- Add missing Greek vowels with diaeresis.
- Correct and improve Macedonian support.
- Fix compatibility with Ruby 1.8.7.
- Add Swedish support.
- Allow multiple transliterators.
- Add Greek support.
- Don't strip underscores from identifiers.
- Add Romanian support.
- Add Norwegian support.
- Improve Macedonian support.
- Small fixes to Cyrillic.
- Cyrillic support.
- Improve support for various Unicode spaces and dashes.
- Fix for "smart" quote handling.
- Implement #empty? for compatiblity with Active Support's #blank?.
- Add support for Danish.
- Add method to generate Ruby identifiers.
- Improve performance.
- Add support for Serbian.
- Initial extraction from FriendlyId.