Skip to content

Releases: haskell/directory

directory 1.2.7.0

06 Aug 22:17
v1.2.7.0
Compare
Choose a tag to compare
  • Remove deprecated C bits. This means HsDirectory.h and its functions are no longer available. (#50)
  • Add doesPathExist and getFileSize (#57)
  • Add renamePath (#58)
  • Add removePathForcibly (#59)

directory 1.2.6.3

01 May 09:39
v1.2.6.3
Compare
Choose a tag to compare
  • Add missing import of (<*>) on Windows for base earlier than 4.8.0.0 (#53)

directory 1.2.6.2

19 Apr 06:49
v1.2.6.2
Compare
Choose a tag to compare
  • Bundled with GHC 8.0.1
  • Fix typo in file time functions when utimensat is not available and version of unix package is lower than 2.7.0.0

directory 1.2.6.1

19 Apr 07:46
v1.2.6.1
Compare
Choose a tag to compare
  • Fix mistake in file time functions when utimensat is not available (#47)

directory 1.2.6.0

16 Apr 01:51
v1.2.6.0
Compare
Choose a tag to compare
  • Make findExecutable, findExecutables, findExecutablesInDirectories, findFile, and findFilesWith lazier (#43)
  • Add findFileWith
  • Add copyFileWithAttrs, which copies additional metadata (#40)
  • Improve error message of removeDirectoryRecursive when used on a directory symbolic link on Windows.
  • Add isSymbolicLink
  • Drop support for Hugs.

directory 1.2.5.1

14 Feb 05:23
v1.2.5.1
Compare
Choose a tag to compare
  • Improve error message of getCurrentDirectory when the current working directory no longer exists (#39)
  • Fix the behavior of trailing path separators in canonicalizePath as well as makeAbsolute when applied to the current directory; they should now match the behavior of canonicalizePath prior to 1.2.3.0 (when the bug was introduced) (#42)
  • Set the location in IO errors from makeAbsolute.

directory 1.2.5.0

18 Dec 01:35
v1.2.5.0
Compare
Choose a tag to compare
  • Add listDirectory, which is similar to getDirectoryContents but omits . and .. (#36)
  • Remove support for --with-cc= in configure; use the CC= flag instead (ghc:D1608)

directory 1.2.4.0

22 Sep 23:58
v1.2.4.0
Compare
Choose a tag to compare
  • Work around lack of #const_str when cross-compiling (haskell-cafe)
  • Add findExecutablesInDirectories (#33)
  • Add exeExtension

directory 1.2.3.1

15 Aug 11:16
v1.2.3.1
Compare
Choose a tag to compare
  • Restore support for Safe Haskell with base < 4.8 (#30)

directory 1.2.3.0

13 Jul 21:59
v1.2.3.0
Compare
Choose a tag to compare
  • Add support for XDG Base Directory Specification (#6)
  • Implement setModificationTime counterpart to getModificationTime (#13)
  • Implement getAccessTime and setAccessTime
  • Fix canonicalizePath so that it always returns a reasonable result even if the path is inaccessible and will not throw exceptions unless the current directory cannot be obtained (#23)
  • Corrected the trailing slash behavior of makeAbsolute so that makeAbsolute "" == makeAbsolute "."
  • Deprecate use of HsDirectory.h and HsDirectoryConfig.h