From 65cbce19d1fb24c48c055a43d282f035ebff8199 Mon Sep 17 00:00:00 2001 From: Thomas Robitaille Date: Sat, 10 Oct 2020 14:03:31 +0100 Subject: [PATCH] Finalizing changelog for v4.0.2 --- CHANGES.rst | 728 +--------------------------------------------------- 1 file changed, 1 insertion(+), 727 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index d31428f6c4c..3d9710d80ad 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,730 +1,4 @@ -4.2 (unreleased) -================ - -New Features ------------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -- Improve initialization time by a factor of four when creating a scalar ``Time`` - object in a format like ``unix`` or ``cxcsec`` (time delta from a reference - epoch time). [#10406] - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - - -API Changes ------------ - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -- Fixed an issue of ``Model.render`` when the input ``out`` datatype is not - float64. [#10542] - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - -Other Changes and Additions ---------------------------- - -- Added ``optimize=True`` flag to calls of ``yacc.yacc`` (as already done for - ``lex.lex``) to allow running in ``python -OO`` session without raising an - exception in ``astropy.units.format``. [#10379] - - -4.1.1 (unreleased) -================== - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - -Other Changes and Additions ---------------------------- - - -4.1 (unreleased) -================ - -New Features ------------- - -astropy.config -^^^^^^^^^^^^^^ - -- Add new function ``generate_config`` to generate the configuration file and - include it in the documentation. [#10148] - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ -- Angle parsing now supports ``cardinal direction`` in the cases - where angles are initialized as ``string`` instances. eg ``"17°53'27"W"``.[#9859] - -- Allow in-place modification of array-valued ``Frame`` and ``SkyCoord`` objects. - This provides limited support for updating coordinate data values from another - coordinate object of the same class and equivalent frame attributes. [#9857] - -- Added the True Equator Mean Equinox (TEME) frame. [#10149] - -- The ``Galactocentric`` frame will now use the "latest" parameter definitions - by default. This currently corresponds to the values defined in v4.0, but will - change with future releases. [#10238] - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ -- Functional Units can now be processed in CDS-tables. [#9971] - -- Allow reading in ASCII tables which have duplicate column names. [#9939] - -- Added type validation of key arguments in calls to ``io.ascii.read()`` and - ``io.ascii.write()`` functions. [#10005] - -astropy.io.misc -^^^^^^^^^^^^^^^ -- Added serialization of parameter constraints fixed and bounds. [#10082] -- Added 'functional_models.py' and 'physical_models.py' to asdf/tags/transform, - with to allow serialization of all functional and physical models. [#10028] - -- Fix ASDF serialization of circular model inverses, and remove explicit calls - to ``asdf.yamlutil`` functions that became unnecessary in asdf 2.6.0. [#10189] - -astropy.io.fits -^^^^^^^^^^^^^^^ - -- Added support for writing Dask arrays to disk efficiently for ``ImageHDU`` and - ``PrimaryHDU``. [#9742] - -- Add HDU name and ver to FITSDiff report where appropriate [#10197] - -astropy.io.registry -^^^^^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -- New ``exceptions.conf.max_warnings`` configuration item to control the number of times a - type of warning appears before being suppressed. [#10152] - -astropy.modeling -^^^^^^^^^^^^^^^^ -- Added Plummer1D model to ``functional_models``. [#9896] - -- Added ``UnitsMapping`` model and ``Model.coerce_units`` to support units on otherwise - unitless models. [#9936] - -- Added ``domain`` and ``window`` attributes to ``repr`` and ``str``. Fixed bug with - ``_format_repr`` in core.py. [#9941] - -- Polynomial attributes ``domain`` and ``window`` are now tuples of size 2 and are - validated. `repr` and `print` show only their non-default values. [#10145] - -- Added ``replace_submodel()`` method to ``CompoundModel`` to modify an - existing instance. [#10176] - -astropy.nddata -^^^^^^^^^^^^^^ - -- Added support in the ``bitmask`` module for using mnemonic bit flag names - when specifying the bit flags to be used or ignored when converting a bit - field to a boolean. [#10095, #10208] - -- Added ``reshape_as_blocks`` function to reshape a data array into - blocks, which is useful to efficiently apply functions on block - subsets of the data instead of using loops. The reshaped array is a - view of the input data array. [#10214] - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -- Added ``units`` and ``descriptions`` keyword arguments to the Table object - initialization and ``Table.read()`` methods. This allows directly setting - the ``unit`` and ``description`` for the table columns at the time of - creating or reading the table. [#9671] - -- Make table ``Row`` work as mappings, by adding ``.keys()`` and ``.values()`` - methods. With this ``**row`` becomes possible, as does, more simply, turning - a ``Row`` into a dictionary with ``dict(row)``. [#9712] - -- Added two new ``Table`` methods ``.items()`` and ``.values()``, which return - respectively ``tbl.columns.items()`` (iterator over name, column tuples) and - ``tbl.columns.values()`` (list of columns) for a ``Table`` object ``tbl``. [#9780] - -- Added new ``Table`` method ``.round()``, which rounds numeric columns to the - specified number of decimals. [#9862] - -- The HDF5 writer, ``write_table_hdf5()``, now allows passing through - additional keyword arguments to the ``h5py.Group.create_dataset()``. [#9602] - -- Added capability to add custom table attributes to a ``Table`` subclass. - These attributes are persistent and can be set during table creation. [#10097] - -- Added support for ``SkyCoord`` mixin columns in ``dstack``, ``vstack`` and - ``insert_row`` functions. [#9857] - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -- Added a new time format ``unix_tai`` which is essentially Unix time but with - leap seconds included. More precisely, this is the number of seconds since - ``1970-01-01 00:00:08 TAI`` and corresponds to the ``CLOCK_TAI`` clock - available on some linux platforms. [#10081] - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -- Added ``torr`` pressure unit. [#9787] - -- Added the ``equal_nan`` keyword argument to ``isclose`` and ``allclose``, and - updated the docstrings. [#9849] - -- Added ``Rankine`` temperature unit. [#9916] - -- Added integrated flux unit conversion to ``spectral_density`` equivalency. - [#10015] - -- Changed ``pixel_scale`` equivalency to allow scales defined in any unit. - [#10123] - -astropy.utils -^^^^^^^^^^^^^ -- Added a new ``MetaAttribute`` class to support easily adding custom attributes - to a subclass of classes like ``Table`` or ``NDData`` that have a ``meta`` - attribute. [#10097] - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -- Added ``invalid`` keyword to ``SqrtStretch``, ``LogStretch``, - ``PowerStretch``, and ``ImageNormalize`` classes and the - ``simple_norm`` function. This keyword is used to replace generated - NaN values. [#10182] - -astropy.wcs -^^^^^^^^^^^ - -- Implemented support for the ``-TAB`` algorithm (WCS Paper III). [#9641] - -- Added an ``_as_mpl_axes`` method to the ``HightLevelWCSWrapper`` class. [#10138] - -API Changes ------------ - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -- ```SkyCoord.radial_velocity_correction``` now allows you to pass an ```obstime``` directly - when the ```SkyCoord``` also has an ```obstime``` set. In this situation, the position of the - ```SkyCoord``` has space motion applied to correct to the passed ```obstime```. This allows - mm/s radial velocity precision for objects with large space motion. [#10094] - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -- Changed the behavior when reading a table where both the ``names`` argument - is provided (to specify the output column names) and the ``converters`` - argument is provided (to specify column conversion functions). Previously the - ``converters`` dict names referred to the *input* table column names, but now - they refer to the *output* table column names. [#9739] - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.registry -^^^^^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -astropy.modeling -^^^^^^^^^^^^^^^^ - -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ -- ``Table.from_pandas`` now supports a ``units`` dictionary as argument to pass units - for columns in the ``DataFrame``. [#9472] - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -- Require that ``in_subfmt`` and ``out_subfmt`` properties of a ``Time`` object - have allowed values at the time of being set, either when creating the object - or when setting those properties on an existing ``Time`` instance. Previously - the validation of those properties was not strictly enforced. [#9868] - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -- Changed the exception raised by ``get_readable_fileobj`` on missing - compression modules (for ``bz2`` or ``lzma``/``xz`` support) to - ``ModuleNotFoundError``, consistent with ``io.fits`` file handlers. [#9761] - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -- Deprecated the ``imshow_only_kwargs`` keyword in ``imshow_norm``. - [#9915] - -- Non-finite input values are now automatically excluded in - ``HistEqStretch`` and ``InvertedHistEqStretch``. [#10177] - -- The ``PowerDistStretch`` and ``InvertedPowerDistStretch`` ``a`` - value is restricted to be ``a >= 0`` in addition to ``a != 1``. - [#10177] - -- The ``PowerStretch``, ``LogStretch``, and ``InvertedLogStretch`` - ``a`` value is restricted to be ``a > 0``. [#10177] - -- The ``AsinhStretch`` and ``SinhStretch`` ``a`` value is restricted - to be ``0 < a <= 1``. [#10177] - -astropy.wcs -^^^^^^^^^^^ - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - -astropy.coordinates -^^^^^^^^^^^^^^^^^^^ - -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - -astropy.io.ascii -^^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.registry -^^^^^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - -- For FIELDs with datatype="char", store the values as strings instead - of bytes. [#9505] - -astropy.modeling -^^^^^^^^^^^^^^^^ -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - -astropy.stats -^^^^^^^^^^^^^ - -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - -astropy.time -^^^^^^^^^^^^ - -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ - -astropy.visualization -^^^^^^^^^^^^^^^^^^^^^ - -astropy.wcs -^^^^^^^^^^^ - -Other Changes and Additions ---------------------------- - -- The way in which users can specify whether to build astropy against - existing installations of C libraries rather than the bundled one - has changed, and should now be done via environment variables rather - than setup.py flags (e.g. --use-system-erfa). The available variables - are ``ASTROPY_USE_SYSTEM_CFITSIO``, ``ASTROPY_USE_SYSTEM_ERFA``, - ``ASTROPY_USE_SYSTEM_EXPAT``, ``ASTROPY_USE_SYSTEM_WCSLIB``, and - ``ASTROPY_USE_SYSTEM_ALL``. These should be set to ``1`` to build - against the system libraries. [#9730] - -- The infrastructure of the package has been updated in line with the - APE 17 roadmap (https://github.com/astropy/astropy-APEs/blob/master/APE17.rst). - The main changes are that the ``python setup.py test`` and - ``python setup.py build_docs`` commands will no longer work. The easiest - way to replicate these commands is to install the tox - (https://tox.readthedocs.io) package and run ``tox -e test`` and - ``tox -e build_docs``. It is also possible to run pytest and sphinx - directly. Other significant changes include switching to setuptools_scm to - manage the version number, and adding a ``pyproject.toml`` to opt in to - isolated builds as described in PEP 517/518. [#9726] - -- Bundled ``expat`` is updated to version 2.2.9. [#10038] - -- Increase minimum asdf version to 2.6.0. [#10189] - -- The bundled version of PLY was updated to 3.11. [#10258] - -- Removed dependency on scikit-image. [#10214] - -4.0.2 (unreleased) +4.0.2 (2020-10-10) ================== New Features