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

HTTP sessions #338

Merged
merged 2 commits into from
Sep 4, 2024
Merged

HTTP sessions #338

merged 2 commits into from
Sep 4, 2024

Conversation

LukeMathWalker
Copy link
Owner

A first draft of what HTTP sessions will look like for Pavex.
It is not yet ready for prime time, but it's good enough to be tested.

@LukeMathWalker LukeMathWalker merged commit 6e2a1dd into main Sep 4, 2024
4 of 5 checks passed
@LukeMathWalker LukeMathWalker deleted the sessions branch September 4, 2024 08:37
@pavex-releaser pavex-releaser bot mentioned this pull request Oct 23, 2024
LukeMathWalker added a commit that referenced this pull request Oct 23, 2024
## 🤖 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] <ci@pavex.dev>
Co-authored-by: pavex-releaser[bot] <167640712+pavex-releaser[bot]@users.noreply.github.com>
Co-authored-by: Luca Palmieri <20745048+LukeMathWalker@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant