Shouldn't be 1.15.4 the value for elixir in mix.exs file?

Hello there all,

I just y’all know I am just diving into Elixir/Phoenix, by taking a look at the generated files by mix ... I couldn’t help noticing the mix.exs contains the following code.

  def project do
      app: :app_name,
      version: "0.1.0",
      elixir: "~> 1.14",

Is it OK for the elixir value to be 1.14?

Running elixir --version gets me

Erlang/OTP 26 [erts-14.0.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [jit:ns]

Elixir 1.15.4 (compiled with Erlang/OTP 26)

No big deal, just out of curiosity.

Cool, thanks. Have a good one over there.


Bumping the Elixir version would mean that many who have version 1.14 installed would not be able to use the newest version of phoenix.


That’s the minimum supported version and Phoenix guarantees that a new app runs on v1.14 or later. As you build the app, you may use newer Elixir features or you may want all of your team mates to be on the same version, and it is ok for you to go ahead and change it.



Thank you very much for taking the time to answer guys, this community is cool.

Happy weekend!