You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URL.new/1 now always returns a tuple of the form {:ok, t:URL.t/0} or {:error, {module(), String.t()}}. The previous versions embedded error tuples in the return structure making is too complex to determine if there was a parsing error on the path data. This approach also makes it more straight forward to implement tests that return errors.
Deprecations
Hard deprecates URL.parse/1
Bug Fixes
Remove warnings for unused variables when neither ex_phone_number or ex_cldr are configured (these are both optional dependencies). Thanks to @shahryarjb for the report. Closes #5.