Module

Application

Changes by version

Elixir 1.14.0

· 2 changes

Enhancement Tool: Elixir

Add Application.compile_env/4 and Application.compile_env!/3 to read the compile-time environment inside macros

Hard Deprecation Tool: Elixir

Calling Application.get_env/3 and friends in the module body is now discouraged, use Application.compile_env/3 instead

Elixir 1.13.0

· 2 changes

Bugfix Tool: Elixir

Allow any expression as first argument of compile_env

Bugfix Tool: Elixir

Warn if Application.compile_env or Application.compile_env! are called without a require

Elixir 1.12.2

· 1 change

Enhancement Tool: Elixir

Do not add compile time deps on args to Application.compile_env/2 and Application.compile_env!/2

Elixir 1.11.0

· 1 change

Bugfix Tool: Elixir

Warn if non-atom keys are given to put_env, get_env, fetch_env, and delete_env

Elixir 1.10.0

· 1 change

Enhancement Tool: Elixir

Add Application.compile_env/3 and Application.compile_env!/2 for reading values at compilation time and tracking if they accidentally change during runtime

Elixir 1.3.0

· 1 change

Bugfix Tool: Elixir

Ensure Application.spec/2 returns nil for unknown applications

Elixir 1.2.4

· 1 change

Enhancement Tool: Elixir

Ensure spec/2 returns nil for unknown applications

Elixir 1.2.0

· 2 changes

Enhancement Tool: Elixir

Add spec/1 and spec/2 to retrieve application specification

Enhancement Tool: Elixir

Add get_application/1 to retrieve the application a given module belongs to

Elixir 1.1.0

· 1 change

Enhancement Tool: Elixir

Add Application.fetch_env!/2, Application.loaded_applications/0 and Application.started_applications/0

Elixir 0.13.2

· 2 changes

Enhancement Tool: Elixir

Add an Application module with common functions to work with OTP applications

Enhancement Tool: Elixir

use Application.Behaviour is deprecated in favor of use Application