Changed version to 2.6.0.
[rsync/rsync.git] / NEWS
1 NEWS for rsync version 2.6.0
2 Protocol: 27 (changed)
3 Changes since version 2.5.7:
4
5   ENHANCEMENTS:
6
7     * Added --files-from, --no-relative, --no-implied-dirs, and --from0.
8       Note that --from0 affects the line-ending character for all the
9       files read by the --*-from options. (Wayne Davison)
10
11     * Length of csum2 is now per-file starting with protocol verison
12       27. (J.W. Schultz)
13
14     * Per-file dynamic block size is now sqrt(file length).
15       The per-file checksum size is determined according
16       to an algorythm provided by Donovan Baarda which
17       reduces the probability of rsync algorithm
18       corrupting data and falling back using the whole md4
19       checksums. (J.W. Schultz, Donovan Baarda)
20
21     * The --stats option no longer includes the (debug) malloc summary
22       unless the verbose option was specified at least twice.
23
24     * Added a new error/warning code for when files vanish from the
25       sending side.  Made vanished source files not interfere with the
26       file-deletion pass when --delete-after was specified.
27
28   BUG FIXES:
29
30     * Fixed several exclude/include matching bugs when using wild-cards.
31       This has a several user-visible effects, all of which make the
32       matching more consistent and intuitive.  This should hopefully not
33       cause anyone problems since it makes the matching work more like
34       what people are expecting. (Wayne Davison)
35
36       - A pattern with a "**" no longer causes a "*" to match slashes.
37         For example, with "/*/foo/**", "foo" must be 2 levels deep.
38
39       - "**/foo" now matches at the base of the transfer (i.e. /foo).
40
41       - An non-anchored wildcard term floats to match beyond the base of
42         the transfer.  E.g. "CVS/R*" matches at the end of the path,
43         just like the non-wildcard term "CVS/Root" does.
44
45       - Including a "**" in the match term causes it to be matched
46         against the entire path, not just the name portion, even if
47         there aren't any interior slashes in the term.  E.g. "foo**bar"
48         would exclude "/path/foo-bar" (just like before) as well as
49         "/foo-path/baz-bar" (for instance).
50
51     * The exclude list specified in the daemon's config file is now
52       properly applied to the pulled items no matter how deep the
53       user's file-args are in the source tree.  (Wayne Davison)
54
55     * For protocol version >= 27, mdfour_tail() is called when the
56       block size (including checksum_seed) is a multiple of 64.
57       Previously it was not called, giving the wrong MD4 checksum.
58       (Craig Barratt)
59   
60     * For protocol version >= 27, a 64 bit bit counter is used in
61       mdfour.c as required by the RFC.  Previously only a 32 bit bit
62       counter was used, causing incorrect MD4 file checksums for
63       file sizes >= 512MB - 4.  (Craig Barratt)
64
65     * Fixed a crash bug when interacting with older rsync versions and
66       multiple files of the same name are destined for the same dir.
67       (Wayne Davison)
68
69     * Keep tmp names from overflowing MAXPATHLEN.
70
71     * Make --link-dest honor the absence of -p, -o, and -g.
72
73     * Made rsync treat a trailing slash in the destination in a more
74       consistent manner.
75
76     * Fixed file I/O error detection.  (John Van Essen)
77
78     * Fixed a compression (-z) bug when syncing a mostly-matching file
79       that contains already-compressed data.  (Yasuoka Masahiko and
80       Wayne Davison)
81
82     * Fixed a bug in the --backup code that could cause deleted files
83       to not get backed up.
84
85     * Call setgroups() in a more portable manner.
86
87     * Improved file-related error messages to better indicate exactly
88       what pathname failed. (Wayne Davison)
89
90     * Fixed some bugs in the handling of --delete and --exclude when
91       using the --relative (-R) option. (Wayne Davison)
92
93     * Fixed bug that prevented regular files from replacing
94       special files and caused a directory in --link-dest or
95       --compare-dest to block the creation of a file with the
96       same path.  A directory still cannot be replaced by a
97       regular file unless --delete specified.  (J.W. Schultz)
98
99     * Detect and report when open or opendir succeed but read and
100       readdir fail caused by network filesystems issues and truncated
101       files.  (David Norwood, Michael Brown, J.W. Schultz)
102
103   INTERNAL:
104
105     * Eliminated vestigial support for old versions that we stopped
106       supporting. (J.W. Schultz)
107
108     * Simplified some of the option-parsing code. (Wayne Davison)
109
110     * Some cleanup made to the exclude code, as well as some new
111       defines added to enhance readability. (Wayne Davison)
112
113     * Changed the protocol-version code so that it can interact at a
114       lower protocol level than the maximum supported by both sides.
115       Added an undocumented option, --protocol=N, to force the value
116       we advertise to the other side (primarily for testing purposes).
117       (Wayne Davison)
118
119
120 NEWS for rsync version 2.5.7:
121 Protocol: 26 (unchanged)
122 Changes since version 2.5.6:
123
124   SECURITY:
125
126     * Fix buffer handling bugs.  (Andrew Tridgell, Martin Pool, Paul
127       Russell, Andrea Barisani)
128
129
130 NEWS for rsync version 2.5.6, aka the dwd-between-jobs release
131 Protocol: 26 (unchanged)
132 Changes since version 2.5.5:
133
134   ENHANCEMENTS:
135
136     * The --delete-after option now implies --delete.  (Wayne Davison)
137
138     * The --suffix option can now be used with --backup-dir.  (Michael
139       Zimmerman)
140
141     * Combining "::" syntax with the -rsh/-e option now uses the
142       specified remote-shell as a transport to talk to a (newly-spawned)
143       server-daemon.  This allows someone to use daemon features, such
144       as modules, over a secure protocol, such as ssh.  (JD Paul)
145
146     * The rsync:// syntax for daemon connections is now accepted in the
147       destination field.
148
149     * If the file name given to --include-from or --exclude-from is "-",
150       rsync will read from standard input.  (J.W. Schultz)
151
152     * New option --link-dest which is like --compare-dest except that
153       unchanged files are hard-linked in to the destination directory.
154       (J.W. Schultz)
155
156     * Don't report an error if an excluded file disappears during an
157       rsync run.  (Eugene Chupriyanov and Bo Kersey)
158
159     * Added .svn to --cvs-exclude list to support subversion.  (Jon
160       Middleton)
161
162     * Properly support IPv6 addresses in the rsyncd.conf "hosts allow"
163       and "hosts deny" fields.  (Hideaki Yoshifuji)
164
165     * Changed exclude file handling to permit DOS or MAC style line
166       terminations.  (J.W. Schultz)
167
168     * Ignore errors from chmod when -p/-a/--preserve-perms is not set.
169       (Dave Dykstra)
170
171   BUG FIXES:
172
173     * Fix "forward name lookup failed" errors on AIX 4.3.3.  (John
174       L. Allen, Martin Pool)
175
176     * Generate each file's rolling-checksum data as we send it, not
177       in a separate (memory-eating) pass before hand.  This prevents
178       timeout errors on really large files. (Stefan Nehlsen)
179
180     * Fix compilation on Tru64.  (Albert Chin, Zoong Pham)
181
182     * Better handling of some client-server errors.  (Martin Pool)
183
184     * Fixed a crash that would occur when sending a list of files that
185       contains a duplicate name (if it sorts to the end of the file
186       list) and using --delete.  (Wayne Davison)
187
188     * Fixed the file-name duplicate-removal code when dealing with multiple
189       dups in a row. (Wayne Davison)
190
191     * Fixed a bug that caused rsync to lose the exit status of its child
192       processes and sometimes return an exit code of 0 instead of showing
193       an error.  (David R. Staples, Dave Dykstra)
194
195     * Fixed bug in --copy-unsafe-links that caused it to be completely
196       broken.  (Dave Dykstra)
197
198     * Prevent infinite recursion in cleanup code under certain circumstances.
199       (Sviatoslav Sviridov and Marc Espie)
200
201     * Fixed a bug that prevented rsync from creating intervening directories
202       when --relative-paths/-R is set.  (Craig Barratt)
203
204     * Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
205
206   INTERNAL:
207
208     * Many code cleanups and improved internal documentation.  (Martin
209       Pool, Nelson Beebe)
210
211     * Portability fixes. (Dave Dykstra and Wayne Davison)
212
213     * More test cases.  (Martin Pool)
214
215     * Some test-case fixes.  (Brian Poole, Wayne Davison)
216
217     * Updated included popt to the latest vendor drop, version 1.6.4.
218       (Jos Backus)
219
220     * Updated config.guess and config.sub to latest versions; this
221       means rsync should build on more platforms.  (Paul Green)