Skip to content

Commit f368a28

Browse files
committed
Merge tag '0.16.0'
0.16.0 (July 31, 2024) Start of the 0.16.x minor series. This release decouples much of the hardcoded T1w behavior in favor of T1w/T2w options, to allow easier integration with tools less reliant on a single anatomical scan. * ENH: Use genericised "anat" input/output for TemplateDimensions (#443) * ENH: Remove much of the hardcoded `T1w` fields in favor of `anat` (#433) * RF: Load package data with acres (#448) * RF: `space-fsaverage` to `sphere_reg` output files (#446) * MNT: Unpin libitk 5.3 (ANTs 2.5.3 is built with 5.4) (#445) * MNT: Clean up doc builds, environment, style checks (#444)
2 parents 947fbc3 + 3f80312 commit f368a28

File tree

3 files changed

+70
-1
lines changed

3 files changed

+70
-1
lines changed

CHANGES.rst

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,18 @@
1+
0.16.0 (July 31, 2024)
2+
======================
3+
Start of the 0.16.x minor series.
4+
5+
This release decouples much of the hardcoded T1w behavior in favor of T1w/T2w options,
6+
to allow easier integration with tools less reliant on a single anatomical scan.
7+
8+
* ENH: Use genericised "anat" input/output for TemplateDimensions (#443)
9+
* ENH: Remove much of the hardcoded `T1w` fields in favor of `anat` (#433)
10+
* RF: Load package data with acres (#448)
11+
* RF: `space-fsaverage` to `sphere_reg` output files (#446)
12+
* MNT: Unpin libitk 5.3 (ANTs 2.5.3 is built with 5.4) (#445)
13+
* MNT: Clean up doc builds, environment, style checks (#444)
14+
15+
116
0.15.0 (March 22, 2024)
217
=======================
318
New feature release in the 0.15.x series.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"matplotlib >= 2.2.0",
2727
"nibabel >= 4.0.1",
2828
"nipype >= 1.7.0",
29-
"niworkflows @ git+https://github.com/nipreps/niworkflows.git@master",
29+
"niworkflows >= 1.11.0",
3030
"numpy",
3131
"packaging",
3232
"pybids >= 0.11.1",

tools/update_changes.sh

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
#!/bin/bash
2+
#
3+
# Collects the pull-requests since the latest release and
4+
# arranges them in the CHANGES.rst.txt file.
5+
#
6+
# This is a script to be run before releasing a new version.
7+
#
8+
# Usage /bin/bash update_changes.sh 1.0.1
9+
#
10+
11+
# Setting # $ help set
12+
set -u # Treat unset variables as an error when substituting.
13+
set -x # Print command traces before executing command.
14+
15+
# Check whether the Upcoming release header is present
16+
head -1 CHANGES.rst | grep -q Upcoming
17+
UPCOMING=$?
18+
if [[ "$UPCOMING" == "0" ]]; then
19+
head -n3 CHANGES.rst >> newchanges
20+
fi
21+
22+
# Elaborate today's release header
23+
HEADER="$1 ($(date '+%B %d, %Y'))"
24+
echo $HEADER >> newchanges
25+
echo $( printf "%${#HEADER}s" | tr " " "=" ) >> newchanges
26+
echo "" >> newchanges
27+
28+
# Search for PRs since previous release
29+
MERGE_COMMITS=$( git log --grep="Merge pull request\|(#.*)$" `git describe --tags --abbrev=0`..HEAD --pretty='format:%h' )
30+
for COMMIT in ${MERGE_COMMITS//\n}; do
31+
SUB=$( git log -n 1 --pretty="format:%s" $COMMIT )
32+
if ( echo $SUB | grep "^Merge pull request" ); then
33+
# Merge commit
34+
PR=$( echo $SUB | sed -e "s/Merge pull request \#\([0-9]*\).*/\1/" )
35+
TITLE=$( git log -n 1 --pretty="format:%b" $COMMIT )
36+
else
37+
# Squashed merge
38+
PR=$( echo $SUB | sed -e "s/.*(\#\([0-9]*\))$/\1/" )
39+
TITLE=$( echo $SUB | sed -e "s/\(.*\) (\#[0-9]*)$/\1/" )
40+
fi
41+
echo "* $TITLE (#$PR)" >> newchanges
42+
done
43+
echo "" >> newchanges
44+
echo "" >> newchanges
45+
46+
# Add back the Upcoming header if it was present
47+
if [[ "$UPCOMING" == "0" ]]; then
48+
tail -n+4 CHANGES.rst >> newchanges
49+
else
50+
cat CHANGES.rst >> newchanges
51+
fi
52+
53+
# Replace old CHANGES.rst with new file
54+
mv newchanges CHANGES.rst

0 commit comments

Comments
 (0)