Skip to content

0.1.50 - 2024-11-01

Choose a tag to compare

@github-actions github-actions released this 01 Nov 16:54
· 527 commits to main since this release
98742d9

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

File Platform Checksum
pavex_cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
pavex_cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
pavex_cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
pavex_cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
pavex_cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum

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

File Platform Checksum
pavexc_cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
pavexc_cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
pavexc_cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
pavexc_cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum
pavexc_cli-x86_64-unknown-linux-musl.tar.xz x64 MUSL Linux checksum