0.5.4rc2
Pre-releasenapari 0.5.4
Friday, Sep 27, 2024
We’re happy to announce the release of napari 0.5.4!
napari is a fast, interactive, multi-dimensional image viewer for Python. It’s designed for exploring, annotating, and analyzing multi-dimensional images. It’s built on Qt (for the GUI), VisPy (for performant GPU-based rendering), and the scientific Python stack (NumPy, SciPy, and friends).
For more information, examples, and documentation, please visit our website: https://napari.org/
Highlights
Another release with a lot of bug fixes, but also some (more!) improvements to
Shapes layer performance (#7144,
#7256), and a few nice
usability/quality of life features!
- you can now follow the value under the cursor around in images in 3D view as
well as 2D (#7126) - Use standard keyboard shortcuts to zoom in and out ({kbd}
Command/Ctrl+=
,
{kbd}Command/Ctrl+-
) and to zoom-to-fit ({kbd}Command/Ctrl+0
)
(#7200) - you can now save tiff files larger than 4GB
(#7242)
Finally, we're starting some work on tweaking the UI to make it more
self-consistent, with the ultimate goal of adding functionality such as showing
common controls when multiple layers are selected, so that, for example, you
can select multiple layers and adjust all their opacity settings together. As
the first step for this, the layer blending controls have been moved directly
under the opacity control, so that all per-layer controls are next to each
other in the UI (#7202)
Read on for all the changes in this version!
New Features
Improvements
- Speed up
get_status
for Shapes layer by using bounding boxes (#7144) - Enh: Add zoom options and keybindings to View menu (#7200)
- [ux/ui] Put blending controls under opacity slider in layer controls (#7202)
- Enable conflicts detection with layer keybindings when changing viewer ones and add group info to conflicts popup (#7231)
- Speedup
_is_convex
by avoid callingnp.roll
(#7256) - Sort plugin manifests in alphabetical order for registration (#7266)
Performance
- Speed up
get_status
for Shapes layer by using bounding boxes (#7144) - Speedup
_is_convex
by avoid callingnp.roll
(#7256)
Bug Fixes
- start/stop status thread on show/hide main window (#7240)
- Added support for saving tiff files > 4GB :) (#7242)
- Accept any Mapping as output of a plugin widget (#7250)
- Eliminate nearly all Qt widget leaks by using qtbot (#7251)
- Enforce minimum side length when guessing if image is RGB (#7273)
- Fix color shuffling for bool labels (#7294)
- Fix cursor dimensionality race condition (#7295)
- Fix overflow error in shuffle colormap for signed integer labels (#7296)
Documentation
- Add beanli161514 to citation file (#7272)
- Doc/metadata: add jni's ORCID to the CITATION.cff file (#7275)
- Style fix: use recommended capitalization for "GitHub" in README (#7284)
- Add psygnal and pydantic to napari --info (#7285)
- Move images to _static folder (docs#483)
- Update version switcher to add 0.5.3 (docs#488)
- Move release notes to be under Usage (docs#489)
- Update release guide (docs#491)
- Use
get_qapp
orget_app_model
instead ofget_app
(docs#495) - Add 0.5.4 release notes (docs#496)
- Add note about questions in landing page (docs#498)
Other Pull Requests
- Update script for vendored modules (#5779)
- Update
certifi
,dask
,hypothesis
,ipython
,numpy
,qtconsole
,rich
,scipy
,tifffile
(#7212) - Block zarr 3.0.0a1 and 3.0.0a2 in pre-release tests (#7217)
- Add autouse fixture that clears cached property
Action.injected
(#7224) - Update
tifffile
(#7235) - CI benchmark run comment will now include results table (#7237)
- [pre-commit.ci] pre-commit autoupdate (#7239)
- Fix coverage and debug artifacts upload (#7241)
- Replaced broken link to the "Translations" page :) (#7243)
- Alow to call benchmark that do not have params (#7252)
- Block zarr=3.0.0a3 to fix pre-release tests (#7254)
- Change type of layer Metadata from dict to Mapping (#7257)
- Update
fsspec
,hypothesis
,pydantic
,tensorstore
,virtualenv
,zarr
(#7258) - Deprecate usage of
get_app
functions to getQApplication
orNapariApplication
instances (#7269) - Block
zarr==3.0.0a4
(#7271) - Update
dask
,hypothesis
,napari-plugin-manager
,pandas
,pydantic
,pytest
,rich
,tifffile
,virtualenv
,xarray
(#7274) - [pre-commit.ci] pre-commit autoupdate (#7276)
- Fix
test_windows_grouping_overwrite
skip condition and asserts (#7281) - Update menu sorting tests still using
mock_app
andget_app
instead ofmock_app_model
andget_app_model
(#7283) - Remove obsolete self from layout argument (#7291)
11 authors added to this release (alphabetical)
(+) denotes first-time contributors 🥳
- BeanLi - @beanli161514
- Daniel Althviz Moré (docs) - @dalthviz
- Draga Doncila Pop - @DragaDoncila
- Grzegorz Bokota - @Czaki
- Ikko Eltociear Ashimine - @eltociear +
- Juan Nunez-Iglesias (docs) - @jni
- Lorenzo Gaifas - @brisvag
- Lucy Liu - @lucyleeow
- Melissa Weber Mendonça - @melissawm
- Peter Sobolewski - @psobolewskiPhD
- Sammy Hansali - @sammyhansali +
13 reviewers added to this release (alphabetical)
(+) denotes first-time contributors 🥳
- andrew sweet - @andy-sweet
- Ashley Anderson - @aganders3
- Daniel Althviz Moré (docs) - @dalthviz
- Draga Doncila Pop - @DragaDoncila
- Grzegorz Bokota - @Czaki
- jaime rodriguez-guerra - @jaimergp
- Juan Nunez-Iglesias (docs) - @jni
- kyle i. s. harrington - @kephale
- Lorenzo Gaifas - @brisvag
- Lucy Liu - @lucyleeow
- Melissa Weber Mendonça - @melissawm
- Peter Sobolewski - @psobolewskiPhD
- Wouter-Michiel Vierdag - @melonora