From a1c969be61d3c7bd4306c7196cb3153d588ba413 Mon Sep 17 00:00:00 2001 From: TomNicholas Date: Fri, 10 May 2024 13:32:53 -0400 Subject: [PATCH 1/5] release summary --- doc/whats-new.rst | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/doc/whats-new.rst b/doc/whats-new.rst index 378e6330352..615b1eda98d 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -15,10 +15,16 @@ 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 10, 2024) +------------------------- + +This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes, +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 ~~~~~~~~~~~~ @@ -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 ~~~~~~~~~~~~~~~~ - Migrates ``formatting_html`` functionality for ``DataTree`` into ``xarray/core`` (:pull: `8930`) @@ -91,7 +94,6 @@ Internal Changes consistent with their use of ``dim``. Using the existing kwarg will raise a warning. By `Maximilian Roos `_ - .. _whats-new.2024.03.0: v2024.03.0 (Mar 29, 2024) From e6b2608e43a4dc9e95f2b67e57102882499efcd0 Mon Sep 17 00:00:00 2001 From: TomNicholas Date: Fri, 10 May 2024 13:40:09 -0400 Subject: [PATCH 2/5] add some links --- 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 615b1eda98d..dc015fd8f1a 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -21,7 +21,7 @@ v2024.05.0 (May 10, 2024) ------------------------- This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes, -and the migration of most of the xarray-datatree project code into xarray `main`! +more compatibility fixed for 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. @@ -31,9 +31,9 @@ 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`, + by supporting 1D `ExtensionArray` objects internally where possible. Thus, `Dataset`s 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. + 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 `_. From 3665b67ac2a1d05f4bd69c6e422e86f42003b208 Mon Sep 17 00:00:00 2001 From: TomNicholas Date: Fri, 10 May 2024 13:41:35 -0400 Subject: [PATCH 3/5] moved an entry up --- 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 dc015fd8f1a..5f703737241 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -89,6 +89,9 @@ 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 make xarray methods consistent with their use of ``dim``. Using the existing kwarg will raise a @@ -171,9 +174,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: From 0c4496686aa42d173f77f3d45aecf53d0363576a Mon Sep 17 00:00:00 2001 From: Tom Nicholas Date: Sun, 12 May 2024 16:23:08 -0600 Subject: [PATCH 4/5] rst vs md Co-authored-by: Justus Magin --- 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 5f703737241..8c1239507d1 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -21,7 +21,7 @@ v2024.05.0 (May 10, 2024) ------------------------- This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes, -more compatibility fixed for upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray `main`! +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. @@ -31,8 +31,8 @@ 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.Categorical`, - for example, will retain the object. However, one cannot do operations that are not possible on the `ExtensionArray` + 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`) From c3af043c8d4be662159e7449d55f07dbb3a376e6 Mon Sep 17 00:00:00 2001 From: TomNicholas Date: Sun, 12 May 2024 18:26:23 -0400 Subject: [PATCH 5/5] update the date --- 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 0bf1d67173e..5271f2821a6 100644 --- a/doc/whats-new.rst +++ b/doc/whats-new.rst @@ -17,7 +17,7 @@ What's New .. _whats-new.2024.05.0: -v2024.05.0 (May 10, 2024) +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,