diff --git a/libs/CHANGELOG.md b/libs/CHANGELOG.md index 17b9433b8..4b8e89265 100644 --- a/libs/CHANGELOG.md +++ b/libs/CHANGELOG.md @@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.54](https://github.com/LukeMathWalker/pavex/compare/0.1.53...0.1.54) - 2024-11-12 + +### Added + +- 'pavex' and 'pavexc' check a dedicated environment variable, in addition to invocation flags, to determine if diagnostic information should be outputted + +### Fixed + +- Avoid processing the same nodes multiple times in order to avoid duplicated transient nodes. + +### Other + +- update Cargo.toml dependencies +- Disable workspace hack before a release +- Re-enable workspace hack after a release +- Update thiserror in generated code + ## [0.1.52](https://github.com/LukeMathWalker/pavex/compare/0.1.51...0.1.52) - 2024-11-05 ### Fixed diff --git a/libs/Cargo.lock b/libs/Cargo.lock index c4b84a65b..267460a35 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -1145,7 +1145,7 @@ dependencies = [ [[package]] name = "generate_from_path" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "fs-err", @@ -2346,7 +2346,7 @@ dependencies = [ [[package]] name = "pavex" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "biscotti", @@ -2390,7 +2390,7 @@ dependencies = [ [[package]] name = "pavex_bp_schema" -version = "0.1.53" +version = "0.1.54" dependencies = [ "pavex_reflection", "serde", @@ -2398,7 +2398,7 @@ dependencies = [ [[package]] name = "pavex_cli" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anstyle", "anyhow", @@ -2452,7 +2452,7 @@ dependencies = [ [[package]] name = "pavex_cli_client" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "pavex", @@ -2461,7 +2461,7 @@ dependencies = [ [[package]] name = "pavex_cli_deps" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "cargo-like-utils", @@ -2469,7 +2469,7 @@ dependencies = [ [[package]] name = "pavex_macros" -version = "0.1.53" +version = "0.1.54" dependencies = [ "pavex", "proc-macro2", @@ -2487,7 +2487,7 @@ checksum = "d673cfe628f1698f1e6c2e7a35ff15d23b5085e7017fd5ccada3711560e70a5c" [[package]] name = "pavex_miette" -version = "0.1.53" +version = "0.1.54" dependencies = [ "miette", "owo-colors", @@ -2501,14 +2501,14 @@ dependencies = [ [[package]] name = "pavex_reflection" -version = "0.1.53" +version = "0.1.54" dependencies = [ "serde", ] [[package]] name = "pavex_session" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "async-trait", @@ -2526,7 +2526,7 @@ dependencies = [ [[package]] name = "pavex_session_memory_store" -version = "0.1.53" +version = "0.1.54" dependencies = [ "async-trait", "pavex_session", @@ -2538,7 +2538,7 @@ dependencies = [ [[package]] name = "pavex_session_sqlx" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "async-trait", @@ -2554,7 +2554,7 @@ dependencies = [ [[package]] name = "pavex_test_runner" -version = "0.1.53" +version = "0.1.54" dependencies = [ "ahash", "anyhow", @@ -2585,7 +2585,7 @@ dependencies = [ [[package]] name = "pavex_tracing" -version = "0.1.53" +version = "0.1.54" dependencies = [ "pavex", "tracing", @@ -2593,7 +2593,7 @@ dependencies = [ [[package]] name = "pavexc" -version = "0.1.53" +version = "0.1.54" dependencies = [ "ahash", "anyhow", @@ -2643,7 +2643,7 @@ dependencies = [ [[package]] name = "pavexc_cli" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "better-panic", @@ -2676,7 +2676,7 @@ dependencies = [ [[package]] name = "pavexc_cli_client" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "pavex", @@ -2685,7 +2685,7 @@ dependencies = [ [[package]] name = "pavexc_rustdoc_types" -version = "0.1.53" +version = "0.1.54" dependencies = [ "rustc-hash", "serde", @@ -2728,7 +2728,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "persist_if_changed" -version = "0.1.53" +version = "0.1.54" dependencies = [ "anyhow", "fs-err", diff --git a/libs/Cargo.toml b/libs/Cargo.toml index 0fe2dd104..7cc54ae8c 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.53" +version = "0.1.54" [workspace.dependencies] vergen-gitcl = { version = "1.0.1", features = ["build"] } diff --git a/libs/pavex/Cargo.toml b/libs/pavex/Cargo.toml index 7155108de..d25290659 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.53" } +pavex_macros = { path = "../pavex_macros", version = "0.1.54" } 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.53" } -pavex_reflection = { path = "../pavex_reflection", version = "=0.1.53" } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.53" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.54" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.54" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.54" } # Route parameters matchit = { version = "0.7.5", package = "pavex_matchit" } diff --git a/libs/pavex_bp_schema/Cargo.toml b/libs/pavex_bp_schema/Cargo.toml index d777d2790..d37b80ba0 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.53" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.54" } diff --git a/libs/pavex_cli/Cargo.toml b/libs/pavex_cli/Cargo.toml index ced6c7d10..455d6e5b4 100644 --- a/libs/pavex_cli/Cargo.toml +++ b/libs/pavex_cli/Cargo.toml @@ -20,10 +20,10 @@ vergen-gitcl = { workspace = true } anyhow = { workspace = true } [dependencies] -pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.53" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.53" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.54" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.54" } clap = { workspace = true, features = ["derive", "env"] } -pavex_miette = { path = "../pavex_miette", version = "0.1.53" } +pavex_miette = { path = "../pavex_miette", version = "0.1.54" } miette = { workspace = true } fs-err = { workspace = true } tracing-subscriber = { workspace = true, features = ["fmt", "env-filter"] } diff --git a/libs/pavex_cli_client/Cargo.toml b/libs/pavex_cli_client/Cargo.toml index b030ba3b8..c2b26e990 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.53" } +pavex = { path = "../pavex", version = "0.1.54" } thiserror = { workspace = true } diff --git a/libs/pavex_session/Cargo.toml b/libs/pavex_session/Cargo.toml index 24cd6c3ea..6d6f97d99 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.53", path = "../pavex", default-features = false, features = [ +pavex = { version = "0.1.54", path = "../pavex", default-features = false, features = [ "cookie", ] } -pavex_tracing = { version = "0.1.53", path = "../pavex_tracing" } +pavex_tracing = { version = "0.1.54", 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 99e7f0f1d..44dcaa38a 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.53", path = "../pavex_session" } +pavex_session = { version = "0.1.54", 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 f57143d64..55ca43d2a 100644 --- a/libs/pavex_session_sqlx/Cargo.toml +++ b/libs/pavex_session_sqlx/Cargo.toml @@ -14,7 +14,7 @@ postgres = ["sqlx/postgres"] all-features = true [dependencies] -pavex_session = { version = "0.1.53", path = "../pavex_session" } +pavex_session = { version = "0.1.54", path = "../pavex_session" } time = { workspace = true, features = ["std"] } serde_json = { workspace = true } async-trait = { workspace = true } @@ -24,5 +24,5 @@ anyhow = { workspace = true } sqlx = { workspace = true, features = ["uuid", "time"] } [dev-dependencies] -pavex_session_sqlx = { path = ".", version = "0.1.53", features = ["postgres"] } -pavex_tracing = { version = "0.1.53", path = "../pavex_tracing" } +pavex_session_sqlx = { path = ".", version = "0.1.54", features = ["postgres"] } +pavex_tracing = { version = "0.1.54", path = "../pavex_tracing" } diff --git a/libs/pavex_test_runner/Cargo.toml b/libs/pavex_test_runner/Cargo.toml index 78cd8ca56..d5db5dea8 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.53" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.54" } 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 08aeda36f..654df4b65 100644 --- a/libs/pavex_tracing/Cargo.toml +++ b/libs/pavex_tracing/Cargo.toml @@ -11,4 +11,4 @@ readme = "README.md" [dependencies] tracing = { workspace = true, features = ["std"] } -pavex = { version = "0.1.53", path = "../pavex" } +pavex = { version = "0.1.54", path = "../pavex" } diff --git a/libs/pavexc/Cargo.toml b/libs/pavexc/Cargo.toml index bfbbcb244..c741dbe8d 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.53" } -pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.53" } -rustdoc_types = { path = "../pavexc_rustdoc_types", version = "=0.1.53", package = "pavexc_rustdoc_types" } +pavex = { path = "../pavex", version = "0.1.54" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.54" } +rustdoc_types = { path = "../pavexc_rustdoc_types", version = "=0.1.54", package = "pavexc_rustdoc_types" } syn = { workspace = true, features = ["full", "extra-traits", "visit"] } serde = { workspace = true, features = ["derive"] } serde_json = { workspace = true, features = ["unbounded_depth"] } @@ -49,7 +49,7 @@ textwrap = { workspace = true } once_cell = { workspace = true } toml_edit = { workspace = true, features = ["serde"] } semver = { workspace = true } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.53" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.54" } matchit = { version = "0.7", package = "pavex_matchit" } relative-path = { workspace = true } camino = { workspace = true } diff --git a/libs/pavexc_cli/Cargo.toml b/libs/pavexc_cli/Cargo.toml index e289b8c22..8efe4f1c1 100644 --- a/libs/pavexc_cli/Cargo.toml +++ b/libs/pavexc_cli/Cargo.toml @@ -14,11 +14,11 @@ path = "src/main.rs" [dependencies] clap = { workspace = true, features = ["derive", "env"] } -pavexc = { path = "../pavexc", version = "0.1.53" } -pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.53" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.53" } +pavexc = { path = "../pavexc", version = "0.1.54" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.54" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.54" } cargo-like-utils = { workspace = true } -pavex_miette = { path = "../pavex_miette", version = "0.1.53" } +pavex_miette = { path = "../pavex_miette", version = "0.1.54" } liquid-core = { workspace = true } miette = { workspace = true } fs-err = { workspace = true } @@ -34,7 +34,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.53" } +generate_from_path = { path = "../generate_from_path", version = "0.1.54" } 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 8dd7d4a98..275e06db1 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.53" } +pavex = { path = "../pavex", version = "0.1.54" } thiserror = { workspace = true }