All Versions
20
Latest Version
Avg Release Cycle
167 days
Latest Release
-

Changelog History
Page 1

  • v2.7.0 Changes

    ➕ Added

    • 👍 Allow setting sequence starting point (#414)
  • v2.6.0 Changes

    ➕ Added

    • Pass opts to Repo.insert! (add function-level opts to strategies) (#411)

    🛠 Fixes/Improvements

    • Import evaluate_lazy_attributes for ExMachina (#410)

    📄 Docs

    • 👉 Use HTTPS for links in README (#413)
    • ✂ Remove "web" dir from README.md (#412)
  • v2.5.0 Changes

    ➕ Added

    • 👍 Allow delayed evaluation of attributes (#408)

    🛠 Fixes

    • 🛠 Fix Elixir 1.11 compiler warnings (#399)
    • 🛠 Fix Elixir 1.11 warning by using extra_applications (#400)

    📄 Docs

    • ⚡️ Update references to prior art (#384)
    • ⬆️ Bump version number in Readme (#376)
  • v2.4.0 Changes

    February 18, 2020

    ➕ Added

    • 👍 Allow ExMachina.Ecto to be used without :repo option (#370)
  • v2.3.0 Changes

    March 01, 2019

    ➕ Added

    • 👍 Allows more control over factory definitions ([#333])
    • ➕ Adds ability to reset specific sequences ([#331])

    📄 Docs

    • ➕ Adds additional callbacks for functions with default params ([#319])
  • v2.2.2 Changes

    November 05, 2018
    • ➕ Adds support for Ecto 3.0 (#301)
  • v2.2.1 Changes

    October 24, 2018

    🛠 Fixed

    • 🛠 Fixes sequence typespec (#278)

    ✂ Removed

    • ✂ Removed fields_for/2 function that would raise an error since 1.0.0 (#287)

    📄 Docs

    • ➕ Adds example for derived attribute (#264)
    • ➕ Adds example for dependent factory (#239)
  • v2.2.0 Changes

    March 13, 2018

    ➕ Added

    • ➕ Adds support for using lists in sequences (#227).

    🛠 Fixed

    • Elixir 1.6.x changed the behavior of Regex.split/3 which caused factory names to break. Added a fix in (#275).
  • v2.1.0 Changes

    August 31, 2017

    ➕ Added

    🛠 Fixed

    👌 Improved

    • 📚 Miscellaneous documentation improvements.
  • v2.0.0 Changes

    March 03, 2017

    ➕ Added

    • Cast all values before insert (#149)

    For example, this means that if you have field :equity, :decimal in your schema, you can set the value to 0 in your factory and it will automatically cast the value to a Decimal.

    • Add string_params_for, which is useful for controller specs. (#168)
    • ➕ Add Sequence.reset/0 for resetting sequences between tests. (#151)

    🔄 Changed

    • params_* functions now drop fields with nil values (#148)
    • Don't delete has_manys from params_* functions (#174)

    🛠 Fixed

    • 🛠 Fix an issue where values on embedded associations would not be cast (#200)
    • Only drop autogenerated ids (#147)
    • 🛠 Fix an issue where setting an association to nil would break insert (#193)
    • 🛠 Fix an issue where unbuild has_many through associations were not removed in params_* functions (#192)