Skip to content

Commit 2b588df

Browse files
author
José Valim
committed
Release v1.6.1
1 parent 2ba98f2 commit 2b588df

File tree

4 files changed

+19
-7
lines changed

4 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,20 +123,32 @@ Those improvements will help developers better understand the relationship betwe
123123

124124
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).
125125

126-
## v1.6.1-dev
126+
## v1.6.1 (2018-01-29)
127127

128-
### 1. Bug fixes
128+
### 1. Enhancements
129+
130+
* [DynamicSupervisor] Implement `child_spec/1` for DynamicSupervisor
131+
* [Kernel] Raise better error messages on invalid map syntax
132+
133+
### 2. Bug fixes
129134

130135
#### Elixir
131136

132137
* [Code.Formatter] Only rearrange `not in` operator if explicitly opted-in
138+
* [Code.Formatter] Ensure do blocks do not exceed line length on calls with a single argument
139+
* [Collectable] Support bitstrings in Collectable and for-comprehensions (regression in v1.6.0)
133140
* [GenServer] Do not override user own `@opts` attribute
134-
* [Enum] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1`
141+
* [Enum] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1` (regression in v1.6.0)
135142
* [Macro] Reorder kw blocks in `Macro.to_string/1` to avoid warnings
136-
* [Stream] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1`
143+
* [Protocol] Fix protocol consolidation when some chunks may be missing
144+
* [Stream] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1` (regression in v1.6.0)
137145
* [Supervisor] Do not override user own `@opts` attribute
138146
* [Supervisor] Add `@spec` to second clause of `start_link/2`
139147

148+
#### ExUnit
149+
150+
* [ExUnit.Case] Reintroduce `:case` in ExUnit setup/setup_all/test context
151+
140152
## v1.6.0 (2018-01-17)
141153

142154
### 1. Enhancements

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.6.0
1+
1.6.1

lib/elixir/src/elixir.app.src

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{application, elixir,
22
[{description, "elixir"},
3-
{vsn, "1.6.0"},
3+
{vsn, "1.6.1"},
44
{modules, [
55
elixir
66
]},

lib/ex_unit/test/ex_unit/case_test.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ defmodule ExUnit.CaseTest do
2121
test "tags", context do
2222
line = __ENV__.line - 1
2323
assert context[:module] == __MODULE__
24-
assert context[:case] == __MODULE__ # Deprecated
24+
assert context[:case] == __MODULE__
2525
assert context[:test] == __ENV__.function |> elem(0)
2626
assert context[:line] == line
2727
assert context[:async] == true

0 commit comments

Comments
 (0)