Skip to content

v0.1.7

Choose a tag to compare

@github-actions github-actions released this 18 Oct 00:59
· 17 commits to main since this release
2b60712

Fixed

  • A Postgres server behind an SSH tunnel can be dumped with sslmode=verify-full. A hostaddr,
    given as its own key or after the name in host (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_restore and psql dial the forward and still verify the
    certificate against the real name. Before, --host got the whole string and the dump failed.
  • MySQL backups and restores use Laravel's unix_socket. The drivers read only socket, 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
    required host, so a socket-only connection was refused before the socket was used. A socket now
    stands in for host; username, password and database are 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 from TestCase::uniqueTempPath(), the WAL test removes its
    -wal/-shm sidecars, and TempFilesAreCleanedTest rejects the pattern.

What's Changed

Full Changelog: v0.1.6...v0.1.7