Skip to content

Commit 39af583

Browse files
committed
Polish changelog
1 parent c0471d1 commit 39af583

File tree

2 files changed

+60
-40
lines changed

2 files changed

+60
-40
lines changed

changelog.md

Lines changed: 59 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,89 @@
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
2646

2747
* Add support for GHC 8.8.1 / base-4.13
2848

29-
0.5.1.0 Herbert Valerio Riedel <[email protected]> March 2018
49+
## 0.5.1.0 Herbert Valerio Riedel <[email protected]> March 2018
3050

3151
* Add support for GHC 8.4.1 / base-4.11
3252
* Add `Semigroup` instance for `Entries`
3353

34-
0.5.0.3 Duncan Coutts <[email protected]> May 2016
54+
## 0.5.0.3 Duncan Coutts <[email protected]> May 2016
3555

3656
* Fix tarbomb logic to ignore special PAX entries. Was breaking many
3757
valid tarballs. https://github.com/haskell/cabal/issues/3390
3858

39-
0.5.0.2 Duncan Coutts <[email protected]> April 2016
59+
## 0.5.0.2 Duncan Coutts <[email protected]> April 2016
4060

4161
* Fix compatability when using ghc-7.4.x and directory >= 1.2.3
4262

43-
0.5.0.1 Duncan Coutts <[email protected]> January 2016
63+
## 0.5.0.1 Duncan Coutts <[email protected]> January 2016
4464

4565
* Fix compatability with directory-1.2.3+
4666

47-
0.5.0.0 Duncan Coutts <[email protected]> January 2016
67+
## 0.5.0.0 Duncan Coutts <[email protected]> January 2016
4868

4969
* Work with old version of bytestring (using bytestring-builder package).
5070
* Builds with GHC 6.10 -- 8.0.
5171
* Change type of Index.serialise to be simply strict bytestring.
5272
* Preserve file timestamps on unpack (with directory-1.2.3+)
5373

54-
0.4.5.0 Duncan Coutts <[email protected]> January 2016
74+
## 0.4.5.0 Duncan Coutts <[email protected]> January 2016
5575

5676
* Revert accidental minor API change in 0.4.x series (the type of the
5777
owner and group name strings). The 0.4.3.0 and 0.4.4.0 releases
5878
contained the accidental API change.
5979
* Add a handy foldlEntries function
6080

61-
0.4.4.0 Duncan Coutts <[email protected]> January 2016
81+
## 0.4.4.0 Duncan Coutts <[email protected]> January 2016
6282

6383
* Build and warning fixes for GHC 7.10 and 8.0
6484
* New Index module function `toList` to get all index entries
6585

66-
0.4.3.0 Duncan Coutts <[email protected]> January 2016
86+
## 0.4.3.0 Duncan Coutts <[email protected]> January 2016
6787

6888
* New Index function `unfinalise` to extend existing index
6989
* 9x faster reading
@@ -74,32 +94,32 @@ See also http://pvp.haskell.org/faq
7494
* Greater QC test coverage
7595
* Fix minor bug in reading non-standard v7 format entries
7696

77-
0.4.2.2 Edsko de Vries <[email protected]> October 2015
97+
## 0.4.2.2 Edsko de Vries <[email protected]> October 2015
7898

7999
* Fix bug in Index
80100

81-
0.4.2.1 Duncan Coutts <[email protected]> July 2015
101+
## 0.4.2.1 Duncan Coutts <[email protected]> July 2015
82102

83103
* Fix tests for the Index modules (the code was right)
84104

85-
0.4.2.0 Duncan Coutts <[email protected]> July 2015
105+
## 0.4.2.0 Duncan Coutts <[email protected]> July 2015
86106

87107
* New Index module for random access to tar file contents
88108
* New lower level tar file I/O actions
89109
* New tarball file 'append' action
90110

91-
0.4.1.0 Duncan Coutts <[email protected]> January 2015
111+
## 0.4.1.0 Duncan Coutts <[email protected]> January 2015
92112

93113
* Build with GHC 7.10
94114
* Switch from old-time to time package
95115
* Added more instance for Entries type
96116

97-
0.4.0.1 Duncan Coutts <[email protected]> October 2012
117+
## 0.4.0.1 Duncan Coutts <[email protected]> October 2012
98118

99119
* fixes to work with directory 1.2
100120
* More Eq/Ord instances
101121

102-
0.4.0.0 Duncan Coutts <[email protected]> February 2012
122+
## 0.4.0.0 Duncan Coutts <[email protected]> February 2012
103123

104124
* More explicit error types and error handling
105125
* Support star base-256 number format

tar.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ license: BSD3
44
license-file: LICENSE
55
author: Duncan Coutts <[email protected]>
66
Bjorn Bringert <[email protected]>
7-
maintainer: Duncan Coutts <[email protected]>
7+
maintainer: Bodigrim <[email protected]>
88
bug-reports: https://github.com/haskell/tar/issues
99
copyright: 2007 Bjorn Bringert <[email protected]>
1010
2008-2016 Duncan Coutts <[email protected]>

0 commit comments

Comments
 (0)