View Source
Unreleased
[0.9.0] - 2022-03-25
Added
Add
BitcrowdEcto.Assertions.assert_change_to_almost_now/2to assert that the value of a datetime field changed to the present time.Add
BitcrowdEcto.Schema.to_enum_member/3andBitcrowdEcto.Schema.to_enum_member!/3, functions that safely convert a string to the member of an enum based on reflection on the given schema.
Changed
- BREAKING: Add
:only_weboption toBitcrowdEcto.Changeset.validate_email/3that enforces a dot in the host part of the email address (e.g.foo@example.netis valid,foo@exampleis not). Defaults to true.
[0.8.0] - 2022-03-03
Changed
- BREAKING: Drop the
BitcrowdEcto.Migration.grant_dml_privileges_on_schema/2variant that reads from a configuration variable. However, the keyword list ongrant_dml_privileges_on_schema/3has become optional, so effectively there is a different/2now.
[0.7.0] - 2022-03-02
Added
- Add
BitcrowdEcto.Migrationfor migration utilities, first util isgrant_dml_privileges_on_schema/2thatGRANTs certain privileges to a Postgres role.
[0.6.0] - 2022-02-10
Added
- Add
BitcrowdEcto.Randomcontaining various random token generators. - Add
validate_past_datetime/3,validate_future_datetime/3,validate_datetime_after/4,validate_date_order/4,validate_datetime_order/4andvalidate_order/5toBitcrowdEcto.Changeset.
[0.5.0] - 2022-02-04
Added
- Add
Migrator.ensure_up!/0to check whether all migrations are up.
[0.4.0] - 2022-01-28
Added
- Add
handle_migrator_exception/2callback toMigratorto allow exception reporting.
[0.3.1] - 2022-01-17
Added
- Add missing
assert_sorted_equal/3.
[0.3.0] - 2022-01-17
Added
- Add
assert_almost_now/1,assert_almost_coincide/3andassert_sorted_equal/2toBitcrowdEcto.Assertions.
[0.2.0] - 2022-01-17
Added
[0.1.0] - 2022-01-07
Initial release to the public 🎉