Split v4.0.1 Release Notes

Release Date: 2021-12-30 // 6 months ago
  • ๐Ÿ›  Bugfixes:

    • ๐Ÿ“‡ ab_test must return metadata on error or if split is disabled/excluded user (@andrehjr, #622)
    • Fix versioned experiments when used with allow_multiple_experiments=control (@andrehjr, #613)
    • Only block Pinterest bot (@huoxito, #606)
    • 0๏ธโƒฃ 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 (@serggl, #661)

    ๐Ÿ”‹ Features:

    • Make goals accessible via on_trial_complete callbacks (@robin-phung, #625)
    • ๐Ÿ’Ž Replace usage of SimpleRandom with RubyStats(Used for Beta Distribution RNG) (@andrehjr, #616)
    • Introduce enable/disable experiment cohorting (@robin-phung, #615)
    • 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 (@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)
    • โœ‚ Remove redis_url impl. Deprecated on version 2.2 (@andrehjr, #631)
    • 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)
    • โšก๏ธ Update RSpec helper to support block syntax (@clowder, #665)

Previous changes from v3.4.1

  • 3.4.1 (November 12th, 2019)

    ๐Ÿ›  Bugfixes:

    • ๐Ÿš… Reference ActionController directly when including split helpers, to avoid breaking Rails API Controllers (@andrehjr, #602)