Releases: xo/usql
usql v0.7.5
No substantial feature updates from previous v0.7.x builds; maintenance release, primarily updating third-party package dependencies.
usql v0.7.1
Point release, updates database dependencies, and fixes some minor issues.
usql v0.7.0
Release v0.7.0 fixes issues with syntax highlighting, initial support for Cassandra databases via CQL, and general code cleanup. The major changes:
- Cassandra (CQL) support
- Syntax highlighting fixes
- Added
-v/--setcommand line parameter (compatibility withpsql) - Added "batch query" support for databases (
ql+cql) - Fixed issues with query prefix detection / parsing
- Switched from
deptovgofor dependency management
To install using the binary release:
- Download the archive (
.zipor.bz2) for your platform (Windows, OSX, Linux) - Extract
usqlfrom the downloaded archive and place somewhere in$PATH
To install on OSX via Homebrew:
# add tap
$ brew tap xo/xo
# install usql with "most" drivers
$ brew install usql
# install usql with oracle and odbc support
$ brew install --with-oracle --with-odbc usqlusql v0.6.0
Release v0.6.0 has some minor feature additions (syntax highlighting), and general code cleanup. A list of the major changes:
- Syntax highlighting
- Better compatibility with
psqlcommands - Homebrew support
To install on OSX via Homebrew:
# add tap
$ brew tap xo/xo
# install usql with "most" drivers
$ brew install usql
# install usql with oracle and odbc support
$ brew install --with-oracle --with-odbc usqlusql v0.5.0
Compatibility fixes! Now almost equal to psql for the major features (variables, passwords, etc), and some major code organization/documentation overhauls. Included in this release:
- Variables working
- Parameters to backslash commands now correctly evaluated
- Added
\passwordcommand (for PostgreSQL, MySQL, Oracle, and SQL Server drivers) - Added
\set,\unset,\promptcommands for working with variables - Fixed
\gsetand\gexeccommands - Fixed
\!command - Added
-1/--single-transactioncommand line option - Added
\begin,\commitand\rollbackcommands for working with transactions - Fixed logic for
~in paths - Added support for a
.usqlpassfile, similar to PostgreSQL's.pgpass. Please seecontrib/usqlpassfor example file - Various code and documentation cleanup
- Minor logic/bug fixes for command execution
Plus more. Stay tuned for more -- Google Spanner is coming Very Soon™
usql v0.4.0
Significant updates to meta command handling, including improved help / support as well as a massive retooling of how drivers are built/supported.
.usqlrcsupport- Now prompts for a password on connect, as well as
psqlcompatible-wand-Wcli options \iand\irand their\includeand\include_relativevariant meta commands have been fixed- Better meta command help
- Issues with database URLs fixed
- Output issues on Windows fixed
- Standardized/better driver error messages
- Additional
psqlcompatibility command line options, meta commands - Drivers can now be included using
go build -tags <driver>or, alternatively, excluded usinggo build -tags no_<driver> - Additional build tags
allandmostadded (mostis same as all, but excludes thecgodriversodbcandoracle)
usql v0.3.0
Another general release, adding:
- Support for more databases (
mymymsql,pgx, others) - New meta command
\connect_dsnto directly type a DSN - Other meta commands
- Proper handling of file paths for Unix domain sockets for
postgresandmysqldrivers
Plus much much more!
usql v0.2.0
Included in this release:
- Full overhaul of input handling; now better and more accurate, and almost identical to
psql - Fixed various windows issues
- Added ADODB support for Windows
- Significant addition of various
psqlbackslash (\) meta commands (not yet documented)
usql v0.1.1
Minor point release, fixing issues with Windows and readline.
usql v0.1.0
This is a an initial proof of concept, working example of usql.
While usql is not yet stable or ready for production use, this release is being made available for testing purposes.