URL version 2.0.0 is supported on Elixir 1.13 and later only.
This is the changelog for URL version 2.0.1 released on January 26th, 2025. For older changelogs please consult the release tag on GitHub
- Fix compilation warning with nimble_parsec version 1.4.1 and later. Thanks to @serpent213 for the PR. Closes #6.
This is the changelog for URL version 2.0.0 released on August 4th, 2023. For older changelogs please consult the release tag on GitHub
URL.new/1now 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.
- Hard deprecates
URL.parse/1
- Remove warnings for unused variables when neither
ex_phone_numberorex_cldrare configured (these are both optional dependencies). Thanks to @shahryarjb for the report. Closes #5.
This is the changelog for URL version 1.5.0 released on July 28th, 2023. For older changelogs please consult the release tag on GitHub
URL version 1.5.0 is supported on Elixir 1.11 and later only.
-
Change to
import Config, notimport Mix.Config -
Make
Jasondependency optional.
This is the changelog for URL version 1.4.0 released on October 30th, 2021. For older changelogs please consult the release tag on GitHub
- Soft deprecated
URL.parse/1in line with Elixir 1.13's deprecation ofURI.parse/1
- Add
URL.new/1andURL.new!/1in line with the preferred API in Elixir 1.13
This is the changelog for URL version 1.3.1 released on May 12th, 2021. For older changelogs please consult the release tag on GitHub
-
Updates
nimble_parsecdependency to~> 1.0. Thanks to @ghry5 -
Make
ex_docavailable only in:devand:release
This is the changelog for URL version 1.3.0 released on November 1st. For older changelogs please consult the release tag on GitHub
- Support CLDR 38
-
Correct some types to use
map() -
Fix error resulting from inconsistent use of territories as atoms and strings
This is the changelog for URL version 1.2.0 released on January 23rd, 2020. For older changelogs please consult the release tag on GitHub
- Executes
String.trim/1on parsed elements of URI's so that "https:// google.fr" will return "google.fr" as the host, not " google.fr".
This is the changelog for URL version 1.1.0 released on April 7th, 2019. For older changelogs please consult the release tag on GitHub
- Update to
NimbleParsecversion 0.5
This is the changelog for URL version 1.0.0 released on November 25th, 2018. For older changelogs please consult the release tag on GitHub
-
Supports ex_cldr version 2.0.0. This is an optional dependency.
-
Add
URL.parse_query_string/1
This is the changelog for URL version 0.4.0 released on October 18th, 2018. For older changelogs please consult the release tag on GitHub
- Adds support for the
uuidURL type. SeeURL.UUID
This is the changelog for URL version 0.3.0 released on October 16th, 2018. For older changelogs please consult the release tag on GitHub
- Adds support for the
mailtoURL type. SeeURL.Mailto
- Now correctly uses the
phone-contextparameter when formatting a telelphone number in atelURL.
This is the changelog for URL version 0.2.0 released on October 13th, 2018. For older changelogs please consult the release tag on GitHub
-
Add specs to public functions
-
Make several functions private including the
defparsecdefinitions
This is the changelog for URL version 0.1.0 released on October 13th, 2018. For older changelogs please consult the release tag on GitHub
- Initial release of URL