Skip to content

Commit

Permalink
Merge pull request #653 from sunpy/2.2
Browse files Browse the repository at this point in the history
Changelog for 2.2.0
  • Loading branch information
nabobalis committed Nov 17, 2023
2 parents 24267b0 + 51073e6 commit 4549cd9
Show file tree
Hide file tree
Showing 10 changed files with 33 additions and 16 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
needs: [test]
uses: OpenAstronomy/github-actions-workflows/.github/workflows/publish_pure_python.yml@v1
with:
python-version: '3.9'
test_extras: 'dev'
test_command: 'pytest -p no:warnings --doctest-rst -m "not mpl_image_compare" --pyargs ndcube'
submodules: false
Expand Down
32 changes: 32 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,3 +1,35 @@
2.2.0 (2023-11-16)
==================

Backwards Incompatible Changes
------------------------------

- `ndcube.NDCollection.aligned_axes` attribute is now property. (`#607 <https://github.com/sunpy/ndcube/pull/607>`__)
- Dropped Python 3.8 support
- Increased minimum required for ``astropy`` to 5.0
- Increased minimum required for ``numpy`` to 1.21
- Increased minimum required for ``gwcs`` to 0.18. (`#636 <https://github.com/sunpy/ndcube/pull/636>`__)

Features
--------

- Provides `~ndcube.wcs.tools.unwrap_wcs_to_fitswcs`, a function to create a `astropy.wcs.WCS` instance equivalent to a sliced and/or resampled WCS instance.
Only valid if the underlying implementation of the wrapped WCS instance is also an `astropy.wcs.WCS` instance. (`#649 <https://github.com/sunpy/ndcube/pull/649>`__)

Bug Fixes
---------

- Fix docstring causing doc build problems for some users. (`#600 <https://github.com/sunpy/ndcube/pull/600>`__)
- Fixes a bug where passing a string representation of a unit to `ndcube.NDCube.to` raised a `TypeError`. (`#605 <https://github.com/sunpy/ndcube/pull/605>`__)
- Keywords for ``sequence_axis_coords`` and ``sequence_axis_unit`` were not passed to the ``SequenceAnimator`` constructor.
This is now fixed. (`#607 <https://github.com/sunpy/ndcube/pull/607>`__)
- Adds ``None`` check on ``self.aligned_axes`` to ``NDCollection.copy()`` and ``NDCollection.pop()`` which raised a ``AttributeError`` (`#646 <https://github.com/sunpy/ndcube/pull/646>`__)

Trivial/Internal Changes
------------------------

- Updated the error messages when missing either ``matplotlib`` or ``mpl_animators`` when creating a plot. (`#651 <https://github.com/sunpy/ndcube/pull/651>`__)

v2.1.0 (2023-03-01)
===================

Expand Down
1 change: 0 additions & 1 deletion changelog/600.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/605.bugfix.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/607.breaking.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/607.bugfix.rst

This file was deleted.

7 changes: 0 additions & 7 deletions changelog/636.breaking.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/646.bugfix.rst

This file was deleted.

2 changes: 0 additions & 2 deletions changelog/649.feature.rst

This file was deleted.

1 change: 0 additions & 1 deletion changelog/651.trivial.rst

This file was deleted.

0 comments on commit 4549cd9

Please sign in to comment.