Repository navigation
A bug-fix release. Some words and titles now come out differently, so check any code that stores or compares inflected names.
Behavior changes
singularize("reserves")returns"reserve"instead of"reserf", also inside identifiers such asnature_reserves(#80, fixes #56).gas,biasandatlasstay singular undersingularize()(previously"ga","bia","atla") and pluralize togases,biasesandatlases.gasis matched as a whole word or after_, sonatural_gaspluralizes tonatural_gasesandsagasstill singularizes tosaga(#78).pastais uncountable:singularize("pasta")returns"pasta"instead of"pastum"(#79).diabetesis uncountable:singularize("diabetes")returns"diabetes"instead of"diabete"(#57).- New irregular plural
goose/geese.mongoosestill pluralizes tomongooses(#68). - New irregular plural
foot/feet, including compounds such asforefoot/forefeet(#70). titleize()keeps ordinal suffixes in lower case:titleize("1st place")returns"1st Place"instead of"1St Place", andtitleize("2ND PART")returns"2nd Part"instead of"2 Nd Part"(#81, fixes #61).camelize("", False)returns""instead of raisingIndexError(#76).parameterize()inserts a custom separator as literal text. Separators containing a backslash, such as"\\",r"\1"orr"\n", used to raisere.erroror insert a newline (#75).
Thanks to @Aschenbath, @ShahadatTest, @tuti-lv, @LaundroMat, @pranithan-kang and @ac1982.