Repository navigation
v0.1.7
Fixed
- A Postgres server behind an SSH tunnel can be dumped with
sslmode=verify-full. Ahostaddr,
given as its own key or after the name inhost(db.example.com;hostaddr=127.0.0.1, the form
PDO accepts and laranail/db-console writes for a tunnelled server), reaches libpq as
PGHOSTADDR.pg_dump,pg_restoreandpsqldial the forward and still verify the
certificate against the real name. Before,--hostgot the whole string and the dump failed. - MySQL backups and restores use Laravel's
unix_socket. The drivers read onlysocket, and
even then passed it beside--host, so the client connected over TCP. A socket now means
--protocol=SOCKET --socket=…, ignoring host and port as PDO does. - A MySQL connection described by its socket alone can be backed up. The config check still
requiredhost, so a socket-only connection was refused before the socket was used. A socket now
stands in forhost;username,passwordanddatabaseare still required.
Changed
- Tests: the suite left 47 empty files in the system temp directory on every run.
tempnam()
creates the file it names, and tests appended a suffix to its result and cleaned up only the
suffixed path. They now take paths fromTestCase::uniqueTempPath(), the WAL test removes its
-wal/-shmsidecars, andTempFilesAreCleanedTestrejects the pattern.
What's Changed
- Stop the test suite leaking temp files by @imanimanyara in #66
- Dump tunnelled Postgres and socket MySQL servers as PDO reaches them by @imanimanyara in #67
- Back up a MySQL connection described by its socket alone by @imanimanyara in #68
- Release 0.1.7 by @imanimanyara in #69
Full Changelog: v0.1.6...v0.1.7