changelog.md 1.78 KB
Newer Older
1
2
# Changelog for [`filepath` package](http://hackage.haskell.org/package/filepath)

Neil Mitchell's avatar
Neil Mitchell committed
3
_Note: below all `FilePath` values are unquoted, so `\\` really means two backslashes._
4

5
## 1.4.0.0  *Mar 2015*
6
7
8

  * Bundled with GHC 7.10.1

9
10
  * New function: Add `-<.>` as an alias for `replaceExtension`.

11
12
13
  * Semantic change: `joinDrive /foo bar` now returns `/foo/bar`, instead of `/foobar`

  * Semantic change: on Windows, `splitSearchPath File1;\"File 2\"` now returns `[File1,File2]` instead of `[File1,\"File2\"]`
14

15
  * Bug fix: on Posix systems, `normalise //home` now returns `/home`, instead of `//home`
16

17
  * Bug fix: `normalise /./` now returns `/` on Posix and `\` on Windows, instead of `//` and `\\`
18

19
  * Bug fix: `isDrive ""` now returns `False`, instead of `True`
thomie's avatar
thomie committed
20

21
  * Bug fix: on Windows, `dropTrailingPathSeparator /` now returns `/` unchanged, instead of the normalised `\`
22

23
  * Bug fix: on Windows, `equalFilePath C:\ C:` now returns `False`, instead of `True`
24

25
  * Bug fix: on Windows, `isValid \\\foo` now returns `False`, instead of `True`
thomie's avatar
thomie committed
26

27
  * Bug fix: on Windows, `isValid \\?\D:file` now returns `False`, instead of `True`
28

29
  * Bug fix: on Windows, `normalise \` now returns `\` unchanged, instead of `\\`
thomie's avatar
thomie committed
30

31
  * Bug fix: on Windows, `normalise C:.\` now returns `C:`, instead of `C:\\`
thomie's avatar
thomie committed
32

33
  * Bug fix: on Windows, `normalise //server/test` now returns `\\server\test`, instead of `//server/test` unchanged
34

35
  * Bug fix: on Windows, `makeRelative / //` now returns `//`, instead of `""`
36

37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
## 1.3.0.2  *Mar 2014*

  * Bundled with GHC 7.8.1

  * Update to Cabal 1.10 format

  * Minor Haddock cleanups

## 1.3.0.1  *Sep 2012*

  * Bundled with GHC 7.6.1

  * No changes

## 1.3.0.0  *Feb 2012*

  * Bundled with GHC 7.4.1

  * Add support for SafeHaskell

57
  * Bug fix: `normalise /` now returns `/`, instead of `/.`