All notable changes to db-dumper
will be documented in this file
Full Changelog: https://github.com/spatie/db-dumper/compare/3.7.0...3.7.1
- Bump dependabot/fetch-metadata from 2.0.0 to 2.1.0 by @dependabot in #209
- Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 by @dependabot in #211
- Update MySql.php by @diadal in #213
- @diadal made their first contribution in #213
Full Changelog: https://github.com/spatie/db-dumper/compare/3.6.0...3.7.0
- Bump dependabot/fetch-metadata from 1.6.0 to 2.0.0 by @dependabot in #205
- add doNotDumpData() for MySQL and Postgres by @jbraband in #208
- @jbraband made their first contribution in #208
Full Changelog: https://github.com/spatie/db-dumper/compare/3.5.0...3.6.0
- feat: 🎉 Add Feature to Skip AUTO_INCREMENT Values in MySQL Dumps by @jhonymiler in #207
- @jhonymiler made their first contribution in #207
Full Changelog: https://github.com/spatie/db-dumper/compare/3.4.3...3.5.0
- Allow set dump binary path with empty value by @mokhosh in #206
- @mokhosh made their first contribution in #206
Full Changelog: https://github.com/spatie/db-dumper/compare/3.4.2...3.4.3
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #201
- Bump actions/checkout from 3 to 4 by @dependabot in #200
- [3.x] Ensure port is a string when creating credentials file for Postgres by @RVxLab in #203
- @RVxLab made their first contribution in #203
Full Changelog: https://github.com/spatie/db-dumper/compare/3.4.1...3.4.2
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #198
- Allow symfony/process 7.x by @thecaliskan in #202
- @thecaliskan made their first contribution in #202
Full Changelog: https://github.com/spatie/db-dumper/compare/3.4.0...3.4.1
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #194
- Add support for database URLs by @mikerockett in #196
- @mikerockett made their first contribution in #196
Full Changelog: https://github.com/spatie/db-dumper/compare/3.3.1...3.4.0
- PHP 8.2 Build by @erikn69 in #180
- Add Dependabot Automation by @patinthehat in #182
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #186
- Convert all tests to Pest by @alexmanase in #188
- Bump actions/checkout from 2 to 3 by @dependabot in #183
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #191
- Update command to use doublequotes for username by @applyACS in #192
- @dependabot made their first contribution in #186
- @alexmanase made their first contribution in #188
- @applyACS made their first contribution in #192
Full Changelog: https://github.com/spatie/db-dumper/compare/3.3.0...3.3.1
- Docs: typo in README.md in column_statics by @Ayoub-Mabrouk in #175
- add excludeTables support for sqlite by @ariaieboy in #177
- @Ayoub-Mabrouk made their first contribution in #175
- @ariaieboy made their first contribution in #177
Full Changelog: https://github.com/spatie/db-dumper/compare/3.2.1...3.3.0
- Update .gitattributes by @angeljqv in #167
- Fix: Replaced single quotes in mongodb dump command in windows env by @malconvsilva in #172
Full Changelog: https://github.com/spatie/db-dumper/compare/3.2.0...3.2.1
- Update .gitattributes by @PaolaRuby in #166
- Improve error output for failed dumps
- @PaolaRuby made their first contribution in #166
Full Changelog: https://github.com/spatie/db-dumper/compare/3.1.2...3.2.0
- Escape special characters in PostgreSQL credential entries by @superDuperCyberTechno in #162
- @superDuperCyberTechno made their first contribution in #162
Full Changelog: https://github.com/spatie/db-dumper/compare/3.1.1...3.1.2
- Fixes for vendor by @erikn69 in #159
- Allow symfony v6 by @Nielsvanpach
- @erikn69 made their first contribution in #159
Full Changelog: https://github.com/spatie/db-dumper/compare/3.1.0...3.1.1
- Add
includeTables
support for Sqlite
Full Changelog: https://github.com/spatie/db-dumper/compare/3.0.1...3.1.0
- remove type declaration that causes errors (#151)
- require PHP 8+
- drop all PHP 7.x support
- use PHP 8 syntax
- add
Bzip2Compressor
to allow use of the bzip2 compression utility
- fix attempt to generate dump over http connection when using socket (#145)
- fix: make the process more extensible, avoid touching anything (#141)
- revert changes in 2.19.0
- fix: add some public functions that allow extensibility (#139)
- support PHP 8
- add
doNotUseColumnStatistics
- fix using gzip compression on windows (#130)
- allow for adding options after the db name (#129)
- Fix incomplete credential guard (#126)
- Fix sqlite3 dump on Windows
- allow symfony 5 components
- add
doNotCreateTables
to Postgres driver (#116)
- fix memory leak (issue #109)
- Determine quotes for windows for MongoDB and PostgreSql dumps (#107)
- wrap the dump command in an
if
statement when using compression (#100) - drop support for PHP 7.2 and lower
- add --skip-lock-tables and --quick option (#95)
- fix process warnings
- remove pipefail operator when compressing dump
- add ability to specify all databases as MySQL option
- add
doNotCreateTables
- add
useExtension
- add
Compressor
- allow destination paths to have a space character
- add support for compressing dumps
- add support for setting
--set-gtid-purged
- add support for Symfony 4
- fix SQLite dump
- add
setAuthenticationDatabase
- fix for dumping a MongoDB without username or password
- allow empty passwords for MongoDB dumps
- make
--databases
optional
- made option passing more flexible by adding
--databases
option to the MySQL dumper
MongoDb
dumps won't be compressed by default anymore- add
enableCompression
onMongoDb
- fix sqlite dumper
- add support for MongoDB
- prefix excluded tables with database name when dumping a MySql db
- add
--default-character-set
option for MySql - improve the preservation of the used charset when dumping a MySql db
- fix bug where custom binary path with spaces on linux would not process correctly
- add
skipComments
- add support for SQLite
- made a change so the package can be used on Windows
- added
getHost
- fix for dump paths with spaces
- refactored all classes
- added the ability to add artribrary options
- Removed -d flag from pg_dump for compability with pgsql 7.3+
- Added
includeTables
andexcludeTables
- Added --single-transaction option to Mysql dump command
- Added the ability to use insert when dumping a PostgreSQL db
- Added more details about a dump failure in the error message
- Fixed an issue where paths containing spaces would cause problems
- Added an option to set a timeout
- Fixed PostgreSQL dump
- Added support for PostgreSQL
- Lowered PHP and symfony requirements
- Fixed a bug when the backup has failed.
- Added missing abstract
getDbName
-method
- Added missing abstract
dumpToFile
-method
- Fixed typo in
checkIfDumpWasSuccessFul
-method name - Fixed bug running Process
- Initial release