Skip to content

Commit 60e8e2c

Browse files
committed
v4.2.0
1 parent e336089 commit 60e8e2c

12 files changed

Lines changed: 72 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Changelog
22

3+
## 4.2.0
4+
5+
### April 6, 2020
6+
7+
#### Features
8+
9+
- Add Google BigQuery support [documentation](https://rickbergfalk.github.io/sqlpad/#/connections?id=bigquery)
10+
11+
- Add SQLite support [documentation](https://rickbergfalk.github.io/sqlpad/#/connections?id=sqlite)
12+
13+
- Adds batch query support to ODBC (last statement is shown in UI)
14+
15+
- Auth: Add option to disable authentication. [documentation](https://rickbergfalk.github.io/sqlpad/#/authentication?id=no-authentication)
16+
17+
When auth is disabled, application no longer requires authentication.
18+
19+
- Auth: Add proxy authentication support. [documentation](https://rickbergfalk.github.io/sqlpad/#/authentication?id=auth-proxy)
20+
21+
- Add private/shared query model.
22+
23+
Going forward queries are _private_ by default. When sharing is enabled, query is shared with all users (and they are given write permissions). Finer-grained access to be added in the future (share with specific user, read vs write)
24+
25+
- Add connection and query seed data support [documentation](https://rickbergfalk.github.io/sqlpad/#/seed-data)
26+
27+
- Add service tokens (api tokens). New menu option is available when logged in as admin.
28+
29+
- Add application header for application-level administration
30+
31+
- Adds multi-statement transaction support for Postgres, SQLite, and ODBC. [documentation](https://rickbergfalk.github.io/sqlpad/#/connections?id=multi-statement-transaction-support)
32+
33+
- Add config deprecation for following keys: `debug`, `tableChartLinksRequireAuth`, `keyPath`, `certPath`, `certPassphrase`
34+
35+
- Add connection template support [documentation](https://rickbergfalk.github.io/sqlpad/#/connection-templates)
36+
37+
- Adds additional query run logging for queries executed and details surrounding them (logged under `info` level)
38+
39+
#### Fixes
40+
41+
- Fix: long connection form display to always show save/test buttons
42+
43+
- Use ISO 8601 timestamps for log messages instead of unix epoch
44+
45+
#### Maintenance / Misc / Dev updates
46+
47+
- Updated dependencies
48+
- Introduced SQLite as backing store. nedb data (embedded db currently in use) will eventually be migrated to SQLite.
49+
- Added migration framework. Migrations are run at server startup.
50+
- Added mult-stage build
51+
- Lots of refactoring to better organize authentication, addition of new features.
52+
353
## 4.1.1
454

555
### March 10, 2020

client/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sqlpad-front-end",
3-
"version": "4.1.1",
3+
"version": "4.2.0",
44
"private": true,
55
"proxy": "http://localhost:3010",
66
"dependencies": {

docs/_sidebar.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
- [Connections](/connections.md)
55
- [Authentication](/authentication.md)
66
- [Seed Data](/seed-data.md)
7+
- [Connection Templates](/connection-templates.md)
78
- [Logging](/logging.md)
89
- Release Notes
910
- [Version 3](/version-3.md)

docs/authentication.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ Local authentication can be disabled by setting `disableUserpassAuth` to `true`.
1616

1717
## No Authentication
1818

19-
!> This is under development and available in `latest` or future 4.2 release
19+
?> Available as of `4.2.0`
2020

2121
SQLPad can be configured to run without any configuration at all. This can be enabled by setting `disableAuth` to `true`.
2222

2323
## Auth Proxy
2424

25-
!> This is under development and available in `latest` or future 4.2 release
25+
?> Available as of `4.2.0`
2626

2727
!> When using this feature be sure to restrict access to SQLPad by listening to a restricted IP using `ip`/`SQLPAD_IP` configuration or other method
2828

docs/configuration.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ node server.js --config ~/sqlpad.ini
1111

1212
For INI and JSON config file examples, see [config-example.ini](https://github.com/rickbergfalk/sqlpad/blob/master/config-example.ini) and [config-example.json](https://github.com/rickbergfalk/sqlpad/blob/master/config-example.json) in GitHub repository.
1313

14-
!> For examples below, **key** refers to key in INI/JSON file. **Env** for environment variable.
14+
?> For examples below, **key** refers to key in INI/JSON file. **Env** for environment variable.
1515

1616
## admin
1717

@@ -44,13 +44,17 @@ Path to mount sqlpad app following domain. Example, if '/sqlpad' is provided que
4444

4545
## certPassphrase
4646

47+
!> Deprecated. To be removed in v6. [Use reverse proxy](https://github.com/goldbergyoni/nodebestpractices/blob/master/sections/production/delegatetoproxy.md)
48+
4749
Passphrase for your SSL certification file
4850

4951
- Key: `certPassphrase`
5052
- Env: `CERT_PASSPHRASE`
5153

5254
## certPath
5355

56+
!> Deprecated. To be removed in v6. [Use reverse proxy](https://github.com/goldbergyoni/nodebestpractices/blob/master/sections/production/delegatetoproxy.md)
57+
5458
Absolute path to where SSL certificate is stored
5559

5660
- Key: `certPath`
@@ -88,6 +92,8 @@ If enabled, runs embedded database `nedb` in memory. `dbPath` is still required
8892

8993
## debug
9094

95+
!> Deprecated. To be removed in v5. Set app and/or web log level to `debug` instead.
96+
9197
Add a variety of logging to console while running SQLPad
9298

9399
- Key: `debug`
@@ -146,6 +152,8 @@ IP address to bind to. By default SQLPad will listen from all available addresse
146152

147153
## keyPath
148154

155+
!> Deprecated. To be removed in v6. [Use reverse proxy](https://github.com/goldbergyoni/nodebestpractices/blob/master/sections/production/delegatetoproxy.md)
156+
149157
Absolute path to where SSL certificate key is stored
150158

151159
- Key: `keyPath`
@@ -291,6 +299,8 @@ Acquire socket from systemd if available
291299

292300
## tableChartLinksRequireAuth
293301

302+
!> Deprecated. To be removed in v5. Use reverse-proxy and alternative auth mechanism such as auth-proxy to authenticate user passively instead (or open GitHub issue requesting per-query public sharing links feature).
303+
294304
When false, table and chart result links will be operational without login.
295305

296306
- Key: `tableChartLinksRequireAuth`

docs/connections.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Admins can create connections in the UI, but connections can also be created in
88

99
## Multi-Statement Transaction Support
1010

11-
!> This feature is under-development, and only available in `latest` or future `4.2+` release
11+
?> Available as of `4.2.0`
1212

1313
Multi-statement transaction support adds the ability for a user to use the same underlying connection across query executions. This allows things like opening a transaction, running queries, and rolling the transaction back or comitting the transaction across query runs. It also opens up the ability to create and use temp tables that are generally scoped per connection session.
1414

docs/seed-data.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
!> **EXPERIMENTAL This feature may continue to change before being finalized. Use at your own risk**
44

5-
?> Version added: latest (in development)
5+
?> Available as of `4.2.0`
66

77
Data may be seeded to a SQLPad instance via JSON files on the file system. At this time only query and connection data may be seeded.
88

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sqlpad-project",
3-
"version": "4.1.1",
3+
"version": "4.2.0",
44
"private": true,
55
"devDependencies": {
66
"husky": "^4.2.3",

0 commit comments

Comments
 (0)