1
- See also http://pvp.haskell.org/faq
2
-
3
- 0.6.0.0 * TODO*
4
-
5
- * Add offending path as new field to ` TarBombError ` constructor
6
- * Add ` Traversable Entries ` instance
7
- * Speed up ` fromTarPath ` , ` fromTarPathToPosixPath ` and ` fromTarPathToWindowsPath `
8
- * Set permissions on extracted files
9
- * Handle > 8 GB files
10
- * Prohibit non-ASCII file names instead of silent corruption
11
- * Fix tests on 32-bit architectures
12
- * Alleviate leakage of file handles in ` packFileEntry `
13
- * Add support for over-long filepaths via GNU extension
14
- * Add ` toTarPath' ` , ` ToTarPathResult ` , ` longLinkEntry ` , ` longSymLinkEntry `
15
- * Fix handling of hardlinks and symlinks
16
- * Add ` packSymlinkEntry ` and ` symbolicLinkPermission `
17
- * Ignore FAT32 errors when setting modification time
18
- * Switch to trailer parsing mode only after a full block of ` NUL `
19
- * Drop deprecated ` emptyIndex ` and ` finaliseIndex `
20
- * Extend ` FileNameError ` with ` UnsafeLinkTarget ` constructor
21
- * Redesign ` Codec.Archive.Tar.Check `
22
- * Add ` packAndCheck ` and ` unpackAndCheck `
23
- * Generalize ` Entries ` , ` Entry ` and ` EntryContent ` to ` GenEntries ` , ` GenEntry ` and ` GenEntryContent `
24
-
25
- 0.5.1.1 Herbert Valerio Riedel
< [email protected] > August 2019
1
+ ## 0.6.0.0 Bodigrim <[email protected] > December 2023
2
+
3
+ This release features support for long file paths and symlinks
4
+ (thanks to Julian Ospald) and variety of changes and improvements
5
+ across entire package, fixing multiple causes of silent data corruption.
6
+
7
+ Breaking changes:
8
+
9
+ * Generalize ` Entries ` , ` Entry ` and ` EntryContent ` to ` GenEntries ` , ` GenEntry ` and ` GenEntryContent ` .
10
+ * Functions working on entries have been generalized to more polymorphic types,
11
+ where possible.
12
+ * Modules which used to ` import Codec.Archive.Tar (Entry(..)) ` should now
13
+ ` import Codec.Archive.Tar (GenEntry(..), Entry) ` and similar for other ` Gen ` -types.
14
+ * Redesign ` Codec.Archive.Tar.Check ` .
15
+ * Change types of ` checkSecurity ` , ` checkTarbomb ` , ` checkPortability ` .
16
+ * Add offending path as new field to ` TarBombError ` constructor.
17
+ * Extend ` FileNameError ` with ` UnsafeLinkTarget ` constructor.
18
+ * Drop deprecated ` emptyIndex ` and ` finaliseIndex ` .
19
+
20
+ Bug fixes:
21
+
22
+ * Add support for over-long filepaths via GNU extension.
23
+ * Fix handling of hardlinks and symlinks.
24
+ * Handle > 8 GB files insted of silent corruption.
25
+ * Prohibit non-ASCII file names instead of silent corruption.
26
+ * Set permissions on extracted files.
27
+ * Ignore FAT32 errors when setting modification time.
28
+ * Switch to trailer parsing mode only after a full block of ` NUL ` .
29
+
30
+ New API:
31
+
32
+ * Add ` Traversable Entries ` instance.
33
+ * Add ` toTarPath' ` , ` ToTarPathResult ` , ` longLinkEntry ` , ` longSymLinkEntry ` .
34
+ * Add ` packSymlinkEntry ` and ` symbolicLinkPermission ` .
35
+ * Add ` packAndCheck ` and ` unpackAndCheck ` .
36
+ * Add ` checkEntrySecurity ` , ` checkEntryTarbomb ` and ` checkEntryPortability ` .
37
+ * Add ` encodeLongNames ` , ` decodeLongNames ` , ` DecodeLongNamesError ` .
38
+
39
+ Improvements:
40
+
41
+ * Speed up ` fromTarPath ` , ` fromTarPathToPosixPath ` and ` fromTarPathToWindowsPath ` .
42
+ * Alleviate leakage of file handles in ` packFileEntry ` .
43
+ * Fix tests on 32-bit architectures.
44
+
45
+ ## 0.5.1.1 Herbert Valerio Riedel < [email protected] > August 2019
26
46
27
47
* Add support for GHC 8.8.1 / base-4.13
28
48
29
- 0.5.1.0 Herbert Valerio Riedel
< [email protected] > March 2018
49
+ ## 0.5.1.0 Herbert Valerio Riedel < [email protected] > March 2018
30
50
31
51
* Add support for GHC 8.4.1 / base-4.11
32
52
* Add ` Semigroup ` instance for ` Entries `
33
53
34
- 0.5.0.3 Duncan Coutts
< [email protected] > May 2016
54
+ ## 0.5.0.3 Duncan Coutts < [email protected] > May 2016
35
55
36
56
* Fix tarbomb logic to ignore special PAX entries. Was breaking many
37
57
valid tarballs. https://github.com/haskell/cabal/issues/3390
38
58
39
- 0.5.0.2 Duncan Coutts
< [email protected] > April 2016
59
+ ## 0.5.0.2 Duncan Coutts < [email protected] > April 2016
40
60
41
61
* Fix compatability when using ghc-7.4.x and directory >= 1.2.3
42
62
43
- 0.5.0.1 Duncan Coutts
< [email protected] > January 2016
63
+ ## 0.5.0.1 Duncan Coutts < [email protected] > January 2016
44
64
45
65
* Fix compatability with directory-1.2.3+
46
66
47
- 0.5.0.0 Duncan Coutts
< [email protected] > January 2016
67
+ ## 0.5.0.0 Duncan Coutts < [email protected] > January 2016
48
68
49
69
* Work with old version of bytestring (using bytestring-builder package).
50
70
* Builds with GHC 6.10 -- 8.0.
51
71
* Change type of Index.serialise to be simply strict bytestring.
52
72
* Preserve file timestamps on unpack (with directory-1.2.3+)
53
73
54
- 0.4.5.0 Duncan Coutts
< [email protected] > January 2016
74
+ ## 0.4.5.0 Duncan Coutts < [email protected] > January 2016
55
75
56
76
* Revert accidental minor API change in 0.4.x series (the type of the
57
77
owner and group name strings). The 0.4.3.0 and 0.4.4.0 releases
58
78
contained the accidental API change.
59
79
* Add a handy foldlEntries function
60
80
61
- 0.4.4.0 Duncan Coutts
< [email protected] > January 2016
81
+ ## 0.4.4.0 Duncan Coutts < [email protected] > January 2016
62
82
63
83
* Build and warning fixes for GHC 7.10 and 8.0
64
84
* New Index module function ` toList ` to get all index entries
65
85
66
- 0.4.3.0 Duncan Coutts
< [email protected] > January 2016
86
+ ## 0.4.3.0 Duncan Coutts < [email protected] > January 2016
67
87
68
88
* New Index function ` unfinalise ` to extend existing index
69
89
* 9x faster reading
@@ -74,32 +94,32 @@ See also http://pvp.haskell.org/faq
74
94
* Greater QC test coverage
75
95
* Fix minor bug in reading non-standard v7 format entries
76
96
77
- 0.4.2.2 Edsko de Vries
< [email protected] > October 2015
97
+ ## 0.4.2.2 Edsko de Vries < [email protected] > October 2015
78
98
79
99
* Fix bug in Index
80
100
81
- 0.4.2.1 Duncan Coutts
< [email protected] > July 2015
101
+ ## 0.4.2.1 Duncan Coutts < [email protected] > July 2015
82
102
83
103
* Fix tests for the Index modules (the code was right)
84
104
85
- 0.4.2.0 Duncan Coutts
< [email protected] > July 2015
105
+ ## 0.4.2.0 Duncan Coutts < [email protected] > July 2015
86
106
87
107
* New Index module for random access to tar file contents
88
108
* New lower level tar file I/O actions
89
109
* New tarball file 'append' action
90
110
91
- 0.4.1.0 Duncan Coutts
< [email protected] > January 2015
111
+ ## 0.4.1.0 Duncan Coutts < [email protected] > January 2015
92
112
93
113
* Build with GHC 7.10
94
114
* Switch from old-time to time package
95
115
* Added more instance for Entries type
96
116
97
- 0.4.0.1 Duncan Coutts
< [email protected] > October 2012
117
+ ## 0.4.0.1 Duncan Coutts < [email protected] > October 2012
98
118
99
119
* fixes to work with directory 1.2
100
120
* More Eq/Ord instances
101
121
102
- 0.4.0.0 Duncan Coutts
< [email protected] > February 2012
122
+ ## 0.4.0.0 Duncan Coutts < [email protected] > February 2012
103
123
104
124
* More explicit error types and error handling
105
125
* Support star base-256 number format
0 commit comments