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
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,13 +1,18 @@
1
1
# CHANGELOG.md
2
2
3
-
## unreleased
3
+
## 0.34.0 (unreleased)
4
+
4
5
-`delete_link` in the list component now submits a POST request, instead of being a simple link.
5
6
- This avoids accidental deletion by bots following links, and is more in line with HTTP semantics.
6
7
- In the table component, the `_col_` prefix is now added to column names in CSS classes. This avoids conflicts with other CSS classes that might be used in the page.
Copy file name to clipboardExpand all lines: Cargo.toml
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
[package]
2
2
name = "sqlpage"
3
-
version = "0.33.1"
3
+
version = "0.34.0"
4
4
edition = "2021"
5
5
description = "Build data user interfaces entirely in SQL. A web server that takes .sql files and formats the query result using pre-made configurable professional-looking components."
Copy file name to clipboardExpand all lines: configuration.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,6 +34,8 @@ Here are the available configuration options and their default values:
34
34
|`content_security_policy`|`script-src 'self' 'nonce-XXX`| The [Content Security Policy](https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP) to set in the HTTP headers. If you get CSP errors in the browser console, you can set this to the empty string to disable CSP. |
35
35
|`system_root_ca_certificates`| false | Whether to use the system root CA certificates to validate SSL certificates when making http requests with `sqlpage.fetch`. If set to false, SQLPage will use its own set of root CA certificates. If the `SSL_CERT_FILE` or `SSL_CERT_DIR` environment variables are set, they will be used instead of the system root CA certificates. |
36
36
|`max_recursion_depth`| 10 | Maximum depth of recursion allowed in the `run_sql` function. Maximum value is 255. |
37
+
|`markdown_allow_dangerous_html`| false | Whether to allow raw HTML in markdown content. Only enable this if the markdown content is fully trusted (not user generated). |
38
+
|`markdown_allow_dangerous_protocol`| false | Whether to allow dangerous protocols (like javascript:) in markdown links. Only enable this if the markdown content is fully trusted (not user generated). |
37
39
38
40
Multiple configuration file formats are supported:
39
41
you can use a [`.json5`](https://json5.org/) file, a [`.toml`](https://toml.io/) file, or a [`.yaml`](https://en.wikipedia.org/wiki/YAML#Syntax) file.
0 commit comments