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
Finally, new compilation tracers have been added, alongside a handful of functions in `Module` to retrieve module metadata, which can be used to enrich suggestions in programming environments.
86
96
87
97
## Extended code formatting
@@ -136,6 +146,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
136
146
*[Code] Allow custom sigil formatting on `Code.format_string!/2`
137
147
*[Code] Add `{:on_module, bytecode, :none}` trace to compilation tracers
138
148
*[Enum] Optimize `Enum.concat/1` for lists of lists
149
+
*[Enum] Add `Enum.slide/3`
139
150
*[Exception] Better format Elixir exceptions in Erlang
140
151
*[Inspect] Allow default inspect fun to be set globally with `Inspect.Opts.default_inspect_fun/1`
141
152
*[IO] Allow `:eof` to be given as limit to `IO.getn/2`
@@ -159,9 +170,11 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
159
170
*[Task] Add `Task.completed/1`
160
171
*[Task] Add `Task.ignore/1` to keep a task running but ignoring all of its results
161
172
*[Task] Reduce the amount of copying `Task.async*` functions
173
+
*[URI] Add `URI.new/1` and `URI.new!/1`
162
174
163
175
#### ExUnit
164
176
177
+
*[ExUnit] Show hint if comparing different but equivalent strings
165
178
*[ExUnit.CaptureIO] Add `with_io/3` to return result with captured io
166
179
*[ExUnit.CaptureLog] Add `with_log/2` to return result with captured logs
167
180
@@ -177,6 +190,8 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
177
190
178
191
#### Mix
179
192
193
+
*[Mix] Add `MIX_INSTALL_FORCE` environment variable support
194
+
*[Mix] Support `:config` and `:system_env` in `Mix.install/2`
180
195
*[mix archive.install] Run `loadconfig` before building archive
181
196
*[mix compile] Move Elixir version check to before deps are compiled, in order to give feedback earlier
182
197
*[mix compile.elixir] Do not recompile files if their modification time change but their contents are still the same and the .beam files are still on disk
@@ -206,13 +221,15 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
206
221
207
222
#### EEx
208
223
224
+
*[EEx] Accept comments in EEx between do and the first clause
209
225
*[EEx] Accept EEx expressions where `->` is followed by newline
210
226
211
227
#### Elixir
212
228
213
229
*[Application] Warn if `Application.compile_env` or `Application.compile_env!` are called without a require
214
230
*[Code] Make sure `:static_atoms_encoder` in `Code.string_to_quoted/2` also applies to quoted keyword keys
215
231
*[Code] Ensure bindings with no context are returned as atoms instead of `{binding, nil}` in eval operations
232
+
*[Inspect] Fix a bug when inspecting a non-binary bitstring with colors
216
233
*[Kernel] Raise if `__CALLER__` or `__ENV__` or `__STACKTRACE__` are used in match
217
234
*[Kernel] Improve error message on invalid argument for `byte_size` from binary concat
218
235
*[Kernel] Raise when aliasing non-Elixir modules without `:as`
@@ -243,6 +260,7 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
243
260
#### Logger
244
261
245
262
*[Logger] Raise clear error message for invalid `:compile_time_purge_matching` configuration
263
+
*[Logger] Fix a bug where Logger would not reset its discard counter under some scenarios
246
264
247
265
#### Mix
248
266
@@ -261,8 +279,9 @@ Finally, the `Code` module has also been augmented with two functions: `Code.str
261
279
262
280
#### Elixir
263
281
264
-
*[IO]`:all` on `IO.getn` is deprecated in favor of `:eof`
265
282
*[Code] Environment options in `Code.eval_quoted/3` and `Code.eval_string/3`, such as `:aliases` and `:tracers`, have been deprecated in favor of passing an environment
283
+
*[IO]`:all` on `IO.getn` is deprecated in favor of `:eof`
284
+
*[URI]`URI.parse/1` is deprecated in favor of `URI.new/1` and `URI.new!/1`
Copy file name to clipboardExpand all lines: lib/elixir/pages/compatibility-and-deprecations.md
+2-3
Original file line number
Diff line number
Diff line change
@@ -8,12 +8,11 @@ Elixir applies bug fixes only to the latest minor branch. Security patches are a
8
8
9
9
Elixir version | Support
10
10
:------------- | :-----------------------------
11
-
1.13 | Development
12
-
1.12 | Bug fixes and security patches
11
+
1.13 | Bug fixes and security patches
12
+
1.12 | Security patches only
13
13
1.11 | Security patches only
14
14
1.10 | Security patches only
15
15
1.9 | Security patches only
16
-
1.8 | Security patches only
17
16
18
17
New releases are announced in the read-only [announcements mailing list](https://groups.google.com/group/elixir-lang-ann). All security releases [will be tagged with `[security]`](https://groups.google.com/forum/#!searchin/elixir-lang-ann/%5Bsecurity%5D%7Csort:date).
0 commit comments