Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release v0.1.50 #360

Merged
merged 3 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions libs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ 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.
- 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

- 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

## [0.1.49](https://github.com/LukeMathWalker/pavex/compare/0.1.48...0.1.49) - 2024-10-23

### Added
Expand Down
97 changes: 17 additions & 80 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
1 change: 0 additions & 1 deletion libs/generate_from_path/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
9 changes: 4 additions & 5 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 Expand Up @@ -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"] }
Expand Down
3 changes: 1 addition & 2 deletions libs/pavex_bp_schema/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ 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" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.50" }
7 changes: 3 additions & 4 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 Expand Up @@ -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" }
Expand Down
3 changes: 1 addition & 2 deletions libs/pavex_cli_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +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 }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
Loading