==========================
Bug Fixes
---------
astropy.io.ascii
^^^^^^^^^^^^^^^^
- Fix reading of big files with the fast reader. [7885]
astropy.io.fits
^^^^^^^^^^^^^^^
- ``HDUList.__contains__()`` now works with ``HDU`` arguments. That is,
``hdulist[0] in hdulist`` now works as expected. [7282]
- ``HDUList`` s can now be written to streams in Python 3 [7850]
astropy.nddata
^^^^^^^^^^^^^^
- Fixed the bug in CCData.read when the HDU is not specified and the first one
is empty so the function searches for the first HDU with data which may not
have an image extension. [7739]
astropy.stats
^^^^^^^^^^^^^
- Fixed bugs in biweight statistics functions where a constant data
array (or if using the axis keyword, constant along an axis) would
return NaN. [7737]
astropy.table
^^^^^^^^^^^^^
- Fixed a bug in ``to_pandas()`` where integer type masked columns were always
getting converted to float. This could cause loss of precision. Now this only
occurs if there are actually masked data values, in which case ``pandas``
does require the values to be float so that ``NaN`` can be used to mark the
masked values. [7741, 7747]
astropy.tests
^^^^^^^^^^^^^
- Change the name of the configuration variable controlling the location of the
Astropy cache in the Pytest plugin from ``cache_dir`` to
``astropy_cache_dir``. The command line flag also changed to
``--astropy-cache-dir``. This prevents a conflict with the ``cache_dir``
variable provided by pytest itself. Also made similar change to
``config_dir`` option as a precaution. [7721]
astropy.units
^^^^^^^^^^^^^
- ``UnrecognizedUnit`` instances can now be compared to any other object
without raising `TypeError`. [7606]
astropy.visualization
^^^^^^^^^^^^^^^^^^^^^
- Fix compatibility with Matplotlib 3.0. [7839]
- Fix an issue that caused a crash when using WCSAxes with a custom Transform
object and when using ``grid_type='contours'`` to plot a grid. [7846]
astropy.wcs
^^^^^^^^^^^
- Instead of raising an error ``astropy.wcs`` now returns the input when
the input has zero size. [7746]
- Fix ``malloc(0)`` bug in ``pipeline_all_pixel2world()`` and
``pipeline_pix2foc()``. They now raise an exception for input with
zero coordinates, i.e. shape = (0, n). [7806]
- Fixed an issue with scalar input when WCS.naxis is one. [7858]
Other Changes and Additions
---------------------------
- Added a new ``astropy.__citation__`` attribute which gives a citation
for Astropy in bibtex format. Made sure that both this and
``astropy.__bibtex__`` works outside the source environment, too. [7718]