Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 14cb7a5

Browse files
authored
Merge pull request #176 from mtxr/release_v0.9.8
Release v0.9.8
2 parents ae86d93 + d4c2e5f commit 14cb7a5

File tree

6 files changed

+77
-52
lines changed

6 files changed

+77
-52
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 0.9.7
2+
current_version = 0.9.8
33
files = SQLTools.py
44
tag = True
55
commit = True

README.md

Lines changed: 31 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
1-
![SQLTools v0.5.4](https://github.com/mtxr/SQLTools/raw/images/icon.png?raw=true) SQLTools
1+
![SQLTools](https://github.com/mtxr/SQLTools/raw/images/icon.png?raw=true) SQLTools
22
===============
33

4-
<span class="badge-paypal"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RSMB6DGK238V8" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span>
5-
64
Your swiss knife SQL for Sublime Text.
75

8-
> If you are looking for VSCode version go to [https://github.com/mtxr/vscode-sqltools](https://github.com/mtxr/vscode-sqltools).
9-
10-
Write your SQL with smart completions and hady table and function definitions, execute SQL and explain queries, format your queries and save them in history.
6+
Write your SQL with smart completions and handy table and function definitions, execute SQL and explain queries, format your queries and save them in history.
117

128
Project website: [http://mtxr.github.io/SQLTools/](http://mtxr.github.io/SQLTools/)
139

10+
> If you are looking for VSCode version go to [https://github.com/mtxr/vscode-sqltools](https://github.com/mtxr/vscode-sqltools).
11+
1412
## Donate
1513

1614
SQLTools was developed with ♥ to save us time during our programming journey. But It also takes me time and efforts to develop SQLTools.
@@ -19,49 +17,40 @@ SQLTools will save you (for sure) a lot of time and help you to increase your pr
1917

2018
<span class="badge-paypal"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=RSMB6DGK238V8" title="Donate to this project using Paypal"><img src="https://img.shields.io/badge/paypal-donate-yellow.svg" alt="PayPal donate button" /></a></span>
2119

22-
23-
24-
## Contributors
25-
26-
These fellows helped SQLTools become better than ever. Thank you so much!
27-
28-
* [@tkopets](https://github.com/tkopets)
29-
* [@gabrielebarbieri](https://github.com/gabrielebarbieri)
30-
3120
## Features
3221

33-
* Smart auto completions (for PostgreSQL, MySQL, Oracle, MSSQL, Vertica, Firebird)
34-
* Run SQL Queries (<kbd>CTRL+e</kbd>, <kbd>CTRL+e</kbd>)
35-
![Auto complete (PostgreSQL & MySQL) && Run SQL Queries](https://github.com/mtxr/SQLTools/raw/images/execute_auto_complete.gif?raw=true)
36-
* View table schemas (<kbd>CTRL+e</kbd>, <kbd>CTRL+d</kbd>)
22+
* Works with PostgreSQL, MySQL, Oracle, MSSQL, SQLite, Vertica, Firebird
23+
* Smart completions (except SQLite)
24+
* Run SQL Queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+e</kbd>
25+
![Auto complete and run SQL queries](https://github.com/mtxr/SQLTools/raw/images/execute_auto_complete.gif?raw=true)
26+
* View table description &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+d</kbd>
3727
![View table schemas](https://github.com/mtxr/SQLTools/raw/images/table_description.gif?raw=true)
38-
* View Queries history (<kbd>CTRL+e</kbd>, <kbd>CTRL+h</kbd>)
39-
* Show table records (<kbd>CTRL+e</kbd>, <kbd>CTRL+s</kbd>)
28+
* Show table records &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+s</kbd>
4029
![Show table records](https://github.com/mtxr/SQLTools/raw/images/table_records.gif?raw=true)
41-
* Show explain plan for queries (PostgreSQL, MySQL, Oracle, Vertica, SQLite) (<kbd>CTRL+e</kbd>, <kbd>CTRL+x</kbd>)
42-
* Formatting SQL Queries (<kbd>CTRL+e</kbd>, <kbd>CTRL+b</kbd>)
30+
* Show explain plan for queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+x</kbd>
31+
* Formatting SQL Queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+b</kbd>
4332
![Formatting SQL Queries](https://github.com/mtxr/SQLTools/raw/images/format_sql.gif?raw=true)
44-
* Threading Support (prevent ST lockups)
45-
* Query timeout (Kill thread if query takes too long)
46-
* Unescape chars for languages (PHP \" is replace by ")
47-
* Save queries (<kbd>CTRL+e</kbd>, <kbd>CTRL+q</kbd>)
48-
* List and Run saved queries (<kbd>CTRL+e</kbd>, <kbd>CTRL+a</kbd>)
49-
* Remove saved queries (<kbd>CTRL+e</kbd>, <kbd>CTRL+r</kbd>)
33+
* View Queries history &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+h</kbd>
34+
* Save queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+q</kbd>
35+
* List and Run saved queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+l</kbd>
36+
* Remove saved queries &nbsp; <kbd>CTRL+e</kbd>, <kbd>CTRL+r</kbd>
37+
* Threading support to prevent lockups
38+
* Query timeout (kill thread if query takes too long)
5039

5140
## Installing
5241

5342
### Using Sublime Package Control
5443

55-
If you are using [Sublime Package Control](http://wbond.net/sublime_packages/package_control), you can easily install SQLTools via the `Package Control: Install Package` menu item.
44+
If you are using [Sublime Package Control](https://packagecontrol.io/packages/SQLTools), you can easily install SQLTools via the `Package Control: Install Package` menu item.
5645

57-
1. Press `CTRL+SHIFT+p`
58-
2. Type *"Install Package"*
59-
3. Find SQLTools
46+
1. Press <kbd>CTRL+SHIFT+p</kbd>
47+
2. Type *`Install Package`*
48+
3. Find *`SQLTools`*
6049
4. Wait & Done!
6150

6251
### Download Manually
6352

64-
I strongly recomend you to use Package Control. It helps you to keep the package updated with the last version.
53+
I strongly recommend you to use Package Control. It helps you to keep the package updated with the last version.
6554

6655
1. Download the files zip file [here](http://mtxr.github.io/SQLTools/)
6756
2. Unzip the files and rename the folder to `SQLTools`
@@ -70,7 +59,14 @@ I strongly recomend you to use Package Control. It helps you to keep the package
7059

7160
### Using SQLTools with Mac OS X
7261

73-
Sublime Text has it's evironment variable `PATH` set from launchctl, not by your shell. Binaries installed by packages such as homebrew, for instance `psql` DB CLI for `PostgreSQL`, cannot be found by Sublime Text and results in error in Sublime Text console by `SQLTools`. Installing the package `Fix Mac Path` or setting the full path to your DB CLI binary in `SQLTools.sublime-settings` resolves this issue. Package can be downloaded via [PackageControl](https://packagecontrol.io/packages/Fix%20Mac%20Path) or [github](https://github.com/int3h/SublimeFixMacPath).
62+
Sublime Text has it's environment variable `PATH` set from launchctl, not by your shell. Binaries installed by packages such as homebrew, for instance `psql` DB CLI for `PostgreSQL`, cannot be found by Sublime Text and results in error in Sublime Text console by `SQLTools`. Installing the package `Fix Mac Path` or setting the full path to your DB CLI binary in `SQLTools.sublime-settings` resolves this issue. Package can be downloaded via [PackageControl](https://packagecontrol.io/packages/Fix%20Mac%20Path) or [github](https://github.com/int3h/SublimeFixMacPath).
63+
64+
## Contributors
65+
66+
These fellows helped SQLTools to become better than ever. Thank you so much!
67+
68+
* [@tkopets](https://github.com/tkopets)
69+
* [@gabrielebarbieri](https://github.com/gabrielebarbieri)
7470

7571
## Configuration
7672

SQLTools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "v0.9.7"
1+
__version__ = "v0.9.8"
22

33
import sys
44
import os

messages.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
"0.9.4": "messages/v0.9.4.md",
1313
"0.9.5": "messages/v0.9.5.md",
1414
"0.9.6": "messages/v0.9.6.md",
15-
"0.9.7": "messages/v0.9.7.md"
15+
"0.9.7": "messages/v0.9.7.md",
16+
"0.9.8": "messages/v0.9.8.md"
1617
}

messages/install.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33

44
Your swiss knife SQL for Sublime Text.
55

6-
Write your SQL with smart completions and hady table and function definitions, execute SQL and explain queries, format your queries and save them in history.
6+
Write your SQL with smart completions and handy table and function definitions, execute SQL and explain queries, format your queries and save them in history.
77

88
Project website: http://mtxr.github.io/SQLTools/
99

1010
## Features
1111

12-
* Smart auto completions (for PostgreSQL, MySQL, Oracle, MSSQL, Vertica, Firebird)
13-
* Run SQL Queries (`CTRL+e, CTRL+e`)
14-
* View table schemas (`CTRL+e, CTRL+d`)
15-
* View Queries history (`CTRL+e, CTRL+h`)
16-
* Show table records (`CTRL+e, CTRL+s`)
17-
* Show explain plan for queries (PostgreSQL, MySQL, Oracle, Vertica, SQLite) (`CTRL+e, CTRL+x`)
18-
* Formatting SQL Queries (`CTRL+e, CTRL+b`)
19-
* Threading Support (prevent ST lockups)
20-
* Query timeout (Kill thread if query takes too long)
21-
* Unescape chars for languages (PHP \" is replaced by ")
22-
* Save queries (`CTRL+e, CTRL+q`)
23-
* List and Run saved queries (`CTRL+e, CTRL+a`)
24-
* Remove saved queries (`CTRL+e, CTRL+r`)
12+
* Works with PostgreSQL, MySQL, Oracle, MSSQL, SQLite, Vertica, Firebird
13+
* Smart completions (except SQLite)
14+
* Run SQL Queries `CTRL+e, CTRL+e`
15+
* View table description `CTRL+e, CTRL+d`
16+
* Show table records `CTRL+e, CTRL+s`
17+
* Show explain plan for queries `CTRL+e, CTRL+x`
18+
* Formatting SQL Queries `CTRL+e, CTRL+b`
19+
* View Queries history `CTRL+e, CTRL+h`
20+
* Save queries `CTRL+e, CTRL+q`
21+
* List and Run saved queries `CTRL+e, CTRL+l`
22+
* Remove saved queries `CTRL+e, CTRL+r`
23+
* Threading support to prevent lockups
24+
* Query timeout (kill thread if query takes too long)
2525

2626
## Configuration
2727

messages/v0.9.8.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
## v0.9.8 Notes
2+
3+
### Improvements
4+
5+
* Add MSSQL support via native `sqlcmd` CLI
6+
* Add more options for expanding the empty selection. Instead of config option `expand_to_paragraph`, introduce new option called `expand_to`, which can be configured to expand empty selection to: `line`, `paragraph` or `file`
7+
* General review/improvement of each DB config
8+
* Use the `encoding` option supplied in connection settings when writing to standard input and reading from standard output of CLI command
9+
* Changes how top level and per-query `options` apply to CLI invocations
10+
* Changes how `before` and `after` applied (top level and per-query)
11+
* Introduction of new `execute` named query section which is used when executing statements with `ST: Execute` and friends
12+
* Now all named query formatting is done via `str.format()`, therefore all instances of `%s` in template strings got replaced with `{0}`, with back-patch support (i.e. `%s` should still work for those users who have it on their own user config)
13+
* Improve the way the output is shown - the output panel is not shown until the first output from DB CLI arrives
14+
* Add sample connections for `Vertica` and `Firebird`
15+
* [PostgreSQL] Connection options `host`, `port`, `username` are now optional (can be set via environment vars and other means)
16+
* [MySQL] Add configurable connection option `default-character-set`
17+
* [MySQL] Add `--no-auto-rehash` and `--compress` to improve MySQL startup time and improve latency on slow networks
18+
* [MySQL] Connection options `host`, `port`, `username` are now optional (can be set via `--defaults-extra-file` and `--login-path`)
19+
* [MySQL] Supply password via environment variable `MYSQL_PWD` to avoid security warning
20+
* [Oracle] Add ability to configure `NSL_LANG` to match the server encoding
21+
* [Oracle] Add support for quoted table and column names
22+
* [Oracle] Add support for functions & procedures completions as well as getting and functions & procedures definitions (both top level and those in packages)
23+
* [Vertica] Add support for quoted identifiers
24+
* Other minor improvements
25+
26+
### Fixes
27+
28+
* Remove unused settings option `unescape_quotes` from config

0 commit comments

Comments
 (0)