Module

URI

Changes by version

Elixir 1.19.0

· 1 change

Bugfix Tool: Elixir

Several fixes to URI.merge/2 related to trailing slashes, trailing dots, and hostless base URIs

Elixir 1.18.0

· 1 change

Bugfix Tool: Elixir

Fix a bug when a schemaless URI is given to URI.merge/2

Elixir 1.16.3

· 1 change

Bugfix Tool: Elixir

Ensure :undefined fields are properly converted to nil when invoking Erlang's API

Elixir 1.15.8

· 1 change

Bugfix Tool: Elixir

Ensure :undefined fields are properly converted to nil when invoking Erlang's API

Elixir 1.15.0

· 2 changes

Enhancement Tool: Elixir

Add URI.append_path/2

Bugfix Tool: Elixir

Make sure URI.merge/2 works accordingly with relative paths

Elixir 1.14.1

· 1 change

Enhancement Tool: Elixir

Do not return uri.port as :undefined in certain cases in URI.new/1

Elixir 1.14.0

· 1 change

Enhancement Tool: Elixir

Add URI.append_query/2

Elixir 1.13.1

· 2 changes

Bugfix Tool: Elixir

Undeprecate URI.parse/1 as URI.new/1 is too strict in many common cases

Bugfix Tool: Elixir

Make sure URI.new/1 returns nil for empty paths

Elixir 1.13.0

· 3 changes

Enhancement Tool: Elixir

Add URI.new/1 and URI.new!/1

Bugfix Tool: Elixir

Only percent decode if followed by hex digits (according to https://url.spec.whatwg.org/#percent-decode)

Enhancement Tool: Elixir

URI.parse/1 is deprecated in favor of URI.new/1 and URI.new!/1

Elixir 1.12.0

· 2 changes

Enhancement Tool: Elixir

Support RFC3986 compliant encoding and decoding of queries via the :rfc3986 option

Bugfix Tool: Elixir

Do not discard empty paths on URI.merge/2

Elixir 1.11.0

· 1 change

Bugfix Tool: Elixir

URI.decode_query/2 emits an empty string for parameters without values, according to URL's living standard - note this behaviour is not specified in the spec implemented by the URI module, so the living standard was chosen

Elixir 1.10.0

· 2 changes

Bugfix Tool: Elixir

Preserve slashes in URIs without authority

Bugfix Tool: Elixir

Require a nil or an absolute path on URIs with host or authority

Elixir 1.6.5

· 1 change

Bugfix Tool: Elixir

Fix parsing of URIs with trailing ?

Elixir 1.6.0

· 1 change

Bugfix Tool: Elixir

Preserve empty fragments in URI.parse/1

Elixir 1.4.0

· 1 change

Enhancement Tool: Elixir

Allow 0 as URI scheme default port

Elixir 1.3.0

· 3 changes

Enhancement Tool: Elixir

Add URI.merge/2

Bugfix Tool: Elixir

Use square brackets for IPv6 in URI.to_string/1

Enhancement Tool: Elixir

Passing a non-map to URI.decode_query/2 is deprecated

Elixir 1.1.0

· 2 changes

Enhancement Tool: Elixir

Default ports were added for "ws" and "wss" schemas

Enhancement Tool: Elixir

Add URI.to_string/1

Elixir 1.0.4

· 1 change

Enhancement Tool: Elixir

Speed decoding operations

Elixir 1.0.3

· 1 change

Enhancement Tool: Elixir

Do more strict matching on URI schema

Elixir 0.15.1

· 1 change

Enhancement Tool: Elixir

to_string/1 now properly converts URI to strings when the schema is missing

Elixir 0.14.2

· 1 change

Enhancement Tool: Elixir

Allow parse/1 now accepts %URI{} as argument and return the uri itself

Elixir 0.14.1

· 1 change

Enhancement Tool: Elixir

encode/1 does not escape reserved/unreserved characters by default nor encodes whitespace as + (check URI.encode_www_form/1 and URI.decode_www_form/1 for previous behaviour)

Elixir 0.13.2

· 1 change

Enhancement Tool: Elixir

The URI.Info record has now become the URI struct

Elixir 0.12.5

· 2 changes

Enhancement Tool: Elixir

URI.decode_query/1 is deprecated in favor of URI.decode_query/2 with explicit dict argument

Enhancement Tool: Elixir

Passing lists as key or values in URI.encode_query/1 is deprecated

Elixir 0.11.1

· 1 change

Enhancement Tool: Elixir

Allow lowercase escapes in URI

Elixir 0.10.2

· 1 change

Enhancement Tool: Elixir

URI.parse/1 supports IPv6 addresses

Elixir 0.10.0

· 1 change

Enhancement Tool: Elixir

Remove custom URI parsers in favor of URI.default_port/2