From da9ff0ab287ec7ad3ab3aed73860178bc5b6e761 Mon Sep 17 00:00:00 2001 From: Tom Nicholas Date: Sun, 12 May 2024 16:28:03 -0600 Subject: [PATCH] Release summary for v2024.05.0 (#9021) * release summary * add some links * moved an entry up * rst vs md Co-authored-by: Justus Magin * update the date --------- Co-authored-by: Justus Magin --- doc/whats-new.rst | 28 +++++++++++++++------------- 1 file changed, 15 insertions(+), 13 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 4576186b7cf..5271f2821a6 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -15,19 +15,25 @@ What's New np.random.seed(123456) -.. _whats-new.2024.04.0: +.. _whats-new.2024.05.0: -v2024.04.0 (unreleased) ------------------------ +v2024.05.0 (May 12, 2024) +------------------------- + +This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes, +more compatibility fixes for the upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray ``main``! + +Thanks to the 18 contributors to this release: +Aimilios Tsouvelekakis, Andrey Akinshin, Deepak Cherian, Eni Awowale, Ilan Gold, Illviljan, Justus Magin, Mark Harfouche, Matt Savoie, Maximilian Roos, Noah C. Benson, Pascal Bourgault, Ray Bell, Spencer Clark, Tom Nicholas, ignamv, owenlittlejohns, and saschahofmann. New Features ~~~~~~~~~~~~ - New "random" method for converting to and from 360_day calendars (:pull:`8603`). By `Pascal Bourgault `_. - Xarray now makes a best attempt not to coerce :py:class:`pandas.api.extensions.ExtensionArray` to a numpy array - by supporting 1D `ExtensionArray` objects internally where possible. Thus, `Dataset`s initialized with a `pd.Catgeorical`, - for example, will retain the object. However, one cannot do operations that are not possible on the `ExtensionArray` - then, such as broadcasting. + by supporting 1D ``ExtensionArray`` objects internally where possible. Thus, :py:class:`Dataset` objects initialized with a ``pd.Categorical``, + for example, will retain the object. However, one cannot do operations that are not possible on the ``ExtensionArray`` + then, such as broadcasting. (:issue:`5287`, :issue:`8463`, :pull:`8723`) By `Ilan Gold `_. - :py:func:`testing.assert_allclose`/:py:func:`testing.assert_equal` now accept a new argument `check_dims="transpose"`, controlling whether a transposed array is considered equal. (:issue:`5733`, :pull:`8991`) By `Ignacio Martinez Vazquez `_. @@ -42,7 +48,6 @@ Breaking changes ~~~~~~~~~~~~~~~~ - The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`). By `Deepak Cherian `_. - - The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2. ===================== ========= ======= @@ -60,7 +65,6 @@ Breaking changes zarr 2.13 2.14 ===================== ========= ======= - Bug fixes ~~~~~~~~~ - Following `an upstream bug fix @@ -70,7 +74,6 @@ Bug fixes within the bounds of the provided start and end dates (:pull:`8999`). By `Spencer Clark `_. - Internal Changes ~~~~~~~~~~~~~~~~ - Enforces failures on CI when tests raise warnings from within xarray (:pull:`8974`) @@ -88,13 +91,15 @@ Internal Changes `Tom Nicholas `_. - Migrates ``ops.py`` functionality into ``xarray/core/datatree_ops.py`` (:pull:`8976`) By `Matt Savoie `_ and `Tom Nicholas `_. +- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`) + By `Owen Littlejohns `_, `Matt Savoie + `_ and `Tom Nicholas `_. - ``transpose``, ``set_dims``, ``stack`` & ``unstack`` now use a ``dim`` kwarg rather than ``dims`` or ``dimensions``. This is the final change to unify xarray functions to use ``dim``. Using the existing kwarg will raise a warning. By `Maximilian Roos `_ - .. _whats-new.2024.03.0: v2024.03.0 (Mar 29, 2024) @@ -172,9 +177,6 @@ Internal Changes - Migrates ``datatree`` functionality into ``xarray/core``. (:pull: `8789`) By `Owen Littlejohns `_, `Matt Savoie `_ and `Tom Nicholas `_. -- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`) - By `Owen Littlejohns `_, `Matt Savoie - `_ and `Tom Nicholas `_. .. _whats-new.2024.02.0: