Skip to content

Commit 78e7366

Browse files
authored
example configuration check
1 parent 1766534 commit 78e7366

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
1919
-h, --help Print help
2020
-V, --version Print version
2121
- Configuration checks: SQLPage now checks if the configuration file is valid when starting the server. This allows to display a helpful error message when the configuration is invalid, instead of crashing or behaving unexpectedly. Notable, we now ensure critical configuration values like directories, timeouts, and connection pool settings are valid.
22+
- ```
23+
./sqlpage --web-root /xyz
24+
[ERROR sqlpage] The provided configuration is invalid
25+
Caused by:
26+
Web root is not a valid directory: "/xyz"
2227
- The configuration directory is now created if it does not exist. This allows to start the server without having to manually create the directory.
2328
- The default database URL is now computed from the configuration directory, instead of being hardcoded to `sqlite://./sqlpage/sqlpage.db`. So when using a custom configuration directory, the default SQLite database will be created inside it. When using the default `./sqlpage` configuration directory, or when using a custom database URL, the default behavior is unchanged.
2429
- New `navbar_title` property in the [shell](https://sql.datapage.app/documentation.sql?component=shell#component) component to set the title of the top navigation bar. This allows to display a different title in the top menu than the one that appears in the tab of the browser. This can also be set to the empty string to hide the title in the top menu, in case you want to display only a logo for instance.

0 commit comments

Comments
 (0)