|
1 | 1 | # What's new in boost-histogram |
2 | 2 |
|
| 3 | +## Version 1.2 |
| 4 | + |
| 5 | +### Version 1.2.0 |
| 6 | + |
| 7 | +#### User changes |
| 8 | +* Python 3.10 officially supported, with wheels. |
| 9 | +* Support subtraction on histograms [#636][] |
| 10 | +* Integer histograms are now signed [#636][] |
| 11 | + |
| 12 | +#### Bug fixes |
| 13 | +* Support custom setters on AxesTuple subclasses. [#627][] |
| 14 | +* Faster picking if slices are not also used [#645][] or if they are [#648][] (1000x or more in some cases) |
| 15 | +* Throw an error when an AxesTuple setter is the wrong length (inspired by zip strict in Python 3.10) [#627][] |
| 16 | +* Fix error thrown on comparison with axis and non-axis object [#631][] |
| 17 | +* Static typing no longer thinks `storage=` is required [#604][] |
| 18 | + |
| 19 | +#### Developer changes |
| 20 | +* Support NumPy 1.21 for static type checking [#625][] |
| 21 | +* Use newer Boost 1.77 and Boost.Histogram 1.77+1 [#594][] |
| 22 | +* Provide nox support [#647][] |
| 23 | + |
| 24 | +[#594]: https://github.com/scikit-hep/boost-histogram/pull/594 |
| 25 | +[#604]: https://github.com/scikit-hep/boost-histogram/pull/604 |
| 26 | +[#625]: https://github.com/scikit-hep/boost-histogram/pull/625 |
| 27 | +[#627]: https://github.com/scikit-hep/boost-histogram/pull/627 |
| 28 | +[#631]: https://github.com/scikit-hep/boost-histogram/pull/631 |
| 29 | +[#636]: https://github.com/scikit-hep/boost-histogram/pull/636 |
| 30 | +[#645]: https://github.com/scikit-hep/boost-histogram/pull/645 |
| 31 | +[#647]: https://github.com/scikit-hep/boost-histogram/pull/647 |
| 32 | +[#648]: https://github.com/scikit-hep/boost-histogram/pull/648 |
| 33 | + |
3 | 34 | ## Version 1.1 |
4 | 35 |
|
| 36 | +### Version 1.1.0 |
| 37 | + |
5 | 38 | #### User changes |
6 | 39 | * Experimentally support list selection on categorical axes [#577][] |
7 | 40 | * Support Python 3.8 on Apple Silicon [#600][] |
|
15 | 48 | #### Developer changes |
16 | 49 | * Test on Python 3.10 beta releases [#600][] |
17 | 50 | * Provide a CMakeLists for quick standalone Boost.Histogram C++ experiments [#591][] |
18 | | -* Adding logging with PyTest failure output [#575][] |
| 51 | +* Adding logging with pytest failure output [#575][] |
19 | 52 |
|
20 | 53 | [#575]: https://github.com/scikit-hep/boost-histogram/pull/575 |
21 | 54 | [#576]: https://github.com/scikit-hep/boost-histogram/pull/576 |
@@ -130,7 +163,7 @@ Python 2, and mostly equivalent in API to 1.0. |
130 | 163 | * Supports converting user histogram objects that provide a |
131 | 164 | `_to_boost_histogram_` method. [#483][] |
132 | 165 | * A `view=True` parameter must now be passed to get a View instead of a standard |
133 | | - NumPy values arrray from `to_numpy()`. [#498][] |
| 166 | + NumPy values array from `to_numpy()`. [#498][] |
134 | 167 |
|
135 | 168 | #### Bug fixes |
136 | 169 |
|
@@ -484,7 +517,7 @@ library. Using Boost 1.72 release. |
484 | 517 | * Properties on accumulator views now resolve correctly [#273][] |
485 | 518 | * Division of a histogram by a number is supported again [#278][] |
486 | 519 | * Setting a histogram with length one slice fixed [#279][] |
487 | | -* Numpy functions now work with Numpy ints in `bins=` [#282][] |
| 520 | +* NumPy functions now work with NumPy ints in `bins=` [#282][] |
488 | 521 | * In-place addition avoids a copy [#284][] |
489 | 522 |
|
490 | 523 | [#273]: https://github.com/scikit-hep/boost-histogram/pull/273 |
@@ -524,7 +557,7 @@ transition existing 0.5.x code to the new API. |
524 | 557 | * `h.axes` now has the functions from axis as well. [#183][] |
525 | 558 | * `bh.project` has become `bh.sum` [#185][] |
526 | 559 | * `.reduce(...)` and the reducers in `bh.algorithm` have been removed in favor of dictionary based UHI slicing [#259][] |
527 | | -* `bh.numpy` module interface updates, `histogram=bh.Histogram` replaces cryptic `bh=True`, and `density=True` is now supported in Numpy mode [#256][] |
| 560 | +* `bh.numpy` module interface updates, `histogram=bh.Histogram` replaces cryptic `bh=True`, and `density=True` is now supported in NumPy mode [#256][] |
528 | 561 | * Added `hist.copy()` [#218][] and `hist.shape` [#264][] |
529 | 562 | * Signatures are much nicer in Python 3 [#188][] |
530 | 563 | * Reprs are better, various properties like `__module__` are now set correctly [#200][] |
|
0 commit comments