From c23ebd19ffc6b927a7350e9421a63adf7e7f528f Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Wed, 10 Apr 2024 10:36:55 -0700 Subject: [PATCH] Designate 0.23.0 release --- RELEASE.txt | 10 +++---- doc/source/_static/docversions.js | 2 +- doc/source/_static/version_switcher.json | 9 ++++-- .../{release_dev.rst => release_0.23.0.rst} | 30 ++++++++++++++----- skimage/__init__.py | 2 +- 5 files changed, 36 insertions(+), 17 deletions(-) rename doc/source/release_notes/{release_dev.rst => release_0.23.0.rst} (88%) diff --git a/RELEASE.txt b/RELEASE.txt index 8d393abd484..a59486ee331 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -42,17 +42,17 @@ Example `version number` export VERSION= export PREVIOUS= - export ORG="networkx" - export REPO="networkx" + export ORG="scikit-image" + export REPO="scikit-image" If this is a prerelease: - export NOTES="doc/release/release_dev.rst" + export NOTES="doc/source/release_notes/release_dev.rst" If this is release: - export NOTES="doc/release/release_${VERSION}.rst" - git rm doc/release/release_dev.rst + export NOTES="doc/source/release_notes/release_${VERSION}.rst" + git rm doc/source/release_notes/release_dev.rst - Autogenerate release notes: diff --git a/doc/source/_static/docversions.js b/doc/source/_static/docversions.js index 18c929a30c0..d472d0e70ea 100644 --- a/doc/source/_static/docversions.js +++ b/doc/source/_static/docversions.js @@ -1,4 +1,4 @@ -var versions = ['dev', '0.22.x', '0.21.x', '0.20.x', '0.19.x', '0.18.x', '0.17.x', '0.16.x', '0.15.x', '0.14.x', '0.13.x', '0.12.x', '0.11.x', '0.10.x', '0.9.x', '0.8.0', '0.7.0', '0.6', '0.5', '0.4', '0.3']; +var versions = ['dev', '0.23.x', '0.22.x', '0.21.x', '0.20.x', '0.19.x', '0.18.x', '0.17.x', '0.16.x', '0.15.x', '0.14.x', '0.13.x', '0.12.x', '0.11.x', '0.10.x', '0.9.x', '0.8.0', '0.7.0', '0.6', '0.5', '0.4', '0.3']; function insert_version_links() { for (i = 0; i < versions.length; i++){ diff --git a/doc/source/_static/version_switcher.json b/doc/source/_static/version_switcher.json index 14dff75a37c..e1d7a7cc476 100644 --- a/doc/source/_static/version_switcher.json +++ b/doc/source/_static/version_switcher.json @@ -5,11 +5,16 @@ "url": "https://scikit-image.org/docs/dev/" }, { - "name": "0.22 (stable)", - "version":"0.22.0", + "name": "0.23 (stable)", + "version":"0.23.0", "url": "https://scikit-image.org/docs/stable/", "preferred": true }, + { + "name": "0.22", + "version":"0.22.0", + "url": "https://scikit-image.org/docs/0.22.x/" + }, { "name": "0.21", "version":"0.21.0", diff --git a/doc/source/release_notes/release_dev.rst b/doc/source/release_notes/release_0.23.0.rst similarity index 88% rename from doc/source/release_notes/release_dev.rst rename to doc/source/release_notes/release_0.23.0.rst index ae566708b37..8df1f44c139 100644 --- a/doc/source/release_notes/release_dev.rst +++ b/doc/source/release_notes/release_0.23.0.rst @@ -1,13 +1,23 @@ -scikit-image 0.X.0 (not released) -================================= +scikit-image 0.23.0 +=================== + +We're happy to announce the release of scikit-image 0.23.0! + +Highlights +---------- + +- Ensure ``skimage.morphology.closing`` and ``skimage.morphology.opening`` are extensive and anti-extensive, respectively, if the footprint is not mirror symmetric (`#6695 `_). +- Add parameters ``mode`` and ``cval`` to ``erosion``, ``dilation``, ``opening``, ``closing``, ``white_tophat``, and ``black_tophat`` in ``skimage.morphology``. These new parameters determine how array borders are handled (`#6695 `_). +- Add parameter ``mode`` to ``binary_erosion``, ``binary_dilation``, ``binary_opening`` and ``binary_closing`` in ``skimage.morphology``. These new parameters determine how array borders are handled (`#6695 `_). +- Speedup ``skimage.util.map_array`` by parallelization with Cython's ``prange`` (`#7266 `_). New Features ------------ - Add new ``intensity_std`` property to ``skimage.measure.regionprops`` which computes the standard deviation of the intensity in a region (`#6712 `_). -- Add functions ``mirror_footprint`` and ``pad_footprint`` to ``skimage.morphology`` (`#6695 `_). - Add parameters ``mode`` and ``cval`` to ``erosion``, ``dilation``, ``opening``, ``closing``, ``white_tophat``, and ``black_tophat`` in ``skimage.morphology``. These new parameters determine how array borders are handled (`#6695 `_). - Add parameter ``mode`` to ``binary_erosion``, ``binary_dilation``, ``binary_opening`` and ``binary_closing`` in ``skimage.morphology``. These new parameters determine how array borders are handled (`#6695 `_). +- Add functions ``mirror_footprint`` and ``pad_footprint`` to ``skimage.morphology`` (`#6695 `_). - Add new parameter ``spacing`` to ``segmentation.expand_labels`` to support anisotropic images (`#7080 `_). API Changes @@ -17,7 +27,7 @@ API Changes - Parameters ``shift_x`` and ``shift_y`` in ``skimage.morphology.erosion`` and ``skimage.morphology.dilation`` are deprecated. Use ``pad_footprint`` or modify the footprint manually instead (`#6695 `_). - Remove unexpected value scaling in ``skimage.morphology.skeletonize_3d`` for non-binary input images. ``skeletonize_3d`` now always returns a binary array like similar functions (`#7095 `_). - Deprecate function ``skimage.feature.plot_matches`` in favor of ``skimage.feature.plot_matched_features`` (`#7255 `_). -- Deprecate ``skimage.morphology.skeletonize_3d`` in favor of just skimage.morphology.skeletonize`` (`#7094 `_). +- Deprecate ``skimage.morphology.skeletonize_3d`` in favor of just ``skimage.morphology.skeletonize`` (`#7094 `_). - Deprecate parameter ``output`` in ``skimage.filters.gaussian``; use ``out`` instead (`#7225 `_). - Change the default value of the parameters ``shift_x``, ``shift_y`` and ``shift_z`` from ``False`` to ``0`` in the ``skimage.filters.rank`` functions. This has not impact on the results. Warn in case boolean shifts are provided from now on (`#7320 `_). @@ -54,7 +64,7 @@ Documentation - Point binder tag/branch to commit corresponding to docs/release (`#7252 `_). - Add example to FundamentalMatrixTransform class (`#6863 `_). - Adds explanation of what the optional dependency on Matplotlib offers to the install instructions (`#7286 `_). -- Function docstring was changed to follow the conventions adopted in the original paper. τ was replaced with θ (`#7314 `_). +- Use correct symbol θ for tightness in the docstring of ``skimage.registration.optical_flow_tvl1`` (`#7314 `_). - The description of the parameter cval is modified in "int or float". cval is a numerical value not a string (`#7319 `_). - Remove obsolete instruction about documenting changes (`#7321 `_). - Added comment to clarify that dt corresponds to tau, i.e. the time step. Changed gray scale in grayscale in the entire registration module (`#7324 `_). @@ -64,6 +74,8 @@ Documentation - Update description of how to document pull requests for inclusion in the release notes (`#7267 `_). - Clarify description of ``data_range`` parameter in ``skimage.metrics.structural_similarity`` (`#7345 `_). - Use object-oriented Matplotlib style in longer gallery examples and demonstrations (doc/examples/applications) (`#7346 `_). +- In the gallery example on segmenting human cells (in mitosis), include the border when generating basin markers for watershed (`#7362 `_). +- Add missing minus sign in docstring of ``skimage.transform.EuclideanTransform`` (`#7097 `_). Infrastructure -------------- @@ -121,7 +133,10 @@ Maintenance - Update numpydoc to version 1.7 (`#7355 `_). - [pre-commit.ci] pre-commit autoupdate (`#7365 `_). - Simplify warning filters in test suite (`#7349 `_). -- Build against NumPy 2 (`#7367 `_). +- Build against NumPy >=2.0.0rc1 (`#7367 `_). +- Remove ``ensure_python_version`` function (`#7370 `_). +- Update GitHub actions to ``setup-python@v5``, ``cache@v4``, ``upload-artifact@v4``, and ``download-artifact@v4`` (`#7368 `_). +- Update lazyloader to v0.4 (`#7373 `_). Contributors ------------ @@ -182,5 +197,4 @@ Contributors - Sebastian Berg (`@seberg `_) - Stefan van der Walt (`@stefanv `_) -_These lists are automatically generated, and may not be complete or may contain -duplicates._ +_These lists are automatically generated, and may not be complete or may contain duplicates._ diff --git a/skimage/__init__.py b/skimage/__init__.py index db345ebd859..e83533f9c44 100644 --- a/skimage/__init__.py +++ b/skimage/__init__.py @@ -65,7 +65,7 @@ """ -__version__ = '0.23.0rc3.dev0' +__version__ = '0.23.0' import lazy_loader as lazy