2.3.0 (2015-12-17)
Url::makeRelative()
for calculating relative paths between URLsPath::makeRelative()
to trim leading dots when moving outside of
the base path2.2.3 (2015-10-05)
Path::makeRelative()
to produce ..
when called with the parent
directory of a path2.2.2 (2015-08-24)
Path::makeAbsolute()
does not fail anymore if an absolute path is passed
with a different root (partition) than the base path2.2.1 (2015-08-24)
2.2.0 (2015-08-14)
Path::normalize()
2.1.0 (2015-07-14)
Path::canonicalize()
now turns ~
into the user's home directory on
Unix and Windows 8 or later.2.0.0 (2015-05-21)
Path::join()
Path
methods now throw exceptions if parameters with invalid types are
passedPath::canonicalize()
in order to increase the
performance of the Path
class1.1.0 (2015-03-19)
Path::getFilename()
Path::getFilenameWithoutExtension()
Path::getExtension()
Path::hasExtension()
Path::changeExtension()
Path::makeRelative()
now works when the absolute path and the base path
have equal directory names beneath different base directories
(e.g. "/webmozart/css/style.css" relative to "/puli/css")
1.0.2 (2015-01-12)
Path::makeAbsolute()
fails now if the base path is not absolutePath::makeRelative()
now works when a relative path is passed and the base
path is empty1.0.1 (2014-12-03)
Path::makeRelative()
when first argument is shorter than second1.0.0 (2014-11-26)