Release Notes
Added
- Add a workspace-hack crate to the generated starter project to minimise (re)build times
- Introduce prebuilt types (#298)
- Add a new '--template' option to 'pavex new' and 'pavexc new'. It includes a dedicated 'quickstart' template as well as the 'api' template, the default.
- In the starter project, use a meaningful example to showcase how the configuration system works, rather than a dummy with no usage
- Shorthand methods (
.clone_if_necessary() and .never_clone()) to tweak the default cloning strategy on constructors and prebuilt types
Fixed
- Set new Cargo lint to allow 'cfg(pavex_ide_hint)' in Pavex, its snapshot tests and its scaffolded projects
- Use the [env] section of .cargo/config.toml to store non-sensitive env variables used for local development. It fixes configuration for newly generated projects.
- Don't use colored logs if color is not enabled.
- Include
super and self as valid prefixes for relative paths in error messages (#296)
- You can no longer register a type with a non-
'static lifetime parameter (implicit or explicit) as a singleton. (#298)
pavex_cli 0.1.39
Install pavex_cli 0.1.39
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.39/pavex_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.39/pavex_cli-installer.ps1 | iex"
Download pavex_cli 0.1.39
pavexc_cli 0.1.39
Install pavexc_cli 0.1.39
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.39/pavexc_cli-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.39/pavexc_cli-installer.ps1 | iex"
Download pavexc_cli 0.1.39