Skip to content

Releases: BenMorel/smartdump

0.2.0

23 Nov 13:03
Compare
Choose a tag to compare

New features

  • Only a subset of the target tables can now be dumped, adding conditions after the table name:
    smartdump "db.table:LIMIT 100"
    

💥 Breaking changes

Note: these changes only affect the PHP API, not the CLI API.

  • DumpOptions is now Configuration\DumpConfiguration
  • DumpConfiguration now has an extra required $targetTables property
  • Dumper::dump() now takes a single argument, the DumpConfiguration

0.1.2

23 Nov 09:42
Compare
Choose a tag to compare

New features

  • --merge creates a dump that can be merged into an existing schema, removing CREATE TABLE statements and using upserts instead of inserts.

0.1.1

22 Nov 20:39
Compare
Choose a tag to compare

🐛 Bug fixes

  • The smartdump executable was missing from vendor/bin
  • Fixed compatibility with PHP 8.0

Improvements

  • Psalm is now a dev dependency

0.1.0

21 Nov 22:30
273555a
Compare
Choose a tag to compare

First beta release!