Skip to content

Commit d763c02

Browse files
committed
Merge branch 'main' into backend-indexing
* main: New whatsnew section Release summary for v2024.05.0 (#9021)
2 parents f2c4659 + 31111b3 commit d763c02

File tree

1 file changed

+43
-12
lines changed

1 file changed

+43
-12
lines changed

doc/whats-new.rst

+43-12
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,54 @@ What's New
1515
np.random.seed(123456)
1616
1717
18-
.. _whats-new.2024.04.0:
18+
.. _whats-new.2024.05.1:
1919

20-
v2024.04.0 (unreleased)
20+
v2024.05.1 (unreleased)
2121
-----------------------
2222

23+
New Features
24+
~~~~~~~~~~~~
25+
26+
27+
Breaking changes
28+
~~~~~~~~~~~~~~~~
29+
30+
31+
Deprecations
32+
~~~~~~~~~~~~
33+
34+
35+
Bug fixes
36+
~~~~~~~~~
37+
38+
39+
Documentation
40+
~~~~~~~~~~~~~
41+
42+
43+
Internal Changes
44+
~~~~~~~~~~~~~~~~
45+
46+
47+
.. _whats-new.2024.05.0:
48+
49+
v2024.05.0 (May 12, 2024)
50+
-------------------------
51+
52+
This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes,
53+
more compatibility fixes for the upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray ``main``!
54+
55+
Thanks to the 18 contributors to this release:
56+
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.
57+
2358
New Features
2459
~~~~~~~~~~~~
2560
- New "random" method for converting to and from 360_day calendars (:pull:`8603`).
2661
By `Pascal Bourgault <https://github.com/aulemahal>`_.
2762
- Xarray now makes a best attempt not to coerce :py:class:`pandas.api.extensions.ExtensionArray` to a numpy array
28-
by supporting 1D `ExtensionArray` objects internally where possible. Thus, `Dataset`s initialized with a `pd.Catgeorical`,
29-
for example, will retain the object. However, one cannot do operations that are not possible on the `ExtensionArray`
30-
then, such as broadcasting.
63+
by supporting 1D ``ExtensionArray`` objects internally where possible. Thus, :py:class:`Dataset` objects initialized with a ``pd.Categorical``,
64+
for example, will retain the object. However, one cannot do operations that are not possible on the ``ExtensionArray``
65+
then, such as broadcasting. (:issue:`5287`, :issue:`8463`, :pull:`8723`)
3166
By `Ilan Gold <https://github.com/ilan-gold>`_.
3267
- :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`)
3368
By `Ignacio Martinez Vazquez <https://github.com/ignamv>`_.
@@ -42,7 +77,6 @@ Breaking changes
4277
~~~~~~~~~~~~~~~~
4378
- The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`).
4479
By `Deepak Cherian <https://github.com/dcherian>`_.
45-
4680
- The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.
4781

4882
===================== ========= =======
@@ -60,7 +94,6 @@ Breaking changes
6094
zarr 2.13 2.14
6195
===================== ========= =======
6296

63-
6497
Bug fixes
6598
~~~~~~~~~
6699
- Following `an upstream bug fix
@@ -70,7 +103,6 @@ Bug fixes
70103
within the bounds of the provided start and end dates (:pull:`8999`). By
71104
`Spencer Clark <https://github.com/spencerkclark>`_.
72105

73-
74106
Internal Changes
75107
~~~~~~~~~~~~~~~~
76108
- Enforces failures on CI when tests raise warnings from within xarray (:pull:`8974`)
@@ -88,13 +120,15 @@ Internal Changes
88120
`Tom Nicholas <https://github.com/TomNicholas>`_.
89121
- Migrates ``ops.py`` functionality into ``xarray/core/datatree_ops.py`` (:pull:`8976`)
90122
By `Matt Savoie <https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
123+
- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`)
124+
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
125+
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
91126
- ``transpose``, ``set_dims``, ``stack`` & ``unstack`` now use a ``dim`` kwarg
92127
rather than ``dims`` or ``dimensions``. This is the final change to unify
93128
xarray functions to use ``dim``. Using the existing kwarg will raise a
94129
warning.
95130
By `Maximilian Roos <https://github.com/max-sixty>`_
96131

97-
98132
.. _whats-new.2024.03.0:
99133

100134
v2024.03.0 (Mar 29, 2024)
@@ -172,9 +206,6 @@ Internal Changes
172206
- Migrates ``datatree`` functionality into ``xarray/core``. (:pull: `8789`)
173207
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
174208
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
175-
- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`)
176-
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
177-
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
178209

179210

180211
.. _whats-new.2024.02.0:

0 commit comments

Comments
 (0)