-
Notifications
You must be signed in to change notification settings - Fork 542
chore: version to 0.46.0 #3652
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: version to 0.46.0 #3652
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -5,6 +5,104 @@ All notable changes to this project will be documented in this file. | |
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
|
||
| ### [0.46.0] - 2025-04-22 | ||
| #### ✨ Highlights | ||
| Breaking change for the new `args` feature we introduced in the last release. | ||
| As the `args` names in the `tasks` are now not allowed to have dashes(`-`), because of the introduction of `Minijinja` for rendering the tasks and possibly reading them as a minus. | ||
|
|
||
| This release comes with another set of features for the `tasks`! | ||
| - The command of a task is now able to use `minijinja` for rendering the command. Including the `args` as variables in the template. | ||
|
ruben-arts marked this conversation as resolved.
Outdated
|
||
| ```toml | ||
| [tasks] | ||
| # The arg `text`, converted to uppercase, will be printed. | ||
| task1 = { cmd = "echo {{ text | upper }}", args = ["text"] } | ||
| # If arg `text` contains 'hoi', it will be converted to lowercase. The result will be printed. | ||
| task2 = { cmd = "echo {{ text | lower if 'hoi' in text }}", args = [ | ||
| { arg = "text", default = "" }, | ||
| ] } | ||
| # With `a` and `b` being strings, they will be appended and then printed. | ||
| task3 = { cmd = "echo {{ a + b }}", args = ["a", { arg = "b", default = "!" }] } | ||
| # `names` will be split by whitespace and then every name will be printed separately | ||
| task4 = { cmd = "{% for name in names | split %} echo {{ name }};{% endfor %}", args = [ | ||
| "names", | ||
| ] } | ||
| ``` | ||
| - The `depends-on` key can now include the environment that the task should run in. | ||
| ```toml | ||
| [tasks.test-all] | ||
| depends-on = [ | ||
| { task = "test", environment = "py311" }, | ||
| { task = "test", environment = "py312" }, | ||
| ] | ||
| ``` | ||
|
Comment on lines
+31
to
+46
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Github suggestions fails me, but I am proposing the following instead of this section: [tasks]
test-all = { depends-on = [
{ task = "test", environment = "py311" },
{ task = "test", environment = "py312" },
] }We also introduced a shorter version of tasks that only contain task dependencies. [tasks]
test-all = [
{ task = "test", environment = "py311" },
{ task = "test", environment = "py312" },
]
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Good one changed it! |
||
|
|
||
| #### Added | ||
|
|
||
| - Integrate minijinja for tasks' command's rendering by @prsabahrami in [#3579](https://github.com/prefix-dev/pixi/pull/3579) | ||
| - Support for riscv64 linux by @Hofer-Julian in [#3606](https://github.com/prefix-dev/pixi/pull/3606) | ||
| - Task Environment Selection by @prsabahrami in [#3501](https://github.com/prefix-dev/pixi/pull/3501) | ||
|
|
||
|
|
||
| #### Changed | ||
|
|
||
| - Format shell script with shfmt by @gzm55 in [#3552](https://github.com/prefix-dev/pixi/pull/3552) | ||
| - Improve error message at missing pixi section by @joyanedel in [#3516](https://github.com/prefix-dev/pixi/pull/3516) | ||
| - Install.sh supports installing without tar and unzip commands by @gzm55 in [#3551](https://github.com/prefix-dev/pixi/pull/3551) | ||
|
|
||
|
|
||
| #### Documentation | ||
|
|
||
| - Community: add `xsf` by @lucascolley in [#3515](https://github.com/prefix-dev/pixi/pull/3515) | ||
| - Mention installation with `wget` instead of `curl` by @paugier in [#3547](https://github.com/prefix-dev/pixi/pull/3547) | ||
| - Fix typo in `advanced_tasks.md` by @AH-Merii in [#3555](https://github.com/prefix-dev/pixi/pull/3555) | ||
| - Update to call pixi task "start" in Index.md by @philipreese in [#3487](https://github.com/prefix-dev/pixi/pull/3487) | ||
| - Migrate ros2.md example to use robostack-humble channel by @traversaro in [#3520](https://github.com/prefix-dev/pixi/pull/3520) | ||
| - Provide guidance on using `direnv` by @phreed in [#3513](https://github.com/prefix-dev/pixi/pull/3513) | ||
| - Remove unused ordered list in system_requirements.md by @kemingy in [#3590](https://github.com/prefix-dev/pixi/pull/3590) | ||
| - Update `authentication.md` to fix typo in package name by @PanTheDev in [#3615](https://github.com/prefix-dev/pixi/pull/3615) | ||
| - Replace `project` with `workspace` by @munechika-koyo in [#3623](https://github.com/prefix-dev/pixi/pull/3623) and in [#3620](https://github.com/prefix-dev/pixi/pull/3620) | ||
| - Rename `pixi build` examples by @Hofer-Julian in [#3632](https://github.com/prefix-dev/pixi/pull/3632) | ||
|
|
||
|
|
||
| #### Fixed | ||
|
|
||
| - Updating windows `installation.md` to correspond to `installation.ps1` by @Ahschreyer in [#3507](https://github.com/prefix-dev/pixi/pull/3507) | ||
| - Fix panic for `pixi task list` for platform specific tasks by @synapticarbors in [#3510](https://github.com/prefix-dev/pixi/pull/3510) | ||
| - Improve error message if build backend crashes by @baszalmstra in [#3543](https://github.com/prefix-dev/pixi/pull/3543) | ||
| - Check unzip command on msys and add ITs for install.sh by @gzm55 in [#3458](https://github.com/prefix-dev/pixi/pull/3458) | ||
| - Shell-hook `--no-completion` by @Hofer-Julian in [#3553](https://github.com/prefix-dev/pixi/pull/3553) | ||
| - Fixed a typo in init.rs by @noamgot in [#3561](https://github.com/prefix-dev/pixi/pull/3561) | ||
| - Pixi-shell: bump timeout to 3 secs, fix docs link by @wolfv in [#3528](https://github.com/prefix-dev/pixi/pull/3528) | ||
| - Invalidate lock-file if a pypi dependency is requested by @baszalmstra in [#3562](https://github.com/prefix-dev/pixi/pull/3562) | ||
| - Build backend missing executable by @baszalmstra in [#3527](https://github.com/prefix-dev/pixi/pull/3527) | ||
| - Community page link in README by @elonzh in [#3595](https://github.com/prefix-dev/pixi/pull/3595) | ||
| - Mark `add_tests::add_pypi_git` as an online test by @mgorny in [#3586](https://github.com/prefix-dev/pixi/pull/3586) | ||
| - Update `git-cliff` by @Hofer-Julian in [#3614](https://github.com/prefix-dev/pixi/pull/3614) | ||
| - Pypi local directory satisfiability by @tdejager in [#3631](https://github.com/prefix-dev/pixi/pull/3631) | ||
| - Don't keep reinstalling local pypi archives by @tdejager in [#3618](https://github.com/prefix-dev/pixi/pull/3618) | ||
| - Don't resolve for previously locked platforms by @baszalmstra in [#3635](https://github.com/prefix-dev/pixi/pull/3635) | ||
|
|
||
|
|
||
| #### Refactor | ||
|
|
||
| - Reduce difference between default and named feature by @baszalmstra in [#3545](https://github.com/prefix-dev/pixi/pull/3545) | ||
| - Update `pixi.toml` to use args by @prsabahrami in [#3531](https://github.com/prefix-dev/pixi/pull/3531) | ||
| - Refactor of pypi installer type by @tdejager in [#3563](https://github.com/prefix-dev/pixi/pull/3563) | ||
|
|
||
|
|
||
| #### New Contributors | ||
| * @renovate[bot] made their first contribution in [#3626](https://github.com/prefix-dev/pixi/pull/3626) | ||
| * @munechika-koyo made their first contribution in [#3623](https://github.com/prefix-dev/pixi/pull/3623) | ||
| * @elonzh made their first contribution in [#3595](https://github.com/prefix-dev/pixi/pull/3595) | ||
| * @Ahschreyer made their first contribution in [#3507](https://github.com/prefix-dev/pixi/pull/3507) | ||
| * @kemingy made their first contribution in [#3590](https://github.com/prefix-dev/pixi/pull/3590) | ||
| * @joyanedel made their first contribution in [#3516](https://github.com/prefix-dev/pixi/pull/3516) | ||
| * @phreed made their first contribution in [#3513](https://github.com/prefix-dev/pixi/pull/3513) | ||
| * @AH-Merii made their first contribution in [#3555](https://github.com/prefix-dev/pixi/pull/3555) | ||
| * @paugier made their first contribution in [#3547](https://github.com/prefix-dev/pixi/pull/3547) | ||
| * @mwiebe made their first contribution in [#3519](https://github.com/prefix-dev/pixi/pull/3519) | ||
|
|
||
|
|
||
| ### [0.45.0] - 2025-04-07 | ||
| #### ✨ Highlights | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,6 @@ | ||
| #!/bin/sh | ||
| set -eu | ||
| # Version: v0.45.0 | ||
| # Version: v0.46.0 | ||
|
|
||
| __wrap__() { | ||
|
|
||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.