Module

mix compile.elixir

Changes by version

Elixir 1.18.1

· 1 change

Bugfix Tool: Mix

Store compilation results if compilation fails due to --warnings-as-errors

Elixir 1.17.3

· 1 change

Bugfix Tool: Mix

Do not verify modules twice

Elixir 1.17.1

· 1 change

Enhancement Tool: Mix

Do not run fixpoint computation on runtime dependencies. This should considerably improve compilation times for large projects when changing only one or two files

Elixir 1.16.0

· 2 changes

Enhancement Tool: Mix

Pass original exception down to diagnostic :details when possible

Enhancement Tool: Mix

Optimize scenario where there are thousands of files in lib/ and one of them is changed

Elixir 1.15.3

· 1 change

Bugfix Tool: Mix

Ensure __mix_recompile__? callbacks are properly invoked

Elixir 1.15.0

· 1 change

Enhancement Tool: Mix

Add --purge-consolidation-path-if-stale which will purge the given consolidation path if compilation is required

Elixir 1.14.4

· 1 change

Enhancement Tool: Mix

Optimize application tracer

Elixir 1.14.0

· 3 changes

Bugfix Tool: Mix

Fix --warnings-as-errors when used with --all-warnings

Bugfix Tool: Mix

Ensure semantic recompilation cascades to path dependencies

Bugfix Tool: Mix

Lock the compiler to avoid concurrent usage

Elixir 1.13.0

· 8 changes

Enhancement Tool: Mix

Do not recompile files if their modification time change but their contents are still the same and the .beam files are still on disk

Enhancement Tool: Mix

Do not recompile all Elixir sources when Erlang modules change, only dependent ones

Enhancement Tool: Mix

Do not recompile Elixir files if mix.exs changes, instead recompile only files using Mix.Project or trigger a recompilation if a compiler option changes

Enhancement Tool: Mix

Only recompile needed files when a dependency is added, updated or removed

Enhancement Tool: Mix

Only recompile needed files when a dependency is configured

Bugfix Tool: Mix

Track transitive runtime dependencies coming from local/path dependencies

Bugfix Tool: Mix

Recompile file if @external_resource is deleted

Bugfix Tool: Mix

Print number of compiling files on all compiler cycles. This will make the Compiling N files (.ex) show up multiple times if necessary

Elixir 1.12.0

· 3 changes

Bugfix Tool: Mix

Ensure that a manifest is generated even with no source code

Bugfix Tool: Mix

Make sure export dependencies trigger recompilation when the dependency is removed as well as when the whole file is removed

Bugfix Tool: Mix

Do not emit false positive warnings when a path dependency adds a module that is then used by the current application in the same mix compile cycle

Elixir 1.11.0

· 2 changes

Enhancement Tool: Mix

Mark modules for path dependencies as "Export dependencies" if they changed but their public interface is the same

Enhancement Tool: Mix

Track application boundaries in the Elixir compiler. If you invoke code from Erlang or Elixir standard libraries and you don't depend on the proper applications, a warning will be emitted. A warning will also be emitted if you invoke code from an umbrella sibling that you don't depend on - effectively forbidding cyclic dependencies between apps

Elixir 1.5.0

· 2 changes

Enhancement Tool: Mix

Add --all-warnings option to Elixir compiler that shows all warnings from the previous compilation (instead of just of the files being compiled)

Bugfix Tool: Mix

Store multiple sources in case of module conflicts. This solves an issue where _build would get corrupted when compiling Elixir projects with module conflicts