From f51e6f9e21c26a2fa42baf415b69337ae6d827ec Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 14:10:03 -0400 Subject: [PATCH 1/6] Fix what's new --- doc/whats-new.rst | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index aef6a1e9983..017cdc100ad 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -6,9 +6,9 @@ What's New ========== -.. _whats-new.2026.03.0: +.. _whats-new.2026.04.0: -v2026.03.0 (unreleased) +v2026.04.0 (unreleased) ----------------------- New Features @@ -22,6 +22,11 @@ New Features By `Michael Niklas `_. - Added complex dtype support to FillValueCoder for the Zarr backend. (:pull:`11151`) By `Max Jones `_. +- Added ``facetgrid_figsize`` option to :py:func:`~xarray.set_options` allowing + :py:class:`~xarray.plot.FacetGrid` to use ``matplotlib.rcParams['figure.figsize']`` + or a fixed ``(width, height)`` tuple instead of computing figure size from + ``size`` and ``aspect`` (:issue:`11103`). + By `Kristian Kollsga `_. Breaking Changes ~~~~~~~~~~~~~~~~ @@ -39,7 +44,7 @@ Breaking Changes - Old Version - New Version * - boto3 - - 1.34 + - 1.3411158 - 1.37 * - cartopy - 0.23 @@ -385,9 +390,6 @@ Performance - Add a fastpath to the backend plugin system for standard engines (:issue:`10178`, :pull:`10937`). By `Sam Levang `_. -- Groupby cumsum can now be accelerated with flox. Coordinates are now retained - as well. (:issue:`6528`, :pull:`10987`) - By `Jimmy Westling `_. - Optimize :py:class:`~xarray.coding.variables.CFMaskCoder` decoder (:pull:`11105`). By `Deepak Cherian `_. @@ -1852,9 +1854,6 @@ Bug fixes - Fix deprecation warning that was raised when calling ``np.array`` on an ``xr.DataArray`` in NumPy 2.0 (:issue:`9312`, :pull:`9393`) By `Andrew Scherer `_. -- Fix passing missing arguments to when opening hdf5 and netCDF4 datatrees - (:issue:`9427`, :pull:`9428`). - By `Alfonso Ladino `_. - Fix support for using ``pandas.DateOffset``, ``pandas.Timedelta``, and ``datetime.timedelta`` objects as ``resample`` frequencies (:issue:`9408`, :pull:`9413`). @@ -2951,9 +2950,6 @@ Bug fixes Documentation ~~~~~~~~~~~~~ -- Added examples to docstrings of :py:meth:`Dataset.assign_attrs`, :py:meth:`Dataset.broadcast_equals`, - :py:meth:`Dataset.equals`, :py:meth:`Dataset.identical`, :py:meth:`Dataset.expand_dims`, :py:meth:`Dataset.drop_vars` - (:issue:`6793`, :pull:`7937`) By `Harshitha `_. - Added page on wrapping chunked numpy-like arrays as alternatives to dask arrays. (:pull:`7951`) By `Tom Nicholas `_. - Expanded the page on wrapping numpy-like "duck" arrays. From fb3c4a438fe8c525bf29c141c564dbf59900cedf Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 14:18:27 -0400 Subject: [PATCH 2/6] Move what's new entry --- doc/whats-new.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 017cdc100ad..f429805dca0 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -109,6 +109,11 @@ Breaking Changes ``open_dataset`` and ``open_datatree`` the default behavior of fsspec is now to use block caching with a 4MB block size (:pull:`11216`). By `Julia Signell `_. +- Passing a :py:class:`Dataset` as ``data_vars`` to the :py:class:`Dataset` + constructor now raises :py:class:`TypeError`. This was never intended behavior + and silently dropped ``attrs``. Use :py:meth:`Dataset.copy` instead + (:issue:`11095`). + By `Kristian Kollsga `_. Deprecations ~~~~~~~~~~~~ @@ -209,11 +214,6 @@ Breaking Changes not intended to be visible to end-users so this version of xarray switches to using ``FutureWarning`` everywhere (:pull:`11112`). By `Julia Signell `_. -- Passing a :py:class:`Dataset` as ``data_vars`` to the :py:class:`Dataset` - constructor now raises :py:class:`TypeError`. This was never intended behavior - and silently dropped ``attrs``. Use :py:meth:`Dataset.copy` instead - (:issue:`11095`). - By `Kristian Kollsga `_. Bug Fixes ~~~~~~~~~ From 64efdd3a551048847064645f8df501fe85a5f325 Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 14:34:56 -0400 Subject: [PATCH 3/6] Add release summary and contributors for v2026.04.0 Co-authored-by: Claude Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- doc/whats-new.rst | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index f429805dca0..2a36bb58202 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -8,9 +8,20 @@ What's New .. _whats-new.2026.04.0: -v2026.04.0 (unreleased) +v2026.04.0 (Apr 13, 2026) ----------------------- +This release bumps the minimum supported ``zarr`` version to 3.0, finalizes the +deprecation of timedelta decoding via units, adds ``col_wrap='auto'`` for plots, +a new ``inherit='all_coords'`` option for :py:meth:`DataTree.to_dataset`, and a +``facetgrid_figsize`` option for :py:func:`~xarray.set_options`. + +Thanks to the 20 contributors to this release: +Adam Newgas, Alfonso Ladino, Deepak Cherian, Emmanuel Ferdman, Ian Hunt-Isaak, +Ilan Gold, Illviljan, Jakob Harteg, Joe Hamman, Julia Signell, Justus Magin, +Kai Mühlbauer, Max Jones, Michael Niklas, Nick Hodgskin, Pieter Eendebak, +Spencer Clark, frostByte, kkollsga and yaochengchen + New Features ~~~~~~~~~~~~ @@ -44,7 +55,7 @@ Breaking Changes - Old Version - New Version * - boto3 - - 1.3411158 + - 1.34 - 1.37 * - cartopy - 0.23 From 5155860c8fcec18ad49e1a32683f936c6db6d0bb Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 14:39:10 -0400 Subject: [PATCH 4/6] Remove duplicate item from whats-new --- doc/whats-new.rst | 5 ----- 1 file changed, 5 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 2a36bb58202..6a06fe0b54a 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -206,11 +206,6 @@ Antonio Valentino, Chris Barker, Christine P. Chai, Deepak Cherian, Ewan Short, New Features ~~~~~~~~~~~~ -- Added ``facetgrid_figsize`` option to :py:func:`~xarray.set_options` allowing - :py:class:`~xarray.plot.FacetGrid` to use ``matplotlib.rcParams['figure.figsize']`` - or a fixed ``(width, height)`` tuple instead of computing figure size from - ``size`` and ``aspect`` (:issue:`11103`). - By `Kristian Kollsga `_. - :py:class:`~xarray.indexes.NDPointIndex` now supports coordinates with fewer dimensions than coordinate variables, enabling indexing of scattered points and trajectories where multiple coordinates (e.g., ``x``, ``y``) share a From ef2e877df5818b9aa9753697f8821aa462cd59f6 Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 15:18:24 -0400 Subject: [PATCH 5/6] Make the title underline long enough --- doc/whats-new.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 6a06fe0b54a..7bee740c874 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -9,7 +9,7 @@ What's New .. _whats-new.2026.04.0: v2026.04.0 (Apr 13, 2026) ------------------------ +------------------------- This release bumps the minimum supported ``zarr`` version to 3.0, finalizes the deprecation of timedelta decoding via units, adds ``col_wrap='auto'`` for plots, From 7bdf0708bca9863584011b450357d666fba70dc9 Mon Sep 17 00:00:00 2001 From: Julia Signell Date: Mon, 13 Apr 2026 15:22:25 -0400 Subject: [PATCH 6/6] Update contributors --- doc/whats-new.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 7bee740c874..f378ccb4193 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -16,11 +16,11 @@ deprecation of timedelta decoding via units, adds ``col_wrap='auto'`` for plots, a new ``inherit='all_coords'`` option for :py:meth:`DataTree.to_dataset`, and a ``facetgrid_figsize`` option for :py:func:`~xarray.set_options`. -Thanks to the 20 contributors to this release: -Adam Newgas, Alfonso Ladino, Deepak Cherian, Emmanuel Ferdman, Ian Hunt-Isaak, +Thanks to the 22 contributors to this release: +Adam Newgas, Alfonso Ladino, Copilot, Deepak Cherian, Emmanuel Ferdman, Ian Hunt-Isaak, Ilan Gold, Illviljan, Jakob Harteg, Joe Hamman, Julia Signell, Justus Magin, Kai Mühlbauer, Max Jones, Michael Niklas, Nick Hodgskin, Pieter Eendebak, -Spencer Clark, frostByte, kkollsga and yaochengchen +Spencer Clark, frostByte, kkollsga, rsignell and yaochengchen New Features ~~~~~~~~~~~~