Changelog for hyperloglog-0.5
0.5 [2025.01.25]
-
Add a
generateHyperLogLogfunction that randomly generates aHyperLogLogvalue using system entropy. This function is suitable for scenarios where cryptographic security is a primary consideration. -
Add an additional
stype parameter toHyperLogLogthat encodes theSipKeyused to configure the hash function wheninserting new values. (Previously, inserting a new value would always use a fixedSipKey.)In order to continue using the old behavior of the
insertfunction, one can instantiatesto the newly addedDefaultSipKeytype. Note that this is not cryptographically secure, however. (In contrast, thegenerateHyperLogLogfunction instantiatesswith a randomly generatedSipKey.) -
Export the
SipKeydata type and define areifySipKeyfunction to promote aSipKeyvalue to the type level. -
Define a
type DefaultHyperLogLog = HyperLogLog DefaultSipKeytype synonym. -
Drop support for GHC 8.0.
0.4.6 [2022.04.18]
- Remove the
siphashdependency. Becausesiphashno longer builds on GHC 9.2+, we instead bundle the code alongsidehyperloglog. This allowshyperloglogto build with 9.2.
0.4.5 [2021.11.16]
- Drop support for pre-8.0 versions of GHC.
- Allow building with
hashable-1.4.*.
0.4.4 [2021.02.17]
- Allow building with
lens-5.*. - The build-type has been changed from
CustomtoSimple. To achieve this, thedocteststest suite has been removed in favor of usingcabal-docspecto run the doctests.
0.4.3 [2019.09.13]
- Remove unused
safecopydependency.
0.4.2
- Add a library dependency on the
docteststest suite
0.4.1
- Revamp
Setup.hsto usecabal-doctest. This makes it build withCabal-2.0, and makes thedoctests work withcabal new-buildand sandboxes. - Drop (unused)
hashable-extrasdependency - Add
NFDatainstance forHyperLogLog - Require GHC 7.8 or later
0.4.0.4
- Support
cereal0.5 andsafecopy0.9.
0.4.0.3
- Fixed doctest issues caused by
vector0.11 - Unfortunately the
herbiechanges turned out to be flawed (due to issue mikeizbicki/HerbiePlugin#8). Rolling them back for now.
0.4.0.2
- Fixed a haddock issue caused by the comments in the herbie code.
0.4.0.1
- Added
vector0.11 support. - Incorporated some changes suggested by the HerbiePlugin.
0.3.4
- Support
generic-deriving1.8. We no longer incur ageneric-derivingrequirement at all except on GHC < 7.6.
0.3.3.1
- Support
reflection2
0.3.3
- Added
bytesandbinaryinstances. - Compiles warning-free on GHC 7.10.
0.3.2
- Simplified
reifyConfiginternals.
0.3.1
- Added
insertHash. This enables users of the 0.2 era version ofhyperloglogto manually pick the hash used and load their old data. - Builds warning-free on GHC 7.10
0.3.0.1
- Constraint bumps for
lensandgeneric-deriving
0.3
- Switched to
SipHash, so the package actually works.
0.2.3.2
- More
#ifdefbugfixes
0.2.3.1
#ifdefbugfix
0.2.3
- GHC 7.8 compatibility
- Bumped
cerealdependency.
0.2.1
- Exported
insertfromData.HyperLogLog.
0.2
- Made compatible with
lens4
0.1
- Ported
Data.Analytics.Approximate.HyperLogLogfrom analytics into a separate package.