You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,7 @@ We recommend Elixir libraries that previously hooked into Erlang's `:error_logge
46
46
47
47
## Other Logger improvements
48
48
49
-
Previously, Logger macros such as `debug`, `info`, and so on would always evaluate its arguments, even when nothing would be logged. From Elixir v1.7, the arguments are only evaluated when the message is logged.
49
+
Previously, Logger macros such as `debug`, `info`, and so on would always evaluate their arguments, even when nothing would be logged. From Elixir v1.7, the arguments are only evaluated when the message is logged.
50
50
51
51
The Logger configuration system also accepts a new option called `:compile_time_purge_matching` that allows you to remove log calls with specific compile-time metadata. For example, to remove all logger calls from application `:foo` with level lower than `:info`, as well as remove all logger calls from `Bar.foo/3`, you can use the following configuration:
52
52
@@ -62,7 +62,7 @@ config :logger,
62
62
63
63
ExUnit has also seen its own share of improvements. Assertions such as `assert some_fun(arg1, arg2, arg3)` will now include the value of each argument in the failure report:
64
64
65
-
```elixir
65
+
```
66
66
1) test function call arguments (TestOneOfEach)
67
67
lib/ex_unit/examples/one_of_each.exs:157
68
68
Expected truthy, got false
@@ -176,8 +176,8 @@ Percentage | Module
176
176
#### Elixir
177
177
178
178
*[IO.ANSI.Docs] Fix table column alignment when converting docs to ANSI escapes
179
-
*[Code] Ensure `string_to_quoted`return error tuples instead of raising in certain constructs
180
-
*[Code.Formatter] Consistently format keyword lists in functions calls with and without parens
179
+
*[Code] Ensure `string_to_quoted`returns error tuples instead of raising in certain constructs
180
+
*[Code.Formatter] Consistently format keyword lists in function calls with and without parens
181
181
*[Code.Formatter] Do not break after `->` when there are only comments and one-line clauses
182
182
*[Kernel] Raise on unsafe variables as some of the code emitted with unsafe variables would not correctly propagate variables or would disable tail call optimization semantics
183
183
*[Kernel] Do not crash on dynamic sizes in binary generators with collectable into in comprehensions
@@ -187,17 +187,17 @@ Percentage | Module
187
187
#### ExUnit
188
188
189
189
*[ExUnit.Case] Raise proper error if `@tag` and `@moduletag` are used before `use ExUnit.Case`
190
-
*[ExUnit.Case] Raise proper error if `@describetag` is used outside of describe
190
+
*[ExUnit.Case] Raise proper error if `@describetag` is used outside of `describe/2` blocks
191
191
*[ExUnit.DocTest] Emit proper assertion error on doctests with invalid UTF-8
192
192
193
193
#### Mix
194
194
195
-
*[mix archive.install] Fetch optional dependencies when installing an archive from git/hex
195
+
*[mix archive.install] Fetch optional dependencies when installing an archive from Git/Hex
196
196
*[mix compile] Properly track config files in umbrella projects and recompile when any relevant umbrella configuration changes
197
197
*[mix deps] Ensure the same dependency from different SCMs are tagged as diverged when those SCMs are remote and non-remote
198
198
*[mix deps] Ensure we re-run dependency resolution when overriding a skipped dep in umbrella
199
199
*[mix deps.compile] Perform clean builds for dependencies on outdated locks to avoid old modules from affecting future compilation
200
-
*[mix escript.install] Fetch optional dependencies when installing an escript from git/hex
200
+
*[mix escript.install] Fetch optional dependencies when installing an escript from Git/Hex
0 commit comments