Skip to content

Commit a2860b3

Browse files
author
José Valim
committed
Release v1.2.0-rc.0
1 parent 7a1758e commit a2860b3

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ ask Mix to use Rebar 3 to compile it by passing the `manager: :rebar3` option.
8282
Once configured, Mix will prompt you to install Rebar 3 if it is not yet
8383
available.
8484

85-
## v1.2.0-dev
85+
## v1.2.0-rc.0 (2015-12-09)
8686

8787
### 1. Enhancements
8888

@@ -92,7 +92,9 @@ available.
9292
* [Application] Add `get_application/1` to retrieve the application a given module belongs to
9393
* [Base] Optimize encode and decode operations about 10 times
9494
* [Enum] Use the faster and auto-seeding `:rand` instead of `:random` in `Enum.shuffle/1` and `Enum.random/1` and `Enum.take_random/2`
95+
* [Enum] Add `Enum.with_index/2`
9596
* [GenServer] Add `GenServer.stop/1` for shutting down servers reliably
97+
* [IO] Add `color` related functions to `IO.ANSI`
9698
* [Kernel] Support multiple aliases in `alias`, `import`, `require` and `use`. For example, `alias MyApp.{Foo, Bar, Baz}`
9799
* [Kernel] Add `struct!/2`. Similar to `struct/2` but raises on invalid keys
98100
* [Kernel] Warn if `@doc/@typedoc/@moduledoc` attributes are redefined
@@ -108,9 +110,11 @@ available.
108110
* [Macro] Add `Macro.traverse/4` that performs pre and post-walk at once
109111
* [Macro] Add `Macro.camelize/1` and `Macro.underscore/1`
110112
* [Process] Add `Process.get_keys/0`
113+
* [Stream] Add `Stream.with_index/2`
111114
* [String] Introduce `String.replace_{prefix,suffix,leading,trailing}/2`. The first two will replace only the first occurrence of the given match in string. The last two will replace all occurrences of the given match
112115
* [String] Support `String.normalize/2` and `String.equivalent?/2` that perform NFD and NFC normalization
113116
* [System] Add `System.time_offset`, `System.monotonic_time`, `System.system_time`, `System.convert_time_unit` and `System.unique_integer`
117+
* [System] Allow `System.cmd/3` to remove variables by specifying nil values
114118
* [Task] Add `Task.Supervisor.async_nolink/1/3` that spawns a supervised task without linking to the caller process
115119
* [Task] Introduce `Task.yield_many/2`
116120
* [Task] Raise an error when a task is queried from a non-owning process (instead of waiting forever)
@@ -138,14 +142,18 @@ available.
138142
* [Mix] Validate git options and warn on conflicting ref, branch or tags
139143
* [Mix] New umbrella applications will now share configuration and build files
140144
* [Mix] Add experimental support for Rebar 3
145+
* [Mix] Do not warn when an optional dependency has a conflicting `:only` option with another dependency
141146

142147
### 2. Bug fixes
143148

144149
#### Kernel
145150

151+
* [Kernel] Raise when conflicting `:only` and `:except` are given to import
146152
* [Kernel] Change `__ENV__.file` if `@file` is set for the given function
147153
* [Kernel] Make `Kernel.ParallelRequire` aware of `:warning_as_errors`
148154
* [Kernel] Improve error message for invalid `do`/`do:`
155+
* [Macro] Ensure `Macro.to_string/2` respects operator precedence when using the access operator
156+
* [Path] Do not crash when expanding paths that go beyond the root, for example, `Path.expand("/../..")`
149157

150158
#### IEx
151159

@@ -158,6 +166,7 @@ available.
158166
* [Mix] Ensure rebar projects work on directory names that contain non-latin characters
159167
* [Mix] Ignore directories inside `apps` in umbrellas that do not have a `mix.exs` file
160168
* [Mix] Ensure Mix can be used with path dependencies where the app name is different than the path basename
169+
* [Mix] Ensure dependencies won't crash when updating from a git repository to a hex repository and the git version did not respect SemVer
161170

162171
#### ExUnit
163172

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.2.0-dev
1+
1.2.0-rc.0

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.2.0-dev"},
3+
{vsn, "1.2.0-rc.0"},
44
{modules, [
55
elixir
66
]},

0 commit comments

Comments
 (0)