- Released 2.0.0 with null safety
- Fixed issue with getAllProfanity that was incorrectly detecting substrings as profanity.
- Minor code changes
- The SDK version in pubspec.yaml is now
>=2.6.0 <3.0.0
- Minor code changes
- Updated README.md
- Moved the default list of words
defaultWordsToFilterOutList
to a new filedefault_list.dart
- Renamed the methods to a more concise form -
hasProfanity
,getAllProfanity
,censor
- The older, longer names of the above mentioned methods (
checkStringForProfanity
,getAllProfanityFoundInString
,censorString
) are marked deprecated. They'll still work, but its recommended you choose their newer, shorter, more concise form. - The
censor
method is now case-agnostic, it will now censor profanity regardless of its case (converts all words to lowercase before comparing) (Thanks to contributor towner-10 - See PR ) - Added test for
getProfanity
method. - Added test for
censor
method with case.
- Updated package description
- Updated package description
- Fixed Dart SDK constraints in pubspec.yaml
- Initial release