You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* release summary
* add some links
* moved an entry up
* rst vs md
Co-authored-by: Justus Magin <[email protected]>
* update the date
---------
Co-authored-by: Justus Magin <[email protected]>
Copy file name to clipboardexpand all lines: doc/whats-new.rst
+15-13
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,25 @@ What's New
15
15
np.random.seed(123456)
16
16
17
17
18
-
.. _whats-new.2024.04.0:
18
+
.. _whats-new.2024.05.0:
19
19
20
-
v2024.04.0 (unreleased)
21
-
-----------------------
20
+
v2024.05.0 (May 12, 2024)
21
+
-------------------------
22
+
23
+
This release brings support for pandas ExtensionArray objects, optimizations when reading Zarr, the ability to concatenate datasets without pandas indexes,
24
+
more compatibility fixes for the upcoming numpy 2.0, and the migration of most of the xarray-datatree project code into xarray ``main``!
25
+
26
+
Thanks to the 18 contributors to this release:
27
+
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.
22
28
23
29
New Features
24
30
~~~~~~~~~~~~
25
31
- New "random" method for converting to and from 360_day calendars (:pull:`8603`).
26
32
By `Pascal Bourgault <https://github.com/aulemahal>`_.
27
33
- 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.
34
+
by supporting 1D ``ExtensionArray`` objects internally where possible. Thus, :py:class:`Dataset` objects initialized with a ``pd.Categorical``,
35
+
for example, will retain the object. However, one cannot do operations that are not possible on the ``ExtensionArray``
36
+
then, such as broadcasting. (:issue:`5287`, :issue:`8463`, :pull:`8723`)
31
37
By `Ilan Gold <https://github.com/ilan-gold>`_.
32
38
- :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`)
33
39
By `Ignacio Martinez Vazquez <https://github.com/ignamv>`_.
@@ -42,7 +48,6 @@ Breaking changes
42
48
~~~~~~~~~~~~~~~~
43
49
- The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`).
44
50
By `Deepak Cherian <https://github.com/dcherian>`_.
45
-
46
51
- The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.
47
52
48
53
===================== ========= =======
@@ -60,7 +65,6 @@ Breaking changes
60
65
zarr 2.13 2.14
61
66
===================== ========= =======
62
67
63
-
64
68
Bug fixes
65
69
~~~~~~~~~
66
70
- Following `an upstream bug fix
@@ -70,7 +74,6 @@ Bug fixes
70
74
within the bounds of the provided start and end dates (:pull:`8999`). By
71
75
`Spencer Clark <https://github.com/spencerkclark>`_.
72
76
73
-
74
77
Internal Changes
75
78
~~~~~~~~~~~~~~~~
76
79
- Enforces failures on CI when tests raise warnings from within xarray (:pull:`8974`)
@@ -88,13 +91,15 @@ Internal Changes
88
91
`Tom Nicholas <https://github.com/TomNicholas>`_.
89
92
- Migrates ``ops.py`` functionality into ``xarray/core/datatree_ops.py`` (:pull:`8976`)
90
93
By `Matt Savoie <https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
94
+
- Migrates ``iterator`` functionality into ``xarray/core`` (:pull: `8879`)
95
+
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
96
+
<https://github.com/flamingbear>`_ and `Tom Nicholas <https://github.com/TomNicholas>`_.
91
97
- ``transpose``, ``set_dims``, ``stack`` & ``unstack`` now use a ``dim`` kwarg
92
98
rather than ``dims`` or ``dimensions``. This is the final change to unify
93
99
xarray functions to use ``dim``. Using the existing kwarg will raise a
94
100
warning.
95
101
By `Maximilian Roos <https://github.com/max-sixty>`_
96
102
97
-
98
103
.. _whats-new.2024.03.0:
99
104
100
105
v2024.03.0 (Mar 29, 2024)
@@ -172,9 +177,6 @@ Internal Changes
172
177
- Migrates ``datatree`` functionality into ``xarray/core``. (:pull: `8789`)
173
178
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
174
179
<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>`_.
0 commit comments