From 01369fb9d230480220dd81813f3fff906f88d52d Mon Sep 17 00:00:00 2001 From: Brigitta Sipocz Date: Tue, 24 Nov 2020 22:45:46 -0800 Subject: [PATCH] Finalizing changelog for v4.2 --- CHANGES.rst | 219 ++++++++++++---------------------------------------- 1 file changed, 50 insertions(+), 169 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index de688a7112cc..7ea44d1be14b 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,5 @@ -4.2RC1 (2020-11-06) -=================== +4.2 (2020-11-24) +================ New Features ------------ @@ -7,15 +7,15 @@ New Features astropy.convolution ^^^^^^^^^^^^^^^^^^^ -- Methods ``convolve`` and ``convolve_fft`` both now return Quantity arrays if user - input is given in one. [#10822] +- Methods ``convolve`` and ``convolve_fft`` both now return Quantity arrays + if user input is given in one. [#10822] astropy.coordinates ^^^^^^^^^^^^^^^^^^^ -- Numpy functions that broadcast, change shape, or index (like ``np.broadcast_to``, - ``np.rot90``, or ``np.roll``) now work on coordinates, frames, and - representations. [#10337] +- Numpy functions that broadcast, change shape, or index (like + ``np.broadcast_to``, ``np.rot90``, or ``np.roll``) now work on + coordinates, frames, and representations. [#10337] - Add a new science state ``astropy.coordinates.erfa_astrom.erfa_astrom`` and two classes ``ErfaAstrom``, ``ErfaAstromInterpolator`` as wrappers to @@ -26,7 +26,8 @@ astropy.coordinates Depending on needed precision and the obstime array in question, speed ups reach factors of 10x to >100x. [#10647] -- ``galactocentric_frame_defaults`` can now also be used as a registry, with user-defined parameter values and metadata. [#10624] +- ``galactocentric_frame_defaults`` can now also be used as a registry, with + user-defined parameter values and metadata. [#10624] - Method ``.realize_frame`` from coordinate frames now accepts ``**kwargs``, including ``representation_type``. [#10727] @@ -42,7 +43,9 @@ astropy.coordinates ``TransformGraph`` class to override the finite-difference time step attribute (``finite_difference_dt``) for all transformations in the graph with that attribute. [#10341] -- Improve performance of ``SpectralCoord`` by refactoring internal implementation. [#10398] + +- Improve performance of ``SpectralCoord`` by refactoring internal + implementation. [#10398] astropy.cosmology ^^^^^^^^^^^^^^^^^ @@ -101,8 +104,9 @@ astropy.time C-based time parser that can be adapted for other fixed-format custom time formats. [#10360] -- Numpy functions that broadcast, change shape, or index (like ``np.broadcast_to``, - ``np.rot90``, or ``np.roll``) now work on times. [#10337, #10502] +- Numpy functions that broadcast, change shape, or index (like + ``np.broadcast_to``, ``np.rot90``, or ``np.roll``) now work on times. + [#10337, #10502] astropy.timeseries ^^^^^^^^^^^^^^^^^^ @@ -144,6 +148,7 @@ astropy.visualization quadrangle. Unlike ``matplotlib.patches.Rectangle``, the edges of this patch will be rendered as curved lines if appropriate for the WCS transformation. [#10862] + - The position of tick labels are now only calculated when needed. If any text parameters are changed (color, font weight, size etc.) that don't effect the tick label position, the positions are not recomputed, improving performance. @@ -192,8 +197,9 @@ astropy.stats ``sigma_clipped_stats``, to allow expanding the masking of each deviant value to its neighbours within a specified radius. [#10613] -- Passing float ``n`` to ``poisson_conf_interval(..., interval='kraft-burrows-nousek')`` - now raises ``TypeError`` as its value must be an integer. [#10838] +- Passing float ``n`` to ``poisson_conf_interval`` when using + ``interval='kraft-burrows-nousek'`` now raises ``TypeError`` as its value + must be an integer. [#10838] astropy.table ^^^^^^^^^^^^^ @@ -260,6 +266,12 @@ astropy.utils Bug Fixes --------- +astropy.config +^^^^^^^^^^^^^^ + +- Fix a few issues with ``generate_config`` when used with other packages. + [#10893] + astropy.coordinates ^^^^^^^^^^^^^^^^^^^ @@ -275,6 +287,19 @@ astropy.modeling - Fixed an issue of ``Model.render`` when the input ``out`` datatype is not float64. [#10542] +astropy.visualization +^^^^^^^^^^^^^^^^^^^^^ + +- Fix support for referencing WCSAxes coordinates by their world axes names. + [#10484] + +astropy.wcs +^^^^^^^^^^^ + +- Objective functions called by ``astropy.wcs.fit_wcs_from_points`` were + treating longitude and latitude distances equally. Now longitude scaled + properly. [#10759] + Other Changes and Additions --------------------------- @@ -306,94 +331,6 @@ Other Changes and Additions raise an error directly instead of trying to auto-build. [#10883] -4.1.1 (unreleased) -================== - -Bug Fixes ---------- - -astropy.config -^^^^^^^^^^^^^^ - -- Fix a few issues with ``generate_config`` when used with other packages. - [#10893] - -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 -^^^^^^^^^^^^^^^^^^^^^ - -- Fix support for referencing WCSAxes coordinates by their world axes names. - [#10484] - -astropy.wcs -^^^^^^^^^^^ - -- Objective functions called by ``astropy.wcs.fit_wcs_from_points`` were - treating longitude and latitude distances equally. Now longitude scaled properly. [#10759] - - -Other Changes and Additions ---------------------------- - 4.1 (2020-10-21) ================ @@ -729,6 +666,7 @@ astropy.wcs - Added bounds to ``fit_wcs_from_points`` to ensure CRPIX is on input image. [#10346] + Other Changes and Additions --------------------------- @@ -762,21 +700,12 @@ Other Changes and Additions -4.0.4 (unreleased) +4.0.4 (2020-11-24) ================== Bug Fixes --------- -astropy.config -^^^^^^^^^^^^^^ - -astropy.constants -^^^^^^^^^^^^^^^^^ - -astropy.convolution -^^^^^^^^^^^^^^^^^^^ - astropy.coordinates ^^^^^^^^^^^^^^^^^^^ @@ -789,12 +718,6 @@ astropy.coordinates ``HeliocentricEclipticIAU76``) now correctly account for the small motion of the Sun when transforming a coordinate with velocity information. [#10970] -astropy.cosmology -^^^^^^^^^^^^^^^^^ - -astropy.extern -^^^^^^^^^^^^^^ - astropy.io.ascii ^^^^^^^^^^^^^^^^ @@ -810,41 +733,17 @@ astropy.io.ascii and for basic character-delimited data files ('basic' format with appropriate ``converters`` specified). [#10995] -astropy.io.fits -^^^^^^^^^^^^^^^ - -astropy.io.misc -^^^^^^^^^^^^^^^ - -astropy.io.registry -^^^^^^^^^^^^^^^^^^^ - -astropy.io.votable -^^^^^^^^^^^^^^^^^^ - astropy.modeling ^^^^^^^^^^^^^^^^ - Fixed use of weights with ``LinearLSQFitter``. [#10687] -astropy.nddata -^^^^^^^^^^^^^^ - -astropy.samp -^^^^^^^^^^^^ - astropy.stats ^^^^^^^^^^^^^ - Fixed an issue in biweight stats when MAD=0 to give the same output with and without an input ``axis``. [#10912] -astropy.table -^^^^^^^^^^^^^ - -astropy.tests -^^^^^^^^^^^^^ - astropy.time ^^^^^^^^^^^^ @@ -852,17 +751,9 @@ astropy.time a change in the matplotlib plot date default reference epoch in that release. [#10876] -astropy.timeseries -^^^^^^^^^^^^^^^^^^ - -astropy.uncertainty -^^^^^^^^^^^^^^^^^^^ - -astropy.units -^^^^^^^^^^^^^ - -astropy.utils -^^^^^^^^^^^^^ +- 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.visualization ^^^^^^^^^^^^^^^^^^^^^ @@ -871,13 +762,6 @@ astropy.visualization also significantly improve the application of ``tight_layout()`` to figures containing ``WCSAxes``. [#10797] -astropy.wcs -^^^^^^^^^^^ - - -Other Changes and Additions ---------------------------- - 4.0.3 (2020-10-14) ================== @@ -896,6 +780,7 @@ Other Changes and Additions - Fixed installation of the source distribution with pip<19. [#10837, #10852] + 4.0.2 (2020-10-10) ================== @@ -910,19 +795,19 @@ astropy.utils - ``astropy.utils.data`` now uses a lock-free mechanism for caching. This new mechanism uses a new cache layout and so ignores caches created using earlier mechanisms (which were causing lockups on clusters). The two cache formats can - coexist but do not share any files. [#10437] + coexist but do not share any files. [#10437, #10683] - ``astropy.utils.data`` now ignores the config item ``astropy.utils.data.conf.download_cache_lock_attempts`` since no locking is - done. [#10437] + done. [#10437, #10683] - ``astropy.utils.data.download_file`` and related functions now interpret the parameter or config file setting ``timeout=0`` to mean they should make no - attempt to download files. [#10437] + attempt to download files. [#10437, #10683] - ``astropy.utils.import_file_to_cache`` now accepts a keyword-only argument ``replace``, defaulting to True, to determine whether it should replace existing - files in the cache, in a way as close to atomic as possible. [#10437] + files in the cache, in a way as close to atomic as possible. [#10437, #10683] - ``astropy.utils.data.download_file`` and related functions now treat ``http://example.com`` and ``http://example.com/`` as equivalent. [#10631] @@ -935,6 +820,7 @@ astropy.wcs - Updated bundled version of ``WCSLIB`` to v7.3. [#10433] + Bug fixes --------- @@ -1095,7 +981,6 @@ astropy.stats and background count numbers led to ``ValueError`` due to the choice of starting value for numerical optimization. [#10618] - astropy.table ^^^^^^^^^^^^^ @@ -1120,10 +1005,6 @@ astropy.table - Avoid crash when reading a FITS table that contains mixin info and PyYAML is missing. [#10485] - -astropy.tests -^^^^^^^^^^^^^ - astropy.time ^^^^^^^^^^^^ @@ -2956,6 +2837,7 @@ astropy.coordinates astropy.cosmology ^^^^^^^^^^^^^^^^^ + - The default cosmology has been changed from ``WMAP9`` to ``Planck15``. [#8123] - Distance calculations with ``LambaCDM`` with no radiation (T_CMB0=0) @@ -3503,7 +3385,6 @@ astropy.io.ascii - Units in CDS-formatted tables are now parsed correctly by the units module. [#7348] - astropy.io.misc ^^^^^^^^^^^^^^^