Skip to content

Releases: marianogappa/sql

1.4.0

25 Oct 20:28
05758b0
Compare
Choose a tag to compare

Summary

Adds support for PostgreSQL while remaining backwards compatible thanks to @jackyzhen!

Changelog

05758b0 Merge pull request #18 from jackyzhen/postgres-support
5bd877a Refactor errors in sql_runner
6e33592 Add test case for multi sql type + refactoring
434d613 Support running on both sql types at once
56c2f08 Make postgres output consistent with mysql
757000a Fix PR comments
7eab526 Change sqlType to string in config + update examples/readme
70ba445 Support postgres via database config


Automated with GoReleaser
Built with go version go1.11 darwin/amd64

1.3.0

24 Sep 21:13
99d526e
Compare
Choose a tag to compare

Changelog

99d526e Merge pull request #17 from marianogappa/adds_tests
746d225 Adds explanatory animated gif
841b4ac Adds sql animated gif.
ca53ac5 Lowercases repo url
219abcc Attempts to fix travis. #16
2d793f4 Attempts to fix travis. #16
ec0e2ec Adds test that reads multiple fields #16
3b05f73 Tests one db, two dbs and "all" keyword for three. #16
2fa4a74 Uses Dockerfile instead of init to leverage caching. #16
dfc94f9 Renames for clarity. #16
2614d1d Moves database struct (read from config) to config.go #16
b4ab887 Removes flag globals (makes them local). Adds flag prefix. #16
c5a49b0 Removes unused global. #16
ee1a956 Tests readQuery. Refactors thread-safe println into struct. #16
7c18efc Separates utils to own file. Tests trimEmpty. #16
fcb2047 Removes clean target from Makefile.
c2f23b8 Adds .DS_Store to .gitignore
d942caf Hardcodes GOARCH
7553445 Removes release targets from Makefile, since using GoReleaser.
e1cc1b6 Adds a minimal working integration test. #16
4fff732 Refactors list-dbs logic.
aaa5268 Merge pull request #15 from aidin36/auto-complete
bba4d76 Adds dist to .gitignore
c1d9544 Fixes exit code of usage fuction.
4f4cd91 Adds Auto completion' section. a387fe7 Adds auto completion scripts. 94cb3b3 Adds list-dbs' argument.


Automated with GoReleaser
Built with go version go1.11 darwin/amd64

1.2.1

12 Sep 05:25
Compare
Choose a tag to compare

Changelog

eba5355 Allows sane syntax: sql all "SELECT * FROM users WHERE name = 'John'" thanks to @aidin36
04262d0 Adds goreleaser


Automated with GoReleaser
Built with go version go1.11 darwin/amd64

1.1.0

27 Jun 08:12
Compare
Choose a tag to compare
  • Fixes stdout print race condition

1.0.2

26 Feb 06:49
Compare
Choose a tag to compare
  • follows XDG spec
  • adds -h --help
  • addresses #2, #4 & #5

1.0.1

03 Oct 09:01
Compare
Choose a tag to compare

Relays errors properly

1.0.0

17 Sep 09:22
Compare
Choose a tag to compare
Adds usage function.