Skip to content
Tags give the ability to mark specific points in history as being important
This project is mirrored from https://github.com/haskell/directory. Pull mirroring updated .
  • v1.3.1.2
    955e05ee · Bump version to 1.3.1.2 ·
    directory 1.3.1.2
    
      * Relax base version bounds to support 4.11.
    
  • v1.3.1.1
    010c986e · Update changelog date ·
    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.0
    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.2
    af307f52 · Support time-1.8 ·
    directory 1.3.0.2
    
      * [optimization] Increase internal buffer size of copyFile
        ( https://github.com/haskell/directory/pull/69 )
    
      * Relax time version bounds to support 1.8.
    
  • v1.3.0.1
    directory 1.3.0.1
    
      * Relax Win32 version bounds to support 2.5.
        ( https://github.com/haskell/directory/pull/67 )
    
  • v1.3.0.0
    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.
    
  • v1.2.7.1
    directory 1.2.7.1
    
      * Don't abort removePathForcibly if files or directories go missing.
        In addition, keep going even if an exception occurs.
        ( https://github.com/haskell/directory/issues/60 )
    
  • 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`