|
| 1 | +Version 8.0.1 (2026-07-03) |
| 2 | +========================== |
| 3 | + |
| 4 | +API Changes |
| 5 | +----------- |
| 6 | + |
| 7 | +astropy.utils |
| 8 | +^^^^^^^^^^^^^ |
| 9 | + |
| 10 | +- Astropy will now no longer download the latest IERS-A table over the network unless it is actually needed, and will also not warn about download issues unless all mirrors fail. The ``IERS_Auto.open`` method now always reads the table bundled in ``astropy-iers-data`` (or a ``finals2000A.all`` file in the current working directory, if present), and the auto-download is deferred until a calculation actually requests ``UT1-UTC`` or polar motion values beyond the predictive range of the bundled table while that table is older than ``astropy.utils.iers.conf.auto_max_age`` days. This avoids network access, and the associated warnings when offline, in the common case where the bundled table is recent enough. [#19995] |
| 11 | + |
| 12 | + |
| 13 | +Bug Fixes |
| 14 | +--------- |
| 15 | + |
| 16 | +astropy.io.fits |
| 17 | +^^^^^^^^^^^^^^^ |
| 18 | + |
| 19 | +- Fixed a regression where a FITS logical (``'L'``) column created with |
| 20 | + ``BinTableHDU.from_columns(..., nrows=N)`` and no input array stored its |
| 21 | + values as NULL (``b'\x00'``) instead of False (``b'F'``). Rows later |
| 22 | + assigned ``False`` were silently written as NULL, and a spurious |
| 23 | + ``contains NULL`` warning was emitted when reading the file back. [#19939] |
| 24 | + |
| 25 | +- Fixed a bug where a byte other than the FITS L wire-format values ``b'T'``, |
| 26 | + ``b'F'`` and ``b'\x00'`` assigned into a fixed-length logical (``'L'``) column |
| 27 | + read with ``logical_as_bytes=True`` was written to the file unchecked (and |
| 28 | + silently read back as ``False``). Such bytes now raise ``ValueError`` on write, |
| 29 | + matching the validation applied to ``|S1`` column input at construction time. [#19940] |
| 30 | + |
| 31 | +- Fixed an incorrect ``DATASUM`` (and therefore ``CHECKSUM``) being written for |
| 32 | + byte-swapped binary tables larger than 64 kB. The data was checksummed in |
| 33 | + chunks that were not aligned to 4-byte word boundaries, so the stored value was |
| 34 | + valid in memory but failed to verify once the file was read back. [#20001] |
| 35 | + |
| 36 | +astropy.modeling |
| 37 | +^^^^^^^^^^^^^^^^ |
| 38 | + |
| 39 | +- Bugfix for a ``Parameter`` with a custom ``getter`` / ``setter`` pair raising an |
| 40 | + ``AttributeError`` when accessing the ``value`` of the ``Parameter`` before any |
| 41 | + value for the parameter has been set. The ``Parameter`` will now return the result |
| 42 | + of the ``getter`` applied to a ``nan`` value in this case which is consistent |
| 43 | + with the behavior of a ``Parameter`` without a custom ``getter`` / ``setter`` pair. [#19979] |
| 44 | + |
| 45 | +astropy.nddata |
| 46 | +^^^^^^^^^^^^^^ |
| 47 | + |
| 48 | +- Fix unexpected behavior in ``Cutout2D.plot_on_original()``. The displayed region spanned pixels not included in the cutout array. [#19829] |
| 49 | + |
| 50 | +astropy.table |
| 51 | +^^^^^^^^^^^^^ |
| 52 | + |
| 53 | +- Fixed a bug where a ``Table.loc[]`` range query using the default |
| 54 | + ``SortedArray`` index engine silently dropped rows when the upper bound |
| 55 | + matched a value that appears more than once in the indexed column. [#19903] |
| 56 | + |
| 57 | +- Fixed a bug where a ``Table.loc[]`` range query using the ``BST`` index |
| 58 | + engine returned rows in scrambled order if rows had been added after the |
| 59 | + index was created. [#19912] |
| 60 | + |
| 61 | +astropy.units |
| 62 | +^^^^^^^^^^^^^ |
| 63 | + |
| 64 | +- Fixed a bug where ``numpy.lib.recfunctions.structured_to_unstructured`` failed when applied to a ``StructuredQuantity`` by improving unit extraction logic. [#19106] |
| 65 | + |
| 66 | +astropy.visualization |
| 67 | +^^^^^^^^^^^^^^^^^^^^^ |
| 68 | + |
| 69 | +- Fixed issues with the placement of WCSAxes tick labels for non-perpendicular grids or ticks. [#19057] |
| 70 | + |
| 71 | +astropy.wcs |
| 72 | +^^^^^^^^^^^ |
| 73 | + |
| 74 | +- Fix caching of ``wcs.world_axis_object_components`` and ``world_axis_object_classes`` in cases where the equinox was NaN [#19898] |
| 75 | + |
| 76 | + |
1 | 77 | Version 8.0.0 (2026-06-16) |
2 | 78 | ========================== |
3 | 79 |
|
|
0 commit comments