What's Changed
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #513
- BUG: fix incompatibilities with NumPy 2.1 by @neutrinoceros in #512
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #516
- add foe and Bethe units by @zingale in #521
- Fix Stephan-Boltzmann constant accuracy and add radiation constant by @zingale in #520
- TST: switch bleeding-edge CI to CPython 3.13 by @neutrinoceros in #507
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #523
- Typo fixes and documentation fix by @BioGeek in #529
- BUG: fix return units from numpy.ftt functions by @JBorrow in #531
- MNT: switch Python 3.9 + mac testing from macos-12 to macos-13 by @neutrinoceros in #528
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #533
- TST: reduce bleeding edge testing frequency from daily to weekly by @neutrinoceros in #488
- STY: migrate formatting from black to ruff by @neutrinoceros in #508
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #535
- BUG: fix incorrect output unit for
np.prod
with anaxis
argument by @kyleaoman in #537 - BUG:
np.histogram*
functions give correct units whenweights
and/ordensity
are set by @kyleaoman in #539 - BUG: fix an issue where
np.histogramdd
could create infinite recursion on some inputs by @neutrinoceros in #541 - BUG:
linspace
andlogspace
give incorrect results or crash with some inputs by @kyleaoman in #544 - BUG:
apply_over_axes
no longer assumes user-supplied function preserves units by @kyleaoman in #548 - BUG: allow subclassing in
unyt_array.__array_func__
by @kyleaoman in #550 - BUG: fix unit handling for
np.take
andunyt_array.take
by @kyleaoman in #551 - BUG: fix a regression where
np.linspace
's num argument would be ignored forunyt_array
s by @neutrinoceros in #553 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #555
- RFC: handle
np.vecdot
as a ufunc rather than an arrayfunc by @kyleaoman in #557 - [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #558
- [pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in #562
- BUG: fix raising a unyt array to an array power in sensible cases by @neutrinoceros in #524
- TST: add CPython 3.13 to regular test matrix by @neutrinoceros in #525
- Fix typo in array function implementations (ftt -> fft) by @neutrinoceros in #547
- BUG: fix an issue where hdf5 io wouldn't roundtrip properly for a unyt_quantity object by @neutrinoceros in #560
- REL: automate release upload to PyPI by @neutrinoceros in #527
- TST: make
test_unique_values
order-agnostic and fix testing against numpy 2.3 dev by @neutrinoceros in #565 - REL: prepare release 3.0.4 by @neutrinoceros in #566
- Add new authors for 3.0.4 by @jzuhone in #569
New Contributors
Full Changelog: v3.0.3...v3.0.4