Changelog for hyperloglog-0.5
0.5 [2025.01.25]
-
Add a
generateHyperLogLog
function that randomly generates aHyperLogLog
value using system entropy. This function is suitable for scenarios where cryptographic security is a primary consideration. -
Add an additional
s
type parameter toHyperLogLog
that encodes theSipKey
used to configure the hash function wheninsert
ing new values. (Previously, inserting a new value would always use a fixedSipKey
.)In order to continue using the old behavior of the
insert
function, one can instantiates
to the newly addedDefaultSipKey
type. Note that this is not cryptographically secure, however. (In contrast, thegenerateHyperLogLog
function instantiatess
with a randomly generatedSipKey
.) -
Export the
SipKey
data type and define areifySipKey
function to promote aSipKey
value to the type level. -
Define a
type DefaultHyperLogLog = HyperLogLog DefaultSipKey
type synonym. -
Drop support for GHC 8.0.
0.4.6 [2022.04.18]
- Remove the
siphash
dependency. Becausesiphash
no longer builds on GHC 9.2+, we instead bundle the code alongsidehyperloglog
. This allowshyperloglog
to 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
Custom
toSimple
. To achieve this, thedoctests
test suite has been removed in favor of usingcabal-docspec
to run the doctests.
0.4.3 [2019.09.13]
- Remove unused
safecopy
dependency.
0.4.2
- Add a library dependency on the
doctests
test suite
0.4.1
- Revamp
Setup.hs
to usecabal-doctest
. This makes it build withCabal-2.0
, and makes thedoctest
s work withcabal new-build
and sandboxes. - Drop (unused)
hashable-extras
dependency - Add
NFData
instance forHyperLogLog
- Require GHC 7.8 or later
0.4.0.4
- Support
cereal
0.5 andsafecopy
0.9.
0.4.0.3
- Fixed doctest issues caused by
vector
0.11 - Unfortunately the
herbie
changes 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
vector
0.11 support. - Incorporated some changes suggested by the HerbiePlugin.
0.3.4
- Support
generic-deriving
1.8. We no longer incur ageneric-deriving
requirement at all except on GHC < 7.6.
0.3.3.1
- Support
reflection
2
0.3.3
- Added
bytes
andbinary
instances. - Compiles warning-free on GHC 7.10.
0.3.2
- Simplified
reifyConfig
internals.
0.3.1
- Added
insertHash
. This enables users of the 0.2 era version ofhyperloglog
to manually pick the hash used and load their old data. - Builds warning-free on GHC 7.10
0.3.0.1
- Constraint bumps for
lens
andgeneric-deriving
0.3
- Switched to
SipHash
, so the package actually works.
0.2.3.2
- More
#ifdef
bugfixes
0.2.3.1
#ifdef
bugfix
0.2.3
- GHC 7.8 compatibility
- Bumped
cereal
dependency.
0.2.1
- Exported
insert
fromData.HyperLogLog
.
0.2
- Made compatible with
lens
4
0.1
- Ported
Data.Analytics.Approximate.HyperLogLog
from analytics into a separate package.