~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to NEWS

  • Committer: Andrew Bennetts
  • Date: 2010-01-15 03:58:20 UTC
  • mfrom: (4963 +trunk)
  • mto: (4973.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4975.
  • Revision ID: andrew.bennetts@canonical.com-20100115035820-ilb3t36swgzq6v1l
MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. contents:: List of Releases
6
6
   :depth: 1
7
7
 
8
 
bzr 2.1.0b4 (not released yet)
9
 
##############################
 
8
bzr 2.1.0rc1 (not released yet)
 
9
###############################
 
10
 
 
11
:Codename: the 'new' stable
 
12
:2.1.0rc1: 2009-01-06 (expected)
 
13
 
 
14
Compatibility Breaks
 
15
********************
 
16
 
 
17
New Features
 
18
************
 
19
 
 
20
* Add bug information to log output when available.
 
21
  (Neil Martinsen-Burrell, Guillermo Gonzalez, #251729)
 
22
 
 
23
* ``bzr branch`` now takes a ``--bind`` option. This lets you
 
24
  branch and bind all in one command. (Ian Clatworthy)
 
25
 
 
26
* ``bzr unshelve --preview`` can now be used to show how a patch on the
 
27
  shelf would be applied to the working tree.
 
28
  (Guilherme Salgado, #308122)
 
29
 
 
30
* ``bzr update`` now takes a ``--revision`` argument. This lets you
 
31
  change the revision of the working tree to any revision in the
 
32
  ancestry of the current or master branch. (Matthieu Moy, Mark Hammond,
 
33
  Martin Pool, #45719)
 
34
 
 
35
* ``-Dbytes`` can now be used to display the total number of bytes
 
36
  transferred for the current command. This information is always logged
 
37
  to ``.bzr.log`` for later inspection. (John Arbash Meinel)
 
38
 
 
39
* The ``suppress_warnings`` configuration option has been introduced and
 
40
  accept the ``format_deprecation`` value to disable the corresponding
 
41
  warning for repositories. It can be set to in either ``bazaar.conf``,
 
42
  ``locations.conf`` or ``branch.conf``.
 
43
  (Ted Gould, Matthew Fuller, Vincent Ladeuil)
 
44
 
 
45
Bug Fixes
 
46
*********
 
47
 
 
48
* Always show a message if an OS error occurs while trying to run a
 
49
  user-specified commit message editor.
 
50
  (Martin Pool, #504842)
 
51
 
 
52
* ``bzr export dir`` now requests all file content as a record stream,
 
53
  rather than requsting the file content one file-at-a-time. This can make
 
54
  exporting over the network significantly faster (54min => 9min in one
 
55
  case). (John Arbash Meinel, #343218)
 
56
 
 
57
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
58
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
59
  free resources, and it should have been using ``__dealloc__``.
 
60
  This will likely have an impact on any other process that is serving for
 
61
  an extended period of time.  (John Arbash Meinel, #494406)
 
62
 
 
63
* ``bzr switch -b`` can now create branches that are located using directory
 
64
  services such as ``lp:``, even when the branch name doesn't contain a
 
65
  '/'.  (Neil Martinsen-Burrell, #495263)
 
66
 
 
67
* ``bzr unshelve`` has improved messages about what it is doing.
 
68
  (Neil Martinsen-Burrell, #496917)
 
69
 
 
70
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
71
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
72
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
73
 
 
74
* Fix "Too many concurrent requests" in reconcile when network connection
 
75
  fails.  (Andrew Bennetts, #503878)
 
76
 
 
77
* Fixed a side effect mutation of ``RemoteBzrDirFormat._network_name``
 
78
  that caused some tests to fail when run in a non-default order.
 
79
  Probably no user impact.  (Martin Pool, #504102)
 
80
 
 
81
* Fixed ``ObjectNotLocked`` error in ``bzr cat -rbranch:../foo FILE``.
 
82
  (Andrew Bennetts, #506274)
 
83
 
 
84
* FTP transports support Unicode paths by encoding/decoding them as utf8.
 
85
  (Vincent Ladeuil, #472161)
 
86
 
 
87
* Give a clearer message if the lockdir disappears after being apparently
 
88
  successfully taken.  (Martin Pool, #498378)
 
89
 
 
90
* Listen to the SIGWINCH signal to update the terminal width.
 
91
  (Vincent Ladeuil, #316357)
 
92
 
 
93
* ``SilentUIFactory`` now supports ``make_output_stream`` and discards
 
94
  whatever is written to it.  This un-breaks some plugin tests that
 
95
  depended on this behaviour.
 
96
  (Martin Pool, #499757)
 
97
 
 
98
* The 2a format wasn't properly restarting autopacks when something
 
99
  changed underneath it (like another autopack). Now concurrent
 
100
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
101
 
 
102
* When operations update the working tree, all affected files should end
 
103
  up with the same mtime. (eg. when versioning a generated file, if you
 
104
  update the source and the generated file together, the generated file
 
105
  should appear up-to-date.)
 
106
  (John Arbash Meinel, Martin <gzlist>, #488724)
 
107
 
 
108
Improvements
 
109
************
 
110
 
 
111
* Added ``add_cleanup`` and ``cleanup_now`` to ``bzrlib.command.Command``.
 
112
  All the builtin commands now use ``add_cleanup`` rather than
 
113
  ``try``/``finally`` blocks where applicable as it is simpler and more
 
114
  robust.  (Andrew Bennetts)
 
115
 
 
116
* Push will now inform the user when they are trying to push to a foreign 
 
117
  VCS for which roundtripping is not supported, and will suggest them to 
 
118
  use dpush. (Jelmer Vernooij)
 
119
 
 
120
* The version of bzr being run is now written to the log file.
 
121
  (__monty__, #257170)
 
122
 
 
123
* Transport network activity indicator is shown more of the time when
 
124
  Bazaar is doing network IO.
 
125
  (Martin Pool)
 
126
 
 
127
Documentation
 
128
*************
 
129
 
 
130
* Improved help for ``bzr send``. 
 
131
  (Martin Pool, Bojan Nikolic)
 
132
 
 
133
* There is a System Administrator's Guide in ``doc/en/admin-guide``,
 
134
  including discussions of installation, relevant plugins, security and 
 
135
  backup. (Neil Martinsen-Burrell)
 
136
 
 
137
* The ``conflicts`` help topic has been renamed to ``conflict-types``.
 
138
  (Ian Clatworthy)
 
139
 
 
140
* The User Reference is now presented as a series of topics.
 
141
  Many of the included topics have link and format tweaks applied.
 
142
  (Ian Clatworthy)
 
143
 
 
144
API Changes
 
145
***********
 
146
 
 
147
* Many test features were renamed from ``FooFeature`` to ``foo_feature``
 
148
  to be consistent with instances being lower case and classes being
 
149
  CamelCase. For the features that were more likely to be used, we added a
 
150
  deprecation thunk, but not all. (John Arbash Meinel)
 
151
 
 
152
* The Branch hooks pre_change_branch_tip no longer masks exceptions raised
 
153
  by plugins - the original exceptions are now preserved. (Robert Collins)
 
154
 
 
155
* The Transport ``Server.tearDown`` method is now renamed to
 
156
  ``stop_server`` and ``setUp`` to ``start_server`` for consistency with
 
157
  our normal naming pattern, and to avoid confusion with Python's
 
158
  ``TestCase.tearDown``.  (Martin Pool)
 
159
 
 
160
* ``WorkingTree.update`` implementations must now accept a ``revision``
 
161
  parameter.
 
162
 
 
163
Internals
 
164
*********
 
165
 
 
166
* New helper osutils.UnicodeOrBytesToBytesWriter which encodes unicode
 
167
  objects but passes str objects straight through. This is used for
 
168
  selftest but may be useful for diff and other operations that generate
 
169
  mixed output. (Robert Collins)
 
170
 
 
171
* New exception ``NoRoundtrippingSupport``, for use by foreign branch 
 
172
  plugins. (Jelmer Vernooij)
 
173
 
 
174
Testing
 
175
*******
 
176
 
 
177
* ``bzrlib.tests.permute_for_extension`` is a helper that simplifies
 
178
  running all tests in the current module, once against a pure python
 
179
  implementation, and once against an extension (pyrex/C) implementation.
 
180
  It can be used to dramatically simplify the implementation of
 
181
  ``load_tests``.  (John Arbash Meinel)
 
182
 
 
183
* ``bzrlib.tests.TestCase`` now subclasses ``testtools.testcase.TestCase``.
 
184
  This permits features in testtools such as getUniqueInteger and
 
185
  getUniqueString to be used. Because of this, testtools version 0.9.2 or
 
186
  newer is now a dependency to run bzr selftest. Running with versions of
 
187
  testtools less than 0.9.2 will cause bzr to error while loading the test
 
188
  suite. (Robert Collins)
 
189
 
 
190
* Shell-like tests now support the command "mv" for moving files.  The
 
191
  syntax for ``mv file1 file2``, ``mv dir1 dir2`` and ``mv file dir`` is
 
192
  supported.  (Neil Martinsen-Burrell)
 
193
 
 
194
* The test progress bar no longer distinguishes tests that 'errored' from
 
195
  tests that 'failed' - they're all just failures.
 
196
  (Martin Pool)
 
197
 
 
198
bzr 2.0.4 (not released yet)
 
199
############################
 
200
 
 
201
:Codename:
 
202
:2.0.4: smooth sailing
 
203
 
 
204
Compatibility Breaks
 
205
********************
 
206
 
 
207
New Features
 
208
************
 
209
 
 
210
Bug Fixes
 
211
*********
 
212
 
 
213
* ``bzr annotate`` on another branch with ``-r branch:...`` no longer
 
214
  fails with an ``ObjectNotLocked`` error.  (Andrew Bennetts, #496590)
 
215
 
 
216
* ``bzr export dir`` now requests all file content as a record stream,
 
217
  rather than requsting the file content one file-at-a-time. This can make
 
218
  exporting over the network significantly faster (54min => 9min in one
 
219
  case). (John Arbash Meinel, #343218)
 
220
 
 
221
* ``bzr serve`` no longer slowly leaks memory. The compiled
 
222
  ``bzrlib.bencode.Encoder()`` class was using ``__del__`` to cleanup and
 
223
  free resources, and it should have been using ``__dealloc__``.
 
224
  This will likely have an impact on any other process that is serving for
 
225
  an extended period of time.  (John Arbash Meinel, #494406)
 
226
 
 
227
* Check for SIGINT (Ctrl-C) and other signals immediately if ``readdir``
 
228
  returns ``EINTR`` by calling ``PyErr_CheckSignals``.  This affected the
 
229
  optional ``_readdir_pyx`` extension.  (Andrew Bennetts, #495023)
 
230
 
 
231
* Give a clearer message if the lockdir disappears after being apparently
 
232
  successfully taken.  (Martin Pool, #498378)
 
233
 
 
234
* Give a warning when fetching between local repositories with
 
235
  sufficiently different formats that the content will need to be
 
236
  serialized (ie ``InterDifferingSerializer``) so the user has a clue that
 
237
  upgrading could make it faster.
 
238
  (Martin Pool, #456077)
 
239
 
 
240
* If we fail to open ``~/.bzr.log`` write a clear message to stderr rather
 
241
  than using ``warning()``. The log file is opened before logging is set
 
242
  up, and it leads to very confusing: 'no handlers for "bzr"' messages for
 
243
  users, rather than something nicer.
 
244
  (John Arbash Meinel, Barry Warsaw, #503886)
 
245
 
 
246
* Refuse to build with any Pyrex 0.9.4 release, as they have known bugs.
 
247
  (Martin Pool, John Arbash Meinel, #449372)
 
248
 
 
249
* ``setup.py bdist_rpm`` now properly finds extra files needed for the
 
250
  build. (there is still the distutils bug
 
251
  http://bugs.python.org/issue644744) (Joe Julian, #175839)
 
252
 
 
253
* The 2a format wasn't properly restarting autopacks when something
 
254
  changed underneath it (like another autopack). Now concurrent
 
255
  autopackers will properly succeed. (John Arbash Meinel, #495000)
 
256
 
 
257
* ``TreeTransform`` can now handle when a delta says that the file id for
 
258
  the tree root changes. Rather than trying to rename your working
 
259
  directory, or failing early saying that you can't have multiple
 
260
  tree roots. This also fixes revert, update, and pull when the root id
 
261
  changes.  (John Arbash Meinel, #494269, #504390)
 
262
 
 
263
* ``_update_current_block`` no longer suppresses exceptions, so ^C at just
 
264
  the right time will get propagated, rather than silently failing to move
 
265
  the block pointer. (John Arbash Meinel, Gareth White, #495023)
 
266
 
 
267
Improvements
 
268
************
 
269
 
 
270
Documentation
 
271
*************
 
272
 
 
273
API Changes
 
274
***********
 
275
 
 
276
Internals
 
277
*********
 
278
 
 
279
Testing
 
280
*******
 
281
 
 
282
* We have a new ``test_source`` that ensures all pyrex ``cdef`` functions
 
283
  handle exceptions somehow. (Possibly by setting ``# cannot_raise``
 
284
  rather than an ``except ?:`` clause.) This should help prevent bugs like
 
285
  bug #495023. (John Arbash Meinel)
 
286
 
 
287
 
 
288
bzr 2.1.0b4
 
289
###########
10
290
 
11
291
:Codename: san francisco airport
12
 
:2.1.0b4: ???
 
292
:2.1.0b4: 2009-12-14
 
293
 
 
294
The fourth beta release in the 2.1 series brings with it a significant
 
295
number of bugfixes (~20). The test suite is once again (finally) "green"
 
296
on Windows, and should remain that way for future releases. There are a
 
297
few performance related updates (faster upgrade and log), and several UI
 
298
tweaks. There has also been a significant number of tweaks to the runtime
 
299
documentation. 2.1.0b4 include everything from the 2.0.3 release.
 
300
 
13
301
 
14
302
Compatibility Breaks
15
303
********************
26
314
* ``bzr commit`` now has a ``--commit-time`` option.
27
315
  (Alexander Sack, #459276)
28
316
 
 
317
* ``-Dhpss`` now increases logging done when run on the bzr server,
 
318
  similarly to how it works on the client. (John Arbash Meinel)
 
319
 
 
320
* New option ``bzr unshelve --keep`` applies the changes and leaves them
 
321
  on the shelf.  (Martin Pool, Oscar Fuentes, #492091)
 
322
 
29
323
* The ``BZR_COLUMNS`` envrionment variable can be set to force bzr to
30
324
  respect a given terminal width. This can be useful when output is
31
325
  redirected or in obscure cases where the default value is not
33
327
  lengths. 
34
328
  (Vincent Ladeuil)
35
329
 
 
330
* The new command ``bzr lp-mirror`` will request that Launchpad update its
 
331
  mirror of a local branch. This command will only function if launchpadlib
 
332
  is installed.
 
333
  (Jonathan Lange)
 
334
 
 
335
 
36
336
Bug Fixes
37
337
*********
38
338
 
40
340
  ``source\\path`` rather than ``source/path`` on Windows. This might be a
41
341
  source of some dirstate-related failures. (John Arbash Meinel)
42
342
 
 
343
* ``bzr commit`` now detects commit messages that looks like file names
 
344
  and issues a warning.
 
345
  (Gioele Barabucci, #73073)
 
346
 
43
347
* ``bzr ignore /`` no longer causes an IndexError. (Gorder Tyler, #456036)
44
348
 
45
349
* ``bzr log -n0 -rN`` should not return revisions beyond its merged revisions.
46
350
  (#325618, #484109, Marius Kruger)
47
351
 
 
352
* ``bzr merge --weave`` and ``--lca`` will now create ``.BASE`` files for
 
353
  files with conflicts (similar to ``--merge3``). The contents of the file
 
354
  is a synthesis of all bases used for the merge.
 
355
  (John Arbash Meinel, #40412)
 
356
 
48
357
* ``bzr mv --quiet`` really is quiet now.  (Gordon Tyler, #271790)
49
358
 
50
359
* ``bzr serve`` is more clear about the risk of supplying --allow-writes.
51
360
  (Robert Collins, #84659)
52
361
 
 
362
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
363
 
53
364
* Fix bug with redirected URLs over authenticated HTTP.
54
365
  (Glen Mailer, Neil Martinsen-Burrell, Vincent Ladeuil, #395714)
55
366
 
56
 
* ``bzr serve --quiet`` really is quiet now.  (Gordon Tyler, #252834)
 
367
* Interactive merge doesn't leave branch locks behind.  (Aaron Bentley)
57
368
 
58
369
* Lots of bugfixes for the test suite on Windows. We should once again
59
370
  have a test suite with no failures on Windows. (John Arbash Meinel)
60
371
 
61
 
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS envrionment
 
372
* ``osutils.terminal_width()`` obeys the BZR_COLUMNS environment
62
373
  variable but returns None if the terminal is not a tty (when output is
63
374
  redirected for example). Also fixes its usage under OSes that doesn't
64
 
  provide termios.TIOCGWINSZ.  
 
375
  provide termios.TIOCGWINSZ. Make sure the corresponding tests runs on
 
376
  windows too.
65
377
  (Joke de Buhr, Vincent Ladeuil, #353370, #62539)
 
378
  (John Arbash Meinel, Vincent Ladeuil, #492561)
66
379
 
67
380
* Terminate ssh subprocesses when no references to them remain, fixing
68
381
  subprocess and file descriptor leaks.  (Andrew Bennetts, #426662)
85
398
  passed to the external diff tool. This allows the file to be edited if the
86
399
  diff tool provides for this. (Gary van der Merwe, #490738)
87
400
  
 
401
* The launchpad-open command can now be used from a subdirectory of a
 
402
  branch, not just from the root of the branch. 
 
403
  (Neil Martinsen-Burrell, #489102)
 
404
 
88
405
 
89
406
Improvements
90
407
************
91
408
 
92
409
* ``bzr log`` is now faster. (Ian Clatworthy)
93
410
 
 
411
* ``bzr update`` provides feedback on which branch it is up to date with.
 
412
  (Neil Martinsen-Burrell)
 
413
 
 
414
* ``bzr upgrade`` from pre-2a to 2a can be significantly faster (4x).
 
415
  For details see the xml8 patch and heads() improvements.
 
416
  (John Arbash Meinel)
 
417
 
94
418
* ``bzrlib.urlutils.local_path_from_url`` now accepts
95
419
  'file://localhost/' as well as 'file:///' URLs on POSIX.  (Michael
96
420
  Hudson)
97
421
 
 
422
* The progress bar now shows only a spinner and per-operation counts,
 
423
  not an overall progress bar.  The previous bar was often not correlated
 
424
  with real overall operation progress, either because the operations take
 
425
  nonlinear time, or because at the start of the operation Bazaar couldn't
 
426
  estimate how much work there was to do.  (Martin Pool)
 
427
 
98
428
Documentation
99
429
*************
100
430
 
 
431
* Lots of documentation tweaks for inline help topics and command help
 
432
  information.
 
433
 
101
434
API Changes
102
435
***********
103
436
 
104
437
* ``bzrlib.textui`` (vestigial module) removed.  (Martin Pool)
105
438
 
 
439
* The Launchpad plugin now has a function ``login`` which will log in to
 
440
  Launchpad with launchpadlib, and ``load_branch`` which will return the
 
441
  Launchpad Branch object corresponding to a given Bazaar Branch object.
 
442
  (Jonathan Lange)
 
443
 
106
444
Internals
107
445
*********
108
446
 
 
447
* New test Feature: ``ModuleAvailableFeature``. It is designed to make it
 
448
  easier to handle what tests you want to run based on what modules can be
 
449
  imported. (Rather than lots of custom-implemented features that were
 
450
  basically copy-and-pasted.) (John Arbash Meinel)
 
451
 
 
452
* ``osutils.timer_func()`` can be used to get either ``time.time()`` or
 
453
  ``time.clock()`` when you want to do performance timing.
 
454
  ``time.time()`` is limited to 15ms resolution on Windows, but
 
455
  ``time.clock()`` gives CPU and not wall-clock time on other platforms.
 
456
  (John Arbash Meinel)
 
457
 
109
458
* Several code paths that were calling ``Transport.get().read()`` have
110
459
  been changed to the equalivent ``Transport.get_bytes()``. The main
111
460
  difference is that the latter will explicitly call ``file.close()``,
119
468
* TestCaseWithMemoryTransport no longer sets $HOME and $BZR_HOME to
120
469
  unicode strings. (Michael Hudson, #464174)
121
470
 
122
 
bzr 2.0.3 (not released yet)
123
 
############################
124
 
 
125
 
:Codename: 
126
 
:2.0.3: ???
127
 
 
128
 
Compatibility Breaks
129
 
********************
130
 
 
131
 
New Features
132
 
************
 
471
 
 
472
bzr 2.0.3
 
473
#########
 
474
 
 
475
:Codename: little italy
 
476
:2.0.3: 2009-12-14
 
477
 
 
478
 
 
479
The third stable release of Bazaar has a small handful of bugfixes. As
 
480
expected, this has no internal or external compatibility changes versus
 
481
2.0.2 (or 2.0.0).
133
482
 
134
483
Bug Fixes
135
484
*********
141
490
* Content filters are now applied correctly after pull, merge and switch.
142
491
  (Ian Clatworthy, #385879)
143
492
 
 
493
* Fix a potential segfault in the groupcompress hash map handling code.
 
494
  When inserting new entries, if the final hash bucket was empty, we could
 
495
  end up trying to access if ``(last_entry+1)->ptr == NULL``.
 
496
  (John Arbash Meinel, #490228)
 
497
 
144
498
* Improve "Binary files differ" hunk handling.  (Aaron Bentley, #436325)
145
499
 
146
 
Improvements
147
 
************
148
 
 
149
 
Documentation
150
 
*************
151
 
* Include Japanese translations for documentation (Inada Naoki)
152
 
 
153
 
API Changes
154
 
***********
155
 
 
156
 
Internals
157
 
*********
158
 
 
159
 
Testing
160
 
*******
161
 
 
162
 
 
163
500
 
164
501
bzr 2.1.0b3
165
502
###########
231
568
 
232
569
* Include Japanese translations for documentation (Inada Naoki)
233
570
 
 
571
* New API ``ui_factory.make_output_stream`` to be used for sending bulk
 
572
  (rather than user-interaction) data to stdout.  This automatically
 
573
  coordinates with progress bars or other terminal activity, and can be
 
574
  overridden by GUIs.
 
575
  (Martin Pool, 493944)
 
576
 
234
577
Internals
235
578
*********
236
579
 
378
721
  start reading 'inventories', etc.) This can have a significant impact on
379
722
  peak memory for initial copies (~200MB). (John Arbash Meinel)
380
723
 
381
 
Improvements
382
 
************
383
 
 
384
 
Documentation
385
 
*************
386
 
 
387
 
API Changes
388
 
***********
389
 
 
390
 
Internals
391
 
*********
392
 
 
393
 
Testing
394
 
*******
395
 
 
396
724
 
397
725
bzr 2.0.2
398
726
#########
2622
2950
* Multiple authors for a commit can now be recorded by using the "--author"
2623
2951
  option multiple times. (James Westby, #185772)
2624
2952
 
2625
 
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernoij)
 
2953
* New clean-tree command, from bzrtools.  (Aaron Bentley, Jelmer Vernooij)
2626
2954
 
2627
2955
* New command ``bzr launchpad-open`` opens a Launchpad web page for that
2628
2956
  branch in your web browser, as long as the branch is on Launchpad at all.