Skip to content

Releases: xo/usql

usql v0.11.0

11 Jul 00:44
Compare
Choose a tag to compare

General point release:

  • Adding support for Alibaba Tablestore database
  • Use correct type for ndistinct for Postgres \ss
  • Enable autocomplete for \d
  • Disable pager for \watch
  • Fix issues with \raw
  • Fix issue with AWS Athena driver name
  • Fix display issues from tblfmt dependency
  • Updated database dependencies

usql v0.10.0

22 Mar 05:04
Compare
Choose a tag to compare

Fixes hash comments for MySQL, updates to latest database drivers.

usql v0.9.7

15 Mar 01:25
Compare
Choose a tag to compare

Point release; updated database dependencies.

usql v0.9.5

20 Nov 00:57
Compare
Choose a tag to compare

Point release; fixes formatting issues and updates database drivers.

usql v0.9.4

29 Aug 09:06
Compare
Choose a tag to compare

Point release:

  • Adds Exasol database support
  • Adds support for ClickHouse metadata

usql v0.9.3

21 Aug 22:54
Compare
Choose a tag to compare

General updates and enhancements:

  1. Fixes to MySQL and Oracle metadata completion
  2. Reworked \i and \ir commands to work better with large files
  3. The go-ora and godror drivers now share common package
  4. Updated database drivers

usql v0.9.2

08 Jul 00:34
Compare
Choose a tag to compare

Point release:

  • Added additional query recognition for sqlserver and oracle databases
  • Fixed issues with some queries for oracle
  • Updated database drivers
  • General code cleanup

usql v0.9.1

08 May 22:41
Compare
Choose a tag to compare

Point release: bug fixes and fully static builds.

  • Updated all drivers to latest versions
  • Fixed column alignment issues with the mysql driver
  • Fixed logic to prevent panics in certain situations
  • build-release.sh script updated to support fully
  • Converted environment variable TIME_FORMAT to \pset time <format> variable, and fixed formatting issues

usql v0.9.0

29 Apr 12:42
Compare
Choose a tag to compare

New major features:

  • Enabled autocomplete for \ commands (including files for \i, DSNs for \c, fields for \pset) and context-based completion for SELECT, UPDATE, INSERT, DELETE queries and variables
  • Added a \copy command to copy data between different databases (local files are not supported yet)
  • Added a \crosstab command
  • Added a \G exec command that outputs in a vertical format (ala mysql)
  • Added a \watch command
  • PAGER support
  • Added \o and \qecho commands to send output to files or pipe to other system commands
  • Added the optional FILE argument to \g and \gx to send their output to a file or pipe to other system commands; the commands also support passing formatting options
  • Support the unaligned, tuples_only, html and asciidoc output formats
  • Context propagation and cancellation (CTRL+C) for in-flight queries

New Database Support:

  • Netezza
  • csvq - supports CSV, TSV, JSON and other flat files

Other fixes/improvements:

  • Added a -G for vertical output (see \G above)
  • Added a -q flag and associated QUIET environment variable to enable quiet output
  • Implement the auto option for the \x command
  • Fixed issues with escaped and other special characters when \set-ting variables
  • The \begin transaction command now supports all of Go's transaction isolation levels, and read-only support
  • \d updated to print relations, foreign keys, and other constraints for tables
  • The \d* commands now provide more information and work better with some databases; they also do a better job of hiding system objects by default
  • \d command support for the Snowflake database
  • Now sets the ROW_COUNT variable for DML queries
  • Fixes table titles

Notes:

  • CONTRIBUTING.md has been updated with details on implementing \d* / autocomplete for other databases

usql v0.8.2

07 Mar 12:04
Compare
Choose a tag to compare

General release with:

  • Bug fixes
  • Native Go driver for Oracle now included by default (previous driver still available as godror)
  • Added support for a number of experimental databases
  • Minor enhancements to table output to better mimic psql
  • Initial \d* and other meta/introspection commands