Skip to content

Commit 6615ab4

Browse files
committed
doc: changelog + version bump
1 parent be86828 commit 6615ab4

File tree

3 files changed

+76
-12
lines changed

3 files changed

+76
-12
lines changed

CHANGELOG.md

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,29 @@ All notable changes to this project will be documented (for humans) in this file
44
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7-
## [UNRELEASED] - 2018-??-??
8-
TODO Summary
9-
### Added
7+
## [0.5.1] - 2018-06-29
8+
Bugfix release
109

10+
### Added
11+
- Video tutorial / updated slides
12+
- Helper to set metadata restrictions correctly
13+
- Usage is now shown when run without arguments
14+
- New fields to Seqinfo
15+
- series_uid
16+
- Reproin heuristic support for xnat
1117
### Changed
12-
13-
### Deprecated
14-
18+
- Dockerfile updated to use `dcm2niix v1.0.20180328`
19+
- Conversion table will be regenerated if heurisic has changed
20+
- Do not touch existing BIDS files
21+
- events.tsv
22+
- task JSON
1523
### Fixed
16-
17-
### Removed
18-
19-
### Security
20-
24+
- Python 2.7.8 and older installation
25+
- Support for updated packages
26+
- `Datalad` 0.10
27+
- `pydicom` 1.0.2
28+
- Later versions of `pydicom` are prioritized first
29+
- JSON pretty print should not remove spaces
2130

2231
## [0.5] - 2018-03-01
2332
The first release after major refactoring:

heudiconv/info.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.5.dev1"
1+
__version__ = "0.5.1"
22
__author__ = "HeuDiConv team and contributors"
33
__url__ = "https://github.com/nipy/heudiconv"
44
__packagename__ = 'heudiconv'

utils/update_changes.sh

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
#!/bin/bash
2+
#
3+
# Adapted from https://github.com/nipy/nipype/blob/master/tools/update_changes.sh
4+
#
5+
# This is a script to be run before releasing a new version.
6+
#
7+
# Usage /bin/bash update_changes.sh 0.5.1
8+
#
9+
10+
# Setting # $ help set
11+
set -u # Treat unset variables as an error when substituting.
12+
set -x # Print command traces before executing command.
13+
14+
CHANGES=../CHANGELOG.md
15+
16+
17+
# Add changelog documentation
18+
cat > newchanges <<'_EOF'
19+
# Changelog
20+
All notable changes to this project will be documented (for humans) in this file.
21+
22+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
23+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
24+
25+
_EOF
26+
27+
# List all merged PRs
28+
curl -s https://api.github.com/repos/nipy/heudiconv/pulls?state=closed+milestone=$1 | jq -r \
29+
'.[] | "\(.title) #\(.number) milestone:\(.milestone.title) \(.merged_at)"' | sed '/null/d' | sed '/milestone:0.5 /d' >> newchanges
30+
echo "" >> newchanges
31+
echo "" >> newchanges
32+
33+
34+
# Elaborate today's release header
35+
HEADER="## [$1] - $(date '+%Y-%m-%d')"
36+
echo $HEADER >> newchanges
37+
echo "TODO Summary" >> newchanges
38+
echo "### Added" >> newchanges
39+
echo "" >> newchanges
40+
echo "### Changed" >> newchanges
41+
echo "" >> newchanges
42+
echo "### Deprecated" >> newchanges
43+
echo "" >> newchanges
44+
echo "### Fixed" >> newchanges
45+
echo "" >> newchanges
46+
echo "### Removed" >> newchanges
47+
echo "" >> newchanges
48+
echo "### Security" >> newchanges
49+
echo "" >> newchanges
50+
51+
# Append old CHANGES
52+
tail -n+7 $CHANGES >> newchanges
53+
54+
# Replace old CHANGES with new file
55+
mv newchanges $CHANGES

0 commit comments

Comments
 (0)