Releases: taylornetwork/laravel-username-generator
Releases · taylornetwork/laravel-username-generator
v2.8
What's Changed
- Retry makeUnique until unique username found by @timothyasp in #63
- Apply fixes from StyleCI by @samueljtaylor in #64
- v2.8 by @samueljtaylor in #65
New Contributors
- @timothyasp made their first contribution in #63
Full Changelog: 2.7.0...2.8.0
v2.7
Changed
- FindSimilarUsernames no longer needs a
usernameColumn
property in the parent model if the column is different than'username'
and the config file is not directly changed.
Added
- Missing types for some properties.
- Driver and HandlesConfig contracts.
- getDriver() method in Generator class.
v2.6.2 - Security Fix
[Fixed]
- Possible SQL injection vulnerability, see #54
- Bug where
findSimilarUsernames
would return an incorrect number of similarities when using theREGEXP
function with a separator.
[Changed]
prefer_regexp
config option by default is nowfalse
v2.6.1
- Added support for PHP 8.1
- Set minimum PHP version to 7.4
v2.6
This release addresses issues relating to other character sets. See the readme for a full change log.
v2.5.1
Fixes issue where dictionary nouns and adjectives were not being respected
v2.5
- Added maximum length check.
- Added ability for pre-filled usernames to go through generate process to allow for consistent username styles.
- Added checking for similar usernames using REGEXP or LIKE (LIKE is a fallback if REGEXP fails).
- Added a check if a username is unique as is before checking for similar ones.
- Added checkMinLength and checkMaxLength hooks on base driver.
- Updated composer.json to support PHP 7.2 and above
- Updated readme for better Laravel 8+ quickstart
v2.4
- This is a minor change but if you're using older versions of Laravel you may need to update your config file.
- Changed default User model from
App\User
toApp\Models\User
to mirror new Laravel versions (8.0+). - Moved the adjective and noun word lists from the config file to a separate file, making the published config smaller and allowing you to create your own word lists if you wish.