Skip to content

Commit

Permalink
Release 0.6.0
Browse files Browse the repository at this point in the history
This is the first version that works with ecto 3.1
  • Loading branch information
narrowtux committed Apr 8, 2019
1 parent 730c303 commit e9338de
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
11 changes: 7 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Add ex_audit to your list of dependencies:
```elixir
def deps do
[
{:ex_audit, "~> 0.4.2"}
{:ex_audit, "~> 0.6"}
]
end
```
Expand Down Expand Up @@ -192,10 +192,13 @@ Examples for data you might want to track additionally:
* API Key ID
* Message from the user describing what she changed

## Known issues
## Ecto versions

- Due to usage of Repo.transaction internally, error changesets that are generated when the DB hits a constraint error are not
returned correctly. I'm looking into options so those changesets will be returned correctly.
If you're using ecto 2.x, use `{:ex_audit, "~> 0.5"}`

If you're using ecto 3.0, upgrade ecto to 3.1

If you're using ecto 3.1, use `{:ex_audit, "~> 0.6"}`

## More

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ defmodule ExAudit.Mixfile do
[
description: "Ecto auditing library that transparently tracks changes and can revert them",
app: :ex_audit,
version: "0.5.0",
version: "0.6.0",
elixir: "~> 1.5",
start_permanent: Mix.env == :prod,
deps: deps(),
Expand Down

0 comments on commit e9338de

Please sign in to comment.