Skip to content

Commit

Permalink
v0.9.1: mssql fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
lovasoa committed Jul 31, 2023
1 parent 3b5c4be commit 1b8ecc2
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 37 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG.md

## 0.9.1 (2023-07-30)

- Fix issues with the new experimental mssql driver.

## 0.9.0 (2023-07-30)

- Added a new `json` component, which allows building a JSON API entirely in SQL with SQLPage !
Expand Down
75 changes: 41 additions & 34 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "sqlpage"
version = "0.9.0"
version = "0.9.1"
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 All @@ -17,7 +17,7 @@ panic = "abort"
codegen-units = 2

[dependencies]
sqlx = { package = "sqlx-oldapi", version = "0.6.7", features = ["any", "runtime-actix-rustls", "sqlite", "postgres", "mysql", "mssql", "chrono"] }
sqlx = { package = "sqlx-oldapi", version = "0.6.8", features = ["any", "runtime-actix-rustls", "sqlite", "postgres", "mysql", "mssql", "chrono"] }
chrono = "0.4.23"
actix-web = { version = "4", features = ["rustls", "cookies"] }
percent-encoding = "2.2.0"
Expand Down
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ fn process_input_file(path_out: &Path, original: File) {
let url = line
.trim_start_matches("/* !include ")
.trim_end_matches(" */");
let resp = ureq::get(url).call().unwrap();
let resp = ureq::get(url).call().expect("We need to download remote js dependencies to compile sqlpage");
let mut contents = BufReader::new(resp.into_reader());
std::io::copy(&mut contents, &mut outfile).unwrap();
outfile.write_all(b"\n").unwrap();
Expand Down

0 comments on commit 1b8ecc2

Please sign in to comment.