Commit Graph
3659 Commits
Author SHA1 Message Date
Steffen Deusch 0487e4dd8a Add compilers option to Mix.install/2 (#14577) 2025-06-22 11:54:12 -07:00
José Valim 5f2633a305 Do no start listeners if --no-deps-check is given 2025-06-11 12:08:45 +02:00
Jean Klingler 7da4d6570b Remove redundant memory-per-call test (#14572) 2025-06-11 16:03:44 +09:00
Tomasz Marek Sulima 7ef6905484 Sort by call on tprof memory tests (Erlang/OTP 28) (#14565) 2025-06-09 22:25:47 +02:00
José Valim 57ed90d5b7 Also download rebar3 automatically when compiling 2025-06-08 19:13:05 +02:00
José Valim 09dcbf7566 Introduce deprecations scheduled for Elixir v1.20 2025-06-07 21:55:06 +02:00
José Valim b1053b75c5 Use binary appending now that we require Erlang/OTP 26
Prompt
======

There is a format/2 function in inspect/algebra.ex that
calls format/3 recursively that returns a list of binaries.
Instead of doing so, I want you to pass a binary as accumulator,
<<>>, and then instead of `[head | format(...)]`, on every
operation you will do `format(<<acc::binary, result::binary>>, ...)`.

Notes
=====

The assistant was able to detect an issue with `collapse/4`
but it was unable to fix it. That and the changes to
mix/tasks/format.ex were addressed manually.
2025-06-07 12:46:47 +02:00
José Valim 1f07dff853 Also version rebar dependencies according to otp-elixir-scm, closes #14548 2025-06-02 16:06:53 +02:00
Michał Łępicki 8442f697f5 Do not pass invalid option case: :lower to url_encode64 (#14550) 2025-05-31 11:13:26 +02:00
José Valim 13f0eef2ca Reduce filesystem names on Mix.install, see #14543 2025-05-29 17:16:56 +02:00
José Valim 99145c7ed4 Add Mix.Task.Compiler.run/2 2025-05-27 08:45:22 +02:00
José Valim 336627d474 Clarify and link to config modules, closes #14533 2025-05-26 10:13:39 +02:00
José Valim 719ffce5ea Clarify use of environment variables 2025-05-22 15:36:53 +02:00
José Valim 51e160e6f8 Add OTP 28 to CI (#14510) 2025-05-21 13:48:13 +02:00
Wojtek Mach 8b79681fa7 mix release: Fix RELEASE_SYS_CONFIG for Windows 11 (#14495)
wmic is no longer available on Windows 11.

As a reminder, this codepath is only hit when setting:

    reboot_system_after_config: true

So I'd guess few users were affected.
2025-05-15 09:42:54 +02:00
Eksperimental 5eacb11ff0 Fix grammar: published on Hex.pm (#14481) 2025-05-09 20:43:02 +02:00
José Valim d1cc9900b8 Document hex options 2025-05-09 19:30:58 +02:00
Wojtek Mach 5fbf793e04 Install Hex and Rebar per OTP release (#14477) 2025-05-09 15:44:11 +02:00
José Valim 9076a521ab Add --no-listeners to mix compile and mix run 2025-05-08 10:18:39 +02:00
Jechol Lee 3c3637cc4a Make --min-cycle-size in mix xref graph inclusive (#14475)
Updates cycle filtering logic to include cycles matching the minimum size.
Improves test cases to ensure accurate handling of `min_cycle_size` scenarios.

Closes #14474
2025-05-07 09:03:48 +02:00
José Valim 7c6e95f89a Simply touch if file does not yet exist 2025-05-04 11:51:50 +02:00
José Valim 2b15408a66 Ensure compile.lock timestamp is bumped, closes #14464 2025-05-04 11:28:17 +02:00
João Paulo Abreu 2a30332f25 Docs: fix inverted markdown link format in Mix.Tasks.Xref (#14458) 2025-04-30 21:23:23 +09:00
José Valim b9129130f5 Allow verification to be disabled with MIX_DEBUG=1 2025-04-28 18:30:29 +02:00
José Valim 041d59b4f8 Add each_long_verification_threshold, closes #14336 2025-04-28 13:56:06 +02:00
José Valim f7f82b2c21 Support debugging the PID in slow compilation 2025-04-28 13:18:27 +02:00
José Valim 64a387da82 Load modules lazily and only if needed (#14453) 2025-04-28 12:45:25 +02:00
José Valim 7e33cee28f Avoid purging non-loaded modules 2025-04-26 09:01:07 +02:00
José Valim 641ac05b5c Ensure git checkout works with untracked files (#14428)
Closes #14425.
2025-04-25 14:45:55 +02:00
José Valim 920a6a0a42 Consistenly apply timeouts across suites (#14444)
Closes #14443.
2025-04-18 12:11:12 +02:00
Eksperimental ea2ae22cc0 Sort entries alphabetically in .gitignore generated by mix new task (#14439) 2025-04-16 08:06:49 +02:00
Eksperimental b1cbe7adc9 Send warnings to stderr in Erlang compiler (#14437)
Aligns compiler to these changes: https://github.com/erlang/otp/pull/9363

Related PR: https://github.com/elixir-lang/elixir/pull/14018
2025-04-15 08:23:30 +02:00
Andrew Timberlake f5e28b626b Update info message to respect release quiet option (#14413) 2025-04-08 11:10:21 +02:00
José Valim 10cc7e995e Ensure more deprecated functionality is removed from coverage 2025-04-07 22:54:20 +02:00
Jonatan Männchen f3e8ceb5aa Implement Test Coverage Reporting (#14343) 2025-04-07 22:37:01 +02:00
Alex Naser 32571b45fa Return --exit-status + 1 when warnings as errors and test failures (#14405) 2025-04-07 21:15:47 +02:00
José Valim 207f5aaa16 mix format 2025-04-06 23:17:00 +02:00
José Valim d403bb9187 Rely on OS certificates for downloading Hex/Rebar manifests 2025-04-06 10:35:57 +02:00
José Valim aca578bb88 Add a note about native code in mix releases, closes #14386 2025-04-01 18:49:54 +02:00
Jonatan Männchen 2a2765c2e0 Update test coverage summary to produce a markdown-ish table (#14384)
This allows the table to embedded into places that support Markdown rendering.
2025-04-01 15:14:47 +02:00
José Valim e7b235f0ed Do not run listeners when not checking the deps 2025-03-26 17:04:55 +01:00
José Valim 53b7e55dd7 Print a project is recompiled when elixir, otp, or scm changed and MIX_DEBUG is set, closes #14325 2025-03-25 13:42:30 +01:00
José Valim 05855afe2f Pass environment and target forward in mix deps.partition 2025-03-24 22:09:09 +01:00
ruslandoga cf34fccd4a Retry mix httpc with disabled middlebox_comp_mode (#14357)
Closes #14356
2025-03-24 22:07:02 +01:00
José Valim 3dc3f4e3f1 Add MIX_OS_DEPS_COMPILE_PARTITION_COUNT for concurrent deps compilation (#14340) 2025-03-24 15:32:49 +01:00
Michał Łępicki ba48980edb Fix Mix.Utils.write_json_tree!/4 spec (#14345) 2025-03-18 23:00:22 +01:00
José Valim 8e49286b05 Fix type on --format option in mix xref 2025-03-17 16:14:10 +01:00
José Valim 0f3a8f09d2 Remove concurrency configuration on mix tests as it did not affect Windows CI 2025-03-17 14:25:10 +01:00
José Valim 32529195f8 Revert to previous printing message for compatibility 2025-03-17 12:25:11 +01:00
Yves OrtonandYves Orton dd672b168d mix xref graph - rework cycles output description (#14330)
Include a link to the wikipedia article on strongly connected
components, and use the term in the output for clarity.

Co-authored-by: Yves Orton <yves.orton@remote.com>
2025-03-17 11:15:54 +01:00