Module

mix xref

Changes by version

Elixir 1.19.4

· 1 change

Enhancement Tool: Mix

Add --min-cycle-label to help projects adapt to the more precise mix xref graph reports in Elixir v1.19. In previous versions, Elixir would break a large compilation cycle into several smaller ones, and therefore developers would check for --min-cycle-size on CI. However, the issue is not the size of the cycle (it has no implication in the amount of compiled files), but how many compile-time dependencies (aka compile labels) in a cycle. The new option allows developers to filter on the label parameter

Elixir 1.17.3

· 1 change

Bugfix Tool: Mix

Respect the --label option on stats and cycles

Elixir 1.15.0

· 1 change

Bugfix Tool: Mix

Raise early if mix xref is used at the umbrella root

Elixir 1.14.0

· 2 changes

Enhancement Tool: Mix

Support --group flag in mix xref graph

Bugfix Tool: Mix

Do not emit already consolidated warnings during mix xref trace

Elixir 1.13.0

· 4 changes

Enhancement Tool: Mix

Support multiple sinks and sources in mix xref graph

Enhancement Tool: Mix

Add trace subcommand to print compilation dependencies between files

Enhancement Tool: Mix

Add --fail-above option to mix xref

Enhancement Tool: Mix

Add --label compile-connected to mix xref

Elixir 1.12.0

· 1 change

Bugfix Tool: Mix

Ensure args are passed to the underlying mix compile call

Elixir 1.11.3

· 1 change

Bugfix Tool: Mix

Do not crash when retrieving calls for modules in memory

Elixir 1.11.0

· 3 changes

Enhancement Tool: Mix

Make the --label option for mix xref graph transitive by default and add --only-direct for only direct dependencies

Enhancement Tool: Mix

Add --format cycles support for mix xref graph

Enhancement Tool: Mix

Add support to mix xref graph for using --source and --sink at the same time

Elixir 1.10.0

· 2 changes

Enhancement Tool: Mix

calls/0 is deprecated in favor of compiler tracer

Enhancement Tool: Mix

The xref.exclude option has been moved to elixirc_options.no_warn_undefined as the xref pass has been moved into the compiler

Elixir 1.6.0

· 6 changes

Enhancement Tool: Mix

Support --include-siblings in reports for umbrella support

Enhancement Tool: Mix

Add mix xref graph --format stats

Enhancement Tool: Mix

Add --only-nodes and --label filters to mix xref graph

Enhancement Tool: Mix

Add mix xref deprecated that shows the callsite of deprecated functions

Bugfix Tool: Mix

Take compile dependencies with higher priority than runtime ones when building a graph

Bugfix Tool: Mix

Handle external files for xref callers and warnings

Elixir 1.4.0

· 1 change

Enhancement Tool: Mix

Provide "did you mean?" suggestions for mix xref