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
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
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.
Popular in Questions
Other popular topics
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #channels
- #elixirconf
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixir-ls
- #phoenix_html
- #iex
- #blog-post
- #graphql
- #genstage
- #ai
- #websockets
- #supervisor
- #elixirconf-us
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #security
- #hex









