Changelog for directory-1.2.6.1
Changelog for the directory package
1.2.6.1 (April 2015)
-
Bundled with GHC 8.0.1
-
Fix mistake in file time functions when
utimensatis not available (#47)
1.2.6.0 (April 2015)
-
Make
findExecutable,findExecutables,findExecutablesInDirectories,findFile, andfindFilesWithlazier (#43) -
Add
findFileWith -
Add
copyFileWithAttrs, which copies additional metadata (#40) -
Improve error message of
removeDirectoryRecursivewhen used on a directory symbolic link on Windows. -
Add
isSymbolicLink -
Drop support for Hugs.
1.2.5.1 (February 2015)
-
Improve error message of
getCurrentDirectorywhen the current working directory no longer exists (#39) -
Fix the behavior of trailing path separators in
canonicalizePathas well asmakeAbsolutewhen applied to the current directory; they should now match the behavior ofcanonicalizePathprior to 1.2.3.0 (when the bug was introduced) (#42) -
Set the location in IO errors from
makeAbsolute.
1.2.5.0 (December 2015)
-
Add
listDirectory, which is similar togetDirectoryContentsbut omits.and..(#36) -
Remove support for
--with-cc=inconfigure; use theCC=flag instead (ghc:D1608)
1.2.4.0 (September 2015)
-
Work around lack of
#const_strwhen cross-compiling (haskell-cafe) -
Add
findExecutablesInDirectories(#33) -
Add
exeExtension
1.2.3.1 (August 2015)
- Restore support for Safe Haskell with base < 4.8 (#30)
1.2.3.0 (July 2015)
-
Add support for XDG Base Directory Specification (#6)
-
Implement
setModificationTimecounterpart togetModificationTime(#13) -
Implement
getAccessTimeandsetAccessTime -
Set the filename in IO errors from the file time functions
-
Fix
canonicalizePathso 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
makeAbsoluteso thatmakeAbsolute "" == makeAbsolute "." -
Deprecate use of
HsDirectory.handHsDirectoryConfig.h -
Implement
withCurrentDirectory
1.2.2.1 (Apr 2015)
- Fix dependency problem on NixOS when building with tests (#24)
1.2.2.0 (Mar 2015)
-
Bundled with GHC 7.10.1
-
Make
getModificationTimesupport sub-second resolution on Windows -
Fix silent failure in
createDirectoryIfMissing -
Replace
throwby better definedthrowIOs -
Avoid stack overflow in
getDirectoryContents(#17) -
Expose
findExecutables(#14) -
removeDirectoryRecursiveno longer follows symlinks under any circumstances (#15) -
Allow trailing path separators in
getPermissionson Windows (#9) -
renameFilenow always throws the correct error type (InappropriateType) when the destination is a directory, as long as the filesystem is not being modified concurrently (#8) -
Add
makeAbsolute, which should be preferred overcanonicalizePathunless one requires symbolic links to be resolved
1.2.1.0 (Mar 2014)
-
Bundled with GHC 7.8.1
-
Add support for sub-second precision in
getModificationTimewhen linked againstunix>=2.6.0.0 -
Fix
createDirectoryIfMissing _ "."inC:\on Windows -
Remove support for NHC98 compiler
-
Update package to
cabal-version >= 1.10format -
Enhance Haddock documentation for
doesDirectoryExistandcanonicalizePath -
Fix
findExecutableto check that file permissions indicate executable -
New convenience functions
findFilesandfindFilesWith