Skip to content

0.5.0 - The Way Overdue Release

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 21 Sep 09:45

Release Notes

Released 2024-09-21

Highlights

This release primarily focuses on a bunch of new whiskers features–see below. Here are my favorites:

  • You can now have Vec<T> sketch parameters. The corresponding UI will list items and let you add/remove elements. This works with arbitrary (supported) types, so you can have Vecs of complex struct/enum types, which can be really powerful! The new dashed_lines example uses this feature to define arbitrary dashed patterns.
  • You can use ctx.inspect() to display anything (which impl Debug) in a new "Inspect" section of the UI. Very convenient to visualize internal algorithm values!

whiskers crates

  • Add support for Vec<T> sketch parameters #141
  • Improve HexGrid API to support Length parameters #134
  • Add ctx.rng_{weighted|ratio}_bool() helper functions #124
  • Add "Inspect" section to display debug values #132 (thanks @afternoon2!)
  • Add basic support for file optimization before export #125
  • Add example of making dashed lines with kurbo::dash #135
  • Add kurbo to whiskers' prelude #133
  • Improve whiskers README.md #131 (thanks @hapiel!)
  • Fix cloning the hex grid cell #139 (thanks @afternoon2!)

vsvg crate

  • BREAKING: Add Angle helper and improve related APIs #140
  • Update usvg to 0.42.0 #145

Common

  • Bump rust toolchain to 1.79.0 #138, #142
  • Update egui to 0.27.2 #144
  • Use external puffin viewer instead of integrating puffin_egui #143
  • Clean Cargo.tomls and update dependencies #122

Web Demos

  • Update wasm-bindgen and sync version with CI #137

Contributors

afternoon2 hapiel

Full Changelog: v0.4.0...HEAD

msvg 0.5.0

Install msvg 0.5.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/abey79/vsvg/releases/download/v0.5.0/msvg-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy ByPass -c "irm https://github.com/abey79/vsvg/releases/download/v0.5.0/msvg-installer.ps1 | iex"

Download msvg 0.5.0

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

vsvg-cli 0.5.0

Install vsvg-cli 0.5.0

Install prebuilt binaries via shell script

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/abey79/vsvg/releases/download/v0.5.0/vsvg-cli-installer.sh | sh

Install prebuilt binaries via powershell script

powershell -ExecutionPolicy ByPass -c "irm https://github.com/abey79/vsvg/releases/download/v0.5.0/vsvg-cli-installer.ps1 | iex"

Download vsvg-cli 0.5.0

File Platform Checksum
vsvg-cli-aarch64-apple-darwin.tar.xz Apple Silicon macOS checksum
vsvg-cli-x86_64-apple-darwin.tar.xz Intel macOS checksum
vsvg-cli-x86_64-pc-windows-msvc.zip x64 Windows checksum
vsvg-cli-x86_64-pc-windows-msvc.msi x64 Windows checksum
vsvg-cli-aarch64-unknown-linux-gnu.tar.xz ARM64 Linux checksum
vsvg-cli-x86_64-unknown-linux-gnu.tar.xz x64 Linux checksum