From fbeaa415b4c0ecf27f1d6bc46e1513e7dda9769b Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 24 Apr 2023 12:10:49 +0800 Subject: [PATCH 1/2] Upgrade `tracing-subscriber` dependency to 0.3.17 --- CHANGELOG.md | 4 ++-- Cargo.toml | 2 +- examples/actix3_example/api/Cargo.toml | 2 +- examples/actix_example/api/Cargo.toml | 2 +- examples/axum_example/api/Cargo.toml | 2 +- examples/poem_example/api/Cargo.toml | 2 +- examples/salvo_example/api/Cargo.toml | 2 +- issues/471/Cargo.toml | 2 +- issues/693/Cargo.toml | 2 +- issues/86/Cargo.toml | 2 +- sea-orm-cli/Cargo.toml | 2 +- sea-orm-migration/Cargo.toml | 2 +- 12 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94a660e23..ee80f5011 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -301,9 +301,9 @@ where } ``` -### Bug Fixes +### Upgrades -* [sea-orm-cli] `regex` dependency should have `unicode` feature enabled https://github.com/SeaQL/sea-orm/pull/1605 +* Upgrade `tracing-subscriber` dependency to 0.3.17 ## 0.11.2 - 2023-03-25 diff --git a/Cargo.toml b/Cargo.toml index 8668989b2..c7075ed7a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -54,7 +54,7 @@ tokio = { version = "1.6", features = ["full"] } actix-rt = { version = "2.2.0" } maplit = { version = "1" } rust_decimal_macros = { version = "1" } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } sea-orm = { path = ".", features = ["mock", "debug-print", "tests-cfg", "postgres-array", "sea-orm-internal"] } pretty_assertions = { version = "0.7" } time = { version = "0.3", features = ["macros"] } diff --git a/examples/actix3_example/api/Cargo.toml b/examples/actix3_example/api/Cargo.toml index fa61d2309..63540ec98 100644 --- a/examples/actix3_example/api/Cargo.toml +++ b/examples/actix3_example/api/Cargo.toml @@ -17,6 +17,6 @@ tera = "1.8.0" dotenvy = "0.15" listenfd = "0.3.3" serde = "1" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } entity = { path = "../entity" } migration = { path = "../migration" } diff --git a/examples/actix_example/api/Cargo.toml b/examples/actix_example/api/Cargo.toml index 4a6727e96..a55246670 100644 --- a/examples/actix_example/api/Cargo.toml +++ b/examples/actix_example/api/Cargo.toml @@ -16,6 +16,6 @@ tera = "1.15.0" dotenvy = "0.15" listenfd = "0.5" serde = "1" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } entity = { path = "../entity" } migration = { path = "../migration" } diff --git a/examples/axum_example/api/Cargo.toml b/examples/axum_example/api/Cargo.toml index 69e8abc6f..8b19a6da8 100644 --- a/examples/axum_example/api/Cargo.toml +++ b/examples/axum_example/api/Cargo.toml @@ -17,6 +17,6 @@ dotenvy = "0.15.6" serde = "1.0.149" serde_json = "1.0.89" tera = "1.17.1" -tracing-subscriber = { version = "0.3.16", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } entity = { path = "../entity" } migration = { path = "../migration" } diff --git a/examples/poem_example/api/Cargo.toml b/examples/poem_example/api/Cargo.toml index 002117498..912218ce8 100644 --- a/examples/poem_example/api/Cargo.toml +++ b/examples/poem_example/api/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" poem-example-core = { path = "../core" } tokio = { version = "1.15.0", features = ["macros", "rt-multi-thread"] } poem = { version = "1.2.33", features = ["static-files"] } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } serde = { version = "1", features = ["derive"] } tera = "1.8.0" dotenvy = "0.15" diff --git a/examples/salvo_example/api/Cargo.toml b/examples/salvo_example/api/Cargo.toml index 6f3296250..0c2003ba8 100644 --- a/examples/salvo_example/api/Cargo.toml +++ b/examples/salvo_example/api/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" salvo-example-core = { path = "../core" } tokio = { version = "1.15.0", features = ["macros", "rt-multi-thread"] } salvo = { version = "0.27", features = ["affix", "serve-static"] } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } serde = { version = "1", features = ["derive"] } tera = "1.8.0" dotenvy = "0.15" diff --git a/issues/471/Cargo.toml b/issues/471/Cargo.toml index 5640366f5..26368c7d0 100644 --- a/issues/471/Cargo.toml +++ b/issues/471/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1" dotenvy = "0.15" futures-util = "0.3" serde = "1" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } [dependencies.sea-orm] path = "../../" # remove this line in your own project diff --git a/issues/693/Cargo.toml b/issues/693/Cargo.toml index 8ec2caeed..cf9f4ed48 100644 --- a/issues/693/Cargo.toml +++ b/issues/693/Cargo.toml @@ -14,7 +14,7 @@ anyhow = "1" dotenvy = "0.15" futures-util = "0.3" serde = "1" -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } [dependencies.sea-orm] path = "../../" # remove this line in your own project diff --git a/issues/86/Cargo.toml b/issues/86/Cargo.toml index f5749a63f..6aee3bed4 100644 --- a/issues/86/Cargo.toml +++ b/issues/86/Cargo.toml @@ -10,5 +10,5 @@ publish = false [dependencies] sea-orm = { path = "../../", features = [ "sqlx-all", "runtime-tokio-native-tls", "debug-print" ] } tokio = { version = "1", features = ["full"] } -tracing-subscriber = { version = "0.3", features = ["env-filter"] } +tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } tracing = { version = "0.1" } diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index cca3dc273..bdf3e4dc2 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -40,7 +40,7 @@ async-std = { version = "1.9", default-features = false, features = ["attributes sea-orm-codegen = { version = "=0.12.0", path = "../sea-orm-codegen", default-features = false, optional = true } sea-schema = { version = "0.12.0-rc.1" } sqlx = { version = "0.6", default-features = false, features = ["mysql", "postgres"], optional = true } -tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] } +tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt"] } tracing = { version = "0.1", default-features = false } url = { version = "2.2", default-features = false } chrono = { version = "0.4.20", default-features = false, features = ["clock"] } diff --git a/sea-orm-migration/Cargo.toml b/sea-orm-migration/Cargo.toml index c095b6b21..60da77ce2 100644 --- a/sea-orm-migration/Cargo.toml +++ b/sea-orm-migration/Cargo.toml @@ -27,7 +27,7 @@ sea-orm = { version = "0.12.0", path = "../", default-features = false, features sea-orm-cli = { version = "0.12.0", path = "../sea-orm-cli", default-features = false, optional = true } sea-schema = { version = "0.12.0-rc.1" } tracing = { version = "0.1", default-features = false, features = ["log"] } -tracing-subscriber = { version = "0.3", default-features = false, features = ["env-filter", "fmt"] } +tracing-subscriber = { version = "0.3.17", default-features = false, features = ["env-filter", "fmt"] } futures = { version = "0.3", default-features = false, features = ["std"] } [dev-dependencies] From 056ccc8e8d9f62e7e429049f65993c06a8dc5965 Mon Sep 17 00:00:00 2001 From: Billy Chan Date: Mon, 24 Apr 2023 12:12:52 +0800 Subject: [PATCH 2/2] Revert "fix: `regex` dep should enable `unicode` feature (#1605)" This reverts commit 41d9a853342155e0b7df4afb15990225b1c8a981. --- sea-orm-cli/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sea-orm-cli/Cargo.toml b/sea-orm-cli/Cargo.toml index bdf3e4dc2..ecaad783b 100644 --- a/sea-orm-cli/Cargo.toml +++ b/sea-orm-cli/Cargo.toml @@ -44,7 +44,7 @@ tracing-subscriber = { version = "0.3.17", default-features = false, features = tracing = { version = "0.1", default-features = false } url = { version = "2.2", default-features = false } chrono = { version = "0.4.20", default-features = false, features = ["clock"] } -regex = { version = "1", default-features = false, features = ["unicode"] } +regex = { version = "1", default-features = false } git2 = { version = "0.16", default-features = false } [dev-dependencies]