Skip to content

Commit

Permalink
chore: release v0.1.50
Browse files Browse the repository at this point in the history
  • Loading branch information
pavex-releaser[bot] authored Nov 1, 2024
1 parent e5fe579 commit 45ac6c9
Show file tree
Hide file tree
Showing 14 changed files with 71 additions and 41 deletions.
30 changes: 30 additions & 0 deletions libs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 17 additions & 17 deletions libs/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion libs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
8 changes: 4 additions & 4 deletions libs/pavex/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavex_bp_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
6 changes: 3 additions & 3 deletions libs/pavex_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavex_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
4 changes: 2 additions & 2 deletions libs/pavex_session/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavex_session_memory_store/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavex_test_runner/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavex_tracing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
6 changes: 3 additions & 3 deletions libs/pavexc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"] }
Expand Down Expand Up @@ -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 }
Expand Down
10 changes: 5 additions & 5 deletions libs/pavexc_cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -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"] }
Expand Down
2 changes: 1 addition & 1 deletion libs/pavexc_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }

0 comments on commit 45ac6c9

Please sign in to comment.