Skip to content
Tags give the ability to mark specific points in history as being important
  • v1.2.7.0
    directory 1.2.7.0
    
      * Remove deprecated C bits.  This means HsDirectory.h and its functions
        are no longer available.
        ( https://github.com/haskell/directory/issues/50 )
    
      * Add doesPathExist and getFileSize
        ( https://github.com/haskell/directory/issues/57 )
    
      * Add renamePath
        ( https://github.com/haskell/directory/issues/58 )
    
      * Add removePathForcibly
        ( https://github.com/haskell/directory/issues/59 )
    
  • v1.2.6.3
    directory 1.2.6.3
    
      * Add missing import of (<*>) on Windows for base earlier than 4.8.0.0
        ( https://github.com/haskell/directory/issues/53 )
    
  • v1.2.6.2
    directory 1.2.6.2
    
      * Fix typo in file time functions when utimensat is not available and
        version of unix package is lower than 2.7.0.0
    
  • v1.2.6.1
    8bb9760d · Bump version to 1.2.6.1 ·
    directory 1.2.6.1
    
      * Bundled with GHC 8.0.1
    
      * Fix mistake in file time functions when utimensat is not available
        ( https://github.com/haskell/directory/pull/47 )
    
  • v1.2.6.0
    directory 1.2.6.0
    
      * Bundled with GHC 8.0.1
    
      * Make findExecutable, findExecutables, findExecutablesInDirectories,
        findFile, and findFilesWith lazier
        ( https://github.com/haskell/directory/issues/43 )
    
      * Add findFileWith
    
      * Add copyFileWithAttrs, which copies additional metadata
        ( https://github.com/haskell/directory/issues/40 )
    
      * Improve error message of removeDirectoryRecursive when used on a
        directory symbolic link on Windows.
    
      * Add isSymbolicLink
    
      * Drop support for Hugs.
    
  • v1.2.5.1
    directory 1.2.5.1
    
      * Improve error message of getCurrentDirectory when the current working
        directory no longer exists
        ( https://github.com/haskell/directory/issues/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)
        ( https://github.com/haskell/directory/issues/42 )
    
      * Set the location in IO errors from `makeAbsolute`.
    
  • v1.2.5.0
    directory 1.2.5.0
    
      * Add listDirectory, which is similar to getDirectoryContents
        but omits . and ..
        ( https://github.com/haskell/directory/pull/36 )
    
      * Remove support for --with-cc= in configure; use the CC= flag instead
        ( https://phabricator.haskell.org/D1608 )
    
  • v1.2.4.0
    directory 1.2.4.0
    
      * Work around lack of #const_str when cross-compiling
        ( https://mail.haskell.org/pipermail/haskell-cafe/2015-August/120892.html )
    
      * Add findExecutablesInDirectories
        ( https://github.com/haskell/directory/pull/33 )
    
      * Add exeExtension
    
  • v1.2.3.1
    directory 1.2.3.1
    
      * Restore support for Safe Haskell with base < 4.8
        ( https://github.com/haskell/directory/issues/30 )
    
  • v1.2.3.0
    4449af7e · Update date in changelog ·
    directory 1.2.3.0
    
      * Add support for XDG Base Directory Specification
        ( https://github.com/haskell/directory/issues/6 )
    
      * Implement setModificationTime counterpart to getModificationTime
        ( https://github.com/haskell/directory/issues/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
        ( https://github.com/haskell/directory/issues/23 )
    
      * Corrected the trailing slash behavior of makeAbsolute so that
        makeAbsolute "" == makeAbsolute "."
    
      * Deprecate use of HsDirectory.h and HsDirectoryConfig.h
    
  • v1.2.2.1
    directory 1.2.2.1
    
  • v1.2.2.0
    72332489 · Allow filepath-1.4 ·
    directory 1.2.2.0
    
  • directory-1.2.1.0-release
    directory 1.2.1.0
    
      * Bundled with GHC 7.8.1
      * Add support for sub-second precision in `getModificationTime` when
        linked against `unix>=2.6.0.0`
      * Fix `createDirectoryIfMissing _ "."` in `C:\` on Windows
      * Remove support for NHC98 compiler
      * Update package to `cabal-version >= 1.10` format
      * Enhance Haddock documentation for `doesDirectoryExist` and
        `canonicalizePath`
      * Fix `findExecutable` to check that file permissions indicate executable
      * New convenience functions `findFiles` and `findFilesWith`