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
Copy file name to clipboardExpand all lines: doc/whats-new.rst
+43-12
Original file line number
Diff line number
Diff line change
@@ -15,19 +15,54 @@ What's New
15
15
np.random.seed(123456)
16
16
17
17
18
-
.. _whats-new.2024.04.0:
18
+
.. _whats-new.2024.05.1:
19
19
20
-
v2024.04.0 (unreleased)
20
+
v2024.05.1 (unreleased)
21
21
-----------------------
22
22
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
+
23
58
New Features
24
59
~~~~~~~~~~~~
25
60
- New "random" method for converting to and from 360_day calendars (:pull:`8603`).
26
61
By `Pascal Bourgault <https://github.com/aulemahal>`_.
27
62
- 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`)
31
66
By `Ilan Gold <https://github.com/ilan-gold>`_.
32
67
- :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
68
By `Ignacio Martinez Vazquez <https://github.com/ignamv>`_.
@@ -42,7 +77,6 @@ Breaking changes
42
77
~~~~~~~~~~~~~~~~
43
78
- The PyNIO backend has been deleted (:issue:`4491`, :pull:`7301`).
44
79
By `Deepak Cherian <https://github.com/dcherian>`_.
45
-
46
80
- The minimum versions of some dependencies were changed, in particular our minimum supported pandas version is now Pandas 2.
47
81
48
82
===================== ========= =======
@@ -60,7 +94,6 @@ Breaking changes
60
94
zarr 2.13 2.14
61
95
===================== ========= =======
62
96
63
-
64
97
Bug fixes
65
98
~~~~~~~~~
66
99
- Following `an upstream bug fix
@@ -70,7 +103,6 @@ Bug fixes
70
103
within the bounds of the provided start and end dates (:pull:`8999`). By
71
104
`Spencer Clark <https://github.com/spencerkclark>`_.
72
105
73
-
74
106
Internal Changes
75
107
~~~~~~~~~~~~~~~~
76
108
- Enforces failures on CI when tests raise warnings from within xarray (:pull:`8974`)
@@ -88,13 +120,15 @@ Internal Changes
88
120
`Tom Nicholas <https://github.com/TomNicholas>`_.
89
121
- Migrates ``ops.py`` functionality into ``xarray/core/datatree_ops.py`` (:pull:`8976`)
90
122
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>`_.
91
126
- ``transpose``, ``set_dims``, ``stack`` & ``unstack`` now use a ``dim`` kwarg
92
127
rather than ``dims`` or ``dimensions``. This is the final change to unify
93
128
xarray functions to use ``dim``. Using the existing kwarg will raise a
94
129
warning.
95
130
By `Maximilian Roos <https://github.com/max-sixty>`_
96
131
97
-
98
132
.. _whats-new.2024.03.0:
99
133
100
134
v2024.03.0 (Mar 29, 2024)
@@ -172,9 +206,6 @@ Internal Changes
172
206
- Migrates ``datatree`` functionality into ``xarray/core``. (:pull: `8789`)
173
207
By `Owen Littlejohns <https://github.com/owenlittlejohns>`_, `Matt Savoie
174
208
<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