- Fix
parameterizeemitting non-alphanumeric characters when the transliteration table maps an input to a string containing punctuation (e.g.ʼnpreviously produced'n; now producesn). The output is now filtered to[a-z0-9_-]as the docs imply. Note: this is an observable behavior change for affected inputs, hence the minor-version bump. - Bump bounds for
textandcontainersto support GHC 9.10 and 9.12 - Tighten lower bound on
textto>= 1.2.3to reflect actual minimum - Widen upper bound on
exceptionsto< 0.12 - Add
tested-withcovering GHC 8.4 through 9.12 - CI now tests GHC 8.4 through 9.12
- Bump bounds for
textin order to support ghc-9.6.1
- Support
megaparsec== 9.0
- Support
megaparsec== 8.0
- Support
megaparsec== 7.0*. - Drop support for
GHC 7.8.4.
- Support
exceptions== 0.10.*
- Support
exceptions== 0.9.*
- Support
megaparsec>= 6.4.0
- Update megaparsec to version 6.
-
A more type-safe API forbidding creation of invalid words.
-
Made the API use
Textinstead ofString(which significally improved speed). -
Switched to Megaparsec 5 for parsing.
-
Renamed
defaultMaptodefaultTransliterations. -
Words now can contain digits (recognized by all parsers).
-
parseSnakeCasenow is not confused when a word happens to have prefix coinciding with an acronym. This is harder to fix forparseCamelCasebecause acronym may contain capital letters, so old behavior is preserved forparseCamelCasefor now. -
parseCamelCaseandparseSnakeCasetake any instance ofFoldableas a collection of acronyms, not just lists. -
Added the
CHANGELOG.mdfile. -
Switched test suite to Hspec.
-
The
toUnderscore,toDashed, andtoCamelCasedare not partial anymore. They return parse error inLeftjust like parsing functions, but this result can be lifted into any instance ofMonadThrowwithbetterThrowhelper. -
Improved documentation.
- Support for GHC 8.0.
- Added
other-modulesto test suite.
- Support for GHC 7.10.
- Support for GHC 7.8.
-
Fixed a typo in docs of
humanize. -
Added
toUnderscore,toDashed, andtoCamelCased.
-
Support for
base-4.7. -
Improved documentation.
-
Added
titleizeandhumanize. -
Improved documentation.
- Added module documentation for
Text.Inflections.
-
Reduced number of public modules to one:
Text.Inflections. -
Added
ordinalandordinalize. -
Improved documentation.
-
Added
camelize,camelizeCustom,underscore, andunderscoreCustom. -
Made the word parser accept empty input.
-
Improved documentation.
- Added the
transliterateandtransliterateCustomfunctions.
- No changes.
- Initial release.