Skip to content

Commit 7a33ab5

Browse files
chore: 🚢 release v1.2.0 (#398)
This PR contains the generated changelog for the release v1.2.0. ⚠️ **Merging this PR will immediately trigger a new release**. ⚠️ To specify additional release notes, please edit this comment after the following line. --- This release brings several quality-of-life improvements to Tesseract Core and many new examples and showcases in our [docs](https://docs.pasteurlabs.ai/projects/tesseract-core/latest/). **Breaking change:** Support for Python 3.9 is now removed (has been EOL since October 2025). If you rely on Python 3.9 please pin to `tesseract_core<1.2.0` and upgrade as soon as possible. --------- Co-authored-by: Dion Häfner <dion.haefner@simulation.science>
1 parent c0d68af commit 7a33ab5

File tree

3 files changed

+56
-6
lines changed

3 files changed

+56
-6
lines changed

.github/workflows/get_bump_type.sh

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/bin/bash
2+
3+
set -e
4+
5+
bump_type="auto"
6+
7+
# Prevent bumping major versions, downgrade to minor in this case
8+
new_version=$(git-cliff --bumped-version --bump $bump_type)
9+
current_major=$(cut -d '.' -f 1 <<< "$current_version")
10+
new_major=$(cut -d '.' -f 1 <<< "$new_version")
11+
if [[ "$current_major" != "$new_major" ]]; then
12+
bump_type="minor"
13+
fi
14+
15+
echo $bump_type

.github/workflows/release.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,10 @@ jobs:
5151
- name: Generate changelog
5252
id: generate_changelog
5353
run: |
54-
git-cliff --output CHANGELOG.md --bump
55-
new_version=$(git-cliff --bumped-version)
54+
bump_type=$(bash .github/workflows/get_bump_type.sh)
55+
git-cliff --output CHANGELOG.md --bump $bump_type
56+
new_version=$(git-cliff --bumped-version --bump $bump_type)
57+
5658
echo "new_version=$new_version" >> $GITHUB_OUTPUT
5759
5860
- name: Create Pull Request
@@ -100,8 +102,10 @@ jobs:
100102
- name: Generate changelog
101103
id: generate_changelog
102104
run: |
103-
git-cliff --output CHANGELOG.md --bump
104-
new_version=$(git-cliff --bumped-version)
105+
bump_type=$(bash .github/workflows/get_bump_type.sh)
106+
new_version=$(git-cliff --bumped-version --bump $bump_type)
107+
git-cliff --output CHANGELOG.md --bump $bump_type
108+
105109
echo "new_version=$new_version" >> $GITHUB_OUTPUT
106110
107111
- name: Update PR with changelog
@@ -146,15 +150,16 @@ jobs:
146150
current_version=$(gh release view --json tagName --jq '.tagName' || echo "v0.0.0")
147151
echo "current_version=$current_version" >> $GITHUB_OUTPUT
148152
149-
new_version=$(git-cliff --bumped-version)
153+
bump_type=$(bash .github/workflows/get_bump_type.sh)
154+
new_version=$(git-cliff --bumped-version --bump $bump_type)
150155
echo "new_version=$new_version" >> $GITHUB_OUTPUT
151156
152157
- name: Assemble release notes
153158
id: release_notes
154159
env:
155160
PR_BODY: ${{ github.event.pull_request.body }}
156161
run: |
157-
changelog=$(git-cliff --unreleased --bump --latest --strip all)
162+
changelog=$(git-cliff --unreleased --latest --strip all)
158163
# Strip off first line (which is the version number)
159164
changelog=$(printf "%s" "$changelog" | sed '1d')
160165

CHANGELOG.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,36 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.2.0] - 2025-12-04
6+
7+
### Features
8+
9+
- Add /tesseract to PYTHONPATH, similar to native execution (#372)
10+
- Add example for differentiable quadratic programming (QP) solver (#345)
11+
- Ensure modules next to tesseract_api.py can always be imported (#400)
12+
- Adding SpaceClaim/PyMAPDL Tesseract example and docs (#403)
13+
14+
### Bug Fixes
15+
16+
- Change docs to recommend mlflow-data volume mount as rw (#379)
17+
- Pin Python to <3.14 to resolve docs build failure (#390)
18+
- Switch MLflow tests from deprecated file backend to sqlite (#389)
19+
- Catch identical mounted volumes (#337)
20+
- Remove user creation logic, set `HOME` env var instead (#393)
21+
- Ensure log messages aren't lost when application exits (#392)
22+
23+
### Refactor
24+
25+
- [**breaking**] Replace python 3.9 with 3.10 as oldest supported version (#401)
26+
27+
### Documentation
28+
29+
- Ansys shapeopt showcase (#404)
30+
- Add Ansys Fluent QoI-based workflow example (#399)
31+
- Update showcase READMEs to reflect + link to forum posts (#405)
32+
- Add open-source alternative to Ansys-based shapeopt to showcase folder (#408)
33+
- Fix Tesseract names in open source shapeopt showcase (#409)
34+
535
## [1.1.1] - 2025-10-15
636

737
### Bug Fixes

0 commit comments

Comments
 (0)