github prefix-dev/pixi v0.45.0
0.45.0 - 2025-04-07

latest releases: v0.61.0, v0.60.0, v0.59.0...
8 months ago

Release Notes

✨ Highlights

This release brings in numerous improvements and bug fixes and one big feature: argument variables tasks!
By specifying the args key in your manifest, you will have a more convenient way of specifying arguments, which works with pipes and even allows you to set defaults.

Let's say you define this manifest:

[tasks.install]
cmd = "cargo install {{ type }} --path {{ path }}"
args = ["path", { arg = "type", default = "--release" }] # `path` is mandatory, `type` is optional with a default

Both of the invocations now work, since type is optional:

pixi run install /path/to/manifest
pixi run install /path/to/manifest --debug

If you don't specify args for your tasks everything which you append to the CLI will also be appended to the task.

[tasks.install]
cmd = "cargo install"

Therefore, running pixi run install --debug --path /path/to/manifest will lead to cargo install --debug --path /path/to/manifest being run inside the environment.
This was already the behavior before this release, so existing tasks should continue to work.

Learn more in our documentation: https://pixi.sh/v0.45.0/workspace/advanced_tasks/#using-task-arguments

Changed

Documentation

Fixed

Performance

Refactor

  • Change section header from [project] to [workspace] in the docs source files by @prsabahrami in #3494

New Contributors

Download pixi 0.45.0

File Platform Checksum
pixi-aarch64-apple-darwin.tar.gz Apple Silicon macOS checksum
pixi-x86_64-apple-darwin.tar.gz Intel macOS checksum
pixi-aarch64-pc-windows-msvc.zip ARM64 Windows checksum
pixi-aarch64-pc-windows-msvc.msi ARM64 Windows checksum
pixi-x86_64-pc-windows-msvc.zip x64 Windows checksum
pixi-x86_64-pc-windows-msvc.msi x64 Windows checksum
pixi-aarch64-unknown-linux-musl.tar.gz ARM64 MUSL Linux checksum
pixi-x86_64-unknown-linux-musl.tar.gz x64 MUSL Linux checksum

Don't miss a new pixi release

NewReleases is sending notifications on new releases.