Skip to content

Commit

Permalink
Bump version to 1.2.0 and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
gjaldon committed Jan 29, 2019
1 parent 4dfcf9c commit c08fd8a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog

## 1.2.0
- Update formatter config to allow use of `defenum/2` and `defenum/3` without parens.
- Enum function `create_type/0` is now reversible and can be used in `change` 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.

## 1.0.2

- Fix `defenum/2` and `defenum/3` not accepting variables
Expand Down
2 changes: 1 addition & 1 deletion mix.exs
@@ -1,7 +1,7 @@
defmodule EctoEnum.Mixfile do
use Mix.Project

@version "1.1.0"
@version "1.2.0"

def project do
[
Expand Down

0 comments on commit c08fd8a

Please sign in to comment.