Skip to content

Commit acab647

Browse files
keewisdcherianpre-commit-ci[bot]
authored
release notes for 2024.07.0 (#9287)
* release number * add a shortcut for discussions * formatting * use the discussion shortcut * more formatting * release summary * Update whats-new.rst * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * contributors * release date * reword the release summary --------- Co-authored-by: Deepak Cherian <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent ea23dd9 commit acab647

File tree

2 files changed

+29
-23
lines changed

2 files changed

+29
-23
lines changed

doc/conf.py

+1
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@
9494
extlinks = {
9595
"issue": ("https://github.com/pydata/xarray/issues/%s", "GH%s"),
9696
"pull": ("https://github.com/pydata/xarray/pull/%s", "PR%s"),
97+
"discussion": ("https://github.com/pydata/xarray/discussions/%s", "D%s"),
9798
}
9899

99100
# sphinx-copybutton configurations

doc/whats-new.rst

+28-23
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,24 @@ What's New
1515
np.random.seed(123456)
1616
1717
18-
.. _whats-new.2024.06.1:
18+
.. _whats-new.2024.07.0:
1919

20-
v2024.06.1 (unreleased)
21-
-----------------------
20+
v2024.07.0 (Jul 30, 2024)
21+
-------------------------
22+
This release extends the API for groupby operations with various `grouper objects <groupby.groupers_>`, and includes improvements to the documentation and numerous bugfixes.
23+
24+
Thanks to the 22 contributors to this release:
25+
Alfonso Ladino, ChrisCleaner, David Hoese, Deepak Cherian, Dieter Werthmüller, Illviljan, Jessica Scheick, Joel Jaeschke, Justus Magin, K. Arthur Endsley, Kai Mühlbauer, Mark Harfouche, Martin Raspaud, Mathijs Verhaegh, Maximilian Roos, Michael Niklas, Michał Górny, Moritz Schreiber, Pontus Lurcock, Spencer Clark, Stephan Hoyer and Tom Nicholas
2226

2327
New Features
2428
~~~~~~~~~~~~
2529
- Use fastpath when grouping both montonically increasing and decreasing variable
26-
in :py:class:`GroupBy` (:issue:`6220`, :pull:`7427`). By `Joel Jaeschke <https://github.com/joeljaeschke>`_.
30+
in :py:class:`GroupBy` (:issue:`6220`, :pull:`7427`).
31+
By `Joel Jaeschke <https://github.com/joeljaeschke>`_.
2732
- Introduce new :py:class:`groupers.UniqueGrouper`, :py:class:`groupers.BinGrouper`, and
2833
:py:class:`groupers.TimeResampler` objects as a step towards supporting grouping by
29-
multiple variables. See the `docs <groupby.groupers_>` and the
30-
`grouper design doc <https://github.com/pydata/xarray/blob/main/design_notes/grouper_objects.md>`_ for more.
34+
multiple variables. See the `docs <groupby.groupers_>` and the `grouper design doc
35+
<https://github.com/pydata/xarray/blob/main/design_notes/grouper_objects.md>`_ for more.
3136
(:issue:`6610`, :pull:`8840`).
3237
By `Deepak Cherian <https://github.com/dcherian>`_.
3338
- Allow rechunking to a frequency using ``Dataset.chunk(time=TimeResampler("YE"))`` syntax. (:issue:`7559`, :pull:`9109`)
@@ -47,15 +52,17 @@ New Features
4752

4853
Breaking changes
4954
~~~~~~~~~~~~~~~~
50-
- The ``base`` and ``loffset`` parameters to :py:meth:`Dataset.resample` and :py:meth:`DataArray.resample`
51-
is now removed. These parameters has been deprecated since v2023.03.0. Using the
52-
``origin`` or ``offset`` parameters is recommended as a replacement for using
53-
the ``base`` parameter and using time offset arithmetic is recommended as a
54-
replacement for using the ``loffset`` parameter.
55-
- The ``squeeze`` kwarg to ``groupby`` is completely deprecated. This has been the source of some quite confusing
56-
behaviour and has been deprecated since v2024.01.0. `groupby`` behavior is now always consistent
57-
with the existing ``.groupby(..., squeeze=False)`` behavior.
58-
By `Deepak Cherian <https://github.com/dcherian>`_. (:pull:`9280`)
55+
- The ``base`` and ``loffset`` parameters to :py:meth:`Dataset.resample` and
56+
:py:meth:`DataArray.resample` are now removed. These parameters have been deprecated since
57+
v2023.03.0. Using the ``origin`` or ``offset`` parameters is recommended as a replacement for
58+
using the ``base`` parameter and using time offset arithmetic is recommended as a replacement for
59+
using the ``loffset`` parameter. (:pull:`9233`)
60+
By `Deepak Cherian <https://github.com/dcherian>`_.
61+
- The ``squeeze`` kwarg to ``groupby`` is now ignored. This has been the source of some
62+
quite confusing behaviour and has been deprecated since v2024.01.0. `groupby`` behavior is now
63+
always consistent with the existing ``.groupby(..., squeeze=False)`` behavior. No errors will
64+
be raised if `squeeze=False`. (:pull:`9280`)
65+
By `Deepak Cherian <https://github.com/dcherian>`_.
5966

6067

6168
Bug fixes
@@ -74,24 +81,22 @@ Bug fixes
7481
By `Justus Magin <https://github.com/keewis>`_.
7582
- Address regression introduced in :pull:`9002` that prevented objects returned
7683
by py:meth:`DataArray.convert_calendar` to be indexed by a time index in
77-
certain circumstances (:issue:`9138`, :pull:`9192`). By `Mark Harfouche
78-
<https://github.com/hmaarrfk>`_ and `Spencer Clark
79-
<https://github.com/spencerkclark>`.
80-
81-
- Fiy static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
84+
certain circumstances (:issue:`9138`, :pull:`9192`).
85+
By `Mark Harfouche <https://github.com/hmaarrfk>`_ and `Spencer Clark <https://github.com/spencerkclark>`_.
86+
- Fix static typing of tolerance arguments by allowing `str` type (:issue:`8892`, :pull:`9194`).
8287
By `Michael Niklas <https://github.com/headtr1ck>`_.
8388
- Dark themes are now properly detected for ``html[data-theme=dark]``-tags (:pull:`9200`).
8489
By `Dieter Werthmüller <https://github.com/prisae>`_.
8590
- Reductions no longer fail for ``np.complex_`` dtype arrays when numbagg is
86-
installed.
87-
By `Maximilian Roos <https://github.com/max-sixty>`_
91+
installed. (:pull:`9210`)
92+
By `Maximilian Roos <https://github.com/max-sixty>`_.
8893

8994
Documentation
9095
~~~~~~~~~~~~~
9196

9297
- Adds intro to backend section of docs, including a flow-chart to navigate types of backends (:pull:`9175`).
9398
By `Jessica Scheick <https://github.com/jessicas11>`_.
94-
- Adds a flow-chart diagram to help users navigate help resources (`Discussion #8990 <https://github.com/pydata/xarray/discussions/8990>`_, :pull:`9147`).
99+
- Adds a flow-chart diagram to help users navigate help resources (:discussion:`8990`, :pull:`9147`).
95100
By `Jessica Scheick <https://github.com/jessicas11>`_.
96101
- Improvements to Zarr & chunking docs (:pull:`9139`, :pull:`9140`, :pull:`9132`)
97102
By `Maximilian Roos <https://github.com/max-sixty>`_.

0 commit comments

Comments
 (0)