|
1 | 1 | # CHANGELOG.md
|
2 | 2 |
|
3 |
| -## unreleased |
| 3 | +## 0.17.0 |
4 | 4 |
|
5 | 5 | ### Uploads
|
6 | 6 |
|
@@ -110,6 +110,30 @@ No need to restart SQLPage either, or to worry about renewing your certificate w
|
110 | 110 | SQLPage will automatically request a certificate from [Let's Encrypt](https://letsencrypt.org/) by default,
|
111 | 111 | and does not even need to listen on port 80 to do so.
|
112 | 112 |
|
| 113 | +### SQL parser improvements |
| 114 | + |
| 115 | +SQLPage needs to parse SQL queries to be able to bind the right parameters to them, |
| 116 | +and to inject the results of built-in sqlpage functions in them. |
| 117 | +The parser we user is very powerful and supports most SQL features, |
| 118 | +but there are some edge cases where it fails to parse a query. |
| 119 | +That's why we contribute to it a lot, and bring the latest version of the parser to SQLPage as soon as it is released. |
| 120 | + |
| 121 | +#### JSON functions in MS SQL Server |
| 122 | + |
| 123 | +SQLPage now supports the [`FOR JSON` syntax](https://learn.microsoft.com/en-us/sql/relational-databases/json/format-query-results-as-json-with-for-json-sql-server?view=sql-server-ver16&tabs=json-path) in MS SQL Server. |
| 124 | + |
| 125 | +This unlocks a lot of new possibilities, that were previously only available in other databases. |
| 126 | + |
| 127 | +This is particularly interesting to build complex menus with the `shell` component, |
| 128 | +to build multiple-answer select inputs with the `form` component, |
| 129 | +and to create JSON APIs. |
| 130 | + |
| 131 | +#### Other sql syntax enhancements |
| 132 | + |
| 133 | + - SQLPage now supports the custom `CONVERT` expression syntax for MS SQL Server, and the one for MySQL. |
| 134 | + - SQLPage now supports the `VARCHAR(MAX)` type in MS SQL Server. |
| 135 | + - `INSERT INTO ... DEFAULT VALUES ...` is now supported |
| 136 | + |
113 | 137 | ### Other news
|
114 | 138 |
|
115 | 139 | - Dates and timestamps returned from the database are now always formatted in ISO 8601 format, which is the standard format for dates in JSON. This makes it easier to use dates in SQLPage.
|
|
0 commit comments