Skip to content

0.1.69 - 2025-01-21

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Jan 10:44
· 5 commits to main since this release
afc0209

Release Notes

Added

  • When Pavex's Server fails to spawn a worker thread, capture that thread's name in the error message
  • Add Server::try_serve to give users a chance to handle the case where no connection sources have been registered
  • Cache accesses for path dependencies are now significantly faster, since 'cargo' is no longer in the hot path of determining the crate checksum
  • Reduce the time spent generating JSON docs by leveraging 'cargo rustdoc' built-in caching mechanism for the single-crate usecase.
  • Update Pavex's nightly to 2025-01-04. It unlocks the 2024 edition for Pavex users
  • Enable backtraces for panics in the project template, being careful not to capture backtraces for normal errors in libraries such as anyhow. Update the command to force the toolchain install to work with the latest rustup version

Fixed

  • Use hyper_util's GracefulShutdown utility to ensure connections are indeed shut down gracefully
  • Don't panic if we fail to serve a connection. Log the error as a warning.
  • Lower the logging level to info when reporting a failure to establish a connection. This event kind is common enough not to deserve a higher logging level.
  • Use the blueprint location as the project fingerprint rather than the workspace path, since a workspace may contain multiple blueprints, as it happens for Pavex's UI tests

Other

  • Migrate all tracing events that touch errors to log_error! to ensure consistent field naming
  • Clarify why it's fine to panic if tokio can't create a current-thread runtime inside a Pavex server worker thread
  • Improve suggested resolution for a missing nightly toolchain
  • Re-export error-related fields in pavex_tracing from tracing_log_error
  • Update dependency versions

pavex_cli 0.1.69

Install pavex_cli 0.1.69

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.69/pavex_cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.69/pavex_cli-installer.ps1 | iex"

Download pavex_cli 0.1.69

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.69

Install pavexc_cli 0.1.69

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/LukeMathWalker/pavex/releases/download/0.1.69/pavexc_cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -c "irm https://github.com/LukeMathWalker/pavex/releases/download/0.1.69/pavexc_cli-installer.ps1 | iex"

Download pavexc_cli 0.1.69

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