-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# CHANGELOG.md | ||
|
||
## 0.7.2 (2023-07-10) | ||
|
||
### [SQL components](https://sql.ophir.dev/documentation.sql) | ||
|
||
- New [authentication](https://sql.ophir.dev/documentation.sql?component=authentication#component) component to handle user authentication, and password checking | ||
- 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. | ||
- The [debug](https://sql.ophir.dev/documentation.sql?component=debug#component) component is now documented | ||
- Added properties to the [shell](https://sql.ophir.dev/documentation.sql?component=shell#component) component: | ||
- `css` to add custom CSS to the page | ||
- `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. | ||
- `footer` to set a message in the footer of the page | ||
|
||
### [SQLPage functions](https://sql.ophir.dev/functions.sql) | ||
|
||
- 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 | ||
- 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. | ||
- 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. | ||
- New [`sqlpage.header`](https://sql.ophir.dev/functions.sql?function=header#function) function to read an HTTP header from the request. | ||
- 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. | ||
|
||
|
||
### Bug fixes | ||
|
||
- 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 | ||
- Fix resources being served with the wrong content type | ||
- Fix compilation of SQLPage as an AWS lambda function | ||
- Fixed logging and display of errors, to make them more useful |