From 034c7203a4c461962e0f56331b9c20d97db607ad Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Wed, 23 Oct 2019 20:46:20 -0400 Subject: [PATCH] Version bump (#172) --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++---- README.md | 8 ++++---- boost_histogram/version.py | 2 +- 3 files changed, 35 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 85997e4a..0e3904e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,18 +1,44 @@ -### IN DEVELOPMENT +### Version 0.5.2 -* Use relative paths in setup.py to avoid resolving WSL paths on Windows [#162][] +#### User changes: + +* `bh.loc` supports an offset [#164][] +* Nicer reprs in several places [#167][] +* Deprecate `.at` and `.axis` [#170][] + +#### Bug fixes: + +* Use relative paths in setup.py to avoid resolving WSL paths on Windows [#162][], [#163][] +* Better Pybind11 support for Python 3.8 [#168][] + +#### Developer changes: + +* Serialization code shared with Boost.Histogram [#166][] +* Avoid unused PEP 517 isolation for now [#171][] (may return with proper PEP 518 support eventually) -[#162]: https://github.com/scikit-hep/boost-histogram/pull/162 +[#162]: https://github.com/scikit-hep/boost-histogram/pull/162 +[#163]: https://github.com/scikit-hep/boost-histogram/pull/163 +[#164]: https://github.com/scikit-hep/boost-histogram/pull/164 +[#166]: https://github.com/scikit-hep/boost-histogram/pull/166 +[#167]: https://github.com/scikit-hep/boost-histogram/pull/167 +[#168]: https://github.com/scikit-hep/boost-histogram/pull/168 +[#170]: https://github.com/scikit-hep/boost-histogram/pull/170 +[#171]: https://github.com/scikit-hep/boost-histogram/pull/171 ### Version 0.5.1 +#### User changes: + * Removed the `bh.indexed`/`h.indexed` iterator [#150][] * Added `.axes` AxisTuple, with direct access to properties [#150][] +* Cleaned up tab completion in IPython [#150][] + +#### Bug fixes: + * Fixed a bug in the sdist missing Boost.Variant2 [#154][] * Fixed filling on strided inputs [#158][] -* Cleaned up tab completion in IPython [#150][] diff --git a/README.md b/README.md index f975aecc..48d2ff67 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Python bindings for [Boost::Histogram][] ([source][Boost::Histogram source]), a C++14 library. This should become one of the [fastest libraries][] for histogramming, while still providing the power of a full histogram object. -> ## 0.5.1: Public beta +> ## Version 0.5.2: Public beta > > Please feel free to try out boost-histogram and give feedback. > Join the [discussion on gitter][gitter-link] or [open an issue](https://github.com/scikit-hep/boost-histogram/issues)! @@ -72,12 +72,12 @@ counts = hist.view() * `bh.storage.double`: Doubles for weighted values (default) * `bh.storage.int`: 64 bit unsigned integers * `bh.storage.unlimited`: Starts small, but can go up to unlimited precision ints or doubles. - * `bh.storage.atomic_int`: Threadsafe filling, experimental. Does not support growing axis in threads. + * `bh.storage.atomic_int`: Threadsafe filling, experimental. Does not support growing axis in threads. (`.view` not yet supported`) * `bh.storage.weight`: Stores a weight and sum of weights squared. (`.view` not yet supported) * `bh.storage.mean`: Accepts a sample and computes the mean of the samples (profile). (`.view` not yet supported) * `bh.storage.weighted_mean`: Accepts a sample and a weight. It computes the weighted mean of the samples. (`.view` not yet supported) * Accumulators - * `bh.accumulator.sum`: High accuracy sum (Neumaier) + * `bh.accumulator.sum`: High accuracy sum (Neumaier) - used by the sum method when summing a numerical histogram * `bh.accumulator.weighted_sum`: Tracks a weighted sum and variance * `bh.accumulator.weighted_mean`: Tracks a weighted sum, mean, and variance (West's incremental algorithm) * `bh.accumulator.mean`: Running count, mean, and variance (Welfords's incremental algorithm) @@ -98,7 +98,7 @@ counts = hist.view() * `.sum(flow=False)`: The total count of all bins * `.project(ax1, ax2, ...)`: Project down to listed axis (numbers) * `.reduce(ax, reduce_option, ...)`: shrink, rebin, or slice, or any combination -* Indexing - Supports the Unified Histogram Indexing (UHI) proposal +* Indexing - Supports the [Unified Histogram Indexing (UHI)](https://boost-histogram.readthedocs.io/en/latest/usage/indexing.html) proposal * Details * Use `bh.histogram(..., storage=...)` to make a histogram (there are several different types) diff --git a/boost_histogram/version.py b/boost_histogram/version.py index dd9b22cc..72251527 100644 --- a/boost_histogram/version.py +++ b/boost_histogram/version.py @@ -1 +1 @@ -__version__ = "0.5.1" +__version__ = "0.5.2"