Skip to content

Commit f8de8ce

Browse files
authored
Merge pull request #1081 from nipy/rel/4.0.0rc0
REL: 4.0.0rc0
2 parents 1312493 + 1741077 commit f8de8ce

File tree

4 files changed

+116
-23
lines changed

4 files changed

+116
-23
lines changed

.mailmap

+3
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ Gael Varoquaux <[email protected]> GaelVaroquaux <gael.varoquaux@nor
3737
Gregory R. Lee <[email protected]> Gregory R. Lee <[email protected]>
3838
Ian Nimmo-Smith <[email protected]> Ian Nimmo-Smith <[email protected]>
3939
Jaakko Leppäkangas <[email protected]> jaeilepp <[email protected]>
40+
Jacob Roberts <[email protected]>
41+
4042
Jakub Kaczmarzyk <[email protected]>
4143
4244
Jasper J.F. van den Bosch <[email protected]> Jasper <[email protected]>
4345
Jean-Baptiste Poline <[email protected]> jbpoline <[email protected]>
46+
Jérôme Dockès <[email protected]>
4447
Jon Haitz Legarreta <[email protected]> Jon Haitz Legarreta Gorroño <[email protected]>
4548
Jonathan Daniel <[email protected]>
4649

.zenodo.json

+27-21
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,10 @@
9393
"orcid": "0000-0002-0807-6005"
9494
},
9595
{
96-
"name": "Duek, Or"
96+
"name": "Daniel, Jonathan"
9797
},
9898
{
99-
"name": "Daniel, Jonathan"
99+
"name": "Duek, Or"
100100
},
101101
{
102102
"affiliation": "The University of Washington eScience Institute",
@@ -127,6 +127,9 @@
127127
"name": "Riddell, Cameron",
128128
"orcid": "0000-0001-8950-0375"
129129
},
130+
{
131+
"name": "S\u00f3lon, Anibal"
132+
},
130133
{
131134
"name": "Burns, Christopher"
132135
},
@@ -140,9 +143,6 @@
140143
"name": "Gramfort, Alexandre",
141144
"orcid": "0000-0001-9791-4404"
142145
},
143-
{
144-
"name": "S\u00f3lon, Anibal"
145-
},
146146
{
147147
"name": "Lepp\u00e4kangas, Jaakko"
148148
},
@@ -160,6 +160,14 @@
160160
{
161161
"name": "Subramaniam, Krish"
162162
},
163+
{
164+
"affiliation": "CEA",
165+
"name": "Papadopoulos Orfanos, Dimitri",
166+
"orcid": "0000-0002-1242-8990"
167+
},
168+
{
169+
"name": "Van, Andrew"
170+
},
163171
{
164172
"affiliation": "Google",
165173
"name": "Gorgolewski, Krzysztof J.",
@@ -208,6 +216,9 @@
208216
"name": "P\u00e9rez-Garc\u00eda, Fernando",
209217
"orcid": "0000-0001-9090-3024"
210218
},
219+
{
220+
"name": "Dock\u00e8s, J\u00e9r\u00f4me"
221+
},
211222
{
212223
"name": "Oosterhof, Nikolaas N."
213224
},
@@ -228,11 +239,6 @@
228239
{
229240
"name": "St-Jean, Samuel"
230241
},
231-
{
232-
"affiliation": "CEA",
233-
"name": "Papadopoulos Orfanos, Dimitri",
234-
"orcid": "0000-0002-1242-8990"
235-
},
236242
{
237243
"name": "Panfilov, Egor",
238244
"orcid": "0000-0002-2500-6375"
@@ -253,12 +259,20 @@
253259
{
254260
"name": "Hahn, Kevin S."
255261
},
262+
{
263+
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
264+
"name": "Waller, Lea",
265+
"orcid": "0000-0002-3239-6957"
266+
},
256267
{
257268
"name": "Hinds, Oliver P."
258269
},
259270
{
260271
"name": "Fauber, Bennet"
261272
},
273+
{
274+
"name": "Roberts, Jacob"
275+
},
262276
{
263277
"affiliation": "McGill University",
264278
"name": "Poline, Jean-Baptiste",
@@ -282,6 +296,9 @@
282296
{
283297
"name": "Moreno, Miguel Estevan"
284298
},
299+
{
300+
"name": "Hrn\u010diar, Tom\u00e1\u0161"
301+
},
285302
{
286303
"name": "Haenel, Valentin"
287304
},
@@ -291,9 +308,6 @@
291308
{
292309
"name": "Baratz, Zvi"
293310
},
294-
{
295-
"name": "Van, Andrew"
296-
},
297311
{
298312
"affiliation": "Hospital for Sick Children",
299313
"name": "Darwin, Benjamin C"
@@ -329,11 +343,6 @@
329343
"affiliation": "National Technical University of Athens, Greece",
330344
"name": "Raktivan, Konstantinos"
331345
},
332-
{
333-
"affiliation": "Charite Universitatsmedizin Berlin, Germany",
334-
"name": "Waller, Lea",
335-
"orcid": "0000-0002-3239-6957"
336-
},
337346
{
338347
"name": "Cal\u00e1bkov\u00e1, Mark\u00e9ta"
339348
},
@@ -354,9 +363,6 @@
354363
{
355364
"name": "Roos, Thomas"
356365
},
357-
{
358-
"name": "Hrn\u010diar, Tom\u00e1\u0161"
359-
},
360366
{
361367
"affiliation": "National Institute of Mental Health and Neuro-Sciences, India",
362368
"name": "Reddam, Venkateswara Reddy",

Changelog

+84-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,90 @@ Eric Larson (EL), Demian Wassermann, Stephan Gerhard and Ross Markello (RM).
2525

2626
References like "pr/298" refer to github pull request numbers.
2727

28+
4.0.0 (To be determined)
29+
========================
30+
31+
New feature release in the 4.0.x series.
32+
33+
New features
34+
------------
35+
* Add ``'mask'``, ``'compat'`` and ``'smallest'`` dtype aliases to NIfTI images
36+
to allow for dtype specifications that can depend on the contents of the data.
37+
``'mask'`` is a synonym for ``uint8``. ``'compat'`` will find the nearest
38+
Analyze-compatible (therefore widely supported) dtype that will not truncate
39+
the data. ``'smallest'`` attempts to find the smallest integer dtype that will
40+
contain the data. (pr/1096) (CM, reviewed by Chris Rorden and Josh Teves)
41+
* Add ``dtype`` arguments to ``Cifti2Image`` (pr/1111) (CM)
42+
* Allow dtypes to be passed to Analyze-like images at ``__init__()`` and
43+
``to_filename()`` to provide better control over output images. (pr/1082)
44+
(CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes, and MB)
45+
* Allow compressed GIFTI images (MB, reviewed by CM)
46+
* Add zstd compression support (pr/1005) (Andrew Van, reviewed by CM)
47+
* Support ``ExternalFileBinary`` GIFTI data arrays (PM, reviewed by CM)
48+
49+
Enhancements
50+
------------
51+
* Document ``InTemporaryDirectory`` as non-thread-safe (pr/1103) (Jacob Roberts,
52+
reviewed by MB)
53+
* Unify Caret-XML-style metadata structure (GiftiMetaData, Cifti2MetaData)
54+
as dict-like (pr/1091) (CM, reviewed by Josh Teves and Hao-Ting Wang)
55+
* Add ``__repr__`` methods to GIFTI objects (pr/1092) (CM,
56+
reviewed by Josh Teves and Hao-Ting Wang)
57+
* Create gzip header deterministically by default (pr/1024) (CM, reviewed by YOH)
58+
* Provide clear error message when files with zip extensions don't match
59+
file contents (pr/1013) (Jérôme Dockès, reviewed by CM)
60+
61+
Bug fixes
62+
---------
63+
* Re-import externals/netcdf.py from scipy to resolve numpy API change (pr/1110)
64+
(CM)
65+
* Resize ArraySequence.data without helper function to avoid reference increment
66+
(pr/1093) (MC, reviewed by CM)
67+
68+
Maintenance
69+
-----------
70+
* Update submodule URLs to use https over git protocol (pr/1097) (CM)
71+
* Published BIAP 9: CoordinateImage API (pr/1084) (CM)
72+
* Drop uses of deprecated ``distutils`` (pr/1073) (CM, reviewed by MB)
73+
* Suppress LGTM false alarm "Clear-text logging of sensitive information"
74+
(pr/1052) (Dimitri Papadopoulos, reviewed by CM)
75+
* Test on Python 3.10 (pr/1047) (CM)
76+
* Fix typos found by codespell (pr/1040, pr/1044)
77+
(Dimitri Papadopoulos, reviewed by CM)
78+
* Run stable tests weekly, pre-release tests nightly (pr/1025) (CM)
79+
* Documentation updates to establish/clarify governance and decision
80+
making (pr/1019, pr/1020, pr/1022, pr/1018, pr/1017, pr/1016) (MB and CM)
81+
82+
API changes and deprecations
83+
----------------------------
84+
* Writing NIfTIs with 64-bit integer dtypes is getting harder.
85+
Passing ``(u)int64`` arrays to ``Nifti1Image`` and subclasses will warn unless
86+
a ``header`` or ``dtype`` option is passed; in the future this will become an
87+
error.
88+
Additionally, passing ``int`` or ``'int'`` to ``set_data_dtype()`` now raises
89+
an error, requiring an explicit numpy dtype to make 64-bit integer images.
90+
(pr/1082) (CM, following discussions with Chris Rorden, Josh Teves, Jerome Dockes,
91+
and MB)
92+
* Drop support for Python 3.6, Numpy < 1.17 (pr/1079) (CM)
93+
* Fully removed the following APIs, which have raised errors on use
94+
since 3.0 (pr/980) (CM, reviewed by Jonathan Daniel)
95+
* ``nibabel.trackvis``
96+
* ``nibabel.volumeutils.calculate_scale``
97+
* ``nibabel.volumeutils.can_cast``
98+
* ``nibabel.volumeutils.scale_min_max``
99+
* ``nibabel.dataobj_images.DataobjImage.get_shape``
100+
* ``nibabel.minc1.MincImage`` (use ``Minc1Image``)
101+
* ``nibabel.minc1.MincFile`` (use ``Minc1File``)
102+
* ``nibabel.filebasedimages.FileBasedImage.from_files``
103+
* ``nibabel.filebasedimages.FileBasedImage.filespec_to_files``
104+
* ``nibabel.filebasedimages.FileBasedImage.to_filespec``
105+
* ``nibabel.filebasedimages.FileBasedImage.to_files``
106+
* ``nibabel.arrayproxy.ArrayProxy.header``
107+
* ``keep_file_open=="auto"`` parameter to load method (now must be boolean)
108+
109+
28110
3.2.2 (Monday 7 February 2022)
29-
=================================
111+
==============================
30112

31113
Bug fix release in the 3.2.x series.
32114

@@ -557,7 +639,7 @@ Maintenance
557639
* Use SSH address to use key-based auth (pr/587) (CM, reviewed by MB)
558640
* Fix doctests for numpy 1.14 array printing (pr/591) (MB, reviewed by CM)
559641
* Refactor for pydicom 1.0 API changes (pr/599) (MB, reviewed by CM)
560-
* Increase test coverage, remove unreachable code (pr/602) (CM, reviewed by
642+
* Increase test coverage, remove unreachable code (pr/602) (CM, reviewed by
561643
Yaroslav Halchenko, MB)
562644
* Move ``nib-ls`` and other programs to a new cmdline module (pr/601, pr/615)
563645
(Chris Cheng, reviewed by MB, Yaroslav Halchenko)

doc/source/index.rst

+2
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,8 @@ contributed code and discussion (in rough order of appearance):
117117
* Lea Waller
118118
* Tomáš Hrnčiar
119119
* Andrew Van
120+
* Jérôme Dockès
121+
* Jacob Roberts
120122

121123
License reprise
122124
===============

0 commit comments

Comments
 (0)