Skip to content

Commit

Permalink
v0.10.3: add mssql connect options
Browse files Browse the repository at this point in the history
fixes #86
  • Loading branch information
lovasoa committed Sep 14, 2023
1 parent c9e0c75 commit 9751120
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 14 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down
20 changes: 9 additions & 11 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion examples/official-site/your-first-sql-website/index.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 9751120

Please sign in to comment.