diff --git a/CHANGELOG.md b/CHANGELOG.md index b3de7638..e10a0c35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,12 @@ # CHANGELOG.md -## 0.10.2 (unreleased) +## 0.10.3 (2023-09-14) + + - Update database drivers to the latest version. + - Adds new connection string options for mssql, including `app_name` and `instance`. + Set them with `DATABASE_URL=mssql://user:password@host:port/database?app_name=My%20App&instance=My%20Instance` + +## 0.10.2 (2023-09-04) - Fix a bug where the `map` component followed by another component would break the page layout. diff --git a/Cargo.lock b/Cargo.lock index abcf12d0..603b0546 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2247,7 +2247,7 @@ dependencies = [ [[package]] name = "sqlpage" -version = "0.10.2" +version = "0.10.3" dependencies = [ "actix-rt", "actix-web", diff --git a/Cargo.toml b/Cargo.toml index bb45ed36..722542c3 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlpage" -version = "0.10.2" +version = "0.10.3" edition = "2021" description = "A SQL-only web application framework. Takes .sql files and formats the query result using pre-made configurable professional-looking components." keywords = ["web", "sql", "framework"] diff --git a/examples/official-site/your-first-sql-website/index.sql b/examples/official-site/your-first-sql-website/index.sql index 71bacb8f..c524d8a9 100644 --- a/examples/official-site/your-first-sql-website/index.sql +++ b/examples/official-site/your-first-sql-website/index.sql @@ -120,7 +120,7 @@ Later, when you want to deploy your website online, you can switch back to a per - a SQLite file with `sqlite://your-database-file.db` ([see options](https://docs.rs/sqlx/0.6.3/sqlx/sqlite/struct.SqliteConnectOptions.html#main-content)), - a PostgreSQL-compatible server with `postgres://user:password@host/database` ([see options](https://www.postgresql.org/docs/15/libpq-connect.html#id-1.7.3.8.3.6)), - a MySQL-compatible server with `mysql://user:password@host/database` ([see options](https://dev.mysql.com/doc/refman/8.0/en/connecting-using-uri-or-key-value-pairs.html)), - - a Microsoft SQL Server with `mssql://user:password@host/database`, + - a Microsoft SQL Server with `mssql://user:password@host/database` ([see options](https://docs.rs/sqlx-oldapi/latest/sqlx_oldapi/mssql/struct.MssqlConnectOptions.html)), For more information about the properties that can be set in sqlpage.json, see [SQLPage''s configuration documentation](https://github.com/lovasoa/SQLpage/blob/main/configuration.md#configuring-sqlpage)