From e5fe57904286bb0156aef5d62a54ba5a3b0da051 Mon Sep 17 00:00:00 2001 From: "pavex-releaser[bot]" Date: Fri, 1 Nov 2024 16:33:55 +0000 Subject: [PATCH 1/3] Disable workspace hack before a release --- libs/Cargo.lock | 63 --------------- 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_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/persist_if_changed/Cargo.toml | 1 - libs/px_workspace_hack/Cargo.toml | 92 +--------------------- 19 files changed, 3 insertions(+), 169 deletions(-) diff --git a/libs/Cargo.lock b/libs/Cargo.lock index b5ca9edf9..69054a884 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -1030,7 +1030,6 @@ dependencies = [ "liquid", "liquid-core", "path-absolutize", - "px_workspace_hack", "regex", "sanitize-filename", "tempfile", @@ -2046,7 +2045,6 @@ dependencies = [ "percent-encoding", "persist_if_changed", "pin-project-lite", - "px_workspace_hack", "reqwest", "ron", "serde", @@ -2069,7 +2067,6 @@ name = "pavex_bp_schema" version = "0.1.49" dependencies = [ "pavex_reflection", - "px_workspace_hack", "serde", ] @@ -2097,7 +2094,6 @@ dependencies = [ "pavexc", "pavexc_cli_client", "pem", - "px_workspace_hack", "redact", "remove_dir_all", "reqwest", @@ -2134,7 +2130,6 @@ version = "0.1.49" dependencies = [ "anyhow", "pavex", - "px_workspace_hack", "thiserror", ] @@ -2144,7 +2139,6 @@ version = "0.1.49" dependencies = [ "anyhow", "cargo-like-utils", - "px_workspace_hack", ] [[package]] @@ -2153,7 +2147,6 @@ version = "0.1.49" dependencies = [ "pavex", "proc-macro2", - "px_workspace_hack", "quote", "serde", "syn", @@ -2172,7 +2165,6 @@ version = "0.1.49" dependencies = [ "miette", "owo-colors", - "px_workspace_hack", "supports-color", "supports-hyperlinks", "supports-unicode", @@ -2185,7 +2177,6 @@ dependencies = [ name = "pavex_reflection" version = "0.1.49" dependencies = [ - "px_workspace_hack", "serde", ] @@ -2198,7 +2189,6 @@ dependencies = [ "humantime-serde", "pavex", "pavex_tracing", - "px_workspace_hack", "serde", "serde_json", "thiserror", @@ -2214,7 +2204,6 @@ version = "0.1.49" dependencies = [ "async-trait", "pavex_session", - "px_workspace_hack", "serde_json", "time", "tokio", @@ -2240,7 +2229,6 @@ dependencies = [ "once_cell", "pavexc", "persist_if_changed", - "px_workspace_hack", "rayon", "regex", "serde", @@ -2258,7 +2246,6 @@ name = "pavex_tracing" version = "0.1.49" dependencies = [ "pavex", - "px_workspace_hack", "tracing", ] @@ -2290,7 +2277,6 @@ dependencies = [ "petgraph", "prettyplease", "proc-macro2", - "px_workspace_hack", "quote", "r2d2", "r2d2_sqlite", @@ -2332,7 +2318,6 @@ dependencies = [ "pavex_miette", "pavexc", "pavexc_cli_client", - "px_workspace_hack", "ron", "serde", "serde_json", @@ -2352,7 +2337,6 @@ version = "0.1.49" dependencies = [ "anyhow", "pavex", - "px_workspace_hack", "thiserror", ] @@ -2388,7 +2372,6 @@ version = "0.1.49" dependencies = [ "anyhow", "fs-err", - "px_workspace_hack", "sha2", "tracing", ] @@ -2530,52 +2513,6 @@ dependencies = [ [[package]] name = "px_workspace_hack" version = "0.1.0" -dependencies = [ - "aho-corasick", - "byteorder", - "cc", - "clap", - "clap_builder", - "console", - "crypto-common", - "deranged", - "digest", - "fixedbitset", - "futures-channel", - "futures-core", - "futures-sink", - "futures-util", - "getrandom", - "hmac", - "indexmap", - "log", - "memchr", - "miette", - "num-traits", - "petgraph", - "proc-macro2", - "quote", - "regex", - "regex-automata 0.4.8", - "regex-syntax 0.8.5", - "reqwest", - "serde", - "serde_json", - "sha2", - "smallvec", - "subtle", - "syn", - "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 77adc6027..866c42c44 100644 --- a/libs/pavex/Cargo.toml +++ b/libs/pavex/Cargo.toml @@ -78,7 +78,6 @@ hyper-util = { workspace = true, features = [ ], optional = true } socket2 = { workspace = true, optional = true } smallvec = { 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 d43246490..6cfc339e9 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.49" } -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 8472de2c6..04cf64580 100644 --- a/libs/pavex_cli/Cargo.toml +++ b/libs/pavex_cli/Cargo.toml @@ -65,7 +65,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 3486e8799..494212347 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.49" } 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 239427317..3ff2a7720 100644 --- a/libs/pavex_session/Cargo.toml +++ b/libs/pavex_session/Cargo.toml @@ -22,4 +22,3 @@ 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" } diff --git a/libs/pavex_session_memory_store/Cargo.toml b/libs/pavex_session_memory_store/Cargo.toml index eec4d313d..d94abdc84 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_test_runner/Cargo.toml b/libs/pavex_test_runner/Cargo.toml index 50a73aad9..a3ce7a959 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 3ec884dd4..a9a2c1336 100644 --- a/libs/pavex_tracing/Cargo.toml +++ b/libs/pavex_tracing/Cargo.toml @@ -12,4 +12,3 @@ readme = "README.md" [dependencies] tracing = { workspace = true, features = ["std"] } pavex = { version = "0.1.49", 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 6e4c206e2..6c7eec55a 100644 --- a/libs/pavexc/Cargo.toml +++ b/libs/pavexc/Cargo.toml @@ -63,4 +63,3 @@ r2d2 = { workspace = true } bincode = { workspace = true } rayon = { workspace = true } num_cpus = { workspace = true } -px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" } diff --git a/libs/pavexc_cli/Cargo.toml b/libs/pavexc_cli/Cargo.toml index 5c87c8235..fb0865064 100644 --- a/libs/pavexc_cli/Cargo.toml +++ b/libs/pavexc_cli/Cargo.toml @@ -39,7 +39,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 16fc62cc0..4af7db020 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.49" } thiserror = { 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 effbdd8ff..ad354e0e4 100644 --- a/libs/px_workspace_hack/Cargo.toml +++ b/libs/px_workspace_hack/Cargo.toml @@ -16,94 +16,8 @@ license.workspace = true # are managed by hakari. ### BEGIN HAKARI SECTION -[dependencies] -aho-corasick = { version = "1" } -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" } -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"] } -fixedbitset = { version = "0.4" } -futures-channel = { version = "0.3", features = ["sink"] } -futures-core = { 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"] } -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"] } -petgraph = { version = "0.6", default-features = false, features = ["graphmap", "stable_graph"] } -proc-macro2 = { version = "1", features = ["span-locations"] } -quote = { version = "1" } -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"] } -serde_json = { version = "1", features = ["unbounded_depth"] } -sha2 = { version = "0.10" } -smallvec = { version = "1", default-features = false, features = ["const_new"] } -subtle = { version = "2" } -syn = { version = "2", features = ["extra-traits", "full", "visit", "visit-mut"] } -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" } -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" } -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" } -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"] } -fixedbitset = { version = "0.4" } -futures-channel = { version = "0.3", features = ["sink"] } -futures-core = { 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"] } -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"] } -petgraph = { version = "0.6", default-features = false, features = ["graphmap", "stable_graph"] } -proc-macro2 = { version = "1", features = ["span-locations"] } -quote = { version = "1" } -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"] } -serde_json = { version = "1", features = ["unbounded_depth"] } -sha2 = { version = "0.10" } -smallvec = { version = "1", default-features = false, features = ["const_new"] } -subtle = { version = "2" } -syn = { version = "2", features = ["extra-traits", "full", "visit", "visit-mut"] } -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" } -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 45ac6c9fb61f53b3d0be91cc737c3e47efd2bad2 Mon Sep 17 00:00:00 2001 From: "pavex-releaser[bot]" <167640712+pavex-releaser[bot]@users.noreply.github.com> Date: Fri, 1 Nov 2024 16:34:15 +0000 Subject: [PATCH 2/3] chore: release v0.1.50 --- libs/CHANGELOG.md | 30 +++++++++++++++++++ libs/Cargo.lock | 34 +++++++++++----------- 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_test_runner/Cargo.toml | 2 +- libs/pavex_tracing/Cargo.toml | 2 +- libs/pavexc/Cargo.toml | 6 ++-- libs/pavexc_cli/Cargo.toml | 10 +++---- libs/pavexc_cli_client/Cargo.toml | 2 +- 14 files changed, 71 insertions(+), 41 deletions(-) diff --git a/libs/CHANGELOG.md b/libs/CHANGELOG.md index 0a9ddf49d..c8587ea38 100644 --- a/libs/CHANGELOG.md +++ b/libs/CHANGELOG.md @@ -6,6 +6,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.1.50](https://github.com/LukeMathWalker/pavex/compare/0.1.49...0.1.50) - 2024-11-01 + +### Added + +- Support lifetime parameters in type aliases + +### Fixed + +- Supply an (empty) instance of `UrlParams` to the root fallback handler, if it needs it. +- Associate the correct function item with resolved methods, rather than the parent impl block. +- Improve error message +- Look for the 'impl' block in the crate that define the type, rather than the trait, when resolving trait methods +- Improve error message when we fail to find a method item in the JSON docs +- Don't complain about missing constructors when looking at a naked generic input parameter +- Bind generic parameters correctly in all instances +- Panic eagerly if internal invariants are not upheld when binding generic parameters +- Pavex correctly handles type alises with generic parameters that differ from the target type +- Pavex will correctly set the name of the defining crate when resolving local type aliases that refer to remote types +- Pavex will never use private modules in the paths used to refer to methods in the generated server SDK code. ([#355](https://github.com/LukeMathWalker/pavex/pull/355)) + +### Other + +- Disable workspace hack before a release +- Re-enable workspace hack after a release ([#354](https://github.com/LukeMathWalker/pavex/pull/354)) +- Punctuation in error messages. +- Improve panic message with details about the item we couldn't handle +- Display the available constructibles when PAVEX_DEBUG is set and we incur into a 'missing constructor' error +- Display the cyclic dependency graph when PAVEX_DEBUG is set +- Provide an easy-to-examine representation for the set of constructibles in a given scope tree + ## [0.1.49](https://github.com/LukeMathWalker/pavex/compare/0.1.48...0.1.49) - 2024-10-23 ### Added diff --git a/libs/Cargo.lock b/libs/Cargo.lock index 69054a884..ce3370e1c 100644 --- a/libs/Cargo.lock +++ b/libs/Cargo.lock @@ -1021,7 +1021,7 @@ dependencies = [ [[package]] name = "generate_from_path" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "fs-err", @@ -2020,7 +2020,7 @@ dependencies = [ [[package]] name = "pavex" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "biscotti", @@ -2064,7 +2064,7 @@ dependencies = [ [[package]] name = "pavex_bp_schema" -version = "0.1.49" +version = "0.1.50" dependencies = [ "pavex_reflection", "serde", @@ -2072,7 +2072,7 @@ dependencies = [ [[package]] name = "pavex_cli" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anstyle", "anyhow", @@ -2126,7 +2126,7 @@ dependencies = [ [[package]] name = "pavex_cli_client" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "pavex", @@ -2135,7 +2135,7 @@ dependencies = [ [[package]] name = "pavex_cli_deps" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "cargo-like-utils", @@ -2143,7 +2143,7 @@ dependencies = [ [[package]] name = "pavex_macros" -version = "0.1.49" +version = "0.1.50" dependencies = [ "pavex", "proc-macro2", @@ -2161,7 +2161,7 @@ checksum = "d673cfe628f1698f1e6c2e7a35ff15d23b5085e7017fd5ccada3711560e70a5c" [[package]] name = "pavex_miette" -version = "0.1.49" +version = "0.1.50" dependencies = [ "miette", "owo-colors", @@ -2175,14 +2175,14 @@ dependencies = [ [[package]] name = "pavex_reflection" -version = "0.1.49" +version = "0.1.50" dependencies = [ "serde", ] [[package]] name = "pavex_session" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "async-trait", @@ -2200,7 +2200,7 @@ dependencies = [ [[package]] name = "pavex_session_memory_store" -version = "0.1.49" +version = "0.1.50" dependencies = [ "async-trait", "pavex_session", @@ -2212,7 +2212,7 @@ dependencies = [ [[package]] name = "pavex_test_runner" -version = "0.1.49" +version = "0.1.50" dependencies = [ "ahash", "anyhow", @@ -2243,7 +2243,7 @@ dependencies = [ [[package]] name = "pavex_tracing" -version = "0.1.49" +version = "0.1.50" dependencies = [ "pavex", "tracing", @@ -2251,7 +2251,7 @@ dependencies = [ [[package]] name = "pavexc" -version = "0.1.49" +version = "0.1.50" dependencies = [ "ahash", "anyhow", @@ -2300,7 +2300,7 @@ dependencies = [ [[package]] name = "pavexc_cli" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "better-panic", @@ -2333,7 +2333,7 @@ dependencies = [ [[package]] name = "pavexc_cli_client" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "pavex", @@ -2368,7 +2368,7 @@ checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" [[package]] name = "persist_if_changed" -version = "0.1.49" +version = "0.1.50" dependencies = [ "anyhow", "fs-err", diff --git a/libs/Cargo.toml b/libs/Cargo.toml index 769595878..e9002751a 100644 --- a/libs/Cargo.toml +++ b/libs/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" repository = "https://github.com/LukeMathWalker/pavex" homepage = "https://pavex.dev" license = "Apache-2.0" -version = "0.1.49" +version = "0.1.50" [workspace.dependencies] vergen-gitcl = { version = "1.0.1", features = ["build"] } diff --git a/libs/pavex/Cargo.toml b/libs/pavex/Cargo.toml index 866c42c44..94cc38ba1 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.49" } +pavex_macros = { path = "../pavex_macros", version = "0.1.50" } 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.49" } -pavex_reflection = { path = "../pavex_reflection", version = "=0.1.49" } -persist_if_changed = { path = "../persist_if_changed", version = "0.1.49" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "=0.1.50" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.50" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.50" } # 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 6cfc339e9..5369853ef 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.49" } +pavex_reflection = { path = "../pavex_reflection", version = "=0.1.50" } diff --git a/libs/pavex_cli/Cargo.toml b/libs/pavex_cli/Cargo.toml index 04cf64580..79e7040c3 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.49" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.49" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.50" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.50" } clap = { workspace = true, features = ["derive", "env"] } -pavex_miette = { path = "../pavex_miette", version = "0.1.49" } +pavex_miette = { path = "../pavex_miette", version = "0.1.50" } 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 494212347..18abcb8cd 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.49" } +pavex = { path = "../pavex", version = "0.1.50" } thiserror = { workspace = true } diff --git a/libs/pavex_session/Cargo.toml b/libs/pavex_session/Cargo.toml index 3ff2a7720..1886f3606 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.49", path = "../pavex", default-features = false, features = [ +pavex = { version = "0.1.50", path = "../pavex", default-features = false, features = [ "cookie", ] } -pavex_tracing = { version = "0.1.49", path = "../pavex_tracing" } +pavex_tracing = { version = "0.1.50", 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 d94abdc84..e5cf269e4 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.49", path = "../pavex_session" } +pavex_session = { version = "0.1.50", 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 a3ce7a959..948b0ea01 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.49" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.50" } 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 a9a2c1336..e5d7c3bba 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.49", path = "../pavex" } +pavex = { version = "0.1.50", path = "../pavex" } diff --git a/libs/pavexc/Cargo.toml b/libs/pavexc/Cargo.toml index 6c7eec55a..707daf098 100644 --- a/libs/pavexc/Cargo.toml +++ b/libs/pavexc/Cargo.toml @@ -19,8 +19,8 @@ anyhow = { workspace = true } debug_assertions = [] [dependencies] -pavex = { path = "../pavex", version = "0.1.49" } -pavex_bp_schema = { path = "../pavex_bp_schema", version = "0.1.49" } +pavex = { path = "../pavex", version = "0.1.50" } +pavex_bp_schema = { path = "../pavex_bp_schema", version = "0.1.50" } syn = { workspace = true, features = ["full", "extra-traits", "visit"] } rustdoc-types = { workspace = true } serde = { workspace = true, features = ["derive"] } @@ -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.49" } +persist_if_changed = { path = "../persist_if_changed", version = "0.1.50" } 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 fb0865064..d64c1d883 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.49" } -pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.49" } -pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.49" } +pavexc = { path = "../pavexc", version = "0.1.50" } +pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.50" } +pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.50" } cargo-like-utils = { workspace = true } -pavex_miette = { path = "../pavex_miette", version = "0.1.49" } +pavex_miette = { path = "../pavex_miette", version = "0.1.50" } 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.49" } +generate_from_path = { path = "../generate_from_path", version = "0.1.50" } 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 4af7db020..c4355bc04 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.49" } +pavex = { path = "../pavex", version = "0.1.50" } thiserror = { workspace = true } From d26c3a20c24468868032ef6c6b46503a992ffa0e Mon Sep 17 00:00:00 2001 From: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:41:49 +0100 Subject: [PATCH 3/3] Update CHANGELOG.md --- libs/CHANGELOG.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/libs/CHANGELOG.md b/libs/CHANGELOG.md index c8587ea38..956f8b127 100644 --- a/libs/CHANGELOG.md +++ b/libs/CHANGELOG.md @@ -15,8 +15,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed - Supply an (empty) instance of `UrlParams` to the root fallback handler, if it needs it. -- Associate the correct function item with resolved methods, rather than the parent impl block. -- Improve error message - Look for the 'impl' block in the crate that define the type, rather than the trait, when resolving trait methods - Improve error message when we fail to find a method item in the JSON docs - Don't complain about missing constructors when looking at a naked generic input parameter @@ -28,10 +26,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Other -- Disable workspace hack before a release -- Re-enable workspace hack after a release ([#354](https://github.com/LukeMathWalker/pavex/pull/354)) -- Punctuation in error messages. -- Improve panic message with details about the item we couldn't handle +- Improve panic message with details about the `rustdoc` item we couldn't handle - Display the available constructibles when PAVEX_DEBUG is set and we incur into a 'missing constructor' error - Display the cyclic dependency graph when PAVEX_DEBUG is set - Provide an easy-to-examine representation for the set of constructibles in a given scope tree