-
v1.3.5.0fa82f5c1 · ·
directory 1.3.5.0 * Revert change introduced in the version 1.3.3.2: Non-absolute XDG_* environment variables are ignored. This behavior is according to XDG Base Directory Specification version 0.7 ( https://specifications.freedesktop.org/basedir-spec/0.7/ar01s02.html ) ( https://github.com/haskell/directory/issues/100 )
-
v1.3.1.1010c986e · ·
directory 1.3.1.1 * Fix a bug where createFileLink and createDirectoryLink failed to handle .. in absolute paths. * Improve support (partially) for paths longer than 260 characters on Windows. To achieve this, many functions will now automatically prepend \\?\ before calling the Windows API. As a side effect, the \\?\ prefix may show up in the error messages of the affected functions. * makeAbsolute can now handle drive-relative paths on Windows such as C:foobar
-
v1.3.1.0cdd480fe · ·
directory 1.3.1.0 * findFile (and similar functions): when an absolute path is given, the list of search directories is now completely ignored. Previously, if the list was empty, findFile would always fail. ( https://github.com/haskell/directory/issues/72 ) * For symbolic links on Windows, the following functions had previously interpreted paths as referring to the links themselves rather than their targets. This was inconsistent with other platforms and has been fixed. * getFileSize * doesPathExist * doesDirectoryExist * doesFileExist * Fix incorrect location info in errors from pathIsSymbolicLink. * Add functions for symbolic link manipulation: * createFileLink * createDirectoryLink * removeDirectoryLink * getSymbolicLinkTarget * canonicalizePath can now resolve broken symbolic links too. ( https://github.com/haskell/directory/issues/64 )
-
v1.3.0.065d1d85a · ·
directory 1.3.0.0 * Drop trailing slashes in canonicalizePath ( https://github.com/haskell/directory/issues/63 ) * Rename isSymbolicLink to pathIsSymbolicLink. The old name will remain available but may be removed in the next major release. ( https://github.com/haskell/directory/issues/52 ) * Changed canonicalizePath to dereference symbolic links even if it points to a file and is not the last path segment * On Windows, canonicalizePath now canonicalizes the letter case too * On Windows, canonicalizePath now also dereferences symbolic links * When exceptions are thrown, the error location will now contain additional information about the internal function(s) used.