phoenixframework / phoenix

Peace of mind from prototype to production
https://www.phoenixframework.org
MIT License
21.36k stars 2.87k forks source link

Got massive spam: "String.from_char_list!/1 is deprecated" #77

Closed dvv closed 10 years ago

dvv commented 10 years ago

Current master of elixir, phoenix, freshest erlang: mix phoenix.start

String.from_char_list!/1 is deprecated, please use String.from_char_data!/1 instead
    (elixir) lib/string.ex:1204: String.from_char_list!/1
    lib/ex_conf/utils.ex:5: ExConf.Utils.capitalize/1
    lib/ex_conf/config.ex:96: ExConf.Config.conf_module_for_env/2
    lib/phoenix/plugs/code_reloader.ex:7: Phoenix.Plugs.CodeReloader.call/2
    lib/foo/router.ex:1: anonymous fn/1 in Foo.Router.call/2
    lib/phoenix/plugs/error_handler.ex:8: Phoenix.Plugs.ErrorHandler.wrap/3
    lib/plug/adapters/cowboy/handler.ex:9: Plug.Adapters.Cowboy.Handler.init/3
josevalim commented 10 years ago

I will remove those from Elixir master so everyone can have more peace migrating to v0.13.1.

josevalim commented 10 years ago

(I.e. this can be closed for now)

dvv commented 10 years ago

) I locally patched ex_conf for now and I believe it's on their side. I'd ask you to kindly not remove the warning )

josevalim commented 10 years ago

@dvv I am removing because many people already complained about those. :) We can always wait a new release to introduce them and as such go easy on everyone!

dvv commented 10 years ago

Fixed due to changes in Elixir. Thanks!