Skip to content

Commit 9ac830f

Browse files
author
José Valim
committed
Include soft deprecations in the CHANGELOG
1 parent 0ded67d commit 9ac830f

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,15 +258,23 @@ Other improvements in Mix include better compiler diagnostics for editor integra
258258

259259
#### Elixir
260260

261+
* [GenServer] Warn if `init/1` is not defined in `GenServer`. This brings GenServer closer to the implementation in OTP and aligns all behaviours to require the `init/1` callback
261262
* [Inspect.Algebra] `surround/3` and `surround_many/6` are deprecated in favor of `container_doc/6`
263+
* [Kernel] Specifying map types with variable keys without defining the type as required/optional is deprecated
262264
* [Kernel.ParallelCompiler] `files/2` and `files_to_path/3` are deprecated in favor of `compile/2` and `compile_to_path/3`
263265
* [Kernel.ParallelRequire] `files/2` is deprecated in favor of `Kernel.ParallelCompiler.require/2`
264-
* [GenServer] Warn if `init/1` is not defined in `GenServer`. This brings GenServer closer to the implementation in OTP and aligns all behaviours to require the `init/1` callback
266+
* [Supervisor] The `:simple_one_for_one` strategy is deprecated in favor of `DynamicSupervisor`
267+
* [Supervisor] Passing a list of args to `Supervisor.start_child/2` is deprecated in favor of `DynamicSupervisor`
268+
* [Task.Supervisor] Passing `:restart` and `:shutdown` to `Task.Supervisor.start_link/2` is deprecated (it should be passed on start child instead)
265269

266270
#### ExUnit
267271

268272
* [ExUnit.Formatter] `:case_started` and `:case_finished` events are deprecated in favor of `:module_started` and `:module_finished`
269273

274+
#### Mix
275+
276+
* [Mix.Compilers.Erlang] Returning `{:ok, val} | :error` from custom Erlang compilers is deprecated in favor of `{:ok, val, warnings} | {:error, errors, warnings}`
277+
270278
### 4. Deprecations
271279

272280
#### Elixir

0 commit comments

Comments
 (0)