Releases: LukeMathWalker/pavex
Releases · LukeMathWalker/pavex
0.1.58 - 2024-11-29
Release Notes
Fixed
- Ensure the code-generation phase respects the ordering determined by the borrow-checker analysis phase
pavex_cli 0.1.58
Install pavex_cli 0.1.58
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.58/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.58/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.58
pavexc_cli 0.1.58
Install pavexc_cli 0.1.58
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.58/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.58/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.58
0.1.57 - 2024-11-27
Release Notes
Fixed
- Pavex won't panic if it can't find a transitive dependency in the package graph. It'll log details about the failed searches.
pavex_cli 0.1.57
Install pavex_cli 0.1.57
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.57/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.57/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.57
pavexc_cli 0.1.57
Install pavexc_cli 0.1.57
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.57/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.57/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.57
0.1.56
pavex_cli 0.1.56
Install pavex_cli 0.1.56
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.56/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.56/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.56
pavexc_cli 0.1.56
Install pavexc_cli 0.1.56
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.56/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.56/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.56
0.1.55
pavex_cli 0.1.55
Install pavex_cli 0.1.55
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.55/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.55/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.55
pavexc_cli 0.1.55
Install pavexc_cli 0.1.55
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.55/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.55/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.55
0.1.54 - 2024-11-12
Release Notes
Added
- Pavex now supports domain guards!
You can restrict routes to specific domains and/or serve different websites from the same Pavex application.
Check out the relevant guide for more information.
- There is now a dedicated guide explaining how common
path prefixes work.
Breaking ⚠️
Blueprint::nest_at
has been removed. Use Blueprint::prefix("/my_prefix").nest(nested_bp)
as a replacement.
- The syntax for path parameters has changed. Instead of
:param_name
, use {param_name}
.
pavex_cli 0.1.54
Install pavex_cli 0.1.54
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.54/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.54/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.54
pavexc_cli 0.1.54
Install pavexc_cli 0.1.54
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.54/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.54/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.54
0.1.53
pavex_cli 0.1.53
Added
- 'pavex' and 'pavexc' check a dedicated environment variable, in addition to invocation flags, to determine if diagnostic information should be outputted
Fixed
- Avoid processing the same nodes multiple times in order to avoid duplicated transient nodes.
Other
- Update
thiserror
to 2.x.y
in generated code
Install pavex_cli 0.1.53
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.53/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.53/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.53
pavexc_cli 0.1.53
Install pavexc_cli 0.1.53
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.53/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.53/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.53
0.1.52 - 2024-11-05
Release Notes
Fixed
- Don't allow the basic block visitor to simultaneously engage with multiple branching nodes. It fixes a panic for more complex call graphs.
Other
- Add a span around the generation of the application state initializer function
- Print the call graph for the application state initializer if the log level is set to 'trace'
pavex_cli 0.1.52
Install pavex_cli 0.1.52
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.52/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.52/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.52
pavexc_cli 0.1.52
Install pavexc_cli 0.1.52
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.52/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.52/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.52
0.1.51 - 2024-11-05
Release Notes
Added
- The diagnostic representation of all call graphs now includes call order information—e.g. does this constructor get invoked before or after this other one?
Fixed
- Respect the order identified by the borrow-checking analysis phase when generating code
pavex_cli 0.1.51
Install pavex_cli 0.1.51
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.51/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.51/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.51
pavexc_cli 0.1.51
Install pavexc_cli 0.1.51
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.51/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.51/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.51
0.1.50 - 2024-11-01
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
0.1.49 - 2024-10-23
Release Notes
Added
- First release of Pavex's HTTP sessions toolkit 🎉 (#338)
- Distinguish between methods and functions in error messages (#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'
pavex_cli 0.1.49
Install pavex_cli 0.1.49
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.49/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.49/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.49
pavexc_cli 0.1.49
Install pavexc_cli 0.1.49
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.49/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.49/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.49