You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ROAD_TO_WS4SQL.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,17 +6,26 @@ The version in this branch is a work in progress to add features and (unfortunat
6
6
7
7
## Changes
8
8
9
+
### Breaking changes
10
+
11
+
- When running the app, the config files must be specified on the command line, the file paths cannot be used anymore (there). This is described in the "Migration" section below. The file path is in the config file.
12
+
- The only exception is a "simple case" to serve a file path without any config. This can be done with the new `--quick-db` parameter.
13
+
- Hashed passwords in auth config must now be hashed with BCrypt, not SHA256.
14
+
- Plain text passwords are not permitted anymore, in auth config.
15
+
16
+
### Major features
17
+
9
18
- SQLite is embedded via [mattn/go-sqlite3](https://github.com/mattn/go-sqlite3) and CGO. Should be way faster.
10
19
- Support for DuckDB (see below).
11
-
-[**BREAKING CHANGE**] When running the app, the config files must be specified on the command line, the file paths cannot be used anymore (there). This is described in the "Migration" section below. The file path is in the config file.
12
-
- The only exception is a "simple case" to serve a file path without any config. This can be done with the new `--quick-db` parameter.
13
-
-[**BREAKING CHANGE**] Hashed passwords in auth config must now be hashed with BCrypt, not SHA256.
14
-
- Fail fast if the request is empty, don't even attempt to authenticate.
15
20
- Target platforms (because of CGO) are now 4 (`win/amd64`, `macos/arm64`, `linux/amd64`, `linux/arm64`).
16
21
- For Docker, `linux/amd64` and `linux/arm64`.
17
22
- Docker images are now based on `distroless/static-debian12`.
18
23
- Docker images are now hosted on Github's Container Registry.
19
24
25
+
### Minor changes
26
+
27
+
- Fail fast if the request is empty, don't even attempt to authenticate.
28
+
20
29
## Migration
21
30
22
31
- For any `--db` and `--mem-db` switch that was used, an explicit YAML config file must be created. The format is the same, but there is a new section at the beginning:
@@ -31,7 +40,8 @@ database:
31
40
readOnly: false # Same as before, but moved here.
32
41
```
33
42
34
-
- For any hashed password previously specified in an `auth` block, the hash must be BCrypt, not SHA256.
43
+
- For any hashed password (`HashedPassword = ...`) previously specified in an `auth` block, the hash must be BCrypt, not SHA256.
44
+
- For any plain text password (`Password = ...`), convert in `HashedPassword`, also using BCrypt.
0 commit comments