Document the new --compress-level option.
[rsync/rsync.git] / NEWS
1 NEWS for rsync 2.6.7 (UNRELEASED)
2 Protocol: 29 (unchanged)
3 Changes since 2.6.6:
4
5   BUG FIXES:
6
7     - Made hard-links work with symlinks and devices again.
8
9     - If a device-file/special-file changes permissions, rsync now updates the
10       permissions without recreating the file.
11
12     - If the user specifies a remote-host for both the source and destination,
13       we now output a syntax error rather than trying to open the destination
14       hostspec as a filename.
15
16     - When --inplace creates a new destination file, rsync now creates it with
17       permissions 0600 instead of 0000 -- this makes restarting possible when
18       the transfer gets interrupted in the middle of sending a new file.
19
20     - Reject the combination of --inplace and --sparse since the sparse-output
21       algorithm doesn't work when overwriting existing data.
22
23     - Fixed the directory name in the error that is output when pop_dir()
24       fails.
25
26     - Really fixed the parsing of a "!" entry in .cvsignore files this time.
27
28     - If the generator gets a stat() error on a file, output it (this used to
29       require at least -vv for the error to be seen).
30
31     - If waitpid() fails or the child rsync didn't exit cleanly, we now handle
32       the exit status properly and generate a better error.
33
34   ENHANCEMENTS:
35
36     - Added the --append option that makes rsync append data onto files
37       that are longer on the source than the destination (this includes new
38       files).
39
40     - Added the --min-size=SIZE option to exclude small files from the
41       transfer.
42
43     - Added the --compress-level option to allow you to set how aggressive
44       rsync's compression should be (the option implies --compress).
45
46     - Enhanced the parsing of the SIZE value for --min-size and --max-size.
47
48     - If lutimes() and/or lchmod() are around, use them to allow the
49       preservation of attributes on symlinks.
50
51     - Added two config items to the rsyncd.conf parsing:  "pre-xfer exec"
52       and "post-xfer exec".  These allow a command to be specified on a
53       per-module basis that will be run before and/or after a daemon-mode
54       transfer. 
55
56     - When using the --relative option, you can now insert a dot dir in
57       the source path to indicate where the replication of the source dirs
58       should start.  For example, if you specify a source path of
59       rsync://host/module/foo/bar/./baz/dir with -R, rsync would only
60       replicate the "baz/dir" part of the source path (note: a trailing
61       dot dir is unaffected unless it also has a trailing slash).
62
63     - Added some new --no-FOO options that make it easier to override
64       unwanted implied or default options.  For example, "-a --no-o" (aka
65       "--archive --no-owner") can be used to turn off the preservation of
66       file ownership that is implied by -a.
67
68     - Allow the --temp-dir option to be specified when starting a daemon,
69       which sets the default temporary directory for incoming files.
70
71     - If --delete is combined with --dirs without --recursive, rsync will
72       now delete in any directory whose content is being synchronized.
73
74     - Some minor documentation improvements.
75
76     - Updated some diffs in the patches dir.
77
78   INTERNAL:
79
80     - Some buffer sizes were expanded a bit, particularly on systems where
81       MAXPATHLEN is overly small (e.g. cygwin).
82
83     - If io_printf() tries to format more data than fits in the buffer, exit
84       with an error instead of transmitting a truncated buffer.
85
86     - If a va_copy macro is defined, lib/snprintf.c will use it when defining
87       the VA_COPY macro.
88
89   DEVELOPER RELATED:
90
91     - Several diffs in the patches dir now use the proper --enable-FOO
92       configure option instead of --with-FOO to turn on the inclusion of
93       the newly patched feature.
94