Prepare v0.3.4

This commit is contained in:
Ryan Leckey 2020-04-10 15:56:13 -07:00
parent c40288a8b4
commit 90fd35745c
5 changed files with 38 additions and 9 deletions

View file

@ -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

6
Cargo.lock generated
View file

@ -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",

View file

@ -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"

View file

@ -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"

View file

@ -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 }