From f88bb075c3976bbbbd7de4786521fdd3f89f390a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Luis=20Leal=20Cardoso=20Junior?= Date: Sun, 7 Nov 2021 14:29:20 -0300 Subject: [PATCH] 4.0.0.pre2 --- CHANGELOG.md | 8 ++++++-- lib/split/version.rb | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7b535980..c7b7ce52 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -## 4.0.0.pre +## 4.0.0.pre2 Bugfixes: - ab_test must return metadata on error or if split is disabled/excluded user (@andrehjr, #622) @@ -7,6 +7,7 @@ Bugfixes: - Respect experiment defaults when loading experiments in initializer. (@mattwd7, #599) - Removes metadata key when it updated to nil (@andrehjr, #633) - Force experiment does not count for metrics (@andrehjr, #637) +- Fix cleanup_old_versions! misbehaviour (@serggi, #661) Features: - Make goals accessible via on_trial_complete callbacks (@robin-phung, #625) @@ -15,10 +16,11 @@ Features: - Add on_experiment_winner_choose callback (@GenaMinenkov, #574) - Add Split::Cache to reduce load on Redis (@rdh, #648) - Caching based optimization in the experiment#save path (@amangup, #652) +- Adds config option for cookie domain (@joedelia, #664) Misc: - Drop support for Ruby < 2.5 (@andrehjr, #627) -- Drop support for Rails < 5 (@andrehkr, #607) +- Drop support for Rails < 5 (@andrehjr, #607) - Bump minimum required redis to 4.2 (@andrehjr, #628) - Removed repeated loading from config (@robin-phung, #619) - Simplify RedisInterface usage when persisting Experiment alternatives (@andrehjr, #632) @@ -26,8 +28,10 @@ Misc: - Remove thread_safe config as redis-rb is thread_safe by default (@andrehjr, #630) - Fix typo of in `Split::Trial` class variable (TomasBarry, #644) - Single HSET to update values, instead of multiple ones (@andrehjr, #640) +- Use Redis#hmset to keep compatibility with Redis < 4.0 (@andrehjr, #659) - Remove 'set' parsing for alternatives. Sets were used as storage and deprecated on 0.x (@andrehjr, #639) - Adding documentation related to what is stored on cookies. (@andrehjr, #634) +- Keep railtie defined under the Split gem namespace (@avit, #666) ## 3.4.1 (November 12th, 2019) diff --git a/lib/split/version.rb b/lib/split/version.rb index e8f4df20..57d86dda 100644 --- a/lib/split/version.rb +++ b/lib/split/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Split - VERSION = "4.0.0.pre" + VERSION = "4.0.0.pre2" end