Skip to content

Commit 1b15d13

Browse files
authored
chore: version to v0.40.0 (#2876)
1 parent f0aa41e commit 1b15d13

File tree

13 files changed

+70
-15
lines changed

13 files changed

+70
-15
lines changed

CHANGELOG.md

+55
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,61 @@ 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.40.0] - 2025-01-10
9+
#### ✨ Highlights
10+
Manifest file parsing has been significantly improved.
11+
Errors will now be clearer and more helpful, for example:
12+
```shell
13+
× Expected one of 'first-index', 'unsafe-first-match', 'unsafe-best-match'
14+
╭─[pixi.toml:2:27]
15+
1 │
16+
2 │ index-strategy = "UnsafeFirstMatch"
17+
· ────────────────
18+
3 │
19+
╰────
20+
help: Did you mean 'unsafe-first-match'?
21+
```
22+
23+
#### Breaking Change Alert:
24+
The `depends_on` field has been renamed to `depends-on` for better consistency.
25+
Using the old format without a dash (depends_on) will now result in an error.
26+
The new errors should help you find the location:
27+
```shell
28+
Error:
29+
× field 'depends_on' is deprecated, 'depends-on' has replaced it
30+
╭─[pixi.toml:22:51]
31+
21 │ install = "cargo install --path . --locked"
32+
22 │ install-as = { cmd = "python scripts/install.py", depends_on = [
33+
· ─────┬────
34+
· ╰── replace this with 'depends-on'
35+
23 │ "build-release",
36+
╰────
37+
```
38+
39+
#### Added
40+
- Pixi add git source dependency by @nichmor in [#2858](https://github.com/prefix-dev/pixi/pull/2858)
41+
42+
#### Documentation
43+
- Fix installation docs mistake in index.md by @PanTheDev in [#2869](https://github.com/prefix-dev/pixi/pull/2869)
44+
45+
#### Fixed
46+
- Create missing global manifest folder with pixi global edit by @zbowling in [#2847](https://github.com/prefix-dev/pixi/pull/2847)
47+
- Pixi add creates a project by @nichmor in [#2861](https://github.com/prefix-dev/pixi/pull/2861)
48+
- Initialized detached envs with None by @ruben-arts in [#2841](https://github.com/prefix-dev/pixi/pull/2841)
49+
50+
#### `pixi build` Preview work
51+
- Build backend docs by @tdejager in [#2844](https://github.com/prefix-dev/pixi/pull/2844)
52+
- Move pixi build type conversions into its own crate by @tdejager in [#2866](https://github.com/prefix-dev/pixi/pull/2866)
53+
- Expose build type v1 function by @tdejager in [#2875](https://github.com/prefix-dev/pixi/pull/2875)
54+
- Use toml-span for deserialization by @baszalmstra in [#2718](https://github.com/prefix-dev/pixi/pull/2718)
55+
- Expands options for setting pixi-build override options by @tdejager in [#2843](https://github.com/prefix-dev/pixi/pull/2843)
56+
- Split capability retrieval from initialize by @tdejager in [#2831](https://github.com/prefix-dev/pixi/pull/2831)
57+
- Move package fields under `[package]`. by @baszalmstra in [#2731](https://github.com/prefix-dev/pixi/pull/2731)
58+
- Extract pixi manifest info into protocol by @tdejager in [#2850](https://github.com/prefix-dev/pixi/pull/2850)
59+
60+
#### New Contributors
61+
* @PanTheDev made their first contribution in [#2869](https://github.com/prefix-dev/pixi/pull/2869)
62+
863
### [0.39.5] - 2025-01-06
964
#### ✨ Highlights
1065
By updating [`resolvo`](https://github.com/mamba-org/resolvo/pull/91) to the latest version we now significantly lower the RAM usage during the solve process. 🚀

CITATION.cff

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ authors:
3030
- given-names: Julian
3131
family-names: Hofer
3232
email: julian.hofer@protonmail.com
33-
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.39.5'
34-
url: 'https://pixi.sh/v0.39.5'
33+
repository-code: 'https://github.com/prefix-dev/pixi/releases/tag/v0.40.0'
34+
url: 'https://pixi.sh/v0.40.0'
3535
abstract: >-
3636
A cross-platform, language agnostic, package/project
3737
management tool for development in virtual environments.

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ license.workspace = true
171171
name = "pixi"
172172
readme.workspace = true
173173
repository.workspace = true
174-
version = "0.39.5"
174+
version = "0.40.0"
175175

176176
[features]
177177
default = ["rustls-tls"]

crates/pixi_consts/src/consts.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pub const PYPROJECT_MANIFEST: &str = "pyproject.toml";
1616
pub const CONFIG_FILE: &str = "config.toml";
1717
pub const PIXI_VERSION: &str = match option_env!("PIXI_VERSION") {
1818
Some(v) => v,
19-
None => "0.39.5",
19+
None => "0.40.0",
2020
};
2121
pub const PREFIX_FILE_NAME: &str = "pixi_env_prefix";
2222
pub const ENVIRONMENTS_DIR: &str = "envs";

docs/advanced/github_actions.md

+1-1
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.8.0
1717
with:
18-
pixi-version: v0.39.5
18+
pixi-version: v0.40.0
1919
cache: true
2020
auth-host: prefix.dev
2121
auth-token: ${{ secrets.PREFIX_DEV_TOKEN }}

docs/advanced/production_deployment.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ It also makes use of `pixi shell-hook` to not rely on pixi being installed in th
3333
For more examples, take a look at [pavelzw/pixi-docker-example](https://github.com/pavelzw/pixi-docker-example).
3434

3535
```Dockerfile
36-
FROM ghcr.io/prefix-dev/pixi:0.39.5 AS build
36+
FROM ghcr.io/prefix-dev/pixi:0.40.0 AS build
3737

3838
# copy source code, pixi.toml and pixi.lock to the container
3939
WORKDIR /app

docs/ide_integration/devcontainer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Then, create the following two files in the `.devcontainer` directory:
1111
```dockerfile title=".devcontainer/Dockerfile"
1212
FROM mcr.microsoft.com/devcontainers/base:jammy
1313

14-
ARG PIXI_VERSION=v0.39.5
14+
ARG PIXI_VERSION=v0.40.0
1515

1616
RUN curl -L -o /usr/local/bin/pixi -fsSL --compressed "https://github.com/prefix-dev/pixi/releases/download/${PIXI_VERSION}/pixi-$(uname -m)-unknown-linux-musl" \
1717
&& chmod +x /usr/local/bin/pixi \

install/install.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
.LINK
1919
https://github.com/prefix-dev/pixi
2020
.NOTES
21-
Version: v0.39.5
21+
Version: v0.40.0
2222
#>
2323
param (
2424
[string] $PixiVersion = 'latest',

install/install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
3-
# Version: v0.39.5
3+
# Version: v0.40.0
44

55
__wrap__() {
66

schema/schema.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "http://json-schema.org/draft-07/schema#",
3-
"$id": "https://pixi.sh/v0.39.5/schema/manifest/schema.json",
3+
"$id": "https://pixi.sh/v0.40.0/schema/manifest/schema.json",
44
"title": "`pixi.toml` manifest file",
55
"description": "The configuration for a [`pixi`](https://pixi.sh) project.",
66
"type": "object",
@@ -22,7 +22,7 @@
2222
"title": "Schema",
2323
"description": "The schema identifier for the project's configuration",
2424
"type": "string",
25-
"default": "https://pixi.sh/v0.39.5/schema/manifest/schema.json",
25+
"default": "https://pixi.sh/v0.40.0/schema/manifest/schema.json",
2626
"format": "uri-reference"
2727
},
2828
"activation": {

tbump.toml

+2-2
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.39.5"
4+
current = "0.40.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.39.5 → {new_version}"
22+
message_template = "Bump version: 0.40.0 → {new_version}"
2323
tag_template = "v{new_version}"
2424

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

tests/integration_python/common.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
from rattler import Platform
88

9-
PIXI_VERSION = "0.39.5"
9+
PIXI_VERSION = "0.40.0"
1010

1111

1212
ALL_PLATFORMS = '["linux-64", "osx-64", "osx-arm64", "win-64", "linux-ppc64le", "linux-aarch64"]'

0 commit comments

Comments
 (0)