Add note about options func to migration guide

This commit is contained in:
thepaperpilot 2023-04-18 20:57:31 -05:00
parent 99a9837cf9
commit c1dcd9f511

View file

@ -126,6 +126,10 @@ Modifiers now display negative effects in red. The current implementation assume
Modifiers have renamed their `revert` property to `invert` to match the terms used by formulas. Update any custom modifiers you've created accordingly.
### Custom Features
Lazy proxies now call the options function with the base object as the `this` argument and the first parameter. Features with `options` functions are expected to pass the base object as the `this` argument and first parameter as well. The `OptionsFunc` type has already been updated for this, so TS will complain if you skip this migration step.
## Fixing visibility changes
Visibility properties now work with booleans, which has several implications.