All Versions
20
Latest Version
Avg Release Cycle
167 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v2.7.0 Changes
โ Added
- ๐ Allow setting sequence starting point (#414)
-
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 -
v2.2.0 Changes
March 13, 2018 -
v2.1.0 Changes
August 31, 2017โ Added
- ๐ Support bare maps in embeds https://github.com/thoughtbot/ex_machina/commit/efd4e7c6125843d20b8dd07d91ded6240ecaf5ef
- Handle nested structures in
string_params_for/2
https://github.com/thoughtbot/ex_machina/pull/224
๐ Fixed
- Handle the number
0
in*_list
functions https://github.com/thoughtbot/ex_machina/commit/012e957e7ab1e22eca18b62e8f3fcc2a98a7f286
๐ 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 to0
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 withnil
values (#148)- Don't delete
has_many
s fromparams_*
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 breakinsert
(#193) - ๐ Fix an issue where unbuild has_many through associations were not removed in
params_*
functions (#192)