Module

Path

Changes by version

Elixir 1.16.2

· 1 change

Bugfix Tool: Elixir

Fix regression on how Path.relative_to/2 dealt with "." as input

Elixir 1.16.0

· 3 changes

Bugfix Tool: Elixir

Lazily evaluate File.cwd!/0 in Path.expand/1 and Path.absname/1

Bugfix Tool: Elixir

Ensure Path.relative_to/2 returns a relative path when the given argument does not share a common prefix with cwd

Enhancement Tool: Elixir

Deprecate Path.safe_relative_to/2 in favor of Path.safe_relative/2

Elixir 1.14.3

· 1 change

Bugfix Tool: Elixir

Make sure Path.wildcard/2 expands .. symlinks accordingly

Elixir 1.14.0

· 1 change

Enhancement Tool: Elixir

Add Path.safe_relative/1 and Path.safe_relative_to/2

Elixir 1.12.0

· 2 changes

Bugfix Tool: Elixir

Fix Path.relative_to/2 when referencing self

Bugfix Tool: Elixir

Do not crash when a volume is given to Path.absname/1, such as "c:"

Elixir 1.10.0

· 1 change

Bugfix Tool: Elixir

Fix Path.absname/1 to correctly handle UNC paths on Windows

Elixir 1.9.0

· 1 change

Bugfix Tool: Elixir

Do not expand ~ in Path.expand/2 when not followed by a path separator

Elixir 1.5.0

· 1 change

Bugfix Tool: Elixir

Ensure recursive path operations raise on paths with null bytes (security issue reported by Griffin Byatt)

Elixir 1.4.1

· 1 change

Bugfix Tool: Elixir

Ensure Path.join/1 returns strings for lists of one element

Elixir 1.2.6

· 1 change

Bugfix Tool: Elixir

Fix a bug in path join with "/" followed by empty segments

Elixir 1.2.0

· 1 change

Bugfix Tool: Kernel

Do not crash when expanding paths that go beyond the root, for example, Path.expand("/../..")

Elixir 0.15.1

· 1 change

Enhancement Tool: Elixir

Do not normalize paths in Path.join/2 as normalization is beyond the scope of such function

Elixir 0.14.1

· 2 changes

Enhancement Tool: Elixir

Fix path expansion of "/.."

Enhancement Tool: Elixir

Do not match files starting with . in Path.wildcard/2 by default

Elixir 0.14.0

· 1 change

Enhancement Tool: Elixir

Fix Path.absname("/") and Path.expand("/") to return the absolute path "/".

Elixir 0.13.1

· 2 changes

Enhancement Tool: Elixir

The functions in Path now only emit strings as result, regardless if the input was a char list or a string

Enhancement Tool: Elixir

Atoms are no longer supported in Path functions

Elixir 0.10.2

· 1 change

Enhancement Tool: Elixir

Add Path.relative_to_cwd/2