Skip to content

Releases: gggeek/db-3v4l

0.7.1

08 Dec 08:38
Compare
Choose a tag to compare
  • Fixed: docker-compose build had been broken in 0.7

  • Improved: better startup of the containers after changing the values in docker/containers.env.local

  • Improved: the web app and cli console now use by default the Symfony 'prod' configuration

0.7.0

06 Dec 23:47
Compare
Choose a tag to compare
  • New: allow to run sql snippets against existing databases (within the predefined db servers).
    This allows scenarios where data is persisted between execution of different queries

  • New: added a basic web interface. For the moment, all it does is display some documentation and the list of databases

  • New: added a shell script to simplify interaction with docker and docker-compose: ./bin/stack.sh

  • Fixed: the app would not be set up automatically on 1st run of the container (introduced in 0.4)

  • Improved: the bundled Adminer now comes with a pre-filled list of databases

  • Improved: moved application to Symfony 4.4.1; upgraded phpmyadmin/sql-parser to 5.1.0

  • Improved: the shell environment inside the worker container has some useful command aliases such as ll and console; the starting directory when opening a shell in the container has been changed to be ~/app

0.6.0

28 Nov 23:52
Compare
Choose a tag to compare
  • New: added SQLite 3.27

  • Fixed: the number of total failures was not computed correctly when executing SQL if the failure was in the creation of the temporary database

  • Improved: sort database names when listing them (except for MySQL and MariaDB)

0.5.0

25 Nov 12:44
Compare
Choose a tag to compare
  • New: added Microsoft SQL Server 2017 and 2019

  • New: added the possibility to run sql commands against a subset of all available databases

  • New: when running db3v4l:sql:execute --file, it is now possible to use placeholder tokens in the path/name of the sql file to execute. This allows to run a different set of commands based on the database type.
    Accepted tokens are at the moment {dbtype} and {instancename} (including the curly braces)

  • Fixed: allow possibility of settings custom configs for the new PostgreSQL versions added in release 0.4

0.4.0

23 Nov 11:13
Compare
Choose a tag to compare
  • New: added PostgreSQL 12.1 and MariaDB 10.4. Updated PostgreSQL 10 and 11 to the latest release

  • New: added four new commands to manage users and schemas across all existing databases: db3v4l:database:create, db3v4l:database:drop, db3v4l:database:list and db3v4l:user:list.
    These should make it easy to run test queries within persistent (ie. non temporary) databases

  • New: added a top-level folder to be used for sharing data between the host computer and the cli/web containers: './shared'

  • New: added phpmyadmin/sql-parser as dependency, to allow linting of sql snippets

  • Fixed: removed one warning from ./bin/cleanup-logs.sh -d in corner cases

  • Changed: renamed command db3v4l:database:list to db3v4l:instance:list

  • Changed: docker configuration: the default user account is now named 'db3v4l' and not 'user' any more; the app is mounted in $HOME/app instead of $HOME/db3v4l

  • Changed: the web and cli containers are now based on Debian 10 Buster. This includes a move from PHP 7.0 to 7.3, as well as only having the mariadb client for mysql available by default as cli tool

  • Improved: updated all the app dependencies, including Symfony, to their latest version

  • Improved: upgraded the bundled Adminer version to 4.7.5

  • Improved: keep on the host computer the composer cache, to speed up rebuilds

0.3.1

22 Apr 22:26
Compare
Choose a tag to compare

Fixed: temporary db schemas would not be dropped, at least for mariadb/mysql databases

0.3

22 Apr 22:25
Compare
Choose a tag to compare
0.3
  • Improved: add confirmation question to the cli command which deletes all database data

  • Improved the sql:execute command:

    • measure time and memory taken for each db
    • allow to print output in json/yaml/php format
    • allow to execute sql commands stored in a file besides specifying them as cli option
    • all sql commands are now executed in a temporary db schema, by a corresponding temp. db user, instead of being executed with the database 'root' account

0.2

14 Apr 12:05
Compare
Choose a tag to compare
0.2
  • Fixed: sql commands executed against mariadb would be reported as failed
  • Fixed: auth problems with mysql 8.0

Initial release

09 Apr 12:44
Compare
Choose a tag to compare

A preview release more than anything else.

What works:

  • all current versions of MariaDB, MySQL and PostgreSQL are installed and available (MySQL 8.0 has a config problem with login auth though)
  • a cli script is available that runs a SQL snippet against all databases

What does not work:

  • everything else