Skip to content

Commit

Permalink
array filter type obsolete in favor of tags (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Jul 28, 2024
1 parent 27553af commit 3a197ab
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/3.0/upgrade.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,19 @@ We'll update this page when we release new Avo 3 versions.

If you're looking for the Avo 2 to Avo 3 upgrade guide, please visit [the dedicated page](./avo-2-avo-3-upgrade).

## Upgrade from 3.10.9 to 3.10.10
<Option name="Array filter">

Custom dynamic filter type `array` was duplicated and is now obsolete in favor of `tags`.

```ruby
def filters
dynamic_filter :the_filter,
type: :array # [!code --]
type: :tags # [!code ++]
```
</Option>

## Upgrade from 3.10.6 to 3.10.7
<Option name="Boolean field">

Expand Down

0 comments on commit 3a197ab

Please sign in to comment.