kaitos

kaitos

Elixir 1.3 to 1.5

Hi guys!

Since i have upgrade my elixir version to 1.5 (from 1.3) and erl to OTP 20, a same warning message appears all the time:

warning: the :char_lists inspect option is deprecated, use :charlists instead
(elixir) lib/inspect.ex:266: Inspect.List.inspect/2
(elixir) lib/kernel.ex:1698: Kernel.inspect/2
(ecto) lib/ecto/log_entry.ex:78: Ecto.LogEntry.to_iodata/1
(ecto) lib/ecto/log_entry.ex:42: anonymous fn/1 in Ecto.LogEntry.log/1
(logger) lib/logger.ex:709: Logger.normalize_message/2
(logger) lib/logger.ex:580: Logger.bare_log/3
(ecto) lib/ecto/log_entry.ex:41: Ecto.LogEntry.log/1
(db_connection) lib/db_connection.ex:1178: DBConnection.log/6

How is it possible to fix that problem?

Thank you guys.

Kaitos

First Post!

Gyllsdorff

Gyllsdorff

Have you updated your Ecto version? Otherwise the mix.lock file will keep Ecto at the version you had when you first added Ecto as a dependency.

If thats the problem you can fix it by doing mix deps.unlock ecto

Most Liked

ericmj

ericmj

Elixir Core Team

If mix deps.update --all did not update any dependencies it means you have version requirements on your dependencies in your mix.exs file that does not allow updating. Try changing the version requirements to be less strict or require newer versions. You can also run mix hex.outdated to check if there are newer versions and if your current version requirements allow you to update.

Where Next?

Popular in Questions Top

lastday4you
I wanted to check elixir version in phoenix because i found that my elixir is 1.5 but when i use Enum.chunk_by it said the function is un...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
albydarned
Hello all! I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily dr...
New

Other popular topics Top

vertexbuffer
Hello, can anybody help here..? I have a list of players and I what to delete an element, but every for loop the list is reverting to ori...
New
hariharasudhan94
Lets say I have map like this fetching from my database %{"_id" => #BSON.ObjectId<58eb1a7a9ad169198c3dXXXX>, "email" => ...
New
sen
Hi All, I set a environment variables in dev.exs , like below code. when i start server, how can i set the ${enable} value? thanks. d...
New
sergio_101
I am VERY much an elixir newbie. I have taken one elixir course and one phoenix course on Udemy. During that course, I saw the instructor...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement