- Bump null safety to stable
- Migrate to null safety
- Remove optional
new
andconst
- Bug fix: Remove duplicates from
all
- Update dependency of
pkg:test
to 1.0
- Allow Dart 2
- Allow injecting
Random
togenerateWordPairs()
- Add
WordPair.random()
constructor for easier creation of a single word combo
- Fix bug that made an unsafe word get generated despite ban
- BREAKING:
WordPair
constructor is no longerconst
- BREAKING:
WordPair
will reject words that arenull
or empty - Add
.asCamelCase
,.asPascalCase
,.asLowerCase
and.asUpperCase
getters toWordPair
. These are memoized, so they're faster to access. - Add 'sex' to unsafe words
- Stricter strong mode turned on
- Lints resolved
- Make
generateWordPairs
10-20x faster for the most common use case (i.e. running the function with all named parameters at default values).
- Add 'rape' to unsafe words
- Add 'AIDS' to unsafe words
- Update README with refactor to
generateWordPairs
- The
generateCombo()
function has been renamed togenerateWordPairs()
generateWordPairs()
takes asafeOnly
named argument. If set totrue
(default), it will avoid wordpairs like "ballsack" or anything containing "ass", "shit", "fucking", etc.- Add benchmark for
GenerateWordPair()
- Add exception for "cruel"
- Fix exceptions like "poet" and "conscious"
- Fix words like "dying" and "flying" to be disyllabic
- Use
string_scanner
instead of RegExp replace for most syllable counting - 400% faster syllable counting
- Make the
syllables()
function work on 99+% cases - semver guarantee
- Initial version