Permalink
Browse files

Release v1.6.1

  • Loading branch information...
josevalim committed Jan 29, 2018
1 parent 2ba98f2 commit 2b588dfb3ebb2f3221bec3509cb1dbb8e08ef1af
Showing with 19 additions and 7 deletions.
  1. +16 −4 CHANGELOG.md
  2. +1 −1 VERSION
  3. +1 −1 lib/elixir/src/elixir.app.src
  4. +1 −1 lib/ex_unit/test/ex_unit/case_test.exs
@@ -123,20 +123,32 @@ Those improvements will help developers better understand the relationship betwe
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).
## v1.6.1-dev
## v1.6.1 (2018-01-29)
### 1. Bug fixes
### 1. Enhancements
* [DynamicSupervisor] Implement `child_spec/1` for DynamicSupervisor
* [Kernel] Raise better error messages on invalid map syntax
### 2. Bug fixes
#### Elixir
* [Code.Formatter] Only rearrange `not in` operator if explicitly opted-in
* [Code.Formatter] Ensure do blocks do not exceed line length on calls with a single argument
* [Collectable] Support bitstrings in Collectable and for-comprehensions (regression in v1.6.0)
* [GenServer] Do not override user own `@opts` attribute
* [Enum] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1`
* [Enum] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1` (regression in v1.6.0)
* [Macro] Reorder kw blocks in `Macro.to_string/1` to avoid warnings
* [Stream] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1`
* [Protocol] Fix protocol consolidation when some chunks may be missing
* [Stream] Reintroduce zipping of any enumerable of enumerables in `Enum.zip/1` (regression in v1.6.0)
* [Supervisor] Do not override user own `@opts` attribute
* [Supervisor] Add `@spec` to second clause of `start_link/2`
#### ExUnit
* [ExUnit.Case] Reintroduce `:case` in ExUnit setup/setup_all/test context
## v1.6.0 (2018-01-17)
### 1. Enhancements
@@ -1 +1 @@
1.6.0
1.6.1
@@ -1,6 +1,6 @@
{application, elixir,
[{description, "elixir"},
{vsn, "1.6.0"},
{vsn, "1.6.1"},
{modules, [
elixir
]},
@@ -21,7 +21,7 @@ defmodule ExUnit.CaseTest do
test "tags", context do
line = __ENV__.line - 1
assert context[:module] == __MODULE__
assert context[:case] == __MODULE__ # Deprecated
assert context[:case] == __MODULE__
assert context[:test] == __ENV__.function |> elem(0)
assert context[:line] == line
assert context[:async] == true

0 comments on commit 2b588df

Please sign in to comment.