~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Jelmer Vernooij
  • Date: 2011-08-04 13:30:30 UTC
  • mfrom: (6050 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6052.
  • Revision ID: jelmer@samba.org-20110804133030-uwo00unp8b0n782c
merge bzr.dev.

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.0
 
9
#########
 
10
 
 
11
:2.4.0: 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
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
 
36
  checks to see if the most recent published source package version for
 
37
  that project is present in the branch tags. This should help developers
 
38
  trust whether the packaging branch is up-to-date and can be used for new
 
39
  changes. The level of verbosity is controlled by the config item
 
40
  ``launchpad.packaging_verbosity``. It can be set to one of
 
41
 
 
42
  off
 
43
    disable all checks
 
44
 
 
45
 
 
46
  minimal
 
47
    only display if the branch is out-of-date
 
48
 
 
49
  short
 
50
    also display single-line up-to-date and missing,
 
51
 
 
52
 
 
53
  all
 
54
    (default) display multi-line content for all states
 
55
 
 
56
 
 
57
  (John Arbash Meinel, #609187, #812928)
 
58
 
 
59
 
 
60
* The fix for bug #513709 caused us to open a new connection when
 
61
  switching a lightweight checkout that was pointing at a bound branch.
 
62
  This isn't necessary because we know the master URL without opening it,
 
63
  avoiding an extra SSH connection, etc.
 
64
  (John Arbash Meinel, #812285)
 
65
 
 
66
Documentation
 
67
*************
 
68
 
 
69
.. Improved or updated documentation.
 
70
 
 
71
API Changes
 
72
***********
 
73
 
 
74
.. Changes that may require updates in plugins or other code that uses
 
75
   bzrlib.
 
76
 
 
77
Internals
 
78
*********
 
79
 
 
80
.. Major internal changes, unlikely to be visible to users or plugin 
 
81
   developers, but interesting for bzr developers.
 
82
 
 
83
Testing
 
84
*******
 
85
 
 
86
.. Fixes and changes that are only relevant to bzr's test framework and 
 
87
   suite.  This can include new facilities for writing tests, fixes to 
 
88
   spurious test failures and changes to the way things should be tested.
 
89
 
 
90
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
 
91
  cleanly and reliably allows tests using `BranchBuilder` to construct
 
92
  branches that e.g. rename files out of a directory and unversion that
 
93
  directory in the same revision.  Previously some changes were impossible
 
94
  due to the order that `build_snapshot` performs its actions.
 
95
  (Andrew Bennetts)
 
96
 
 
97
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
 
98
  just compares the bytes in the dirstate file to its pristine state,
 
99
  rather than opening the WorkingTree and calling ``last_revision()``.
 
100
  This reduces the overall test suite time by about 10% on my laptop.
 
101
  (Andrew Bennetts)
 
102
 
 
103
 
 
104
bzr 2.4b5
 
105
#########
 
106
 
 
107
:2.4b5: 2011-07-07
 
108
 
 
109
This is the fifth (and last) beta of the 2.4 series leading to
 
110
2.4.0 release in Auguest 2011. Beta releases are suitable for
 
111
everyday use but may cause some incompatibilities with plugins.
 
112
 
 
113
This release includes all bug fixed in previous series known at
 
114
the time of this release.
 
115
 
 
116
External Compatibility Breaks
 
117
*****************************
 
118
 
 
119
None.
 
120
 
 
121
New Features
 
122
************
 
123
 
 
124
* New command ``verify-signatures`` to check if all commits or specified commits
 
125
  have digital signatures from trusted keys.  Requires python-gpgme to be
 
126
  installed.
 
127
 
 
128
* New option ``--signatures`` for ``bzr log`` to display digital signature
 
129
  verification results for each commit.
 
130
 
 
131
* Config option acceptable_keys to list which GPG keys are verified as trusted.
 
132
 
 
133
* Config option validate_signatures_in_log to always show signatures in 
 
134
  ``bzr log``.
 
135
 
 
136
Improvements
 
137
************
 
138
 
 
139
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
 
140
  (Andrew Bennetts).
 
141
 
 
142
* Pack, dirstate, and index files are synced to persistent storage if 
 
143
  possible when writing finishes, to reduce the risk of problems caused by
 
144
  a machine crash or similar problem.  This can be turned off through the
 
145
  ``dirstate.fdatasync`` and ``repository.fdatasync`` options, which can
 
146
  be set in ``locations.conf`` or ``bazaar.conf``.  (Martin Pool,
 
147
  #343427)
 
148
 
 
149
Bug Fixes
 
150
*********
 
151
 
 
152
* Display a proper error message when a config file content cannot be
 
153
  decoded as UTF-8 or when it cannot be parsed.
 
154
  (Vincent Ladeuil, #502060, #688677, #797246)
 
155
 
 
156
* Generate a single conflict (instead of two) when merging a branch
 
157
  modifying and renaming a file in a branch that deleted it (or vice-versa).
 
158
  (Vincent Ladeuil, #688101)
 
159
 
 
160
* Give a more helpful message when the bzr executable doesn't match the
 
161
  library.  (This typically happens because of a misconfigured PYTHONPATH
 
162
  or half-installed bzr.)  
 
163
  (Martin Pool, #804553)
 
164
 
 
165
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
 
166
 
 
167
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
 
168
  keys rather than ids. (Jelmer Vernooij, #799677)
 
169
 
 
170
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
 
171
  is present. (Jelmer Vernooij, #801257)
 
172
 
 
173
API Changes
 
174
***********
 
175
 
 
176
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
 
177
  ``RepositoryFormat.supports_versioned_directories``.
 
178
  (Jelmer Vernooij, #765815)
 
179
 
 
180
* The "revno" field type when using the python version-info format is now
 
181
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
 
182
 
 
183
Internals
 
184
*********
 
185
 
 
186
* Start implementing localization, starting with command help text (but not
 
187
  the command options themselves). This will allow bootstrapping the bzr
 
188
  internationalization process. (Inada Naoki)
 
189
 
 
190
Testing
 
191
*******
 
192
 
 
193
* Fix test failures when running as a homeless user (debian buildd). Tests
 
194
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
 
195
  (Vincent Ladeuil, #798698)
 
196
 
 
197
bzr 2.4b4
 
198
#########
 
199
 
 
200
:2.4b4: 2011-06-16
 
201
 
 
202
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
 
203
August 2011. Beta releases are suitable for everyday use but may cause some
 
204
incompatibilities with plugins.
 
205
 
 
206
This release includes all bug fixed in previous series known at the time of
 
207
this release.
 
208
 
 
209
 
 
210
External Compatibility Breaks
 
211
*****************************
 
212
 
 
213
.. These may require users to change the way they use Bazaar.
 
214
 
 
215
* Do not treat configuration option 'check_signatures = require' as if
 
216
  it were 'create_signatures = always' (Jonathan Riddell)
 
217
 
 
218
New Features
 
219
************
 
220
 
 
221
.. New commands, options, etc that users may wish to try out.
 
222
 
 
223
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
 
224
  are called when an option is respectively read, modified or deleted. Also
 
225
  added ``load`` and ``save`` hooks for config stores, called when the
 
226
  stores are loaded or saved.  (Vincent Ladeuil)
 
227
 
 
228
* New hook server_exception in bzrlib.smart.server to catch any
 
229
  exception caused while running bzr serve.
 
230
  (Jonathan Riddell, #274578)
 
231
 
 
232
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
 
233
  and revision properties.  (Jonathan Riddell, #274578)
 
234
 
 
235
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
 
236
  ``missing`` commands. (Martin von Gagern, #38655)
 
237
 
 
238
Improvements
 
239
************
 
240
 
 
241
.. Improvements to existing commands, especially improved performance 
 
242
   or memory usage, or better results.
 
243
 
 
244
* ``bzr annotate`` can be run without setting whoami data first.
 
245
  (Jonathan Riddell, #667408)
 
246
 
 
247
Bug Fixes
 
248
*********
 
249
 
 
250
.. Fixes for situations where bzr would previously crash or give incorrect
 
251
   or undesirable results.
 
252
 
 
253
* Bazaar can now detect when a lock file is held by a dead process
 
254
  originating from the same machine, and steal the lock after printing a
 
255
  message to the user.  This is off by default, for safety, but can be
 
256
  turned on by setting the configuration variable ``locks.steal_dead`` to
 
257
  ``True``.
 
258
  (Martin Pool, #220464)
 
259
 
 
260
* ``bzr version-info`` now works when the tree is on a dotted revno.
 
261
  (Benoît Pierre, #796259)
 
262
 
 
263
* Credentials in the log output produced by ``-Dhttp`` are masked so users
 
264
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
 
265
 
 
266
* Fix a race condition for ``server_started`` hooks leading to a spurious
 
267
  test failure. (Vincent Ladeuil, #789167)
 
268
 
 
269
* Fix exporting subdirectory with ``--per-file-timestamps``.
 
270
  (Szilveszter Farkas, #795557)
 
271
 
 
272
* Handle files that get created but don't get used during TreeTransform.
 
273
  ``open()`` can create a file, and still raise an exception before it
 
274
  returns. So anything we might have created, make sure we destroy during
 
275
  ``finalize()``. (Martin [gz], #597686)
 
276
 
 
277
* ``pack_repo`` now uses ``Transport.move`` instead of
 
278
  ``Transport.rename``, deleting any existing targets even on SFTP.
 
279
  (Martin von Gagern, #421776)
 
280
 
 
281
* Pass the ``build_mo`` command to the rest of the setup() calls in
 
282
  setup.py. The ``bdist_wininst`` and ``py2exe`` code paths were failing
 
283
  because ``build_mo`` became a required step that they didn't know about.
 
284
  (John Arbash Meinel, #787122)
 
285
 
 
286
* Preserve existing ``root-id`` when merging an unrelated branch.
 
287
  (Aaron Bentley, #806356)
 
288
 
 
289
* Properly avoid re-adding a file after it changes case on CICP
 
290
  filesystems. (John Arbash Meinel, #798130)
 
291
 
 
292
* Reports the original error when an InvalidHttpResponse exception is
 
293
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
 
294
 
 
295
* Reports a non-existant file error when trying to merge in a file
 
296
  that does not exist. (Jonathan Riddell, #330063)
 
297
 
 
298
* ``UIFactory.prompt``, ``UIFactory.get_username``,
 
299
  ``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
 
300
  unicode prompt to be passed in. (Jelmer Vernooij, #592083)
 
301
 
 
302
* Support merging into the empty tree. (Aaron Bentley, #595328)
 
303
 
 
304
Documentation
 
305
*************
 
306
 
 
307
.. Improved or updated documentation.
 
308
 
 
309
* Improve documentation of ``bzr merge --force``.
 
310
  (Neil Martinsen-Burrell, #767307)
 
311
 
 
312
* Make docs for configuration options for digital signatures match 
 
313
  reality. (Jonathan Riddell)
 
314
 
 
315
* Add user-guide page on GPG signatures. (Jonathan Riddell)
 
316
 
 
317
API Changes
 
318
***********
 
319
 
 
320
.. Changes that may require updates in plugins or other code that uses
 
321
   bzrlib.
 
322
 
 
323
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
 
324
  deprecated.  Instead, use `has_id`.
 
325
  (Martin Pool)
 
326
 
 
327
* Exporters are now all exposed as generators, rather than as single-call
 
328
  functions, so that calling code can take stream the output.
 
329
  (Xaav, Martin Pool)
 
330
 
 
331
* Information about held lockdir locks returned from eg `LockDir.peek` is
 
332
  now represented as a `LockHeldInfo` object, rather than a plain
 
333
  Python dict.
 
334
  (Martin Pool)
 
335
 
 
336
* Remove `file_status` function.
 
337
  (Martin Pool)
 
338
 
 
339
* ``Repository.iter_reverse_revision_history`` is now deprecated.
 
340
  Use ``Graph.iter_lefthand_ancestry`` instead.
 
341
  (Jelmer Vernooij, #739481)
 
342
 
 
343
* ``Repository.get_ancestry`` has been deprecated. Use
 
344
  ``Graph.iter_ancestry`` instead.
 
345
  (Jelmer Vernooij, #784511)
 
346
 
 
347
Internals
 
348
*********
 
349
 
 
350
.. Major internal changes, unlikely to be visible to users or plugin 
 
351
   developers, but interesting for bzr developers.
 
352
 
 
353
* ``tools/check-newsbugs.py`` accepts a ``--browser`` option to open
 
354
  corresponding launchpad pages in a browser. (Vincent Ladeuil)
 
355
 
 
356
Testing
 
357
*******
 
358
 
 
359
.. Fixes and changes that are only relevant to bzr's test framework and 
 
360
   suite.  This can include new facilities for writing tests, fixes to 
 
361
   spurious test failures and changes to the way things should be tested.
 
362
 
 
363
* A `ImportTariffTestCase` base class has been added in
 
364
  ``bzrlib.tests.test_import_tariff``, which can be used for import tariff
 
365
  tests in plugins. (Jelmer Vernooij, #793465)
 
366
 
 
367
* Fix deadlock in `TestImportTariffs.test_simple_serve` when stderr gets
 
368
  more output than fits in the default buffer.  This was happening on the
 
369
  Windows buildslave, and could easily happen in other circumstances where
 
370
  the default OS buffer size for pipes is small or the ``python -v``
 
371
  output is large.  (Andrew Bennetts, #784802)
 
372
 
 
373
* Fix spurious test failure on OSX for WorkingTreeFormat2.
 
374
  (Vincent Ladeuil, #787942)
 
375
 
 
376
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
 
377
  and rewrite it as a parameterized test to avoid unrelated failures.
 
378
  (Vincent Ladeuil, #795456)
 
379
 
 
380
* Show log file contents from subprocesses started by
 
381
  `start_bzr_subprocess` in test failure details.  This may help diagnose
 
382
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
 
383
 
 
384
* Skip ``utextwrap`` tests when ``sphinx`` breaks text_wrap by an hostile
 
385
  monkeypatch to textwrap.TextWrapper.wordsep_re.
 
386
  (Vincent Ladeuil, #785098)
 
387
 
 
388
* Multiple ``selftest --exclude`` options are now combined instead of
 
389
  overriding each other. (Vincent Ladeuil, #746991)
 
390
 
 
391
* Restore some ``FTPTransport`` test coverage by allowing ``pyftpdlib
 
392
  0.6.0`` to be used. Also restore ``medusa`` support while leaving it
 
393
  disabled to make it easier to use if/when we can in the future.
 
394
  (Vincent Ladeuil, #781140)
 
395
 
 
396
* `TestImportTariffs` no longer uses the real ``$HOME``.  This prevents it
 
397
  from polluting ``$HOME/.bzr.log`` or being accidentally influenced by
 
398
  user configuration such as aliases.  It still runs with all the user's
 
399
  plugins enabled, as intended.
 
400
  (Vincent Ladeuil, Andrew Bennetts, #789505)
 
401
 
 
402
 
8
403
bzr 2.4b3
9
404
#########
10
405
 
11
 
:2.4b3: NOT RELEASED YET
 
406
:2.4b3: 2011-05-26
 
407
 
 
408
This is the third beta of the 2.4 series, leading to a 2.4.0 release in
 
409
August 2011. Beta releases are suitable for everyday use but may cause some
 
410
incompatibilities with plugins.
 
411
 
 
412
This release includes all bug fixed in previous series known at the time of
 
413
this release.
 
414
 
12
415
 
13
416
External Compatibility Breaks
14
417
*****************************
87
490
  submit_location public_location`` never sets ``submit_branch``
88
491
  nor ``public_branch``.  (Vincent Ladeuil)
89
492
 
 
493
* Conflicts involving non-ascii filenames are now properly reported rather
 
494
  than failing with a UnicodeEncodeError. (Martin [GZ], #686161)
 
495
 
90
496
* Correct parent is now set when using 'switch -b' with bound branches.
91
497
  (A. S. Budden, #513709)
92
498
 
100
506
* Merging into empty branches now gives an error as this is currently
101
507
  not supported. (Jonathan Riddell, #242175)
102
508
 
103
 
* Do not show exception to user on pointless commit error (Jonathan
104
 
  Riddell #317357)
 
509
* Do not show exception to user on pointless commit error.
 
510
  (Jonathan Riddell #317357)
105
511
 
106
512
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
107
513
  the current WT state. This allows ``update_basis_by_delta`` to be used
109
515
  not load the whole inventory, which can take 10+s with large trees.
110
516
  (Jonathan Riddell, John Arbash Meinel, #781168)
111
517
 
 
518
* ``bzr mv --after old_name new_name`` now works if "new_name" is newly
 
519
  added. (Benoît Pierre)
 
520
 
112
521
 
113
522
Documentation
114
523
*************
160
569
.. Major internal changes, unlikely to be visible to users or plugin 
161
570
   developers, but interesting for bzr developers.
162
571
 
 
572
* ``MutableTree.smart_add`` now uses inventory deltas.
 
573
  (Jelmer Vernooij, #146165)
 
574
 
 
575
* Removed ``bzrlib.branch._run_with_write_locked_target`` as
 
576
  ``bzrlib.cleanup`` provides the same functionality in a more general
 
577
  way.  (Andrew Bennetts)
 
578
 
163
579
Testing
164
580
*******
165
581
 
174
590
  restoring the wt_scenarios helper that was accidentally deleted.
175
591
  (Vincent Ladeuil, #783472)
176
592
 
 
593
* Removed ``test_breakin`` tests that were excessively prone to hanging,
 
594
  did not work on Wine, and partly already disabled.
 
595
  (Martin Pool, #408814, #746985)
 
596
 
 
597
* Windows locations are different and should be tested accordingly.
 
598
  (Vincent Ladeuil, #788131)
 
599
 
177
600
bzr 2.4b2
178
601
#########
179
602
 
636
1059
  (``bzrlib.working_tree.format_registry``) rather than using the class
637
1060
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
638
1061
 
 
1062
* Exporting may now be done with a generator
 
1063
  (``bzrlib.export.get_export_generator``) (Geoff/xaav, #791005)
 
1064
 
639
1065
Internals
640
1066
*********
641
1067