Skip to content

Commit 4e8110c

Browse files
committed
release v0.7.2
1 parent 74bd8cf commit 4e8110c

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# CHANGELOG.md
2+
3+
## 0.7.2 (2023-07-10)
4+
5+
### [SQL components](https://sql.ophir.dev/documentation.sql)
6+
7+
- New [authentication](https://sql.ophir.dev/documentation.sql?component=authentication#component) component to handle user authentication, and password checking
8+
- New [redirect](https://sql.ophir.dev/documentation.sql?component=redirect#component) component to stop rendering the current page and redirect the user to another page.
9+
- The [debug](https://sql.ophir.dev/documentation.sql?component=debug#component) component is now documented
10+
- Added properties to the [shell](https://sql.ophir.dev/documentation.sql?component=shell#component) component:
11+
- `css` to add custom CSS to the page
12+
- `javascript` to add custom Javascript to the page. An example of [how to use it to integrate a react component](https://github.com/lovasoa/SQLpage/tree/main/examples/using%20react%20and%20other%20custom%20scripts%20and%20styles) is available.
13+
- `footer` to set a message in the footer of the page
14+
15+
### [SQLPage functions](https://sql.ophir.dev/functions.sql)
16+
17+
- New [`sqlpage.basic_auth_username`](https://sql.ophir.dev/functions.sql?function=basic_auth_username#function) function to get the name of the user logged in with HTTP basic authentication
18+
- New [`sqlpage.basic_auth_password`](https://sql.ophir.dev/functions.sql?function=basic_auth_password#function) function to get the password of the user logged in with HTTP basic authentication.
19+
- New [`sqlpage.hash_password`](https://sql.ophir.dev/functions.sql?function=hash_password#function) function to hash a password with the same algorithm as the [authentication](https://sql.ophir.dev/documentation.sql?component=authentication#component) component uses.
20+
- New [`sqlpage.header`](https://sql.ophir.dev/functions.sql?function=header#function) function to read an HTTP header from the request.
21+
- New [`sqlpage.random_string`](https://sql.ophir.dev/functions.sql?function=random_string#function) function to generate a random string. Useful to generate session ids.
22+
23+
24+
### Bug fixes
25+
26+
- Fix a bug where the page style would not load in pages that were not in the root directory: https://github.com/lovasoa/SQLpage/issues/19
27+
- Fix resources being served with the wrong content type
28+
- Fix compilation of SQLPage as an AWS lambda function
29+
- Fixed logging and display of errors, to make them more useful

0 commit comments

Comments
 (0)