From 8241347c086da7490da392a783edd66e9faa1a5c Mon Sep 17 00:00:00 2001 From: Ruben Arts Date: Fri, 5 Jan 2024 15:55:18 +0100 Subject: [PATCH] bump: prepare for release 0.11.0 (#617) --- CHANGELOG.md | 48 +++++++++++++++++++++- Cargo.lock | 2 +- Cargo.toml | 2 +- cliff.toml | 114 +++++++++++++++++++++++++++++++++++++++++++++++++++ pixi.toml | 2 +- 5 files changed, 164 insertions(+), 4 deletions(-) create mode 100644 cliff.toml diff --git a/CHANGELOG.md b/CHANGELOG.md index 8deb65554..90cf0b77c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,54 @@ 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/). +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.11.0] - 2024-01-05 +### ✨ Highlights + +- Lots of important + +### 📃 Details +#### Added +- Add new commands for `pixi project {version|channel|platform|description}` by @hadim in [#579](https://github.com/prefix-dev/pixi/pull/579) +- Add dependabot.yml by @pavelzw in [#606](https://github.com/prefix-dev/pixi/pull/606) + +#### Changed +- `winget-releaser` gets correct identifier by @ruben-arts in [#561](https://github.com/prefix-dev/pixi/pull/561) +- Task run code by @baszalmstra in [#556](https://github.com/prefix-dev/pixi/pull/556) +- No ps1 in activation scripts by @ruben-arts in [#563](https://github.com/prefix-dev/pixi/pull/563) +- Changed some names for clarity by @tdejager in [#568](https://github.com/prefix-dev/pixi/pull/568) +- Change font and make it dark mode by @ruben-arts in [#576](https://github.com/prefix-dev/pixi/pull/576) +- Moved pypi installation into its own module by @tdejager in [#589](https://github.com/prefix-dev/pixi/pull/589) +- Move alpha to beta feature and toggle it off with env var by @ruben-arts in [#604](https://github.com/prefix-dev/pixi/pull/604) +- Improve UX activation scripts by @ruben-arts in [#560](https://github.com/prefix-dev/pixi/pull/560) +- Add sanity check by @tdejager in [#569](https://github.com/prefix-dev/pixi/pull/569) +- Refactor manifest by @ruben-arts in [#572](https://github.com/prefix-dev/pixi/pull/572) +- Improve search by @Johnwillliam in [#578](https://github.com/prefix-dev/pixi/pull/578) +- Split pypi and conda solve steps by @tdejager in [#601](https://github.com/prefix-dev/pixi/pull/601) + +#### Fixed +- Save file after lockfile is correctly updated by @ruben-arts in [#555](https://github.com/prefix-dev/pixi/pull/555) +- Limit the number of concurrent solves by @baszalmstra in [#571](https://github.com/prefix-dev/pixi/pull/571) +- Use project virtual packages in add command by @msegado in [#609](https://github.com/prefix-dev/pixi/pull/609) +- Improved mapped dependency by @ruben-arts in [#574](https://github.com/prefix-dev/pixi/pull/574) + +#### Documentation +- Change font and make it dark mode by @ruben-arts in [#576](https://github.com/prefix-dev/pixi/pull/576) +- typo: no ps1 in activation scripts by @ruben-arts in [#563](https://github.com/prefix-dev/pixi/pull/563) +- Document adding CUDA to `system-requirements` by @ruben-arts in [#595](https://github.com/prefix-dev/pixi/pull/595) +- Multi env proposal documentation by @ruben-arts in [#584](https://github.com/prefix-dev/pixi/pull/584) +- Fix multiple typos in configuration.md by @SeaOtocinclus in [#608](https://github.com/prefix-dev/pixi/pull/608) +- Add multiple machines from one project example by @pavelzw in [#605](https://github.com/prefix-dev/pixi/pull/605) + +## New Contributors +* @hadim made their first contribution in [#579](https://github.com/prefix-dev/pixi/pull/579) +* @msegado made their first contribution in [#609](https://github.com/prefix-dev/pixi/pull/609) +* @Johnwillliam made their first contribution in [#578](https://github.com/prefix-dev/pixi/pull/578) +* @SeaOtocinclus made their first contribution in [#608](https://github.com/prefix-dev/pixi/pull/608) + +**Full Changelog**: https://github.com/prefix-dev/pixi/compare/v0.10.0...v0.11.0 ## [0.10.0] - 2023-12-8 ### Highlights diff --git a/Cargo.lock b/Cargo.lock index 4ca021810..0b359759c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2619,7 +2619,7 @@ dependencies = [ [[package]] name = "pixi" -version = "0.10.0" +version = "0.11.0" dependencies = [ "async-once-cell", "async-recursion", diff --git a/Cargo.toml b/Cargo.toml index e1e1275d6..72fca5838 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "pixi" -version = "0.10.0" +version = "0.11.0" description = "A package management and workflow tool" edition = "2021" authors = ["pixi contributors "] diff --git a/cliff.toml b/cliff.toml new file mode 100644 index 000000000..df6894226 --- /dev/null +++ b/cliff.toml @@ -0,0 +1,114 @@ +# git-cliff ~ default configuration file +# https://git-cliff.org/docs/configuration +# +# Lines starting with "#" are comments. +# Configuration options are organized into tables and keys. +# See documentation for more information on available options. + +[remote.github] +owner = "prefix-dev" +repo = "pixi" + +[changelog] +# changelog header +header = """ +# Changelog\n +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).\n +""" +# template for the changelog body +# https://keats.github.io/tera/docs/#introduction +body = """ +{% if version %}\ + ## [{{ version | trim_start_matches(pat="v") }}] - {{ timestamp | date(format="%Y-%m-%d") }} +{% else %}\ + ## [Unreleased] +{% endif %}\ + + ### ✨ Highlights + + + + ### 📃 Details +{% for group, commits in commits | group_by(attribute="group") %} + #### {{ group | upper_first }} + {%- for commit in commits %} + - {{ commit.message | upper_first | trim }}\ + {% if commit.github.username %} by @{{ commit.github.username }}{%- endif -%} + {% if commit.github.pr_number %} in [#{{ commit.github.pr_number }}]\ + (https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ commit.github.pr_number }}){%- endif -%} + {% endfor %} +{% endfor %} + +{%- if github.contributors | filter(attribute="is_first_time", value=true) | length != 0 %} + ## New Contributors +{%- endif -%} + +{% for contributor in github.contributors | filter(attribute="is_first_time", value=true) %} + * @{{ contributor.username }} made their first contribution in [#{{ contributor.pr_number }}]\ + (https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}/pull/{{ contributor.pr_number }})\ +{%- endfor %}\n +""" +# template for the changelog footer +footer = """ +{% for release in releases -%} + {% if release.version -%} + {% if release.previous.version -%} + [{{ release.version | trim_start_matches(pat="v") }}]: \ + https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\ + /compare/{{ release.previous.version }}..{{ release.version }} + {% endif -%} + {% else -%} + [unreleased]: https://github.com/{{ remote.github.owner }}/{{ remote.github.repo }}\ + /compare/{{ release.previous.version }}..HEAD + {% endif -%} +{% endfor %} + +""" +# remove the leading and trailing whitespace from the template +trim = true +# changelog footer +# postprocessors +postprocessors = [ + # { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL +] +[git] +# parse the commits based on https://www.conventionalcommits.org +conventional_commits = true +# filter out the commits that are not conventional +filter_unconventional = true +# process each line of a commit as an individual commit +split_commits = false +# regex for preprocessing the commit messages +commit_preprocessors = [ + # remove issue numbers from commits + { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "" }, +] +# regex for parsing and grouping commits +commit_parsers = [ + { message = "^.*: add", group = "Added" }, + { message = "^.*: support", group = "Added" }, + { message = "^.*: remove", group = "Removed" }, + { message = "^.*: delete", group = "Removed" }, + { message = "^test", group = "Fixed" }, + { message = "^fix", group = "Fixed" }, + { message = "^.*: fix", group = "Fixed" }, + { message = "^chore|ci", skip = true }, + { message = "^.*", group = "Changed" }, +] +# protect breaking changes from being skipped due to matching a skipping commit_parser +protect_breaking_commits = false +# filter out the commits that are not matched by commit parsers +filter_commits = false +# regex for matching git tags +tag_pattern = "v[0-9].*" +# regex for skipping tags +skip_tags = "" +# regex for ignoring tags +ignore_tags = "" +# sort the tags topologically +topo_order = false +# sort the commits inside sections by oldest/newest order +sort_commits = "oldest" diff --git a/pixi.toml b/pixi.toml index 06fd9461c..8f2b88a6d 100644 --- a/pixi.toml +++ b/pixi.toml @@ -1,6 +1,6 @@ [project] name = "pixi" -version = "0.10.0" +version = "0.11.0" description = "Package management made easy!" authors = ["Wolf Vollprecht ", "Bas Zalmstra ", "Tim de Jager ", "Ruben Arts "] channels = ["conda-forge"]