Skip to content

Commit 0c26211

Browse files
max-sixtydcheriankeewis
authored
Release notes for 0.16.1 (#4435)
* Release notes for 0.16.1 * Update doc/whats-new.rst Co-authored-by: Deepak Cherian <[email protected]> * Update doc/whats-new.rst Co-authored-by: keewis <[email protected]> * Update doc/whats-new.rst Co-authored-by: Deepak Cherian <[email protected]> * Update doc/whats-new.rst * _ Co-authored-by: Deepak Cherian <[email protected]> Co-authored-by: keewis <[email protected]>
1 parent cc4df34 commit 0c26211

File tree

1 file changed

+52
-29
lines changed

1 file changed

+52
-29
lines changed

doc/whats-new.rst

Lines changed: 52 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -16,58 +16,73 @@ What's New
1616
1717
.. _whats-new.0.16.1:
1818

19-
v0.16.1 (unreleased)
19+
v0.16.1 (2020-09-20)
2020
---------------------
2121

22+
This patch release fixes an incompatability with a recent pandas change, which
23+
was causing an issue indexing with a ``datetime64``. It also includes
24+
improvements to ``rolling``, ``to_dataframe``, ``cov`` & ``corr`` methods and
25+
bug fixes.
26+
27+
Many thanks to the 36 contributors who contributed to this release:
28+
29+
Aaron Spring, Akio Taniguchi, Aleksandar Jelenak, Alexandre Poux,
30+
Caleb, Dan Nowacki, Deepak Cherian, Gerardo Rivera, Jacob Tomlinson, James A.
31+
Bednar, Joe Hamman, Julia Kent, Kai Mühlbauer, Keisuke Fujii, Mathias Hauser,
32+
Maximilian Roos, Nick R. Papior, Pascal Bourgault, Peter Hausamann, Romain
33+
Martinez, Russell Manser, Samnan Rahee, Sander, Spencer Clark, Stephan Hoyer,
34+
Thomas Zilio, Tobias Kölling, Tom Augspurger, alexamici, crusaderky, darikg,
35+
inakleinbottle, jenssss, johnomotani, keewis, rpgoldman
36+
2237
Breaking changes
2338
~~~~~~~~~~~~~~~~
39+
2440
- :py:meth:`DataArray.astype` and :py:meth:`Dataset.astype` now preserve attributes. Keep the
2541
old behavior by passing `keep_attrs=False` (:issue:`2049`, :pull:`4314`).
2642
By `Dan Nowacki <https://github.com/dnowacki-usgs>`_ and `Gabriel Joel Mitchell <https://github.com/gajomi>`_.
2743

2844
New Features
2945
~~~~~~~~~~~~
30-
- Support multiple outputs in :py:func:`xarray.apply_ufunc` when using ``dask='parallelized'``. (:issue:`1815`, :pull:`4060`)
31-
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
46+
3247
- :py:meth:`~xarray.DataArray.rolling` and :py:meth:`~xarray.Dataset.rolling`
3348
now accept more than 1 dimension. (:pull:`4219`)
3449
By `Keisuke Fujii <https://github.com/fujiisoup>`_.
50+
- :py:meth:`~xarray.DataArray.to_dataframe` and :py:meth:`~xarray.Dataset.to_dataframe`
51+
now accept a ``dim_order`` parameter allowing to specify the resulting dataframe's
52+
dimensions order (:issue:`4331`, :pull:`4333`).
53+
By `Thomas Zilio <https://github.com/thomas-z>`_.
54+
- Support multiple outputs in :py:func:`xarray.apply_ufunc` when using
55+
``dask='parallelized'``. (:issue:`1815`, :pull:`4060`).
56+
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
3557
- ``min_count`` can be supplied to reductions such as ``.sum`` when specifying
36-
multiple dimension to reduce over. (:pull:`4356`)
58+
multiple dimension to reduce over; (:pull:`4356`).
3759
By `Maximilian Roos <https://github.com/max-sixty>`_.
38-
- :py:func:`xarray.cov` and :py:func:`xarray.corr` now handle missing values. (:pull:`4351`)
60+
- :py:func:`xarray.cov` and :py:func:`xarray.corr` now handle missing values; (:pull:`4351`).
3961
By `Maximilian Roos <https://github.com/max-sixty>`_.
62+
- Add support for parsing datetime strings formatted following the default
63+
string representation of cftime objects, i.e. YYYY-MM-DD hh:mm:ss, in
64+
partial datetime string indexing, as well as :py:meth:`~xarray.cftime_range`
65+
(:issue:`4337`). By `Spencer Clark <https://github.com/spencerkclark>`_.
4066
- Build ``CFTimeIndex.__repr__`` explicitly as :py:class:`pandas.Index`. Add ``calendar`` as a new
4167
property for :py:class:`CFTimeIndex` and show ``calendar`` and ``length`` in
4268
``CFTimeIndex.__repr__`` (:issue:`2416`, :pull:`4092`)
4369
By `Aaron Spring <https://github.com/aaronspring>`_.
44-
- Relaxed the :ref:`mindeps_policy` to support:
45-
46-
- all versions of setuptools released in the last 42 months (but no older than 38.4)
47-
- all versions of dask and dask.distributed released in the last 12 months (but no
48-
older than 2.9)
49-
- all versions of other packages released in the last 12 months
50-
51-
All are up from 6 months (:issue:`4295`)
52-
`Guido Imperiale <https://github.com/crusaderky>`_.
5370
- Use a wrapped array's ``_repr_inline_`` method to construct the collapsed ``repr``
5471
of :py:class:`DataArray` and :py:class:`Dataset` objects and
5572
document the new method in :doc:`internals`. (:pull:`4248`).
5673
By `Justus Magin <https://github.com/keewis>`_.
57-
- Add support for parsing datetime strings formatted following the default
58-
string representation of cftime objects, i.e. YYYY-MM-DD hh:mm:ss, in
59-
partial datetime string indexing, as well as :py:meth:`~xarray.cftime_range`
60-
(:issue:`4337`). By `Spencer Clark <https://github.com/spencerkclark>`_.
61-
- :py:meth:`~xarray.DataArray.to_dataframe` and :py:meth:`~xarray.Dataset.to_dataframe`
62-
now accept a ``dim_order`` parameter allowing to specify the resulting dataframe's
63-
dimensions order (:issue:`4331`, :pull:`4333`).
64-
By `Thomas Zilio <https://github.com/thomas-z>`_.
74+
- Allow per-variable fill values in most functions. (:pull:`4237`).
75+
By `Justus Magin <https://github.com/keewis>`_.
6576
- Expose ``use_cftime`` option in :py:func:`~xarray.open_zarr` (:issue:`2886`, :pull:`3229`)
6677
By `Samnan Rahee <https://github.com/Geektrovert>`_ and `Anderson Banihirwe <https://github.com/andersy005>`_.
6778

6879

6980
Bug fixes
7081
~~~~~~~~~
82+
83+
- Fix indexing with datetime64 scalars with pandas 1.1 (:issue:`4283`).
84+
By `Stephan Hoyer <https://github.com/shoyer>`_ and
85+
`Justus Magin <https://github.com/keewis>`_.
7186
- Variables which are chunked using dask only along some dimensions can be chunked while storing with zarr along previously
7287
unchunked dimensions (:pull:`4312`) By `Tobias Kölling <https://github.com/d70-t>`_.
7388
- Fixed a bug in backend caused by basic installation of Dask (:issue:`4164`, :pull:`4318`)
@@ -86,13 +101,14 @@ Bug fixes
86101
By `Jens Svensmark <https://github.com/jenssss>`_
87102
- Fix incorrect legend labels for :py:meth:`Dataset.plot.scatter` (:issue:`4126`).
88103
By `Peter Hausamann <https://github.com/phausamann>`_.
104+
- Fix ``pip install .`` when no ``.git`` directory exists; namely when the xarray source
105+
directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
106+
By `Guido Imperiale <https://github.com/crusaderky>`_
89107
- Preserve dimension and coordinate order during :py:func:`xarray.concat` (:issue:`2811`, :issue:`4072`, :pull:`4419`).
90108
By `Kai Mühlbauer <https://github.com/kmuehlbauer>`_.
91109
- Avoid relying on :py:class:`set` objects for the ordering of the coordinates (:pull:`4409`)
92110
By `Justus Magin <https://github.com/keewis>`_.
93-
- Fix indexing with datetime64 scalars with pandas 1.1 (:issue:`4283`).
94-
By `Stephan Hoyer <https://github.com/shoyer>`_ and
95-
`Justus Magin <https://github.com/keewis>`_.
111+
96112

97113
Documentation
98114
~~~~~~~~~~~~~
@@ -102,19 +118,26 @@ Documentation
102118
- Removed skipna argument from :py:meth:`DataArray.count`, :py:meth:`DataArray.any`, :py:meth:`DataArray.all`. (:issue:`755`)
103119
By `Sander van Rijn <https://github.com/sjvrijn>`_
104120
- Update the contributing guide to use merges instead of rebasing and state
105-
that we squash-merge. (:pull:`4355`) By `Justus Magin <https://github.com/keewis>`_.
121+
that we squash-merge. (:pull:`4355`). By `Justus Magin <https://github.com/keewis>`_.
106122
- Make sure the examples from the docstrings actually work (:pull:`4408`).
107123
By `Justus Magin <https://github.com/keewis>`_.
108124
- Updated Vectorized Indexing to a clearer example.
109125
By `Maximilian Roos <https://github.com/max-sixty>`_
110126

111127
Internal Changes
112128
~~~~~~~~~~~~~~~~
129+
130+
- Relaxed the :ref:`mindeps_policy` to support:
131+
132+
- all versions of setuptools released in the last 42 months (but no older than 38.4)
133+
- all versions of dask and dask.distributed released in the last 12 months (but no
134+
older than 2.9)
135+
- all versions of other packages released in the last 12 months
136+
137+
All are up from 6 months (:issue:`4295`)
138+
`Guido Imperiale <https://github.com/crusaderky>`_.
113139
- Use :py:func:`dask.array.apply_gufunc` instead of :py:func:`dask.array.blockwise` in
114140
:py:func:`xarray.apply_ufunc` when using ``dask='parallelized'``. (:pull:`4060`, :pull:`4391`, :pull:`4392`)
115-
- Fix ``pip install .`` when no ``.git`` directory exists; namely when the xarray source
116-
directory has been rsync'ed by PyCharm Professional for a remote deployment over SSH.
117-
By `Guido Imperiale <https://github.com/crusaderky>`_
118141
- Align ``mypy`` versions to ``0.782`` across ``requirements`` and
119142
``.pre-commit-config.yml`` files. (:pull:`4390`)
120143
By `Maximilian Roos <https://github.com/max-sixty>`_

0 commit comments

Comments
 (0)