Skip to content

Releases: carandclassic/private-dump

Support multiple DBs

09 Jun 08:35
6ec1d80
Compare
Choose a tag to compare

Makes sure to configure Mysqldump to support multiple databases.

Also fixes randomization of emails for user objects.

Improve email randomness

09 Jun 06:15
cf4d6a2
Compare
Choose a tag to compare

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

05 Jun 10:29
91825d9
Compare
Choose a tag to compare

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

26 May 13:25
de046c9
Compare
Choose a tag to compare

Previous release was missing phar update

Big release - PHP8, fakerphp, vehicle data, phpunit

26 May 08:03
3011976
Compare
Choose a tag to compare
  • 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

21 Jan 09:28
Compare
Choose a tag to compare

The one with @original support

20 Jan 22:59
Compare
Choose a tag to compare

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

20 Jan 22:45
Compare
Choose a tag to compare

Added support for basic modifiers: @randomString|max:5

The one with the key-value store support

20 Jan 22:12
Compare
Choose a tag to compare

The release with the table specific WHERE and LIMIT

20 Jan 18:42
Compare
Choose a tag to compare

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"
}
...