Skip to content

Commit

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

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

## `pavex`
<blockquote>

##
[0.1.49](0.1.48...0.1.49)
- 2024-10-23

### Added

- Distinguish between methods and functions in error messages
([#344](#344))
- Start caching path dependencies. Use the hash of their contents to
avoid serving stale data
- Pavex deduplicates diagnostics, thus reducing visual noise when code
generation fails

### Fixed

- Pavex always uses a public path to refer to public items, even if they
are defined in a private module
- Detect infinite paths and break early to avoid stalls when generating
server SDK crates
- Ensure error observers are correctly added when dealing with errors in
the call graph of a middleware of any kind
- Perform cross-call-graph analysis to determine if additional .clone()
statements are needed before invoking a middleware.
- Don't discard spans if they match the provided log filter in pavexc

### Other

- update Cargo.toml dependencies
- Disable workspace hack before a release
- Formatting
- Speed up UI tests
([#342](#342))
- Update to latest cargo-deny
([#339](#339))
- HTTP sessions
([#338](#338))
- Update dependencies to latest possible version. In particular, update
'rustdoc-types' and the nightly version used by 'pavexc'
</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 Oct 23, 2024
1 parent 0d40568 commit 19815e4
Show file tree
Hide file tree
Showing 21 changed files with 65 additions and 210 deletions.
21 changes: 21 additions & 0 deletions libs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

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

### Added

- First release of Pavex's HTTP sessions toolkit 🎉 ([#338](https://github.com/LukeMathWalker/pavex/pull/338))
- Distinguish between methods and functions in error messages ([#344](https://github.com/LukeMathWalker/pavex/pull/344))
- Start caching the JSON documentation of path dependencies. We rely on the hash of their contents to avoid serving stale data
- Pavex will no longer emit duplicated diagnostics, thus reducing visual noise when code generation fails

### Fixed

- Pavex always uses a public path to refer to public items, even if they are defined in a private module
- Detect infinite paths and break early to avoid stalls when generating server SDK crates
- Ensure error observers are correctly added when dealing with errors in the call graph of a middleware of any kind
- Perform cross-call-graph analysis to determine if additional `.clone()` statements are needed before invoking a middleware.
- Don't discard spans if they match the provided log filter in pavexc

### Other

- Update dependencies to latest possible version. In particular, update 'rustdoc-types' and the nightly version used by 'pavexc'

## [0.1.48](https://github.com/LukeMathWalker/pavex/compare/0.1.47...0.1.48) - 2024-09-02

### Fixed
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.48"
version = "0.1.49"

[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 @@ -29,15 +29,15 @@ futures-util = { workspace = true }
mime = { workspace = true }
thiserror = { workspace = true }
serde = { workspace = true, features = ["derive"] }
pavex_macros = { path = "../pavex_macros", version = "0.1.48" }
pavex_macros = { path = "../pavex_macros", version = "0.1.49" }
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.48" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.48" }
persist_if_changed = { path = "../persist_if_changed", version = "0.1.48" }
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" }

# Route parameters
matchit = { version = "0.7", package = "pavex_matchit" }
Expand Down Expand Up @@ -70,7 +70,6 @@ hyper = { workspace = true, features = ["full"], optional = true }
hyper-util = { workspace = true, features = ["tokio", "server", "server-auto"], 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.48" }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
pavex_reflection = { path = "../pavex_reflection", version = "=0.1.49" }
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.48" }
pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.48" }
pavexc_cli_client = { path = "../pavexc_cli_client", version = "0.1.49" }
pavex_cli_deps = { path = "../pavex_cli_deps", version = "0.1.49" }
clap = { workspace = true, features = ["derive", "env"] }
pavex_miette = { path = "../pavex_miette", version = "0.1.48" }
pavex_miette = { path = "../pavex_miette", version = "0.1.49" }
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.48" }
pavex = { path = "../pavex", version = "0.1.49" }
thiserror = { workspace = true }
px_workspace_hack = { version = "0.1", path = "../px_workspace_hack" }
1 change: 0 additions & 1 deletion libs/pavex_cli_deps/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }
Loading

0 comments on commit 19815e4

Please sign in to comment.