Changelog
View SourceURL version 2.0.0 is supported on Elixir 1.13 and later only.
URL v2.0.2
This is the changelog for URL version 2.0.2 released on September 21st, 2025. For older changelogs please consult the release tag on GitHub
Bug Fixes
- Relax
gettextrequirement to allow~> 0.13 or ~> 1.0. Thanks to @jnylen for the PR. Closes #7.
URL v2.0.1
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
Bug Fixes
- Fix compilation warning with nimble_parsec version 1.4.1 and later. Thanks to @serpent213 for the PR. Closes #6.
URL v2.0.0
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
Breaking Change
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.
Deprecations
- Hard deprecates
URL.parse/1
Bug Fixes
- 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.
URL v1.5.0
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.
Bug Fixes
Change to
import Config, notimport Mix.ConfigMake
Jasondependency optional.
URL v1.4.0
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
Deprecations
- Soft deprecated
URL.parse/1in line with Elixir 1.13's deprecation ofURI.parse/1
Enhancements
- Add
URL.new/1andURL.new!/1in line with the preferred API in Elixir 1.13
URL v1.3.1
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
Enhancements
Updates
nimble_parsecdependency to~> 1.0. Thanks to @ghry5Make
ex_docavailable only in:devand:release
URL v1.3.0
This is the changelog for URL version 1.3.0 released on November 1st. For older changelogs please consult the release tag on GitHub
Enhancements
- Support CLDR 38
Bug Fixes
Correct some types to use
map()Fix error resulting from inconsistent use of territories as atoms and strings
URL v1.2.0
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
Enhancements
- Executes
String.trim/1on parsed elements of URI's so that "https:// google.fr" will return "google.fr" as the host, not " google.fr".
URL v1.1.0
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
Enhancements
- Update to
NimbleParsecversion 0.5
URL v1.0.0
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
Enhancements
Supports ex_cldr version 2.0.0. This is an optional dependency.
URL v0.4.0
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
Enhancements
- Adds support for the
uuidURL type. SeeURL.UUID
URL v0.3.0
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
Enhancements
- Adds support for the
mailtoURL type. SeeURL.Mailto
Bug Fixes
- Now correctly uses the
phone-contextparameter when formatting a telelphone number in atelURL.
URL v0.2.0
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
Enhancements
Add specs to public functions
Make several functions private including the
defparsecdefinitions
URL v0.1.0
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
Enhancements
- Initial release of URL