Release Notes
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)
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
pavex_cli 0.1.50
Install pavex_cli 0.1.50
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.50/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.50/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.50
pavexc_cli 0.1.50
Install pavexc_cli 0.1.50
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.50/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.50/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.50