Module

Supervisor

Changes by version

Elixir 1.15.0

· 1 change

Enhancement Tool: Elixir

Add support for automatic shutdown in Supervisor

Elixir 1.11.0

· 1 change

Enhancement Tool: Elixir

Deprecate Supervisor.start_child/2 and Supervisor.terminate_child/2 in favor of DynamicSupervisor

Elixir 1.10.0

· 2 changes

Enhancement Tool: Elixir

Supervisor.Spec.supervise/2 has been deprecated in favor of the new Supervisor child specification

Enhancement Tool: Elixir

The :simple_one_for_one strategy in Supervisor has been deprecated in favor of DynamicSupervisor

Elixir 1.6.5

· 1 change

Bugfix Tool: Task

Do not crash spawning supervised tasks when the parent process is dead

Elixir 1.6.2

· 1 change

Bugfix Tool: Elixir

Ensure use Supervisor properly adds the @behaviour Supervisor annotation

Elixir 1.6.1

· 2 changes

Bugfix Tool: Elixir

Do not override user own @opts attribute

Bugfix Tool: Elixir

Add @spec to second clause of start_link/2

Elixir 1.6.0

· 2 changes

Enhancement Tool: Elixir

The :simple_one_for_one strategy is deprecated in favor of DynamicSupervisor

Enhancement Tool: Elixir

Passing a list of args to Supervisor.start_child/2 is deprecated in favor of DynamicSupervisor

Elixir 1.5.1

· 1 change

Enhancement Tool: Elixir

Support mixing old and new typespecs in Supervisor.init/2 and Supevisor.start_link/2

Elixir 1.5.0

· 2 changes

Enhancement Tool: Elixir

Add Supervisor.init/2 and Supervisor.child_spec/2

Enhancement Tool: Elixir

Allow module and {module, arg} to be given to Supervisor.start_link/2 and invoke module.child_spec(arg) on each argument