Module

Kernel.ParallelCompiler

Changes by version

Elixir 1.19.0

· 3 changes

Enhancement Tool: Elixir

Add each_long_verification_threshold which invokes a callback when type checking a module takes too long

Enhancement Tool: Elixir

Include lines in == Compilation error in file ... == slogans

Hard Deprecation Tool: Elixir

Passing return_diagnostics: true as an option is required on compile, compile_to_path and require

Elixir 1.16.1

· 2 changes

Bugfix Tool: Elixir

Do not crash parallel compiler when it receives diagnostics from additional code evaluation

Bugfix Tool: Elixir

Always log errors at the end of compilation

Elixir 1.16.0

· 3 changes

Enhancement Tool: Elixir

Introduce Kernel.ParallelCompiler.pmap/2 to compile multiple additional entries in parallel

Bugfix Tool: Elixir

Consider a module has been defined in @after_compile callbacks to avoid deadlocks

Enhancement Tool: Elixir

Deprecate Kernel.ParallelCompiler.async/1 in favor of Kernel.ParallelCompiler.pmap/2

Elixir 1.15.0

· 3 changes

Bugfix Tool: Elixir

Make sure compiler doesn't crash when there are stray messages in the inbox

Bugfix Tool: Elixir

Track compile and runtime warnings separately

Enhancement Tool: Elixir

Require the :return_diagnostics option to be

Elixir 1.14.0

· 1 change

Hard Deprecation Tool: Elixir

Returning a list or two-element tuple from :each_cycle is deprecated, return a {:compile | :runtime, modules, warnings} tuple instead

Elixir 1.11.0

· 2 changes

Enhancement Tool: Elixir

Report individual file compilation times when profile: :time is given

Enhancement Tool: Elixir

Improve precision of :long_compilation_threshold so it takes only compilation times into account (and not waiting times)

Elixir 1.10.3

· 2 changes

Bugfix Tool: Elixir

Fix a bug where the parallel compiler would raise in long compilation cycles

Bugfix Tool: Elixir

Fix a bug where the parallel compiler would raise if some of the modules being compiled referred to a module that has been loaded directly to memory

Elixir 1.8.0

· 2 changes

Enhancement Tool: Elixir

files/2 is deprecated in favor of compile/2

Enhancement Tool: Elixir

files_to_path/2 is deprecated in favor of compile_to_path/2

Elixir 1.6.0

· 2 changes

Enhancement Tool: Elixir

Add compile/2, compile_to_path/3 and require/2 which provide detailed information about warnings and errors

Enhancement Tool: Elixir

files/2 and files_to_path/3 are deprecated in favor of compile/2 and compile_to_path/3

Elixir 1.3.3

· 1 change

Enhancement Tool: Elixir

Do not emit deadlock messages when the process is waiting on itself

Elixir 1.3.1

· 1 change

Bugfix Tool: Elixir

Ensure two modules with cyclic struct dependencies cannot run into a deadlock when compiling