Skip to content

Commit b283011

Browse files
authoredApr 19, 2024
chore: prepare for release v0.20.0 (#1238)
1 parent 1b289ba commit b283011

File tree

6 files changed

+58
-7
lines changed

6 files changed

+58
-7
lines changed
 

‎CHANGELOG.md

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,57 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.20.0] - 2024-04-19
9+
### ✨ Highlights
10+
11+
- We now support `env` variables in the `task` definition, these can also be used as default values for parameters in your task which you can overwrite with your shell's env variables.
12+
e.g. `task = { cmd = "task to run", env = { VAR="value1", PATH="my/path:$PATH" } }`
13+
- We made a big effort on fixing issues and improving documentation!
14+
15+
### 📃 Details
16+
#### Added
17+
- Add `env` to the tasks to specify tasks specific environment variables by @wolfv in https://github.com/prefix-dev/pixi/pull/972
18+
19+
#### Changed
20+
- Add `--pyproject` option to `pixi init` with a pyproject.toml by @olivier-lacroix in [#1188](https://github.com/prefix-dev/pixi/pull/1188)
21+
- Upgrade to new uv version 0.1.32 by @tdejager in [#1208](https://github.com/prefix-dev/pixi/pull/1208)
22+
23+
#### Documentation
24+
- Document `pixi.lock` by @ruben-arts in [#1209](https://github.com/prefix-dev/pixi/pull/1209)
25+
- Document channel `priority` definition by @ruben-arts in [#1234](https://github.com/prefix-dev/pixi/pull/1234)
26+
- Add rust tutorial including openssl example by @ruben-arts in [#1155](https://github.com/prefix-dev/pixi/pull/1155)
27+
- Add python tutorial to documentation by @tdejager in [#1179](https://github.com/prefix-dev/pixi/pull/1179)
28+
- Add JupyterLab integration docs by @renan-r-santos in [#1147](https://github.com/prefix-dev/pixi/pull/1147)
29+
30+
- Add Windows support for PyCharm integration by @pavelzw in [#1192](https://github.com/prefix-dev/pixi/pull/1192)
31+
- Setup_pixi for local pixi installation by @ytausch in [#1181](https://github.com/prefix-dev/pixi/pull/1181)
32+
- Update pypi docs by @Hofer-Julian in [#1215](https://github.com/prefix-dev/pixi/pull/1215)
33+
- Fix order of `--no-deps` when pip installing in editable mode by @glemaitre in [#1220](https://github.com/prefix-dev/pixi/pull/1220)
34+
- Fix frozen documentation by @ruben-arts in [#1167](https://github.com/prefix-dev/pixi/pull/1167)
35+
36+
#### Fixed
37+
- Small typo in list cli by @tdejager in [#1169](https://github.com/prefix-dev/pixi/pull/1169)
38+
- Issue with invalid solve group by @baszalmstra in [#1190](https://github.com/prefix-dev/pixi/pull/1190)
39+
- Improve error on parsing lockfile by @ruben-arts in [#1180](https://github.com/prefix-dev/pixi/pull/1180)
40+
- Replace `_` with `-` when creating environments from features by @wolfv in [#1203](https://github.com/prefix-dev/pixi/pull/1203)
41+
- Prevent duplicate direct dependencies in tree by @abkfenris in [#1184](https://github.com/prefix-dev/pixi/pull/1184)
42+
- Use project root directory instead of task.working_directory for base dir when hashing by @wolfv in [#1202](https://github.com/prefix-dev/pixi/pull/1202)
43+
- Do not leak env vars from bat scripts in cmd.exe by @wolfv in [#1205](https://github.com/prefix-dev/pixi/pull/1205)
44+
- Make file globbing behave more as expected by @wolfv in [#1204](https://github.com/prefix-dev/pixi/pull/1204)
45+
- Fix for using file::// in pyproject.toml dependencies by @tdejager in [#1196](https://github.com/prefix-dev/pixi/pull/1196)
46+
- Improve pypi version conversion in pyproject.toml dependencies by @wolfv in [#1201](https://github.com/prefix-dev/pixi/pull/1201)
47+
- Update to the latest rattler by @wolfv in [#1235](https://github.com/prefix-dev/pixi/pull/1235)
48+
49+
#### **BREAKING**
50+
- `task = { cmd = "task to run", cwd = "folder", inputs = "input.txt", output = "output.txt"}` Where `input.txt` and `output.txt` where previously in `folder` they are now relative the project root. This changed in: [#1202](https://github.com/prefix-dev/pixi/pull/1202)
51+
- `task = { cmd = "task to run", inputs = "input.txt"}` previously searched for all `input.txt` files now only for the ones in the project root. This changed in: [#1204](https://github.com/prefix-dev/pixi/pull/1204)
52+
53+
## New Contributors
54+
* @glemaitre made their first contribution in [#1220](https://github.com/prefix-dev/pixi/pull/1220)
55+
56+
[Full commit history](https://github.com/prefix-dev/pixi/compare/v0.19.1..v0.20.0)
57+
58+
859
## [0.19.1] - 2024-04-11
960
### ✨ Highlights
1061
This fixes the issue where pixi would generate broken environments/lockfiles when a mapping for a brand-new version of a package is missing.

‎CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ authors:
2424
name-particle: de
2525
family-names: Jager
2626
email: tdejager89@gmail.com
27-
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.19.1'
28-
url: 'https://pixi.sh/v0.19.1'
27+
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.20.0'
28+
url: 'https://pixi.sh/v0.20.0'
2929
abstract: >-
3030
A cross-platform, language agnostic, package/project
3131
management tool for development in virtual environments.

‎Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pixi"
3-
version = "0.19.1"
3+
version = "0.20.0"
44
description = "A package management and workflow tool"
55
edition = "2021"
66
authors = ["pixi contributors <hi@prefix.dev>"]

‎docs/advanced/github_actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ We created [prefix-dev/setup-pixi](https://github.com/prefix-dev/setup-pixi) to
1515
```yaml
1616
- uses: prefix-dev/setup-pixi@v0.6.0
1717
with:
18-
pixi-version: v0.19.1
18+
pixi-version: v0.20.0
1919
cache: true
2020
auth-host: prefix.dev
2121
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}

‎tbump.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
github_url = "https://github.com/prefix-dev/pixi"
22

33
[version]
4-
current = "0.19.1"
4+
current = "0.20.0"
55

66
# Example of a semver regexp.
77
# Make sure this matches current_version before
@@ -19,7 +19,7 @@ regex = '''
1919

2020
[git]
2121
# The current version will get updated when tbump is run
22-
message_template = "Bump version: 0.19.1 → {new_version}"
22+
message_template = "Bump version: 0.20.0 → {new_version}"
2323
tag_template = "v{new_version}"
2424

2525
# For each file to patch, add a [[file]] config

0 commit comments

Comments
 (0)