~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.4.txt

  • Committer: Tarmac
  • Author(s): Vincent Ladeuil
  • Date: 2017-01-30 14:42:05 UTC
  • mfrom: (6620.1.1 trunk)
  • Revision ID: tarmac-20170130144205-r8fh2xpmiuxyozpv
Merge  2.7 into trunk including fix for bug #1657238 [r=vila]

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. toctree::
6
6
   :maxdepth: 1
7
7
 
 
8
bzr 2.4.3
 
9
#########
 
10
 
 
11
:2.4.3: NOT RELEASED YET
 
12
 
 
13
External Compatibility Breaks
 
14
*****************************
 
15
 
 
16
.. These may require users to change the way they use Bazaar.
 
17
 
 
18
New Features
 
19
************
 
20
 
 
21
.. New commands, options, etc that users may wish to try out.
 
22
 
 
23
Improvements
 
24
************
 
25
 
 
26
.. Improvements to existing commands, especially improved performance 
 
27
   or memory usage, or better results.
 
28
 
 
29
Bug Fixes
 
30
*********
 
31
 
 
32
.. Fixes for situations where bzr would previously crash or give incorrect
 
33
   or undesirable results.
 
34
 
 
35
* Cope with Unix filesystems, such as smbfs, where chmod gives 'permission
 
36
  denied'.  (Martin Pool, #606537)
 
37
 
 
38
* During merges, when two entries end up using the same path for two
 
39
  different file-ids (the same file being 'bzr added' in two different
 
40
  branches) , 'duplicate' conflicts are created instead of 'content'
 
41
  ones. This was previously leading to a 'Malformed tramsform' exception.
 
42
  (Vincent Ladeuil, #880701)
 
43
 
 
44
* Fix a traceback when trying to checkout a tree that also has an entry
 
45
  with file-id `TREE_ROOT` somewhere other than at the root directory.
 
46
  (John Arbash Meinel, #830947)
 
47
 
 
48
* Handle when an uncommit/update tries to add a file to an otherwise empty
 
49
  directory. The ``Dirstate.update_basis_by_delta`` would end up
 
50
  incorrectly flagging the delta as invalid. (Brian de Alwis, #855155)
 
51
 
 
52
* 'Malformed transform' exceptions are now recognized as internal errors
 
53
  instead of user errors and report a traceback. This will reduce user
 
54
  confusion as there is generally nothing users can do about them.
 
55
  (Vincent Ladeuil, #880701)
 
56
 
 
57
* Prevent a traceback being printed to stderr when logging has problems and
 
58
  accept utf-8 byte string without breaking. (Martin Packman, #714449)
 
59
 
 
60
* Some filesystems give ``EOPNOTSUPP`` when trying to call ``fdatasync``.
 
61
  This shouldn't be treated as a fatal error.
 
62
  (John Arbash Meinel, #1075108)
 
63
 
 
64
* Teach the bzr client how to reconnect if we get ``ConnectionReset``
 
65
  while making an RPC request. This doesn't handle all possible network
 
66
  disconnects, but it should at least handle when the server is asked to
 
67
  shutdown gracefully. This is a backport of the functionality in bzr-2.5.
 
68
  (John Arbash Meinel, #819604)
 
69
 
 
70
* Use ``encoding_type='exact'`` for ``bzr testament`` so that on Windows
 
71
  the sha hash of the long testament matches the sha hash in the short
 
72
  form. (John Arbash Meinel, #1010339)
 
73
 
 
74
* When the ``limbo`` or ``pending-deletion`` directories exist, typically
 
75
  because of an interrupted tree update, but are empty, bzr no longer
 
76
  errors out, because there is nothing for the user to clean up.  Also,
 
77
  errors in creation of these directories are no longer squelched.
 
78
  (Martin Pool, #427773)
 
79
 
 
80
* _Win32Stat object provides members st_uid and st_gid, those are present
 
81
  in Python's os.stat object. These members required for external tools like
 
82
  bzr-git and dulwich. (Alexander Belchenko, #967060)
 
83
 
 
84
Documentation
 
85
*************
 
86
 
 
87
.. Improved or updated documentation.
 
88
 
 
89
API Changes
 
90
***********
 
91
 
 
92
.. Changes that may require updates in plugins or other code that uses
 
93
   bzrlib.
 
94
 
 
95
Internals
 
96
*********
 
97
 
 
98
.. Major internal changes, unlikely to be visible to users or plugin 
 
99
   developers, but interesting for bzr developers.
 
100
 
 
101
Testing
 
102
*******
 
103
 
 
104
.. Fixes and changes that are only relevant to bzr's test framework and 
 
105
   suite.  This can include new facilities for writing tests, fixes to 
 
106
   spurious test failures and changes to the way things should be tested.
 
107
 
 
108
* Account for slightly improved compression with newer versions of zlib in
 
109
  ``bt.test_btree_index`` tests. (Martin Packman, #940453)
 
110
 
 
111
 
 
112
bzr 2.4.2
 
113
#########
 
114
 
 
115
:2.4.2: 2011-10-27
 
116
 
 
117
This is a bugfix release. Most of the bugs dealt with portability
 
118
issues. Upgrading is recommended for all users of earlier 2.4 releases.
 
119
 
 
120
External Compatibility Breaks
 
121
*****************************
 
122
 
 
123
None.
 
124
 
 
125
New Features
 
126
************
 
127
 
 
128
None.
 
129
 
 
130
Improvements
 
131
************
 
132
 
 
133
* Fixed a bug where ``bzr tags -r x..y`` loaded the branch history once for
 
134
  every revision in the range; it's now much faster. (Vincent Ladeuil, #857335)
 
135
 
 
136
Bug Fixes
 
137
*********
 
138
 
 
139
* Fixed an infinite loop when creating a repo at the root of the filesystem,
 
140
  i.e. "/", due to posixpath.normpath() not collapsing 2 leading slashes into
 
141
  one, thus respecting the POSIX standard, but making relpath() loop infinitely.
 
142
  (Florian Vichot, #861008)
 
143
 
 
144
* Fixed loading of external merge tools from config to properly decode
 
145
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
 
146
 
 
147
* Include declaration of 'changed' to avoid an UnboundLocalError in dirstate
 
148
  pyrex code with new Cython versions. (Denys Duchier, #837221)
 
149
 
 
150
* Prevent several kinds of OverflowError and other fallout from failing to fit
 
151
  stat fields into four bytes in dirstate pack_stat implementations.
 
152
  (Martin Packman, #683191 #706957)
 
153
 
 
154
* Return early from create_delta_index_from_delta given tiny inputs. This
 
155
  avoids raising a spurious MemoryError on certain platforms such as AIX.
 
156
  (John Arbash Meinel, #856731)
 
157
  
 
158
Documentation
 
159
*************
 
160
 
 
161
* Corrected documentation for ``bzr serve`` in the Admin Guide.
 
162
  (Morten Bøgeskov, Martin Pool, #832576)
 
163
 
 
164
API Changes
 
165
***********
 
166
 
 
167
None.
 
168
 
 
169
Internals
 
170
*********
 
171
 
 
172
No changes.
 
173
 
 
174
Testing
 
175
*******
 
176
 
 
177
* Accept both old and new style testtools output in selftest tests.
 
178
  (Jelmer Vernooij, Martin Packman, #815423)
 
179
 
 
180
* Fix the race for TestingThreadingTCPServer in
 
181
  test_server_crash_while_responding. (Vincent Ladeuil, #869366)
 
182
 
 
183
* Really corrupt the pack file without depending on a special length or value.
 
184
  (Vincent Ladeuil, #807032)
 
185
 
 
186
 
 
187
bzr 2.4.1
 
188
#########
 
189
 
 
190
:2.4.1: 2011-09-08
 
191
 
 
192
This is a bugfix release. Upgrading is recommended for all users of earlier
 
193
2.4 releases.
 
194
 
 
195
It includes fixes from previous stable releases and address some issues with
 
196
the test suite.
 
197
 
 
198
 
 
199
External Compatibility Breaks
 
200
*****************************
 
201
 
 
202
.. These may require users to change the way they use Bazaar.
 
203
 
 
204
New Features
 
205
************
 
206
 
 
207
.. New commands, options, etc that users may wish to try out.
 
208
 
 
209
Improvements
 
210
************
 
211
 
 
212
.. Improvements to existing commands, especially improved performance 
 
213
   or memory usage, or better results.
 
214
 
 
215
Bug Fixes
 
216
*********
 
217
 
 
218
.. Fixes for situations where bzr would previously crash or give incorrect
 
219
   or undesirable results.
 
220
 
 
221
* ``config.LocationMatcher`` properly excludes unrelated sections.
 
222
  (Vincent Ladeuil, #829237)
 
223
 
 
224
* ``dirstate.fdatasync`` and ``repository.fdatasync`` can now properly be
 
225
  disabled. (Vincent Ladeuil, #824513)
 
226
 
 
227
* Disable ``os.fsync`` and ``os.fdatasync`` by default when running
 
228
  ``bzr selftest``. You can use ``--sync`` to re-enable them.
 
229
  (John Arbash Meinel, #837293)
 
230
 
 
231
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
 
232
 
 
233
* Avoid UnicodeDecode error when reporting EINVAL from transports.
 
234
  (IWATA Hidetaka, #829237)
 
235
 
 
236
Documentation
 
237
*************
 
238
 
 
239
.. Improved or updated documentation.
 
240
 
 
241
* Corrected documentation for BZR_PROGRESS_BAR. 
 
242
  (Dennis Benzinger, #735417)
 
243
 
 
244
API Changes
 
245
***********
 
246
 
 
247
.. Changes that may require updates in plugins or other code that uses
 
248
   bzrlib.
 
249
 
 
250
Internals
 
251
*********
 
252
 
 
253
.. Major internal changes, unlikely to be visible to users or plugin 
 
254
   developers, but interesting for bzr developers.
 
255
 
 
256
Testing
 
257
*******
 
258
 
 
259
.. Fixes and changes that are only relevant to bzr's test framework and 
 
260
   suite.  This can include new facilities for writing tests, fixes to 
 
261
   spurious test failures and changes to the way things should be tested.
 
262
 
 
263
* The test suite should now be able to run under weird environments where
 
264
  ``/etc/passwd`` doesn't contain the ``uid`` for the user running selftest
 
265
  or where ``fakeroot`` is used but ``/root`` is inacessible.
 
266
  (Vincent Ladeuil, #825027)
 
267
 
8
268
bzr 2.4.0
9
269
#########
10
270
 
11
 
:2.4.0: NOT RELEASED YET
 
271
:2.4.0: 2011-08-11
 
272
 
 
273
This release marks the start of a new long-term-stable series. From here, we
 
274
will only make bugfix releases on the 2.4 series (2.4.1, etc, and support it
 
275
until February 2013), while 2.5 will become our new development series.
 
276
 
 
277
This is a bugfix and polish release over the 2.3 series, with a large number
 
278
of bugs fixed (>150 for the 2.4 series alone), and some performance
 
279
improvements. Support for python 2.4 and 2.5 has been dropped, many large
 
280
working tree operations have been optimized as well as some stacked branches
 
281
operations.
 
282
 
 
283
Only bugfixes from other stables series have been included since 2.4b5 so
 
284
all known fixed bugs are included here.
 
285
 
 
286
Users are encouraged to upgrade from the other stable series.
 
287
 
12
288
 
13
289
External Compatibility Breaks
14
290
*****************************
32
308
.. Fixes for situations where bzr would previously crash or give incorrect
33
309
   or undesirable results.
34
310
 
 
311
* A call to CHKInventory's filter-method will not result in a
 
312
  DuplicateFileId error, if you move a subfolder and change a file in
 
313
  that subfolder.
 
314
  (Bastian Bowe, #809901)
 
315
 
 
316
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
317
  checks to see if the most recent published source package version for
 
318
  that project is present in the branch tags. This should help developers
 
319
  trust whether the packaging branch is up-to-date and can be used for new
 
320
  changes. The level of verbosity is controlled by the config item
 
321
  ``launchpad.packaging_verbosity``. It can be set to one of
 
322
 
 
323
  off
 
324
    disable all checks
 
325
 
 
326
 
 
327
  minimal
 
328
    only display if the branch is out-of-date
 
329
 
 
330
  short
 
331
    also display single-line up-to-date and missing,
 
332
 
 
333
 
 
334
  all
 
335
    (default) display multi-line content for all states
 
336
 
 
337
 
 
338
  (John Arbash Meinel, #609187, #812928)
 
339
 
 
340
* Cope with not all Python versions having a ``clear`` method on
 
341
  ``TestCase._type_equality_funcs``.
 
342
  (Martin [gz], Jelmer Vernooij, #809048)
 
343
 
 
344
* Fetching tags when fetching the tip revision of a branch is now
 
345
  controlled by the config setting ``branch.fetch_tags``. The behavior has
 
346
  been reverted to 2.3's not-fetching tagged revisions by default.
 
347
  (John Arbash Meinel, #771184)
 
348
 
 
349
* The fix for bug #513709 caused us to open a new connection when
 
350
  switching a lightweight checkout that was pointing at a bound branch.
 
351
  This isn't necessary because we know the master URL without opening it,
 
352
  avoiding an extra SSH connection, etc.
 
353
  (John Arbash Meinel, #812285)
 
354
 
 
355
 
35
356
Documentation
36
357
*************
37
358
 
76
397
:2.4b5: 2011-07-07
77
398
 
78
399
This is the fifth (and last) beta of the 2.4 series leading to
79
 
2.4.0 release in Auguest 2011. Beta releases are suitable for
 
400
2.4.0 release in August 2011. Beta releases are suitable for
80
401
everyday use but may cause some incompatibilities with plugins.
81
402
 
82
403
This release includes all bug fixed in previous series known at
108
429
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
109
430
  (Andrew Bennetts).
110
431
 
 
432
* Pack, dirstate, and index files are synced to persistent storage if 
 
433
  possible when writing finishes, to reduce the risk of problems caused by
 
434
  a machine crash or similar problem.  This can be turned off through the
 
435
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
 
436
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
 
437
  #343427)
 
438
 
111
439
Bug Fixes
112
440
*********
113
441
 
254
582
* Reports the original error when an InvalidHttpResponse exception is
255
583
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
256
584
 
257
 
* Reports a non-existant file error when trying to merge in a file
 
585
* Reports a non-existent file error when trying to merge in a file
258
586
  that does not exist. (Jonathan Riddell, #330063)
259
587
 
260
588
* ``UIFactory.prompt``, ``UIFactory.get_username``,
336
664
  (Vincent Ladeuil, #787942)
337
665
 
338
666
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
339
 
  and rewrite it as a parameterized test to avoid unrelated failures.
 
667
  and rewrite it as a parametrized test to avoid unrelated failures.
340
668
  (Vincent Ladeuil, #795456)
341
669
 
342
670
* Show log file contents from subprocesses started by
344
672
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
345
673
 
346
674
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
347
 
  monkeypatch to textwrap.TextWrapper.wordsep_re.
 
675
  monkey-patch to textwrap.TextWrapper.wordsep_re.
348
676
  (Vincent Ladeuil, #785098)
349
677
 
350
678
* Multiple ``selftest --exclude`` options are now combined instead of
1033
1361
  by catching them so they can be re-raised in the controlling thread. It's
1034
1362
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
1035
1363
 
1036
 
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
 
1364
* Correctly propagate malloc failures from diff-delta.c code as MemoryError
1037
1365
  so OOM conditions during groupcompress are clearly reported. This entailed a
1038
1366
  change to several function signatures. (Martin [gz], #633336)
1039
1367