configparser_ex
configparser_ex copied to clipboard
Deprecation warning after Elixir 1.20 upgrade
Since Elixir 1.20 upgrade, I get the runtime warning
warning: File.stream!(path, modes, line_or_byte) is deprecated, invoke File.stream!(path, line_or_bytes, modes) instead
(elixir 1.20.0) lib/file.ex:2256: File.stream!/3
(configparser_ex 5.0.0) lib/configparser.ex:67: ConfigParser.parse_file/2
.....
It is not immediately clear to me whether a PR to fix that would break older versions of Elixir.
Was the same for configparser_ex 4.x
Regards
I think File.stream!(path, line_or_bytes, modes) should work versions at least as far back as 1.17
I have added a PR https://github.com/easco/configparser_ex/pull/16
PR Merged - closing