Skip to content

Commit aab3543

Browse files
committed
Add release note about potential compatibilities to CHANGELOG, closes #12688
1 parent 9b254e6 commit aab3543

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,14 @@ A new function, called `Code.with_diagnostics/2`, has been added so this
7474
information can be leveraged by editors, allowing them to point to several
7575
errors at once.
7676

77+
### Potential incompatibilities
78+
79+
As part of this effort, the behaviour where undefined variables were
80+
transformed into nullary function calls, often leading to confusing error
81+
reports, has been disabled during project compilation. You can invoke
82+
`Code.compiler_options(on_undefined_variable: :warn)` at the top of
83+
your `mix.exs` to bring the old behaviour back.
84+
7785
## Integration with Erlang/OTP logger
7886

7987
This release provides additional features such as global logger

0 commit comments

Comments
 (0)