Skip to content

Commit

Permalink
chore: release v0.1.50 (#360)
Browse files Browse the repository at this point in the history
## 🤖 New release
* `pavex`: 0.1.49 -> 0.1.50
* `pavex_bp_schema`: 0.1.49 -> 0.1.50
* `pavex_reflection`: 0.1.49 -> 0.1.50
* `pavex_macros`: 0.1.49 -> 0.1.50
* `persist_if_changed`: 0.1.49 -> 0.1.50
* `pavex_tracing`: 0.1.49 -> 0.1.50
* `pavex_cli`: 0.1.49 -> 0.1.50
* `pavex_cli_deps`: 0.1.49 -> 0.1.50
* `pavex_miette`: 0.1.49 -> 0.1.50
* `pavexc_cli_client`: 0.1.49 -> 0.1.50
* `pavexc`: 0.1.49 -> 0.1.50
* `pavex_cli_client`: 0.1.49 -> 0.1.50
* `pavex_session`: 0.1.49 -> 0.1.50
* `pavex_session_memory_store`: 0.1.49 -> 0.1.50
* `pavexc_cli`: 0.1.49 -> 0.1.50
* `generate_from_path`: 0.1.49 -> 0.1.50

<details><summary><i><b>Changelog</b></i></summary><p>

## `pavex`
<blockquote>

##
[0.1.50](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](#355))

### Other

- Disable workspace hack before a release
- Re-enable workspace hack after a release
([#354](#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
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

---------

Co-authored-by: pavex-releaser[bot] <[email protected]>
Co-authored-by: pavex-releaser[bot] <167640712+pavex-releaser[bot]@users.noreply.github.com>
Co-authored-by: Luca Palmieri <[email protected]>
  • Loading branch information
3 people authored Nov 1, 2024
1 parent 114deae commit 98742d9
Show file tree
Hide file tree
Showing 21 changed files with 69 additions and 210 deletions.
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

0 comments on commit 98742d9

Please sign in to comment.