All Versions
11
Latest Version
Avg Release Cycle
119 days
Latest Release
1246 days ago
Changelog History
Page 1
Changelog History
Page 1
-
v1.4.0 Changes
October 31, 2019๐ EctoEnum supports Ecto 3.0
- Uses ecto and ecto_sql >= 3.0 deps
- Updates tests
- Add required
embed_as/1
andequal?/2
callbacks forEcto.Type
modules
โ Will have yet to test EctoEnum with latest MySQL adapter (myxql)
-
v1.3.2 Changes
July 25, 2019- EctoEnum now generates typespecs for dialyzer.
- ๐ Fixed a bug where the
create_type/0
with the drop was not being created.
-
v1.3.1 Changes
July 05, 2019- ๐ Fixed a bug where multiple function clauses of
cast
anddump
were defined byEctoEnum.Use
. This error happens when defining string-backed enums, since multiple function clauses for the string value is defined.
- ๐ Fixed a bug where multiple function clauses of
-
v1.3.0 Changes
June 27, 2019- ๐จ Refactored internals to make it easier to support
use
ing feature and string-backed enums. - โ Add
use
ing functionality so we can useEctoEnum
orEctoEnum.Postgres
to define Ecto Enums. - ๐ Support for string-backed enums!
- ๐จ Refactored internals to make it easier to support
-
v1.2.0 Changes
January 29, 20191.2.0
- โก๏ธ Update formatter config to allow use of
defenum/2
anddefenum/3
without parens. - Enum function
create_type/0
is now reversible and can be used inchange
in migration files. defenum/4
added which accepts options for creating a Postgres Enum type in a specified schema.- โ Added
EctoEnum.validate_enum/3
which is a helper function for validating enum values in a changeset. - โ Added
valid_value?/1
to the custom enum which checks if the value passed is a valid enum value.
- โก๏ธ Update formatter config to allow use of
-
v1.1.0
December 07, 2017 -
v1.0.2 Changes
July 21, 2017๐ Fix
defenum/2
anddefenum/3
not accepting variables -
v1.0.1 Changes
December 27, 2016โก๏ธ Updated tests, dependencies, and addressed new compiler warnings
-
v1.0 Changes
November 06, 2016Integration with Ecto 2.0 If you encounter any compiler or deprecation warnings related to Ecto 2.0, please create an issue for it.
๐ Support for native Postgres Enum. We make use of Postgres' user-defined types
-
v0.4.0 Changes
August 10, 2016- ๐ There's now an option to use Enumerated Types in Postgres
- New
__valid_values__ ()
is automatically defined in your custom Enum module to see all valid values accepted by your custom Enum type - โ Reorganized tests for PG and MySQL