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: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@
5
5
-**Fix**: the search feature in the shell component was not working when no menu item was defined.
6
6
- Add support for encrypted Microsoft SQL Server connections. This finally allows connecting to databases that refuse clear-text connections, such as those hosted on Azure.
7
7
- Easier json handling in databases without a native json type. SQLPage now detects when you use a json function in SQLite or MariaDB to generate a column, and automatically converts the resulting string to a json object. This allows easily using components that take json parameters (like the new columns component) in MariaDB and SQLite.
8
+
- Add a new optional `database_password` configuration option to set the password for the database connection separately from the connection string. This allows to keep the password separate from the connection string, which can be useful for security purposes, logging, and avoids having to percent-encode the password in the connection string.
8
9
9
10
## 0.29.0 (2024-09-25)
10
11
- New columns component: `columns`. Useful to display a comparison between items, or large key figures to an user.
|`listen_on`| 0.0.0.0:8080 | Interface and port on which the web server should listen |
12
12
|`database_url`| sqlite://sqlpage.db?mode=rwc | Database connection URL, in the form `dbengine://user:password@host:port/dbname`. Special characters in user and password should be [percent-encoded](https://developer.mozilla.org/en-US/docs/Glossary/percent-encoding). |
13
+
|`database_password`|| Database password. If set, this will override any password specified in the `database_url`. This allows you to keep the password separate from the connection string for better security. |
13
14
|`port`| 8080 | Like listen_on, but specifies only the port. |
14
15
| `unix_socket` | | Path to a UNIX socket to listen on instead of the TCP port. If specified, SQLPage will accept HTTP connections only on this socket and not on any TCP port. This option is mutually exclusive with `listen_on` and `port`.
15
16
|`max_database_pool_connections`| PostgreSQL: 50<BR> MySql: 75<BR> SQLite: 16<BR> MSSQL: 100 | How many simultaneous database connections to open at most |
@@ -75,10 +76,15 @@ A full connection string for a PostgreSQL database might look like this:
If the `database_password` configuration parameter is set, it will override any password specified in the `database_url`.
80
+
It does not need to be percent-encoded.
81
+
This allows you to keep the password separate from the connection string, which can be useful for security purposes, especially when storing configurations in version control systems.
0 commit comments