Skip to content

Commit

Permalink
add badge for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
Remi-Gau committed Aug 5, 2023
1 parent c9b8c7f commit 4858492
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions doc/changes/0.2.6.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Enhancements

- Better ordering of regions in function :func:`~datasets.fetch_coords_dosenbach_2010`.

- Remove outdated power atlas example.
- :bdg-danger:`Deprecation` Remove outdated power atlas example.


Changes
Expand All @@ -44,4 +44,4 @@ Changes

- The function :func:`~datasets.fetch_haxby` will now fetch the data accepting input given in ``subjects`` as a list than integer.

- Replace ``get_affine`` by ``affine`` with recent versions of ``nibabel``.
- :bdg-danger:`Deprecation` Replace ``get_affine`` by ``affine`` with recent versions of ``nibabel``.
2 changes: 1 addition & 1 deletion doc/changes/0.3.1.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Highlights
Changes
-------

- The function ``sym_to_vec`` is deprecated and will be removed in release ``0.4``. Use function :func:`~connectome.sym_matrix_to_vec` instead.
- :bdg-danger:`Deprecation` The function ``sym_to_vec`` is deprecated and will be removed in release ``0.4``. Use function :func:`~connectome.sym_matrix_to_vec` instead.

- Added argument ``smoothing_fwhm`` to :class:`~regions.RegionExtractor` to control smoothing according to the resolution of atlas images.

Expand Down
4 changes: 2 additions & 2 deletions doc/changes/0.4.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ Changes

- **Backward incompatible change**: Function :func:`~plotting.find_xyz_cut_coords` now takes a ``mask_img`` argument which is a niimg, rather than a ``mask`` argument, which used to be a numpy array.

- The minimum required version for ``scipy`` is now ``0.14``.
- :bdg-danger:`Deprecation` The minimum required version for ``scipy`` is now ``0.14``.

- Dropped support for ``Nibabel`` older than ``2.0.2``.
- :bdg-danger:`Deprecation` Dropped support for ``Nibabel`` older than ``2.0.2``.

- Function :func:`~image.smooth_img` no longer accepts smoothing parameter :term:`FWHM` as 0. Behavior is changed in according to the issues with recent ``SciPy`` version ``1.0.0``.

Expand Down
2 changes: 1 addition & 1 deletion doc/changes/0.5.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ Enhancements
Changes
-------

- Function ``nilearn.datasets.fetch_surf_fsaverage5`` is deprecated and will be removed in a future release. Use function :func:`~datasets.fetch_surf_fsaverage`, with the parameter ``mesh="fsaverage5"`` (the default) instead.
- :bdg-danger:`Deprecation` Function ``nilearn.datasets.fetch_surf_fsaverage5`` is deprecated and will be removed in a future release. Use function :func:`~datasets.fetch_surf_fsaverage`, with the parameter ``mesh="fsaverage5"`` (the default) instead.

- ``fsaverage5`` surface data files are now shipped directly with Nilearn (see :gh:`1705` for discussion).

Expand Down
2 changes: 1 addition & 1 deletion doc/changes/0.6.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Fixes
Changes
-------

- Function ``nilearn.datasets.fetch_nyu_rest`` has been deprecated and will be removed in Nilearn ``0.8.0`` (:gh:`2308` by `Joshua Teves`_).
- :bdg-danger:`Deprecation` Function ``nilearn.datasets.fetch_nyu_rest`` has been deprecated and will be removed in Nilearn ``0.8.0`` (:gh:`2308` by `Joshua Teves`_).

Contributors
------------
Expand Down
4 changes: 2 additions & 2 deletions doc/changes/0.7.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,9 @@ Fixes
Changes
-------

- Function ``nilearn.datasets.fetch_cobre`` has been deprecated and will be
- :bdg-danger:`Deprecation` Function ``nilearn.datasets.fetch_cobre`` has been deprecated and will be
removed in release 0.9 .
- Function ``nilearn.plotting.plot_connectome_strength`` has been deprecated and will
- :bdg-danger:`Deprecation` Function ``nilearn.plotting.plot_connectome_strength`` has been deprecated and will
be removed in release 0.9 .

- :class:`nilearn.connectome.ConnectivityMeasure` can now remove
Expand Down
8 changes: 4 additions & 4 deletions doc/changes/0.8.0.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ Enhancements
Changes
-------

- Python ``3.5`` is no longer supported. We recommend upgrading to Python ``3.7`` (:gh:`2869` by `Nicolas Gensollen`_).
- :bdg-danger:`Deprecation` Python ``3.5`` is no longer supported. We recommend upgrading to Python ``3.7`` (:gh:`2869` by `Nicolas Gensollen`_).

- Support for Nibabel ``2.x`` is now deprecated and will be removed in the ``0.9`` release. Users with a version of Nibabel ``< 3.0`` will be warned at their first Nilearn import (:gh:`2869` by `Nicolas Gensollen`_).
- :bdg-danger:`Deprecation` Support for Nibabel ``2.x`` is now deprecated and will be removed in the ``0.9`` release. Users with a version of Nibabel ``< 3.0`` will be warned at their first Nilearn import (:gh:`2869` by `Nicolas Gensollen`_).

- Minimum supported versions of packages have been bumped up:

Expand All @@ -105,8 +105,8 @@ Changes

(:gh:`2869` by `Nicolas Gensollen`_).

- Function ``sym_to_vec`` from :mod:`nilearn.connectome` was deprecated since release ``0.4`` and has been removed (:gh:`2867` by `Nicolas Gensollen`_).
- :bdg-danger:`Deprecation` Function ``sym_to_vec`` from :mod:`nilearn.connectome` was deprecated since release ``0.4`` and has been removed (:gh:`2867` by `Nicolas Gensollen`_).

- Function ``nilearn.datasets.fetch_nyu_rest`` was deprecated since release ``0.6.2`` and has been removed (:gh:`2868` by `Nicolas Gensollen`_).
- :bdg-danger:`Deprecation` Function ``nilearn.datasets.fetch_nyu_rest`` was deprecated since release ``0.6.2`` and has been removed (:gh:`2868` by `Nicolas Gensollen`_).

- Class :class:`~maskers.NiftiMasker` replaces attribute ``sessions`` with ``runs`` and deprecates attribute ``sessions`` in ``0.9.0``. Match the relevant change in function :func:`~signal.clean` (:gh:`2858` by `Hao-Ting Wang`_).

0 comments on commit 4858492

Please sign in to comment.