Improve the &merge/&include example explanation.
[rsync/rsync.git] / NEWS
CommitLineData
93f3fbf7 1NEWS for rsync 3.1.0 (UNRELEASED)
8b3e6052 2Protocol: 31 (changed)
56fc9f70 3Changes since 3.0.4:
469ff84e 4
8d10cbfc
WD
5 OUTPUT CHANGES:
6
7 - Output numbers in 3-digit groups by default (e.g. 1,234,567). See the
8 --human-readable option for a way to turn it off. See also the daemon's
9 "log format" parameter and related command-line options (including
10 --out-format) for a modifier that can be used to request digit-grouping
11 or human-readable output in log escapes. (Note that log output is
d8c55a6e
WD
12 unchanged by default.)
13
14 - The --list-only option is now affected by the --human-readable setting.
15 It will display digit groupings by default, and unit suffixes if higher
16 levels of readability are requested. Also, the column width for the size
17 output has increased from 11 to 14 characters when human readability is
18 enabled. Use --no-h to get the old-style output and column size.
8d10cbfc
WD
19
20 - The output of the --progress option has changed: the string "xfer" was
21 shortened to "xfr", and the string "to-check" was shortened to "to-chk",
22 both designed to make room for the (by default) wider display of file
23 size numbers without making the total line-length longer. Also, when
24 incremental recursion is enabled, the string "ir-chk" will be used
25 instead of "to-chk" up until the incremental-recursion scan is done,
26 letting you know that the value to check and the total value will still
27 be increasing as new files are found.
28
281a141e 29 - Enhanced the --stats output: 1) to mention how many files were created
d8c55a6e
WD
30 (protocol >= 28), 2) to mention how many files were deleted (a new line
31 for protocol 31, but only output when --delete is in effect), and 3) to
281a141e 32 follow the file-count, created-count, and deleted-count with a subcount
d8c55a6e
WD
33 list that shows the counts by type. The wording of the transferred count
34 has also changed so that it is clearer that it is only a count of regular
35 files.
281a141e 36
ac1541f4
WD
37 BUG FIXES:
38
bb4e4d88
WD
39 - Changed the way --progress overwrites its prior output in order to make
40 it nearly impossible for the progress to get overwritten by an error.
20bb1eb7 41
281a141e
WD
42 - Fixed some rare bugs in --iconv processing that might cause a multibyte
43 character to get translated incorrectly.
44
2b2a4738
WD
45 - Improved the propagation of abnormal-exit error messages. This should
46 help the client side to receive errors from the server when it is exiting
47 abnormally, and should also avoid dying with an "connection unexpectedly
48 closed" exit when the closed connection is really expected.
8346c62a 49
ac1541f4
WD
50 ENHANCEMENTS:
51
7a2eca41
WD
52 - Added the --remote-option=OPT (-M OPT) command-line option that is useful
53 for things like sending a remote --log-file=FILE or --fake-super option.
85fd80ce 54
951e826b
WD
55 - Added the --info=FLAGS and --debug=FLAGS options to allow finer-grained
56 control over what is output. Added an extra type of --progress output
57 using --info=progress2.
58
281a141e
WD
59 - The --msgs2stderr option can help with debugging rsync by allowing the
60 debug messages to get output to stderr rather than travel via the socket
61 protocol.
62
181c9faf
WD
63 - Added the --delete-missing-args and --ignore-missing-args options to
64 either delete or ignore user-specified files on the receiver that are
65 missing on the sender (normally the absence of user-specified files
66 generates an error).
ce66f417 67
e366e530
WD
68 - Added a "T" (terabyte) category to the --human-readable size suffixes.
69
2df20057
WD
70 - Added the --usermap/--groupmap/--chown options for manipulating file
71 ownership during the copy.
72
886df221
WD
73 - Added the "%C" escape to the log-output handling, which will output the
74 MD5 checksum of any transferred file, or all files if --checksum was
75 specified (when protocol 30 or above is in effect).
76
11ef77b7
MM
77 - Added the "reverse lookup" parameter to the rsync daemon config file to
78 allow reverse-DNS lookups to be disabled.
79
bf4170ad
WD
80 - Added a forward-DNS lookup for the daemon's hosts allow/deny config. Can
81 be disabled via "forward lookup" parameter (defaults to enabled).
82
281a141e
WD
83 - Added a way for more than one group to be specified in the daemon's
84 config file, including a way to specify that you want all of the
85 specified user's groups without having to name them. Also changed the
86 daemon to complain about an inability to set explicitly-specified uid/gid
87 values, even when not run by a super-user.
88
5ebe9a46
WD
89 - Added per-user authorization options and group-authorization support to
90 the daemon's "auth users" parameter.
91
281a141e
WD
92 - Added a way to reference environment variables in a daemon's config file
93 (using %VAR% references).
7f367bb1 94
c55fb5e1
WD
95 - When replacing a non-dir with a symlink/hard-link/device/special-file,
96 the update should now be done in an atomic manner.
97
281a141e
WD
98 - Fixed a free of the wrong pointer in uncache_tmp_xattrs() (which only
99 sometimes affects an --xattr transfer when --backup is used).
100
c55fb5e1
WD
101 - When backing up a file, try to hard-link the file into place so that the
102 upcoming replacement of the destination file will be atomic.
103
281a141e
WD
104 - Added the ability to synchronize nano-second modified times.
105
106 - Added a few more default suffixes for the "dont compress" settings.
107
2b2a4738
WD
108 - Added the checking of the RSYNC_PROTECT_ARGS environment variable to allow
109 the default for the --protect-args command-line option to be overridden.
110
281a141e
WD
111 - Added some Solaris xattr code.
112
794d0339
WD
113 EXTRAS:
114
115 - Added an "instant-rsyncd" script to the support directory, which makes
116 it easy to configure a simple rsync daemon in the current directory.
117
8b7a7520
WD
118 - Added the "mapfrom" and "mapto" scripts to the support directory, which
119 makes it easier to do user/group mapping in a local transfer based on
120 passwd/group files from another machine.
121
281a141e
WD
122 INTERNAL:
123
124 - The I/O code was rewritten to be simpler and do bigger buffered reads
125 over the socket. The I/O between the receiver and the generator was
126 changed to be standard multiplexed-I/O (like that over the socket).
127
128 - The sender tries to use any dead time while the generator is looking for
129 files to transfer in order to do sender-side directory scanning in a more
130 parallel manner.
131
132 - A daemon can now inform a client about a daemon-configured timeout value
133 so that the client can assist in the keep-alive activity (protocol 31).
7c329ec7 134
181c9faf
WD
135 - The filter code received some refactoring to make it more extendable, to
136 read better, and do better sanity checking.
137
886df221
WD
138 - Really big numbers are now output using our own big-num routine rather
139 than casting them to a double and using a %.0f conversion.
140
141 - The pool_alloc library has received some minor improvements in alignment
142 handling.
09ca0d15
WD
143
144 - Added init_stat_x() function to avoid duplication of acl/xattr init code.
281a141e
WD
145
146 DEVELOPER RELATED:
147
148 - Added more conditional debug output.
1c9eafdd
WD
149
150 - Changed configure.in to configure.ac.