66What's New
77==========
88
9- .. _whats-new.2026.03 .0 :
9+ .. _whats-new.2026.04 .0 :
1010
11- v2026.03.0 (unreleased)
12- -----------------------
11+ v2026.04.0 (Apr 13, 2026)
12+ -------------------------
13+
14+ This release bumps the minimum supported ``zarr `` version to 3.0, finalizes the
15+ deprecation of timedelta decoding via units, adds ``col_wrap='auto' `` for plots,
16+ a new ``inherit='all_coords' `` option for :py:meth: `DataTree.to_dataset `, and a
17+ ``facetgrid_figsize `` option for :py:func: `~xarray.set_options `.
18+
19+ Thanks to the 22 contributors to this release:
20+ Adam Newgas, Alfonso Ladino, Copilot, Deepak Cherian, Emmanuel Ferdman, Ian Hunt-Isaak,
21+ Ilan Gold, Illviljan, Jakob Harteg, Joe Hamman, Julia Signell, Justus Magin,
22+ Kai Mühlbauer, Max Jones, Michael Niklas, Nick Hodgskin, Pieter Eendebak,
23+ Spencer Clark, frostByte, kkollsga, rsignell and yaochengchen
1324
1425New Features
1526~~~~~~~~~~~~
@@ -22,6 +33,11 @@ New Features
2233 By `Michael Niklas <https://github.com/headtr1ck >`_.
2334- Added complex dtype support to FillValueCoder for the Zarr backend. (:pull: `11151 `)
2435 By `Max Jones <https://github.com/maxrjones >`_.
36+ - Added ``facetgrid_figsize `` option to :py:func: `~xarray.set_options ` allowing
37+ :py:class: `~xarray.plot.FacetGrid ` to use ``matplotlib.rcParams['figure.figsize'] ``
38+ or a fixed ``(width, height) `` tuple instead of computing figure size from
39+ ``size `` and ``aspect `` (:issue: `11103 `).
40+ By `Kristian Kollsga <https://github.com/kkollsga >`_.
2541
2642Breaking Changes
2743~~~~~~~~~~~~~~~~
@@ -104,6 +120,11 @@ Breaking Changes
104120 ``open_dataset `` and ``open_datatree `` the default behavior of fsspec is now to
105121 use block caching with a 4MB block size (:pull: `11216 `). By `Julia Signell
106122 <https://github.com/jsignell> `_.
123+ - Passing a :py:class: `Dataset ` as ``data_vars `` to the :py:class: `Dataset `
124+ constructor now raises :py:class: `TypeError `. This was never intended behavior
125+ and silently dropped ``attrs ``. Use :py:meth: `Dataset.copy ` instead
126+ (:issue: `11095 `).
127+ By `Kristian Kollsga <https://github.com/kkollsga >`_.
107128
108129Deprecations
109130~~~~~~~~~~~~
@@ -185,11 +206,6 @@ Antonio Valentino, Chris Barker, Christine P. Chai, Deepak Cherian, Ewan Short,
185206New Features
186207~~~~~~~~~~~~
187208
188- - Added ``facetgrid_figsize `` option to :py:func: `~xarray.set_options ` allowing
189- :py:class: `~xarray.plot.FacetGrid ` to use ``matplotlib.rcParams['figure.figsize'] ``
190- or a fixed ``(width, height) `` tuple instead of computing figure size from
191- ``size `` and ``aspect `` (:issue: `11103 `).
192- By `Kristian Kollsga <https://github.com/kkollsga >`_.
193209- :py:class: `~xarray.indexes.NDPointIndex ` now supports coordinates with fewer
194210 dimensions than coordinate variables, enabling indexing of scattered points
195211 and trajectories where multiple coordinates (e.g., ``x ``, ``y ``) share a
@@ -204,11 +220,6 @@ Breaking Changes
204220 not intended to be visible to end-users so this version of xarray
205221 switches to using ``FutureWarning `` everywhere (:pull: `11112 `).
206222 By `Julia Signell <https://github.com/jsignell >`_.
207- - Passing a :py:class: `Dataset ` as ``data_vars `` to the :py:class: `Dataset `
208- constructor now raises :py:class: `TypeError `. This was never intended behavior
209- and silently dropped ``attrs ``. Use :py:meth: `Dataset.copy ` instead
210- (:issue: `11095 `).
211- By `Kristian Kollsga <https://github.com/kkollsga >`_.
212223
213224Bug Fixes
214225~~~~~~~~~
@@ -385,9 +396,6 @@ Performance
385396
386397- Add a fastpath to the backend plugin system for standard engines (:issue: `10178 `, :pull: `10937 `).
387398 By `Sam Levang <https://github.com/slevang >`_.
388- - Groupby cumsum can now be accelerated with flox. Coordinates are now retained
389- as well. (:issue: `6528 `, :pull: `10987 `)
390- By `Jimmy Westling <https://github.com/illviljan >`_.
391399- Optimize :py:class: `~xarray.coding.variables.CFMaskCoder ` decoder (:pull: `11105 `).
392400 By `Deepak Cherian <https://github.com/dcherian >`_.
393401
@@ -1852,9 +1860,6 @@ Bug fixes
18521860- Fix deprecation warning that was raised when calling ``np.array `` on an ``xr.DataArray ``
18531861 in NumPy 2.0 (:issue: `9312 `, :pull: `9393 `)
18541862 By `Andrew Scherer <https://github.com/andrew-s28 >`_.
1855- - Fix passing missing arguments to when opening hdf5 and netCDF4 datatrees
1856- (:issue: `9427 `, :pull: `9428 `).
1857- By `Alfonso Ladino <https://github.com/aladinor >`_.
18581863- Fix support for using ``pandas.DateOffset ``, ``pandas.Timedelta ``, and
18591864 ``datetime.timedelta `` objects as ``resample `` frequencies
18601865 (:issue: `9408 `, :pull: `9413 `).
@@ -2951,9 +2956,6 @@ Bug fixes
29512956Documentation
29522957~~~~~~~~~~~~~
29532958
2954- - Added examples to docstrings of :py:meth: `Dataset.assign_attrs `, :py:meth: `Dataset.broadcast_equals `,
2955- :py:meth: `Dataset.equals `, :py:meth: `Dataset.identical `, :py:meth: `Dataset.expand_dims `, :py:meth: `Dataset.drop_vars `
2956- (:issue: `6793 `, :pull: `7937 `) By `Harshitha <https://github.com/harshitha1201 >`_.
29572959- Added page on wrapping chunked numpy-like arrays as alternatives to dask arrays.
29582960 (:pull: `7951 `) By `Tom Nicholas <https://github.com/TomNicholas >`_.
29592961- Expanded the page on wrapping numpy-like "duck" arrays.
0 commit comments