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
+13-43
Original file line number
Diff line number
Diff line change
@@ -123,49 +123,7 @@ Those improvements will help developers better understand the relationship betwe
123
123
124
124
Other improvements in Mix include better compiler diagnostics for editor integration, support for the `--slowest N` flag in `mix test` that shows the slowest tests in your suite, and a new `mix profile.eprof` task that provides time based profiling, complementing the existing `mix profile.cprof` (count based) and `mix profile.fprof` (flame based).
125
125
126
-
## v1.6.0-rc.1 (2018-01-11)
127
-
128
-
### 1. Enhancements
129
-
130
-
#### Elixir
131
-
132
-
*[Code] Render tuples and bitstrings as "flex" in the formatter so they attempt to fit the maximum amount of entries in the same line
133
-
*[Exception] Improve the printing of guards on blamed exceptions
134
-
*[List] Rearrange equals and inserts for shorter diff scripts in `List.myers_difference/2`
135
-
*[Kernel] Warn if heredoc is outdented compared to its closing quotes
136
-
*[Record] Allow `:macros` and `:includes` to be given to `Record.extract/2`
137
-
138
-
#### ExUnit
139
-
140
-
*[ExUnit.Assertions] Perform inclusive checks in `assert_in_delta`
141
-
142
-
#### IEx
143
-
144
-
*[IEx.CLI] Provide hints for developers when a bad host name is given to `--remsh`
145
-
146
-
#### Logger
147
-
148
-
*[Logger] Add `:discard_threshold` to Logger to help with buffer overflow
149
-
150
-
### 2. Bug fixes
151
-
152
-
#### Elixir
153
-
154
-
*[Inspect] Properly handle minus signal for non-decimal negative integers
155
-
*[Kernel] Allow `defguard` to call another `defguard` (previous RC only)
156
-
*[Kernel] Return right side expression value on variable struct matching (previous RC only)
157
-
*[Kernel] Do not leak variables during optimizations (previous RC only)
158
-
*[Kernel] Avoid badarg/badfun on long-lived functions defined during compilation (previous RC only)
159
-
*[Kernel] Fix precedence of `&` in regards to `=` (previous RC only)
160
-
*[String] Consider case ignorable characters when downcasing greek characters (previous RC only)
*[mix deps.update] Ensure transitive new non-Hex dependencies are also fetched when a repo is updated
166
-
*[mix format] Raise if imported dependencies have not been checked out on `mix format` (previous RC only)
167
-
168
-
## v1.6.0-rc.0 (2017-12-24)
126
+
## v1.6.0 (2018-01-17)
169
127
170
128
### 1. Enhancements
171
129
@@ -180,6 +138,7 @@ Other improvements in Mix include better compiler diagnostics for editor integra
180
138
*[Code] Support column annotations in quoted expressions with `columns: true` in `Code.string_to_quoted/2`
181
139
*[DynamicSupervisor] Add `DynamicSupervisor` designed to manage children that are added and removed dynamically
182
140
*[Exception] Make `Exception.blame/3` extensible by adding an optional `blame/2` callback to exceptions
141
+
*[Exception] Improve the printing of guards on blamed exceptions
183
142
*[Enumerable] Add `Enumerable.slice/1` and optimize many `Enum` operations with the new protocol. This allows data-structures with index-based random access to provide a non-linear implementation
184
143
*[Inspect] Show UTF-8 BOM on inspected strings
185
144
*[Inspect.Algebra] Add `:strict` and `:flex` breaks - this gives more control over the document fitting
@@ -190,10 +149,13 @@ Other improvements in Mix include better compiler diagnostics for editor integra
190
149
*[Kernel] Prefix variables with V when emitting Erlang code. This improves the integration with tools such as Erlang code formatters and the GUI debugger
191
150
*[Kernel] Warn on the use of `length(x) == 0` in guards
192
151
*[Kernel] Warn if `catch` comes before `rescue` in try
152
+
*[Kernel] Warn if heredoc is outdented compared to its closing quotes
193
153
*[Kernel] Add `defguard/1` and `defguardp/1` to make it easier to build guard-safe macros
194
154
*[Kernel.ParallelCompiler] Add `compile/2`, `compile_to_path/3` and `require/2` which provide detailed information about warnings and errors
195
155
*[Kernel.SpecialForms] Support the `uniq: true` flag in `for` comprehensions
196
156
*[Module] Introduce `@deprecated` and `@since` attributes
157
+
*[List] Rearrange equals and inserts for shorter diff scripts in `List.myers_difference/2`
158
+
*[Record] Allow `:macros` and `:includes` to be given to `Record.extract/2`
197
159
*[Stream] Add `Stream.intersperse/2`
198
160
*[String] Update to Unicode 10
199
161
*[String] Allow passing empty string `match` to `String.replace/4`
@@ -203,16 +165,22 @@ Other improvements in Mix include better compiler diagnostics for editor integra
203
165
204
166
#### ExUnit
205
167
168
+
*[ExUnit.Assertions] Perform inclusive checks in `assert_in_delta`
*[ExUnit.Case] Generate a random seed per test based on the test suite seed
208
171
209
172
#### IEx
210
173
211
174
*[IEx.Autocomplete] Provide contextual autocompletion: `t Enum.` will autocomplete types, `b Enum` will autocomplete callbacks
175
+
*[IEx.CLI] Provide hints for developers when a bad host name is given to `--remsh`
212
176
*[IEx.Helpers] Automatically include specs when showing documentation for functions/macros
213
177
*[IEx.Helpers] Improve formatting of behaviours and typespecs by using the formatter
214
178
*[IEx.Helpers] Allow pattern matching and guard expressions when on `IEx.break!`
215
179
180
+
#### Logger
181
+
182
+
*[Logger] Add `:discard_threshold` to Logger to help with message queue overflow
183
+
216
184
#### Mix
217
185
218
186
*[mix app.start] Add `--preload-modules` to `mix app.start`
@@ -235,6 +203,7 @@ Other improvements in Mix include better compiler diagnostics for editor integra
235
203
#### Elixir
236
204
237
205
*[CLI] Support path with spaces as argument to elixir.bat
206
+
*[Inspect] Properly handle minus signal for non-decimal negative integers
238
207
*[Integer] Do not raise on non-integer values in `is_odd`/`is_even`
239
208
*[Kernel] Solve a precedence issue between `&` and `|`, such as `[&Foo.bar/1 | &Baz.bat/2]`
240
209
*[Kernel] Do not load dynamic Elixir modules as `:in_memory` as this value is not officially supported by the code server. Instead, use an empty list, which is the same value used by Erlang.
@@ -251,6 +220,7 @@ Other improvements in Mix include better compiler diagnostics for editor integra
251
220
*[mix app.start] Improve the quality of reports if app fails to boot
252
221
*[mix cmd] Allow `mix cmd` to be invoked multiple times without marking it as executed
253
222
*[mix deps] Ensure optional dependencies in umbrella applications are loaded
223
+
*[mix deps.update] Ensure transitive new non-Hex dependencies are also fetched when a repo is updated
254
224
*[mix xref] Take compile dependencies with higher priority than runtime ones when building a graph
255
225
*[mix xref] Handle external files for xref callers and warnings
0 commit comments