Skip to content

Commit 645a297

Browse files
authored
Merge pull request #2426 from facebook/changelog147
Updated CHANGELOG for v1.4.7
2 parents d387772 + f647a75 commit 645a297

File tree

6 files changed

+40
-8
lines changed

6 files changed

+40
-8
lines changed

CHANGELOG

+23
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,26 @@
1+
v1.4.7
2+
perf: stronger --long mode at high compression levels, by @senhuang42
3+
perf: stronger --patch-from at high compression levels, thanks to --long improvements
4+
perf: faster dictionary compression at medium compression levels, by @felixhandte
5+
perf: small speed & memory usage improvements for ZSTD_compress2(), by @terrelln
6+
perf: improved fast compression speeds with Visual Studio, by @animalize
7+
cli : Set nb of threads with environment variable ZSTD_NBTHREADS, by @senhuang42
8+
cli : accept decompressing files with *.zstd suffix
9+
cli : provide a condensed summary by default when processing multiple files
10+
cli : fix : stdin input no longer confused as user prompt
11+
cli : improve accuracy of several error messages
12+
api : new sequence ingestion API, by @senhuang42
13+
api : shared thread pool: control total nb of threads used by multiple compression jobs, by @marxin
14+
api : new ZSTD_getDictID_fromCDict(), by @LuAPi
15+
api : zlibWrapper only uses public API, and is compatible with dynamic library, by @terrelln
16+
api : fix : multithreaded compression has predictable output even in special cases (see #2327) (issue not accessible from cli)
17+
api : fix : dictionary compression correctly respects dictionary compression level (see #2303) (issue not accessible from cli)
18+
build: fix cmake script when using path with spaces, by @terrelln
19+
build: improved compile-time detection of aarch64/neon platforms, by @bsdimp
20+
build: Fix building on AIX 5.1, by @likema
21+
build: compile paramgrill with cmake on Windows, requested by @mirh
22+
doc : clarify repcode updates in format specification, by @felixhandte
23+
124
v1.4.6
225
fix : Always return dstSize_tooSmall when that is the case
326
fix : Fix ZSTD_initCStream_advanced() with static allocation and no dictionary

doc/zstd_manual.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
<html>
22
<head>
33
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4-
<title>zstd 1.4.6 Manual</title>
4+
<title>zstd 1.4.7 Manual</title>
55
</head>
66
<body>
7-
<h1>zstd 1.4.6 Manual</h1>
7+
<h1>zstd 1.4.7 Manual</h1>
88
<hr>
99
<a name="Contents"></a><h2>Contents</h2>
1010
<ol>

lib/zstd.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ extern "C" {
7272
/*------ Version ------*/
7373
#define ZSTD_VERSION_MAJOR 1
7474
#define ZSTD_VERSION_MINOR 4
75-
#define ZSTD_VERSION_RELEASE 6
75+
#define ZSTD_VERSION_RELEASE 7
7676
#define ZSTD_VERSION_NUMBER (ZSTD_VERSION_MAJOR *100*100 + ZSTD_VERSION_MINOR *100 + ZSTD_VERSION_RELEASE)
7777

7878
/*! ZSTD_versionNumber() :

programs/zstd.1

+12-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.
2-
.TH "ZSTD" "1" "July 2020" "zstd 1.4.5" "User Commands"
2+
.TH "ZSTD" "1" "December 2020" "zstd 1.4.7" "User Commands"
33
.
44
.SH "NAME"
55
\fBzstd\fR \- zstd, zstdmt, unzstd, zstdcat \- Compress or decompress \.zst files
@@ -165,7 +165,7 @@ This is also used during compression when using with \-\-patch\-from=\. In this
165165
\fB\-\-[no\-]sparse\fR: enable / disable sparse FS support, to make files with many zeroes smaller on disk\. Creating sparse files may save disk space and speed up decompression by reducing the amount of disk I/O\. default: enabled when output is into a file, and disabled when output is stdout\. This setting overrides default and can force sparse mode over stdout\.
166166
.
167167
.IP "\(bu" 4
168-
\fB\-\-rm\fR: remove source file(s) after successful compression or decompression
168+
\fB\-\-rm\fR: remove source file(s) after successful compression or decompression\. If used in combination with \-o, will trigger a confirmation prompt (which can be silenced with \-f), as this is a destructive operation\.
169169
.
170170
.IP "\(bu" 4
171171
\fB\-k\fR, \fB\-\-keep\fR: keep source file(s) after successful compression or decompression\. This is the default behavior\.
@@ -212,7 +212,16 @@ If input directory contains "\.\.", the files in this directory will be ignored\
212212
.IP "" 0
213213
.
214214
.SS "Restricted usage of Environment Variables"
215-
Using environment variables to set parameters has security implications\. Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR is supported currently, for setting compression level\. \fBZSTD_CLEVEL\fR can be used to set the level between 1 and 19 (the "normal" range)\. If the value of \fBZSTD_CLEVEL\fR is not a valid integer, it will be ignored with a warning message\. \fBZSTD_CLEVEL\fR just replaces the default compression level (\fB3\fR)\. It can be overridden by corresponding command line arguments\.
215+
Using environment variables to set parameters has security implications\. Therefore, this avenue is intentionally restricted\. Only \fBZSTD_CLEVEL\fR and \fBZSTD_NBTHREADS\fR are currently supported\. They set the compression level and number of threads to use during compression, respectively\.
216+
.
217+
.P
218+
\fBZSTD_CLEVEL\fR can be used to set the level between 1 and 19 (the "normal" range)\. If the value of \fBZSTD_CLEVEL\fR is not a valid integer, it will be ignored with a warning message\. \fBZSTD_CLEVEL\fR just replaces the default compression level (\fB3\fR)\.
219+
.
220+
.P
221+
\fBZSTD_NBTHREADS\fR can be used to set the number of threads \fBzstd\fR will attempt to use during compression\. If the value of \fBZSTD_NBTHREADS\fR is not a valid unsigned integer, it will be ignored with a warning message\. \'ZSTD_NBTHREADS\fBhas a default value of (\fR1\fB), and is capped at ZSTDMT_NBWORKERS_MAX==200\.\fRzstd` must be compiled with multithread support for this to have any effect\.
222+
.
223+
.P
224+
They can both be overridden by corresponding command line arguments: \fB\-#\fR for compression level and \fB\-T#\fR for number of compression threads\.
216225
.
217226
.SH "DICTIONARY BUILDER"
218227
\fBzstd\fR offers \fIdictionary\fR compression, which greatly improves efficiency on small files and messages\. It\'s possible to train \fBzstd\fR with a set of samples, the result of which is saved into a file called a \fBdictionary\fR\. Then during compression and decompression, reference the same dictionary, using command \fB\-D dictionaryFileName\fR\. Compression of small files similar to the sample set will be greatly improved\.

programs/zstdgrep.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.
2-
.TH "ZSTDGREP" "1" "July 2020" "zstd 1.4.5" "User Commands"
2+
.TH "ZSTDGREP" "1" "December 2020" "zstd 1.4.7" "User Commands"
33
.
44
.SH "NAME"
55
\fBzstdgrep\fR \- print lines matching a pattern in zstandard\-compressed files

programs/zstdless.1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.
2-
.TH "ZSTDLESS" "1" "July 2020" "zstd 1.4.5" "User Commands"
2+
.TH "ZSTDLESS" "1" "December 2020" "zstd 1.4.7" "User Commands"
33
.
44
.SH "NAME"
55
\fBzstdless\fR \- view zstandard\-compressed files

0 commit comments

Comments
 (0)