From edd4c2368ce8e0119f8c8cbe614526a4416834e4 Mon Sep 17 00:00:00 2001 From: "pavex-releaser[bot]" Date: Tue, 21 Jan 2025 10:26:08 +0000 Subject: [PATCH 1/3] Disable workspace hack before a release --- libs/Cargo.lock | 79 -------------- libs/generate_from_path/Cargo.toml | 1 - libs/pavex/Cargo.toml | 1 - libs/pavex_bp_schema/Cargo.toml | 1 - libs/pavex_cli/Cargo.toml | 1 - libs/pavex_cli_client/Cargo.toml | 1 - libs/pavex_cli_deps/Cargo.toml | 1 - libs/pavex_macros/Cargo.toml | 1 - libs/pavex_miette/Cargo.toml | 1 - libs/pavex_reflection/Cargo.toml | 1 - libs/pavex_session/Cargo.toml | 1 - libs/pavex_session_memory_store/Cargo.toml | 1 - libs/pavex_session_sqlx/Cargo.toml | 1 - libs/pavex_test_runner/Cargo.toml | 1 - libs/pavex_tracing/Cargo.toml | 1 - libs/pavexc/Cargo.toml | 1 - libs/pavexc_cli/Cargo.toml | 1 - libs/pavexc_cli_client/Cargo.toml | 1 - libs/pavexc_rustdoc_types/Cargo.toml | 1 - libs/persist_if_changed/Cargo.toml | 1 - libs/px_workspace_hack/Cargo.toml | 118 +-------------------- 21 files changed, 3 insertions(+), 213 deletions(-) diff --git a/libs/Cargo.lock b/libs/Cargo.lock index d463ffaab..7eba69ee2 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -1185,7 +1185,6 @@ dependencies = [ "liquid", "liquid-core", "path-absolutize", - "px_workspace_hack", "regex", "sanitize-filename", "tempfile", @@ -2401,7 +2400,6 @@ dependencies = [ "percent-encoding", "persist_if_changed", "pin-project-lite", - "px_workspace_hack", "reqwest", "ron", "serde", @@ -2425,7 +2423,6 @@ name = "pavex_bp_schema" version = "0.1.68" dependencies = [ "pavex_reflection", - "px_workspace_hack", "serde", ] @@ -2453,7 +2450,6 @@ dependencies = [ "pavexc", "pavexc_cli_client", "pem", - "px_workspace_hack", "redact", "remove_dir_all 1.0.0", "reqwest", @@ -2491,7 +2487,6 @@ version = "0.1.68" dependencies = [ "anyhow", "pavex", - "px_workspace_hack", "thiserror 2.0.11", ] @@ -2501,7 +2496,6 @@ version = "0.1.68" dependencies = [ "anyhow", "cargo-like-utils", - "px_workspace_hack", ] [[package]] @@ -2510,7 +2504,6 @@ version = "0.1.68" dependencies = [ "pavex", "proc-macro2", - "px_workspace_hack", "quote", "serde", "syn", @@ -2523,7 +2516,6 @@ version = "0.1.68" dependencies = [ "miette", "owo-colors", - "px_workspace_hack", "supports-color", "supports-hyperlinks", "supports-unicode", @@ -2536,7 +2528,6 @@ dependencies = [ name = "pavex_reflection" version = "0.1.68" dependencies = [ - "px_workspace_hack", "serde", ] @@ -2549,7 +2540,6 @@ dependencies = [ "humantime-serde", "pavex", "pavex_tracing", - "px_workspace_hack", "serde", "serde_json", "static_assertions", @@ -2566,7 +2556,6 @@ version = "0.1.68" dependencies = [ "async-trait", "pavex_session", - "px_workspace_hack", "serde_json", "time", "tokio", @@ -2582,7 +2571,6 @@ dependencies = [ "pavex_session", "pavex_session_sqlx", "pavex_tracing", - "px_workspace_hack", "serde_json", "sqlx", "time", @@ -2609,7 +2597,6 @@ dependencies = [ "once_cell", "pavexc", "persist_if_changed", - "px_workspace_hack", "rayon", "regex", "serde", @@ -2627,7 +2614,6 @@ name = "pavex_tracing" version = "0.1.68" dependencies = [ "pavex", - "px_workspace_hack", "tracing", "tracing_log_error", ] @@ -2663,7 +2649,6 @@ dependencies = [ "petgraph 0.7.1", "prettyplease", "proc-macro2", - "px_workspace_hack", "quote", "r2d2", "r2d2_sqlite", @@ -2707,7 +2692,6 @@ dependencies = [ "pavex_miette", "pavexc", "pavexc_cli_client", - "px_workspace_hack", "ron", "serde", "serde_json", @@ -2728,7 +2712,6 @@ version = "0.1.68" dependencies = [ "anyhow", "pavex", - "px_workspace_hack", "thiserror 2.0.11", ] @@ -2736,7 +2719,6 @@ dependencies = [ name = "pavexc_rustdoc_types" version = "0.1.68" dependencies = [ - "px_workspace_hack", "rustc-hash", "serde", ] @@ -2782,7 +2764,6 @@ version = "0.1.68" dependencies = [ "anyhow", "fs-err 3.0.0", - "px_workspace_hack", "sha2", "tracing", ] @@ -2955,66 +2936,6 @@ dependencies = [ [[package]] name = "px_workspace_hack" version = "0.1.0" -dependencies = [ - "aho-corasick", - "base64 0.22.1", - "bitflags 2.8.0", - "byteorder", - "cc", - "clap", - "clap_builder", - "console", - "crossbeam-utils", - "crypto-common", - "deranged", - "digest", - "either", - "form_urlencoded", - "futures-channel", - "futures-core", - "futures-io", - "futures-sink", - "futures-util", - "getrandom", - "hashbrown 0.15.2", - "hmac", - "indexmap", - "log", - "memchr", - "miette", - "num-traits", - "percent-encoding", - "proc-macro2", - "quote", - "rand", - "regex", - "regex-automata 0.4.9", - "regex-syntax 0.8.5", - "reqwest", - "serde", - "serde_json", - "sha2", - "smallvec", - "sqlx", - "sqlx-core", - "sqlx-macros", - "sqlx-macros-core", - "sqlx-postgres", - "stable_deref_trait", - "subtle", - "syn", - "textwrap", - "time", - "time-macros", - "tokio", - "toml", - "toml_edit", - "tracing", - "tracing-core", - "tracing-log", - "uuid", - "zeroize", -] [[package]] name = "quinn" diff --git a/libs/generate_from_path/Cargo.toml b/libs/generate_from_path/Cargo.toml index 6a56e436e..d7468539b 100644 --- a/libs/generate_from_path/Cargo.toml +++ b/libs/generate_from_path/Cargo.toml @@ -20,4 +20,3 @@ indicatif = { workspace = true } walkdir = { workspace = true } sanitize-filename = { workspace = true } regex = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex/Cargo.toml b/libs/pavex/Cargo.toml index 926c09c9f..b2bf13adb 100644 --- a/libs/pavex/Cargo.toml +++ b/libs/pavex/Cargo.toml @@ -81,7 +81,6 @@ hyper-util = { workspace = true, features = [ socket2 = { workspace = true, optional = true } smallvec = { workspace = true } tracing_log_error = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] tokio = { workspace = true, features = ["macros"] } diff --git a/libs/pavex_bp_schema/Cargo.toml b/libs/pavex_bp_schema/Cargo.toml index a8f42ebc8..23337e01d 100644 --- a/libs/pavex_bp_schema/Cargo.toml +++ b/libs/pavex_bp_schema/Cargo.toml @@ -10,4 +10,3 @@ license.workspace = true [dependencies] serde = { workspace = true, features = ["derive"] } pavex_reflection = { path = "../pavex_reflection", version = "=0.1.68" } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_cli/Cargo.toml b/libs/pavex_cli/Cargo.toml index 7958c494c..5e029a579 100644 --- a/libs/pavex_cli/Cargo.toml +++ b/libs/pavex_cli/Cargo.toml @@ -66,7 +66,6 @@ jsonwebtoken = { workspace = true } ring = { workspace = true } pem = { workspace = true } time = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] pavex_test_runner = { path = "../pavex_test_runner" } diff --git a/libs/pavex_cli_client/Cargo.toml b/libs/pavex_cli_client/Cargo.toml index 7f22fbd1f..b0a51042d 100644 --- a/libs/pavex_cli_client/Cargo.toml +++ b/libs/pavex_cli_client/Cargo.toml @@ -11,4 +11,3 @@ license.workspace = true anyhow = { workspace = true } pavex = { path = "../pavex", version = "0.1.68" } thiserror = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_cli_deps/Cargo.toml b/libs/pavex_cli_deps/Cargo.toml index 8b1e143e9..87312b695 100644 --- a/libs/pavex_cli_deps/Cargo.toml +++ b/libs/pavex_cli_deps/Cargo.toml @@ -10,4 +10,3 @@ version.workspace = true [dependencies] anyhow = { workspace = true } cargo-like-utils = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_macros/Cargo.toml b/libs/pavex_macros/Cargo.toml index d8b65938f..72b80376c 100644 --- a/libs/pavex_macros/Cargo.toml +++ b/libs/pavex_macros/Cargo.toml @@ -14,7 +14,6 @@ proc-macro = true proc-macro2 = { workspace = true } quote = { workspace = true } syn = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] trybuild = { workspace = true } diff --git a/libs/pavex_miette/Cargo.toml b/libs/pavex_miette/Cargo.toml index 81843e0fb..72d35f0f3 100644 --- a/libs/pavex_miette/Cargo.toml +++ b/libs/pavex_miette/Cargo.toml @@ -16,4 +16,3 @@ supports-hyperlinks = { workspace = true } supports-color = { workspace = true } supports-unicode = { workspace = true } terminal_size = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_reflection/Cargo.toml b/libs/pavex_reflection/Cargo.toml index 4c141f3ab..13b3cac7f 100644 --- a/libs/pavex_reflection/Cargo.toml +++ b/libs/pavex_reflection/Cargo.toml @@ -9,4 +9,3 @@ license.workspace = true [dependencies] serde = { workspace = true, features = ["derive"] } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_session/Cargo.toml b/libs/pavex_session/Cargo.toml index adb385f7e..3d2ca2649 100644 --- a/libs/pavex_session/Cargo.toml +++ b/libs/pavex_session/Cargo.toml @@ -22,7 +22,6 @@ time = { workspace = true, features = ["std"] } tokio = { workspace = true, features = ["rt"] } async-trait = { workspace = true } thiserror = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] static_assertions = { workspace = true } diff --git a/libs/pavex_session_memory_store/Cargo.toml b/libs/pavex_session_memory_store/Cargo.toml index ea7c8ee11..e35684dd5 100644 --- a/libs/pavex_session_memory_store/Cargo.toml +++ b/libs/pavex_session_memory_store/Cargo.toml @@ -14,4 +14,3 @@ serde_json = { workspace = true } async-trait = { workspace = true } tokio = { workspace = true, features = ["sync"] } tracing = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_session_sqlx/Cargo.toml b/libs/pavex_session_sqlx/Cargo.toml index ec507adca..44fb6533b 100644 --- a/libs/pavex_session_sqlx/Cargo.toml +++ b/libs/pavex_session_sqlx/Cargo.toml @@ -24,7 +24,6 @@ tokio = { workspace = true, features = ["sync"] } tracing = { workspace = true } anyhow = { workspace = true } sqlx = { workspace = true, features = ["uuid", "time"] } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] pavex_session_sqlx = { path = ".", features = ["postgres"] } diff --git a/libs/pavex_test_runner/Cargo.toml b/libs/pavex_test_runner/Cargo.toml index 8c38c80b4..5737559d9 100644 --- a/libs/pavex_test_runner/Cargo.toml +++ b/libs/pavex_test_runner/Cargo.toml @@ -41,4 +41,3 @@ once_cell = { workspace = true } pavexc = { path = "../pavexc" } guppy = { workspace = true } rayon = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavex_tracing/Cargo.toml b/libs/pavex_tracing/Cargo.toml index 3bd8649a6..4bbf25dfe 100644 --- a/libs/pavex_tracing/Cargo.toml +++ b/libs/pavex_tracing/Cargo.toml @@ -13,4 +13,3 @@ readme = "README.md" tracing = { workspace = true, features = ["std"] } tracing_log_error = { workspace = true } pavex = { version = "0.1.68", path = "../pavex" } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavexc/Cargo.toml b/libs/pavexc/Cargo.toml index c5b3dccc1..8be37e08c 100644 --- a/libs/pavexc/Cargo.toml +++ b/libs/pavexc/Cargo.toml @@ -67,7 +67,6 @@ r2d2 = { workspace = true } bincode = { workspace = true } rayon = { workspace = true } num_cpus = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [dev-dependencies] insta = { workspace = true } diff --git a/libs/pavexc_cli/Cargo.toml b/libs/pavexc_cli/Cargo.toml index 817a153ac..762a30ba3 100644 --- a/libs/pavexc_cli/Cargo.toml +++ b/libs/pavexc_cli/Cargo.toml @@ -40,7 +40,6 @@ tempfile = { workspace = true } better-panic = { workspace = true } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } [build-dependencies] vergen-gitcl = { workspace = true } diff --git a/libs/pavexc_cli_client/Cargo.toml b/libs/pavexc_cli_client/Cargo.toml index bcb20a92e..3a1991f3c 100644 --- a/libs/pavexc_cli_client/Cargo.toml +++ b/libs/pavexc_cli_client/Cargo.toml @@ -11,4 +11,3 @@ license.workspace = true anyhow = { workspace = true } pavex = { path = "../pavex", version = "0.1.68" } thiserror = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavexc_rustdoc_types/Cargo.toml b/libs/pavexc_rustdoc_types/Cargo.toml index 63abecbb8..170d726cd 100644 --- a/libs/pavexc_rustdoc_types/Cargo.toml +++ b/libs/pavexc_rustdoc_types/Cargo.toml @@ -10,4 +10,3 @@ keywords = ["pavexc", "rustdoc-json"] [dependencies] serde = { workspace = true, features = ["derive"] } rustc-hash = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/persist_if_changed/Cargo.toml b/libs/persist_if_changed/Cargo.toml index 157c33a61..35503ac6b 100644 --- a/libs/persist_if_changed/Cargo.toml +++ b/libs/persist_if_changed/Cargo.toml @@ -12,4 +12,3 @@ tracing = { workspace = true, default-features = true } fs-err = { workspace = true } sha2 = { workspace = true } anyhow = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/px_workspace_hack/Cargo.toml b/libs/px_workspace_hack/Cargo.toml index 1279ee170..ad354e0e4 100644 --- a/libs/px_workspace_hack/Cargo.toml +++ b/libs/px_workspace_hack/Cargo.toml @@ -16,120 +16,8 @@ license.workspace = true # are managed by hakari. ### BEGIN HAKARI SECTION -[dependencies] -aho-corasick = { version = "1" } -base64 = { version = "0.22" } -bitflags = { version = "2", default-features = false, features = ["serde"] } -byteorder = { version = "1" } -clap = { version = "4", features = ["derive", "env"] } -clap_builder = { version = "4", default-features = false, features = ["color", "env", "help", "std", "suggestions", "usage"] } -console = { version = "0.15" } -crossbeam-utils = { version = "0.8" } -crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] } -deranged = { version = "0.3", default-features = false, features = ["powerfmt", "serde", "std"] } -digest = { version = "0.10", features = ["mac", "std"] } -either = { version = "1", features = ["serde"] } -form_urlencoded = { version = "1" } -futures-channel = { version = "0.3", features = ["sink"] } -futures-core = { version = "0.3" } -futures-io = { version = "0.3" } -futures-sink = { version = "0.3" } -futures-util = { version = "0.3", features = ["channel", "io", "sink"] } -getrandom = { version = "0.2", default-features = false, features = ["std"] } -hashbrown = { version = "0.15" } -hmac = { version = "0.12", default-features = false, features = ["reset"] } -indexmap = { version = "2", features = ["serde"] } -log = { version = "0.4", default-features = false, features = ["std"] } -memchr = { version = "2" } -miette = { version = "7", features = ["fancy"] } -num-traits = { version = "0.2", features = ["i128"] } -percent-encoding = { version = "2" } -proc-macro2 = { version = "1", features = ["span-locations"] } -quote = { version = "1" } -rand = { version = "0.8" } -regex = { version = "1" } -regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa", "perf", "unicode"] } -regex-syntax = { version = "0.8" } -reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } -serde = { version = "1", features = ["alloc", "derive", "rc"] } -serde_json = { version = "1", features = ["raw_value", "unbounded_depth"] } -sha2 = { version = "0.10" } -smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] } -sqlx = { version = "0.8", features = ["postgres", "time", "uuid"] } -sqlx-core = { version = "0.8", features = ["any", "json", "migrate", "offline", "time", "uuid"] } -sqlx-postgres = { version = "0.8", default-features = false, features = ["any", "json", "migrate", "offline", "time", "uuid"] } -stable_deref_trait = { version = "1" } -subtle = { version = "2" } -syn = { version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } -textwrap = { version = "0.16" } -time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing", "serde"] } -tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt", "sync", "time"] } -toml = { version = "0.8", features = ["preserve_order"] } -toml_edit = { version = "0.22", features = ["serde"] } -tracing = { version = "0.1", features = ["log"] } -tracing-core = { version = "0.1" } -tracing-log = { version = "0.2" } -uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } -zeroize = { version = "1", features = ["zeroize_derive"] } - -[build-dependencies] -aho-corasick = { version = "1" } -base64 = { version = "0.22" } -bitflags = { version = "2", default-features = false, features = ["serde"] } -byteorder = { version = "1" } -cc = { version = "1", default-features = false, features = ["parallel"] } -clap = { version = "4", features = ["derive", "env"] } -clap_builder = { version = "4", default-features = false, features = ["color", "env", "help", "std", "suggestions", "usage"] } -console = { version = "0.15" } -crossbeam-utils = { version = "0.8" } -crypto-common = { version = "0.1", default-features = false, features = ["getrandom", "std"] } -deranged = { version = "0.3", default-features = false, features = ["powerfmt", "serde", "std"] } -digest = { version = "0.10", features = ["mac", "std"] } -either = { version = "1", features = ["serde"] } -form_urlencoded = { version = "1" } -futures-channel = { version = "0.3", features = ["sink"] } -futures-core = { version = "0.3" } -futures-io = { version = "0.3" } -futures-sink = { version = "0.3" } -futures-util = { version = "0.3", features = ["channel", "io", "sink"] } -getrandom = { version = "0.2", default-features = false, features = ["std"] } -hashbrown = { version = "0.15" } -hmac = { version = "0.12", default-features = false, features = ["reset"] } -indexmap = { version = "2", features = ["serde"] } -log = { version = "0.4", default-features = false, features = ["std"] } -memchr = { version = "2" } -miette = { version = "7", features = ["fancy"] } -num-traits = { version = "0.2", features = ["i128"] } -percent-encoding = { version = "2" } -proc-macro2 = { version = "1", features = ["span-locations"] } -quote = { version = "1" } -rand = { version = "0.8" } -regex = { version = "1" } -regex-automata = { version = "0.4", default-features = false, features = ["dfa-onepass", "hybrid", "meta", "nfa", "perf", "unicode"] } -regex-syntax = { version = "0.8" } -reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] } -serde = { version = "1", features = ["alloc", "derive", "rc"] } -serde_json = { version = "1", features = ["raw_value", "unbounded_depth"] } -sha2 = { version = "0.10" } -smallvec = { version = "1", default-features = false, features = ["const_new", "serde"] } -sqlx = { version = "0.8", features = ["postgres", "time", "uuid"] } -sqlx-core = { version = "0.8", features = ["any", "json", "migrate", "offline", "time", "uuid"] } -sqlx-macros = { version = "0.8", features = ["derive", "json", "macros", "migrate", "postgres", "time", "uuid"] } -sqlx-macros-core = { version = "0.8", features = ["derive", "json", "macros", "migrate", "postgres", "time", "uuid"] } -sqlx-postgres = { version = "0.8", default-features = false, features = ["any", "json", "migrate", "offline", "time", "uuid"] } -stable_deref_trait = { version = "1" } -subtle = { version = "2" } -syn = { version = "2", features = ["extra-traits", "fold", "full", "visit", "visit-mut"] } -textwrap = { version = "0.16" } -time = { version = "0.3", features = ["formatting", "local-offset", "macros", "parsing", "serde"] } -time-macros = { version = "0.2", default-features = false, features = ["formatting", "parsing", "serde"] } -tokio = { version = "1", features = ["fs", "io-util", "macros", "net", "rt", "sync", "time"] } -toml = { version = "0.8", features = ["preserve_order"] } -toml_edit = { version = "0.22", features = ["serde"] } -tracing = { version = "0.1", features = ["log"] } -tracing-core = { version = "0.1" } -tracing-log = { version = "0.2" } -uuid = { version = "1", features = ["fast-rng", "serde", "v4", "v7"] } -zeroize = { version = "1", features = ["zeroize_derive"] } +# Disabled by running `cargo hakari disable`. +# To re-enable, run: +# cargo hakari generate ### END HAKARI SECTION From 9114104705ce29f0ee03705378dd670c921577a5 Mon Sep 17 00:00:00 2001 From: "pavex-releaser[bot]" <167640712+pavex-releaser[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 10:26:38 +0000 Subject: [PATCH 2/3] chore: release v0.1.69 --- libs/CHANGELOG.md | 40 ++++++++++++++++++++++ libs/Cargo.lock | 38 ++++++++++---------- libs/Cargo.toml | 2 +- libs/pavex/Cargo.toml | 8 ++--- libs/pavex_bp_schema/Cargo.toml | 2 +- libs/pavex_cli/Cargo.toml | 6 ++-- libs/pavex_cli_client/Cargo.toml | 2 +- libs/pavex_session/Cargo.toml | 4 +-- libs/pavex_session_memory_store/Cargo.toml | 2 +- libs/pavex_session_sqlx/Cargo.toml | 2 +- libs/pavex_test_runner/Cargo.toml | 2 +- libs/pavex_tracing/Cargo.toml | 2 +- libs/pavexc/Cargo.toml | 8 ++--- libs/pavexc_cli/Cargo.toml | 10 +++--- libs/pavexc_cli_client/Cargo.toml | 2 +- 15 files changed, 85 insertions(+), 45 deletions(-) diff --git a/libs/CHANGELOG.md b/libs/CHANGELOG.md index 50db2b7a1..eb8535d63 100644 --- a/libs/CHANGELOG.md +++ b/libs/CHANGELOG.md @@ -6,6 +6,46 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.69](https://github.com/LukeMathWalker/pavex/compare/0.1.68...0.1.69) - 2025-01-21 + +### Added + +- When Pavex's Server fails to spawn a worker thread, capture that thread's name in the error message +- Add Server::try_serve to give users a chance to handle the case where no connection sources have been registered +- Cache accesses for path dependencies are now significantly faster, since 'cargo' is no longer in the hot path of determining the crate checksum +- Reduce the time spent generating JSON docs by leveraging 'cargo rustdoc' built-in caching mechanism for the single-crate usecase. +- Update Pavex's nightly to 2025-01-04. It unlocks the 2024 edition for Pavex users +- Enable backtraces for panics in the project template, being careful not to capture backtraces for normal errors in libraries such as anyhow. Update the command to force the toolchain install to work with the latest rustup version + +### Fixed + +- Use hyper_util's GracefulShutdown utility to ensure connections are indeed shutdown gracefully +- Don't panic if we fail to serve a connection. Log the error as a warning. +- Lower the logging level to info when reporting about a failure to establish a connection. This event kind is common enough not to deserve a higher logging level. +- Use the blueprint location as the project fingerprint rather than the workspace path, since a workspace may contain multiple blueprints, as it happens for Pavex's UI tests +- The JSON documentation for path dependencies wouldn't be cached if the lock file could not be retrieved. The lockfile is now skipped when computing the dependency hash + +### Other + +- Disable workspace hack before a release +- Rework graceful shutdown tests to remove flakiness +- Move 'tracing_log_error' in its own repository and consume it via crates.io +- Fix clippy lint +- Migrate all tracing events that touch errors to log_error! to ensure consistent field naming +- Clarify why it's fine to panic if tokio can't create a current-thread runtime inside a Pavex Server worker thread +- Re-enable workspace hack after a release +- Add a mechanism to export a profile showing where time is being spent in the setup for UI tests +- Improve span granularity for the computation of the package graph +- Enable tracing for UI tests +- Improve formatting and suggested resolution for a missing nightly toolchain +- Update outdated comment +- Fix clippy lints +- Allow reusing the same cargo metadata output to improve test throughput +- Allow UI tests to cache workspace crates to reduce cargo locking contention +- Fix spacing in error message +- Re-export error-related fields in pavex_tracing from tracing_log_error +- update Cargo.toml dependencies + ## [0.1.68](https://github.com/LukeMathWalker/pavex/compare/0.1.67...0.1.68) - 2025-01-05 ### Fixed diff --git a/libs/Cargo.lock b/libs/Cargo.lock index 7eba69ee2..6f077507a 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -1176,7 +1176,7 @@ dependencies = [ [[package]] name = "generate_from_path" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "fs-err 3.0.0", @@ -2374,7 +2374,7 @@ dependencies = [ [[package]] name = "pavex" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "biscotti", @@ -2420,7 +2420,7 @@ dependencies = [ [[package]] name = "pavex_bp_schema" -version = "0.1.68" +version = "0.1.69" dependencies = [ "pavex_reflection", "serde", @@ -2428,7 +2428,7 @@ dependencies = [ [[package]] name = "pavex_cli" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anstyle", "anyhow", @@ -2483,7 +2483,7 @@ dependencies = [ [[package]] name = "pavex_cli_client" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "pavex", @@ -2492,7 +2492,7 @@ dependencies = [ [[package]] name = "pavex_cli_deps" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "cargo-like-utils", @@ -2500,7 +2500,7 @@ dependencies = [ [[package]] name = "pavex_macros" -version = "0.1.68" +version = "0.1.69" dependencies = [ "pavex", "proc-macro2", @@ -2512,7 +2512,7 @@ dependencies = [ [[package]] name = "pavex_miette" -version = "0.1.68" +version = "0.1.69" dependencies = [ "miette", "owo-colors", @@ -2526,14 +2526,14 @@ dependencies = [ [[package]] name = "pavex_reflection" -version = "0.1.68" +version = "0.1.69" dependencies = [ "serde", ] [[package]] name = "pavex_session" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "async-trait", @@ -2552,7 +2552,7 @@ dependencies = [ [[package]] name = "pavex_session_memory_store" -version = "0.1.68" +version = "0.1.69" dependencies = [ "async-trait", "pavex_session", @@ -2564,7 +2564,7 @@ dependencies = [ [[package]] name = "pavex_session_sqlx" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "async-trait", @@ -2580,7 +2580,7 @@ dependencies = [ [[package]] name = "pavex_test_runner" -version = "0.1.68" +version = "0.1.69" dependencies = [ "ahash", "anyhow", @@ -2611,7 +2611,7 @@ dependencies = [ [[package]] name = "pavex_tracing" -version = "0.1.68" +version = "0.1.69" dependencies = [ "pavex", "tracing", @@ -2620,7 +2620,7 @@ dependencies = [ [[package]] name = "pavexc" -version = "0.1.68" +version = "0.1.69" dependencies = [ "ahash", "anyhow", @@ -2674,7 +2674,7 @@ dependencies = [ [[package]] name = "pavexc_cli" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "better-panic", @@ -2708,7 +2708,7 @@ dependencies = [ [[package]] name = "pavexc_cli_client" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "pavex", @@ -2717,7 +2717,7 @@ dependencies = [ [[package]] name = "pavexc_rustdoc_types" -version = "0.1.68" +version = "0.1.69" dependencies = [ "rustc-hash", "serde", @@ -2760,7 +2760,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "persist_if_changed" -version = "0.1.68" +version = "0.1.69" dependencies = [ "anyhow", "fs-err 3.0.0", diff --git a/libs/Cargo.toml b/libs/Cargo.toml index 2a285edbc..27fc94e35 100644 --- a/libs/Cargo.toml +++ b/libs/Cargo.toml @@ -12,7 +12,7 @@ edition = "2021" repository = "https://github.com/LukeMathWalker/pavex" homepage = "https://pavex.dev" license = "Apache-2.0" -version = "0.1.68" +version = "0.1.69" [workspace.dependencies] vergen-gitcl = { version = "1.0.5", features = ["build"] } diff --git a/libs/pavex/Cargo.toml b/libs/pavex/Cargo.toml index b2bf13adb..49bc179d9 100644 --- a/libs/pavex/Cargo.toml +++ b/libs/pavex/Cargo.toml @@ -33,15 +33,15 @@ futures-util = { workspace = true } mime = { workspace = true } thiserror = { workspace = true } serde = { workspace = true, features = ["derive"] } -pavex_macros = { path = "../pavex_macros", version = "0.1.68" } +pavex_macros = { path = "../pavex_macros", version = "0.1.69" } paste = { workspace = true } tracing = { workspace = true } http-body-util = { workspace = true } pin-project-lite = { workspace = true } ubyte = { workspace = true, features = ["serde"] } -pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.68" } -pavex_reflection = { path = "../pavex_reflection", version = "=0.1.68" } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.68" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.69" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.69" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.69" } # Route parameters matchit = { workspace = true } diff --git a/libs/pavex_bp_schema/Cargo.toml b/libs/pavex_bp_schema/Cargo.toml index 23337e01d..be9b9e752 100644 --- a/libs/pavex_bp_schema/Cargo.toml +++ b/libs/pavex_bp_schema/Cargo.toml @@ -9,4 +9,4 @@ license.workspace = true [dependencies] serde = { workspace = true, features = ["derive"] } -pavex_reflection = { path = "../pavex_reflection", version = "=0.1.68" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.69" } diff --git a/libs/pavex_cli/Cargo.toml b/libs/pavex_cli/Cargo.toml index 5e029a579..0dd9ce6ff 100644 --- a/libs/pavex_cli/Cargo.toml +++ b/libs/pavex_cli/Cargo.toml @@ -20,9 +20,9 @@ vergen-gitcl = { workspace = true } anyhow = { workspace = true } [dependencies] -pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.68" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.68" } -pavex_miette = { path = "../pavex_miette", version = "0.1.68" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.69" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.69" } +pavex_miette = { path = "../pavex_miette", version = "0.1.69" } tracing_log_error = { workspace = true } clap = { workspace = true, features = ["derive", "env"] } miette = { workspace = true } diff --git a/libs/pavex_cli_client/Cargo.toml b/libs/pavex_cli_client/Cargo.toml index b0a51042d..a3005cef6 100644 --- a/libs/pavex_cli_client/Cargo.toml +++ b/libs/pavex_cli_client/Cargo.toml @@ -9,5 +9,5 @@ license.workspace = true [dependencies] anyhow = { workspace = true } -pavex = { path = "../pavex", version = "0.1.68" } +pavex = { path = "../pavex", version = "0.1.69" } thiserror = { workspace = true } diff --git a/libs/pavex_session/Cargo.toml b/libs/pavex_session/Cargo.toml index 3d2ca2649..d7faa9635 100644 --- a/libs/pavex_session/Cargo.toml +++ b/libs/pavex_session/Cargo.toml @@ -8,10 +8,10 @@ repository.workspace = true license.workspace = true [dependencies] -pavex = { version = "0.1.68", path = "../pavex", default-features = false, features = [ +pavex = { version = "0.1.69", path = "../pavex", default-features = false, features = [ "cookie", ] } -pavex_tracing = { version = "0.1.68", path = "../pavex_tracing" } +pavex_tracing = { version = "0.1.69", path = "../pavex_tracing" } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true } anyhow = { workspace = true } diff --git a/libs/pavex_session_memory_store/Cargo.toml b/libs/pavex_session_memory_store/Cargo.toml index e35684dd5..f03770fc1 100644 --- a/libs/pavex_session_memory_store/Cargo.toml +++ b/libs/pavex_session_memory_store/Cargo.toml @@ -8,7 +8,7 @@ repository.workspace = true license.workspace = true [dependencies] -pavex_session = { version = "0.1.68", path = "../pavex_session" } +pavex_session = { version = "0.1.69", path = "../pavex_session" } time = { workspace = true, features = ["std"] } serde_json = { workspace = true } async-trait = { workspace = true } diff --git a/libs/pavex_session_sqlx/Cargo.toml b/libs/pavex_session_sqlx/Cargo.toml index 44fb6533b..b56a32abe 100644 --- a/libs/pavex_session_sqlx/Cargo.toml +++ b/libs/pavex_session_sqlx/Cargo.toml @@ -16,7 +16,7 @@ postgres = ["sqlx/postgres"] all-features = true [dependencies] -pavex_session = { version = "0.1.68", path = "../pavex_session" } +pavex_session = { version = "0.1.69", path = "../pavex_session" } time = { workspace = true, features = ["std"] } serde_json = { workspace = true } async-trait = { workspace = true } diff --git a/libs/pavex_test_runner/Cargo.toml b/libs/pavex_test_runner/Cargo.toml index 5737559d9..89f909250 100644 --- a/libs/pavex_test_runner/Cargo.toml +++ b/libs/pavex_test_runner/Cargo.toml @@ -31,7 +31,7 @@ walkdir = { workspace = true } serde_json = { workspace = true } itertools = { workspace = true } sha2 = { workspace = true } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.68" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.69" } object-pool = { workspace = true } num_cpus = { workspace = true } globwalk = { workspace = true } diff --git a/libs/pavex_tracing/Cargo.toml b/libs/pavex_tracing/Cargo.toml index 4bbf25dfe..a2dc302c9 100644 --- a/libs/pavex_tracing/Cargo.toml +++ b/libs/pavex_tracing/Cargo.toml @@ -12,4 +12,4 @@ readme = "README.md" [dependencies] tracing = { workspace = true, features = ["std"] } tracing_log_error = { workspace = true } -pavex = { version = "0.1.68", path = "../pavex" } +pavex = { version = "0.1.69", path = "../pavex" } diff --git a/libs/pavexc/Cargo.toml b/libs/pavexc/Cargo.toml index 8be37e08c..e39be108f 100644 --- a/libs/pavexc/Cargo.toml +++ b/libs/pavexc/Cargo.toml @@ -19,9 +19,9 @@ anyhow = { workspace = true } debug_assertions = [] [dependencies] -pavex = { path = "../pavex", version = "0.1.68" } -pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.68" } -rustdoc_types = { path = "../pavexc_rustdoc_types", version = "=0.1.68", package = "pavexc_rustdoc_types" } +pavex = { path = "../pavex", version = "0.1.69" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.69" } +rustdoc_types = { path = "../pavexc_rustdoc_types", version = "=0.1.69", package = "pavexc_rustdoc_types" } tracing_log_error = { workspace = true } syn = { workspace = true, features = ["full", "extra-traits", "visit"] } serde = { workspace = true, features = ["derive"] } @@ -51,7 +51,7 @@ once_cell = { workspace = true } toml = { workspace = true } toml_edit = { workspace = true, features = ["serde"] } semver = { workspace = true } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.68" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.69" } matchit = { workspace = true } relative-path = { workspace = true } camino = { workspace = true } diff --git a/libs/pavexc_cli/Cargo.toml b/libs/pavexc_cli/Cargo.toml index 762a30ba3..795126de3 100644 --- a/libs/pavexc_cli/Cargo.toml +++ b/libs/pavexc_cli/Cargo.toml @@ -14,12 +14,12 @@ path = "src/main.rs" [dependencies] clap = { workspace = true, features = ["derive", "env"] } -pavexc = { path = "../pavexc", version = "0.1.68" } -pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.68" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.68" } +pavexc = { path = "../pavexc", version = "0.1.69" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.69" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.69" } tracing_log_error = { workspace = true } cargo-like-utils = { workspace = true } -pavex_miette = { path = "../pavex_miette", version = "0.1.68" } +pavex_miette = { path = "../pavex_miette", version = "0.1.69" } liquid-core = { workspace = true } miette = { workspace = true } fs-err = { workspace = true } @@ -35,7 +35,7 @@ supports-color = { workspace = true } include_dir = { workspace = true } path-absolutize = { workspace = true } ron = { workspace = true } -generate_from_path = { path = "../generate_from_path", version = "0.1.68" } +generate_from_path = { path = "../generate_from_path", version = "0.1.69" } tempfile = { workspace = true } better-panic = { workspace = true } serde = { workspace = true, features = ["derive"] } diff --git a/libs/pavexc_cli_client/Cargo.toml b/libs/pavexc_cli_client/Cargo.toml index 3a1991f3c..e1794489f 100644 --- a/libs/pavexc_cli_client/Cargo.toml +++ b/libs/pavexc_cli_client/Cargo.toml @@ -9,5 +9,5 @@ license.workspace = true [dependencies] anyhow = { workspace = true } -pavex = { path = "../pavex", version = "0.1.68" } +pavex = { path = "../pavex", version = "0.1.69" } thiserror = { workspace = true } From d97b736ea618034fb007da903aff8f8a7c8568cd Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Tue, 21 Jan 2025 11:30:28 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- libs/CHANGELOG.md | 28 +++++++--------------------- 1 file changed, 7 insertions(+), 21 deletions(-) diff --git a/libs/CHANGELOG.md b/libs/CHANGELOG.md index eb8535d63..f77dfb81c 100644 --- a/libs/CHANGELOG.md +++ b/libs/CHANGELOG.md @@ -19,32 +19,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed -- Use hyper_util's GracefulShutdown utility to ensure connections are indeed shutdown gracefully +- Use hyper_util's GracefulShutdown utility to ensure connections are indeed shut down gracefully - Don't panic if we fail to serve a connection. Log the error as a warning. -- Lower the logging level to info when reporting about a failure to establish a connection. This event kind is common enough not to deserve a higher logging level. +- Lower the logging level to info when reporting a failure to establish a connection. This event kind is common enough not to deserve a higher logging level. - Use the blueprint location as the project fingerprint rather than the workspace path, since a workspace may contain multiple blueprints, as it happens for Pavex's UI tests -- The JSON documentation for path dependencies wouldn't be cached if the lock file could not be retrieved. The lockfile is now skipped when computing the dependency hash ### Other -- Disable workspace hack before a release -- Rework graceful shutdown tests to remove flakiness -- Move 'tracing_log_error' in its own repository and consume it via crates.io -- Fix clippy lint -- Migrate all tracing events that touch errors to log_error! to ensure consistent field naming -- Clarify why it's fine to panic if tokio can't create a current-thread runtime inside a Pavex Server worker thread -- Re-enable workspace hack after a release -- Add a mechanism to export a profile showing where time is being spent in the setup for UI tests -- Improve span granularity for the computation of the package graph -- Enable tracing for UI tests -- Improve formatting and suggested resolution for a missing nightly toolchain -- Update outdated comment -- Fix clippy lints -- Allow reusing the same cargo metadata output to improve test throughput -- Allow UI tests to cache workspace crates to reduce cargo locking contention -- Fix spacing in error message -- Re-export error-related fields in pavex_tracing from tracing_log_error -- update Cargo.toml dependencies +- Migrate all tracing events that touch errors to `log_error!` to ensure consistent field naming +- Clarify why it's fine to panic if `tokio` can't create a current-thread runtime inside a Pavex server worker thread +- Improve suggested resolution for a missing nightly toolchain +- Re-export error-related fields in `pavex_tracing` from `tracing_log_error` +- Update dependency versions ## [0.1.68](https://github.com/LukeMathWalker/pavex/compare/0.1.67...0.1.68) - 2025-01-05