Releases: carandclassic/private-dump
Support multiple DBs
Makes sure to configure Mysqldump to support multiple databases.
Also fixes randomization of emails for user objects.
Improve email randomness
To avoid email collisions when using the User object, an integer suffix has been added to each generated email.
This is no guarantee, but should drastically improve randomness.
Seeding, named objects, retain rows based on regex
support for:
@seed
- allows seeding Faker on each row based on an arbitrary column
@keepif
- allows retaining some rows based on regex matching of original data
Compound objects - allows consistency per row, for example an email can be created using firstName, lastName, so that they are not individually randomised.
Updated Phar
Previous release was missing phar update
Big release - PHP8, fakerphp, vehicle data, phpunit
- PHP8 Support
- Using fakerphp
- Using latest phpunit
- Added support for vehicle data
- Allowed config parameters to be passed to faker
The one with the default dump setting of lock-tables=false
v0.0.7 Release 0.0.7
The one with @original support
You can now return the @original
value or modify the original value:
...
"notes": "@original"
...
and
...
"notes": "@original|max:18"
...
The one with the modifier support
Added support for basic modifiers: @randomString|max:5
The one with the key-value store support
v0.0.4 Release 0.0.4
The release with the table specific WHERE and LIMIT
You can now restrict rows returned from tables with table specific conditions and limits:
...
"tableName": {
"$options": {
"where": "user_id > 5000 AND date_added < '2019-01-01'",
"limit": 40
},
"columnName": "@email"
}
...