Skip to content

Releases: haskell/directory

directory 1.3.1.5

09 Oct 17:06
v1.3.1.5
Compare
Choose a tag to compare
  • Rename the internal header windows.h to avoid GHC#14312. (#77)

directory 1.3.1.4

26 Sep 04:33
v1.3.1.4
Compare
Choose a tag to compare
  • Fix Win32 version 2.6 compatibility.

directory 1.3.1.3

25 Sep 04:06
v1.3.1.3
Compare
Choose a tag to compare
  • Relax Win32 version bounds to support 2.6.

directory 1.3.1.2

16 Sep 00:30
v1.3.1.2
Compare
Choose a tag to compare
  • Relax base version bounds to support 4.11.

directory 1.3.1.1

14 Mar 14:37
v1.3.1.1
Compare
Choose a tag to compare
  • 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

directory 1.3.1.0

02 Mar 08:14
v1.3.1.0
Compare
Choose a tag to compare
  • 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. (#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. (#64)

directory 1.3.0.2

16 Feb 05:51
v1.3.0.2
Compare
Choose a tag to compare
  • [optimization] Increase internal buffer size of copyFile (#69)
  • Relax time version bounds to support 1.8.

directory 1.3.0.1

19 Jan 00:09
v1.3.0.1
Compare
Choose a tag to compare
  • Relax Win32 version bounds to support 2.5. (#67)

directory 1.3.0.0

06 Dec 18:33
v1.3.0.0
Compare
Choose a tag to compare
  • Drop trailing slashes in canonicalizePath (#63)
  • Rename isSymbolicLink to pathIsSymbolicLink. The old name will remain available but may be removed in the next major release. (#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.

directory 1.2.7.1

21 Nov 09:11
v1.2.7.1
Compare
Choose a tag to compare
  • Don't abort removePathForcibly if files or directories go missing. In addition, keep going even if an exception occurs. (#60)