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
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,7 +82,7 @@ ask Mix to use Rebar 3 to compile it by passing the `manager: :rebar3` option.
82
82
Once configured, Mix will prompt you to install Rebar 3 if it is not yet
83
83
available.
84
84
85
-
## v1.2.0-dev
85
+
## v1.2.0-rc.0 (2015-12-09)
86
86
87
87
### 1. Enhancements
88
88
@@ -92,7 +92,9 @@ available.
92
92
*[Application] Add `get_application/1` to retrieve the application a given module belongs to
93
93
*[Base] Optimize encode and decode operations about 10 times
94
94
*[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`
95
96
*[GenServer] Add `GenServer.stop/1` for shutting down servers reliably
97
+
*[IO] Add `color` related functions to `IO.ANSI`
96
98
*[Kernel] Support multiple aliases in `alias`, `import`, `require` and `use`. For example, `alias MyApp.{Foo, Bar, Baz}`
97
99
*[Kernel] Add `struct!/2`. Similar to `struct/2` but raises on invalid keys
98
100
*[Kernel] Warn if `@doc/@typedoc/@moduledoc` attributes are redefined
@@ -108,9 +110,11 @@ available.
108
110
*[Macro] Add `Macro.traverse/4` that performs pre and post-walk at once
109
111
*[Macro] Add `Macro.camelize/1` and `Macro.underscore/1`
110
112
*[Process] Add `Process.get_keys/0`
113
+
*[Stream] Add `Stream.with_index/2`
111
114
*[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
112
115
*[String] Support `String.normalize/2` and `String.equivalent?/2` that perform NFD and NFC normalization
113
116
*[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
114
118
*[Task] Add `Task.Supervisor.async_nolink/1/3` that spawns a supervised task without linking to the caller process
115
119
*[Task] Introduce `Task.yield_many/2`
116
120
*[Task] Raise an error when a task is queried from a non-owning process (instead of waiting forever)
@@ -138,14 +142,18 @@ available.
138
142
*[Mix] Validate git options and warn on conflicting ref, branch or tags
139
143
*[Mix] New umbrella applications will now share configuration and build files
140
144
*[Mix] Add experimental support for Rebar 3
145
+
*[Mix] Do not warn when an optional dependency has a conflicting `:only` option with another dependency
141
146
142
147
### 2. Bug fixes
143
148
144
149
#### Kernel
145
150
151
+
*[Kernel] Raise when conflicting `:only` and `:except` are given to import
146
152
*[Kernel] Change `__ENV__.file` if `@file` is set for the given function
147
153
*[Kernel] Make `Kernel.ParallelRequire` aware of `:warning_as_errors`
148
154
*[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("/../..")`
149
157
150
158
#### IEx
151
159
@@ -158,6 +166,7 @@ available.
158
166
*[Mix] Ensure rebar projects work on directory names that contain non-latin characters
159
167
*[Mix] Ignore directories inside `apps` in umbrellas that do not have a `mix.exs` file
160
168
*[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
0 commit comments