From 90fd35745cbf3a37d33055b2e73608994c25ae0a Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Fri, 10 Apr 2020 15:56:13 -0700 Subject: [PATCH] Prepare v0.3.4 --- CHANGELOG.md | 29 +++++++++++++++++++++++++++++ Cargo.lock | 6 +++--- Cargo.toml | 6 +++--- sqlx-core/Cargo.toml | 2 +- sqlx-macros/Cargo.toml | 4 ++-- 5 files changed, 38 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 278b72c3..cc75be47 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,33 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 0.3.4 - 2020-04-10 + +### Fixed + + - [[#241]] Type name for custom enum is not always attached to TypeInfo in PostgreSQL + + - [[#237]] [[#238]] User-defined type name matching is now case-insensitive in PostgreSQL [[@qtbeee]] + + - [[#231]] Handle empty queries (and those with comments) in SQLite + + - [[#228]] Provide `MapRow` implementations for functions (enables `.map(|row| ...)` over `.try_map(|row| ...)`) + +### Added + + - [[#234]] Add support for `NUMERIC` in MySQL with the `bigdecimal` crate [[@xiaopengli89]] + + - [[#227]] Support `#[sqlx(rename = "new_name")]` on struct fields within a `FromRow` derive [[@sidred]] + +[#228]: https://github.com/launchbadge/sqlx/issues/228 +[#231]: https://github.com/launchbadge/sqlx/issues/231 +[#237]: https://github.com/launchbadge/sqlx/issues/237 +[#241]: https://github.com/launchbadge/sqlx/issues/241 + +[#227]: https://github.com/launchbadge/sqlx/pull/227 +[#234]: https://github.com/launchbadge/sqlx/pull/234 +[#238]: https://github.com/launchbadge/sqlx/pull/238 + ## 0.3.3 - 2020-04-01 ### Fixed @@ -391,3 +418,5 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [@Ace4896]: https://github.com/Ace4896 [@jamwaffles]: https://github.com/jamwaffles [@nrjais]: https://github.com/nrjais +[@qtbeee]: https://github.com/qtbeee +[@xiaopengli89]: https://github.com/xiaopengli89 diff --git a/Cargo.lock b/Cargo.lock index cab8ffab..ebceab78 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1681,7 +1681,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" [[package]] name = "sqlx" -version = "0.3.3" +version = "0.3.4" dependencies = [ "anyhow", "async-std", @@ -1701,7 +1701,7 @@ dependencies = [ [[package]] name = "sqlx-core" -version = "0.3.3" +version = "0.3.4" dependencies = [ "async-native-tls", "async-std", @@ -1803,7 +1803,7 @@ dependencies = [ [[package]] name = "sqlx-macros" -version = "0.3.3" +version = "0.3.4" dependencies = [ "async-std", "dotenv", diff --git a/Cargo.toml b/Cargo.toml index faf62aaa..ac721f5b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ members = [ [package] name = "sqlx" -version = "0.3.3" +version = "0.3.4" license = "MIT OR Apache-2.0" readme = "README.md" repository = "https://github.com/launchbadge/sqlx" @@ -62,8 +62,8 @@ json = [ "sqlx-core/json", "sqlx-macros/json" ] time = [ "sqlx-core/time", "sqlx-macros/time" ] [dependencies] -sqlx-core = { version = "0.3.3", path = "sqlx-core", default-features = false } -sqlx-macros = { version = "0.3.3", path = "sqlx-macros", default-features = false, optional = true } +sqlx-core = { version = "0.3.4", path = "sqlx-core", default-features = false } +sqlx-macros = { version = "0.3.4", path = "sqlx-macros", default-features = false, optional = true } [dev-dependencies] anyhow = "1.0.26" diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 03f44111..c2591fdb 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-core" -version = "0.3.3" +version = "0.3.4" repository = "https://github.com/launchbadge/sqlx" description = "Core of SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" diff --git a/sqlx-macros/Cargo.toml b/sqlx-macros/Cargo.toml index d1c92d29..b0ab981e 100644 --- a/sqlx-macros/Cargo.toml +++ b/sqlx-macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "sqlx-macros" -version = "0.3.3" +version = "0.3.4" repository = "https://github.com/launchbadge/sqlx" description = "Macros for SQLx, the rust SQL toolkit. Not intended to be used directly." license = "MIT OR Apache-2.0" @@ -40,7 +40,7 @@ tokio = { version = "0.2.13", default-features = false, features = [ "rt-threade dotenv = { version = "0.15.0", default-features = false } futures = { version = "0.3.4", default-features = false, features = [ "executor" ] } proc-macro2 = { version = "1.0.9", default-features = false } -sqlx = { version = "0.3.3", default-features = false, path = "../sqlx-core", package = "sqlx-core" } +sqlx = { version = "0.3.4", default-features = false, path = "../sqlx-core", package = "sqlx-core" } serde_json = { version = "1.0", features = [ "raw_value" ], optional = true } syn = { version = "1.0.16", default-features = false, features = [ "full" ] } quote = { version = "1.0.2", default-features = false }