Changes
MultiCellnow requires a cell count of one or more; the argument has no default by @henryiii in #1179- Filling an integer axis with a value that does not fit in an
intraisesValueErrorinstead of wrapping around by @henryiii in #1181 boost_histogram.numpymatches NumPy more closely: empty input, 1Dhistogramddinput, a single edge array inhistogram2d, and range validation by @henryiii in #1178
Fixes
- Encode UTF-8 for non-ASCII strings filled into
StrCategoryfrom a list or array by @henryiii in #1177 - Avoid C++ aborts in axis metadata compare,
MultiCellfill, andBoolean.value(); correctempty()forMultiCellby @henryiii in #1179 - Keep growth axes valid after a fill or merge, and raise worker exceptions from a threaded fill by @henryiii in #1182
- Correct UHI indexing with flow locators, disabled flow bins, and sliced group rebin by @henryiii in #1183
- Give each axis copy its own metadata dict, and correct serialization,
register(), integer-storage multiplication, transform equality, and repr by @henryiii in #1184 - Avoid Boost indexed-range UB in rank-0 histograms and add Windows 3.14t testing by @ikrommyd in #1175
Performance
- Cheaper fill argument variant, faster dtype dispatch, and move support for
MultiCellby @henryiii in #1181 - Release the GIL on copy, reset, compare, and in-place histogram operations by @henryiii in #1187
Documentation
- Document that
view()can be invalidated by a growing fill by @henryiii in #1182 - Restore the
HistogramAPI page on Read the Docs and correct the user guide and wheel table by @henryiii in #1180
Developer changes
- Hold the GIL when copying or destroying Python objects in axes by @henryiii in #1172
- Remove the dead
regular_numpyPython axis, factor out pybind11 helpers, and correct stub drift and weak tests by @henryiii in #1185 - Config and CI fixes: uv cache keys, workflow permissions and timeouts, and
AGENTS.mdcommands by @henryiii in #1180 - Test Python 3.15 now that NumPy wheels are on PyPI by @henryiii in #1170
- Fix the scheduled wheel and weekly-update failures by @henryiii in #1173
- Bump astral-sh/setup-uv from 9.0.0 to 10.0.1 by @dependabot in #1174
New Contributors
Full Changelog: v1.8.0...v1.8.1