Skip to content

Commit

Permalink
Update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Feb 6, 2020
1 parent 7e3aff7 commit 02ea195
Showing 1 changed file with 27 additions and 1 deletion.
28 changes: 27 additions & 1 deletion HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,40 @@
History
=======

2.7.0 (2020-02-06)
------------------

* The ``unyt_array`` and ``unyt_quantity`` classes now have a new, optional
``name`` attribute. The primary purpose of this attribute is to enable
automatic generation of matplotlib plot labels. The ``name`` attribute is
propagated through unit conversions and copies but is not propagated through
mathematical operations. See `PR #129
<https://github.com/yt-project/unyt/pull/129>`_ and the documentation for
details.
* Add support for the ``Neper`` and ``Bel`` units with logarithmic
dimensions. This includes support for the ``decibel`` unit. Note that
logarithmic units can only be used with other logarithmic units and must be
applied and stripped manually. See `PR #133
<https://github.com/yt-project/unyt/pull/133>`_ and `PR #134
<https://github.com/yt-project/unyt/pull/134>`_.
* Add support for the SI unit of inductance, ``H``. See `PR #135
<https://github.com/yt-project/unyt/pull/135>`_.
* Fix formatting of error message produced when raising a quantity to a power
with units. See `PR #131
<https://github.com/yt-project/unyt/pull/131>`_. Thank you to Lee Johnston
(@l-johnston on GitHub) for all of the above contributions.
* Fix incorrect unit metadata when loading a pickled array saved by
``yt.units``. See `PR #137 <https://github.com/yt-project/unyt/pull/137>`_.


2.6.0 (2020-01-22)
------------------

* Matplotlib support is no longer enabled by importing ``unyt``. Instead, it is
now necessary to use the ``unyt.matplotlib_support`` context manager in code
where you want unyt to automatically generate plot labels. Enabling Matplotlib
support by default in the previous release caused crashes in previously
working code for some users we have decided to make the plotting support
working code for some users so we have decided to make the plotting support
optional. See the documentation for more details. We are sorry for introducing
a new feature that broke some user's code. See `PR #126
<https://github.com/yt-project/unyt/pull/126>`_. Thank you to Lee Johnston
Expand Down

0 comments on commit 02ea195

Please sign in to comment.