Skip to content

Commit

Permalink
prepare release 0.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jlaehne committed Feb 21, 2025
1 parent 2a5e07e commit dc3da89
Show file tree
Hide file tree
Showing 8 changed files with 33 additions and 11 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,38 @@ https://lumispy.readthedocs.io/en/latest/changelog.html

.. towncrier release notes start
0.3.0 (2025-02-21)
==================

New features
------------

- Implement correct casting of :class:`~.signals.luminescence_transientspec.LumiTransientSpectrum` to either :class:`~.signals.luminescence_spectrum.LumiSpectrum` or :class:`~.signals.luminescence_transient.LumiTransient` when the signal dimension is reduced - previously, a :class:`~hyperspy.api.signals.Signal1D` object was returned. (`#205 <https://github.com/lumispy/lumispy/issues/205>`_)
- Add functions :meth:`~.signals.luminescence_transientspec.LumiTransientSpectrum.spec2nav` and :meth:`~.signals.luminescence_transientspec.LumiTransientSpectrum.time2nav` to convert either `signal` dimension to a `navigation` dimension for efficient iteration over the respective axes. (`#223 <https://github.com/lumispy/lumispy/issues/223>`_)


Enhancements
------------

- Fix axis conversion for two signal dimensions (e.g. streak camera maps) (`#205 <https://github.com/lumispy/lumispy/issues/205>`_)


Improved Documentation
----------------------

- Use ``towncrier`` to manage changelog (`#211 <https://github.com/lumispy/lumispy/issues/211>`_)


Maintenance
-----------

- Streamline project files and release workflow to match HyperSpy ecosystem:

- Migrate to ``pyproject.toml`` from ``setup.py``
- Use ``setuptools-scm`` to set version at build time
- Adapt release workflow, e.g. mine doi only after successful upload (`#211 <https://github.com/lumispy/lumispy/issues/211>`_)

- Add support for python 3.13 and drop support for python 3.8 (`#225 <https://github.com/lumispy/lumispy/issues/225>`_)
- Fix intersphinx links to documentation of HyperSpy 2.0 and add linkchecker workflow
- Align supported python versions (3.8-3.12) to HyperSpy 2.0

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ include = ["lumispy*"]
[tool.setuptools_scm]
# Presence enables setuptools_scm, the version will be determined at build time from git
# The version will be updated by the `prepare_release.py` script
fallback_version = "0.3.dev0"
fallback_version = "0.4.dev0"

[tool.towncrier]
directory = "upcoming_changes/"
Expand Down
1 change: 0 additions & 1 deletion upcoming_changes/205.enhancements.rst

This file was deleted.

1 change: 0 additions & 1 deletion upcoming_changes/205.new.rst

This file was deleted.

1 change: 0 additions & 1 deletion upcoming_changes/211.doc.rst

This file was deleted.

5 changes: 0 additions & 5 deletions upcoming_changes/211.maintenance.rst

This file was deleted.

1 change: 0 additions & 1 deletion upcoming_changes/223.new.rst

This file was deleted.

1 change: 0 additions & 1 deletion upcoming_changes/225.maintenance.rst

This file was deleted.

0 comments on commit dc3da89

Please sign in to comment.