From c2be2ed49870001b12a5d09ee9f0ae8b872d4c1a Mon Sep 17 00:00:00 2001 From: preciz Date: Fri, 26 Jul 2024 21:34:13 +0200 Subject: [PATCH] Upate murmur to v2.0 and bump version to v0.2 due to breaking change in murmur --- CHANGELOG.md | 3 +++ README.md | 2 +- mix.exs | 4 ++-- mix.lock | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7569304..652785e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog for Talan +## v0.2.0 + * BREAKING: Use Murmur v2.0 that fixes 128bit hash generation to be consistent with the original implementation + ## v0.1.4 * Fix cardinality estimation when `set_bits_count` <= `hash_function_count` due to overlap diff --git a/README.md b/README.md index e377538..702ec82 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Add `talan` to your list of dependencies in `mix.exs`: ```elixir def deps do [ - {:talan, "~> 0.1.0"} + {:talan, "~> 0.2.0"} ] end ``` diff --git a/mix.exs b/mix.exs index c769efb..f218440 100644 --- a/mix.exs +++ b/mix.exs @@ -1,7 +1,7 @@ defmodule Talan.MixProject do use Mix.Project - @version "0.1.4" + @version "0.2.0" @github "https://github.com/preciz/talan" def project do @@ -29,7 +29,7 @@ defmodule Talan.MixProject do defp deps do [ - {:murmur, "~> 1.0"}, + {:murmur, "~> 2.0"}, {:abit, "~> 0.3.3"}, {:ex_doc, "~> 0.34", only: :dev, runtime: false} ] diff --git a/mix.lock b/mix.lock index d8f9489..b9808c6 100644 --- a/mix.lock +++ b/mix.lock @@ -6,6 +6,6 @@ "makeup": {:hex, :makeup, "1.1.2", "9ba8837913bdf757787e71c1581c21f9d2455f4dd04cfca785c70bbfff1a76a3", [:mix], [{:nimble_parsec, "~> 1.2.2 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "cce1566b81fbcbd21eca8ffe808f33b221f9eee2cbc7a1706fc3da9ff18e6cac"}, "makeup_elixir": {:hex, :makeup_elixir, "0.16.2", "627e84b8e8bf22e60a2579dad15067c755531fea049ae26ef1020cad58fe9578", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}, {:nimble_parsec, "~> 1.2.3 or ~> 1.3", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "41193978704763f6bbe6cc2758b84909e62984c7752b3784bd3c218bb341706b"}, "makeup_erlang": {:hex, :makeup_erlang, "1.0.1", "c7f58c120b2b5aa5fd80d540a89fdf866ed42f1f3994e4fe189abebeab610839", [:mix], [{:makeup, "~> 1.0", [hex: :makeup, repo: "hexpm", optional: false]}], "hexpm", "8a89a1eeccc2d798d6ea15496a6e4870b75e014d1af514b1b71fa33134f57814"}, - "murmur": {:hex, :murmur, "1.0.3", "ade5e9cdb86300645abf72abbe064a87bc943678df2567986d720a70c8f48214", [:mix], [], "hexpm", "02b4dda9327ac6650cc9a8d007ec5244b609397b9110c5ad8549224eef9afc60"}, + "murmur": {:hex, :murmur, "2.0.0", "ffd64af879014b51c449aec38e2d460547270b88280f052cecda0a0ce4589188", [:mix], [], "hexpm", "2e96baf65a1a8b5af82ee509d6089ddf717af7e8ce0ed80d4c53819ca2fc2ffd"}, "nimble_parsec": {:hex, :nimble_parsec, "1.4.0", "51f9b613ea62cfa97b25ccc2c1b4216e81df970acd8e16e8d1bdc58fef21370d", [:mix], [], "hexpm", "9c565862810fb383e9838c1dd2d7d2c437b3d13b267414ba6af33e50d2d1cf28"}, }