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

fix: Pavex will never use private modules in the paths used to refer to methods in the generated server SDK code. #355

Merged
merged 1 commit into from
Oct 24, 2024

Conversation

LukeMathWalker
Copy link
Owner

No description provided.

…to methods in the generated server SDK code.
@LukeMathWalker
Copy link
Owner Author

/ok-to-check sha=376d96b

@LukeMathWalker LukeMathWalker merged commit 4e0f830 into main Oct 24, 2024
10 checks passed
@LukeMathWalker LukeMathWalker deleted the fix-private-imports branch October 24, 2024 08:37
@pavex-releaser pavex-releaser bot mentioned this pull request Nov 1, 2024
LukeMathWalker added a commit that referenced this pull request Nov 1, 2024
## 🤖 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] <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