Skip to content

2.0.0

Compare
Choose a tag to compare
@tamtamchik tamtamchik released this 17 Jul 12:52
· 60 commits to master since this release
f2be65e

Breaking changes

  • Dropped support for PHP < 7.2
  • Dropped support for global function str_name_case
  • spanish option is now false by default.

Added

  • Post-nominals detection.

  • Constructor now supports options parameter.

  • Added options:

    • lazy – Default: true. Do not do anything if the string is already mixed case and the lazy option is true.
    • irish – Default: true. Correct Mac.
    • spanish – Default: false. Corrects el, la and Spanish conjunctions.
    • roman – Default: true. Corrects roman numbers.
    • hebrew – Default: true. Corrects ben, bat.
    • postnominal – Default: true. Corrects post-nominals.

Updated

  • New irish Mac exceptions.