Let me provide the narrative to give better context. 1. I ran code written for 1.3 on 1.2.6. 2. It spit out an error about convert_time_units not supporting :micro_seconds. 3. I looked at the change log and found nothing about convert_time_units. 4. I looked at the 1.3 documentation and found the type to be http://elixir-lang.org/docs/master/elixir/System.html#t:time_unit/0 . I saw a good explanation of why Elixir uses different unit names than Erlang. 5. I looked at the 1.2.6 documentation and found Erlang time units were required. 6. I assumed that Erlang time units were no longer supported (because there is a clear change in spec that says they aren't). 7. I adapted my code on the assumption that users of 1.3 would need to use micro_seconds and users of 1.2.6 would need to use microseconds. I can probably simplify it to always use microseconds for now.
On Sun, Jul 3, 2016, 2:32 PM José Valim <[email protected]> wrote: > My point is less about whether this is right or wrong. I'm just providing >> a data point that greater than zero library developers find this difference >> between minor versions is confusing and not well documented. >> > In which sense is this confusing? Where did you look for information and > you could not find? I am trying to see what we can do to improve it. > > Other than that, we are backwards compatible but it is expected new > versions will receive new arguments and options that are not handled by > previous versions. > > -- > You received this message because you are subscribed to the Google Groups > "elixir-lang-talk" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4Lk3N%3D6MOMHX6CNLa3oGMOhP-H70LuFpCTif1043WGNsQ%40mail.gmail.com > <https://groups.google.com/d/msgid/elixir-lang-talk/CAGnRm4Lk3N%3D6MOMHX6CNLa3oGMOhP-H70LuFpCTif1043WGNsQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "elixir-lang-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-talk/CAOMhEnwRQkTHEWr3a7xNE-a5XEsTEX-C%3DMwymR1VugbPXvhSmA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
