Skip to content

Commit 377214d

Browse files
committed
Update upgrade guide
1 parent 0a915ad commit 377214d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

guides/upgrading/v0.15.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,3 +54,12 @@ Note that it is now also possible to configure the layout as a function:
5454
use Backpex.LiveResource,
5555
layout: &MyAppWeb.admin/1
5656
```
57+
58+
## Resource.update/6 has been changed
59+
60+
We no longer pass the `fields` to `Resource.update/6`. Therefore, the arity of this functions has changed to `Backpex.Resource.update/5`. This aligns the function `insert` and `update` of the Resource module.
61+
62+
## `:only`/`:except` field option changes
63+
64+
You no longer need to pass `:resource_action` in addition to `:index` to the fields `:only`/`:except` option.
65+
Before, it was needed to make fields visible behind the backdrop of the resource action modal.

0 commit comments

Comments
 (0)