5
5
.. contents:: List of Releases
11
:2.3.b2: NOT RELEASED YET
12
:2.3b1: NOT RELEASED YET
44
This is the first beta of the 2.3 series, leading up to a 2.3.0
45
release in January or February. Beta releases are suitable for everyday use
46
but may cause some incompatibilities with plugins. Some plugins may need
47
small updates to work with 2.3b1.
49
2.3b1 includes some performance improvements in both speed and memory
50
consumption, some preliminary support for generating a texinfo version of
51
the doc and better support for launchpad. Many changes were made to make
52
our test suite more robust as well as numerous documentation fixes. It
53
improves the common infrastructure for dealing with colocated named
54
branches and foreign branches. We plan to continue with these themes
55
through the 2.3 series.
57
It also includes bug fixes for 2.0.6, 2.1.3 and 2.2.1 and over 40 fixes of
14
61
Compatibility Breaks
15
62
********************
20
67
is now named "msg" instead of earlier "message".
21
68
(Parth Malwankar, #603461)
70
* Additional merges after an unrelated branch has been merged with its
71
history no longer crash when deleted files are involved.
72
(Vincent Ladeuil, John Arbash Meinel, #375898)
74
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
75
previously-unversioned directory within the tree: the directory is
77
(Martin Pool, #192859)
79
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
80
target of the symlink.
81
(Martin Pool, John Arbash Meinel, #128562)
83
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
84
permissions as ``.bzr`` directory on a POSIX OS.
85
(Parth Malwankar, #262450)
23
87
* ``bzrlib.transform.TreeTransformBase.final_kind``,
24
88
``bzrlib.transform.TreeTransform.tree_kind`` and
25
89
``bzrlib.transform.TransformPreview.tree_kind`` now return None instead
26
90
of raising NoSuchFile. (Vincent Ladeuil)
28
* `decode` parameter to get() method in FtpTransport and GioTransport classes
29
is deprecated. (Alexander Belchenko)
31
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
35
* `tree_files` and `internal_tree_files` are now deprecated in favor of
36
`WorkingTree.open_containing_paths`.
92
* CommitBuilder now uses the committer instead of _config.username to generate
93
the revision-id. (Aaron Bentley, #614404)
95
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
96
way which should help avoid problems with concurrent writers.
97
(Vincent Ladeuil, #525571)
39
99
* `ControlDirFormat` and `ControlDir` have been split out of `BzrDirFormat`
40
100
and `BzrDir`, respectively. `ControlDirFormat`
123
* Cope with Microsoft FTP server that returns reply '250 Directory
124
created' when mkdir succeeds. (Martin Pool, #224373)
126
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
127
contains only NUL bytes). Instead warn the user, and allow ``bzr
128
break-lock`` to remove it. (Andrew Bennetts, #619872)
130
* `decode` parameter to get() method in FtpTransport and GioTransport classes
131
is deprecated. (Alexander Belchenko)
133
* `FileInWrongBranch` is deprecated in favour of `PathNotChild` and no
137
* Fix ``AttributeError on parent.children`` when adding a file under a
138
directory that was a symlink in the previous commit.
139
(Martin Pool, #192859)
141
* Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
142
``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
143
connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
144
stderr in some other circumstances. (Andrew Bennetts, #633745)
146
* Only call ``setlocale`` in the bzr startup script on posix systems. This
147
avoids an issue with the newer windows C runtimes used by Python 2.6 and
148
later which can mangle bytestrings printed to the console.
149
(Martin [gz], #631350)
151
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
152
which can result in "missing referenced chk root keys" errors when
153
fetching from repositories with affected revisions.
154
(Andrew Bennetts, #522637)
156
* Raise ValueError instead of a string exception.
157
(John Arbash Meinel, #586926)
159
* Reduce peak memory by one copy of compressed text.
160
(John Arbash Meinel, #566940)
162
* Repositories accessed via a smart server now reject being stacked on a
163
repository in an incompatible format, as is the case when accessing them
164
via other methods. This was causing fetches from those repositories via
165
a smart server (e.g. using ``bzr branch``) to receive invalid data.
166
(Andrew Bennetts, #562380)
168
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
169
error. This error was caused by 2.0 not being updated when upstream
170
python merged the end of run patch, which chose ``stopTestRun`` rather than
171
``done``. (Robert Collins, #571437)
173
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
174
being thrown from ``xml_serializer`` on certain cElementTree setups.
175
(Martin [gz], #254278)
63
177
* The old ``bzr selftest --benchmark`` option has been removed.
64
178
<https://launchpad.net/bzr-usertest> is an actively-maintained
65
179
macrobenchmark suite.
182
* `tree_files` and `internal_tree_files` are now deprecated in favor of
183
`WorkingTree.open_containing_paths`.
186
* Upgrading or fetching from a non-rich-root repository to a rich-root
187
repository (e.g. from pack-0.92 to 2a) no longer fails with
188
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
189
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
191
* When passing a file to ``UTF8DirReader`` make sure to close the current
192
directory file handle after the chdir fails. Otherwise when passing many
193
filenames into a command line ``bzr status`` we would leak descriptors.
194
(John Arbash Meinel, #583486)
337
:2.2.1: NOT RELEASED YET
469
This is a bugfix release which also includes bugfixes from 2.0.6 and
470
2.1.3. None are critical, but upgrading is recommended for all users on
471
earlier 2.2 releases.
476
* Additional merges after an unrelated branch has been merged with its
477
history no longer crash when deleted files are involved.
478
(Vincent Ladeuil, John Arbash Meinel, #375898)
342
480
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
343
481
previously-unversioned directory within the tree: the directory is
344
482
marked versioned too.
345
483
(Martin Pool, #192859)
485
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
486
target of the symlink.
487
(Martin Pool, John Arbash Meinel, #128562)
489
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
490
permissions as ``.bzr`` directory on a POSIX OS.
491
(Parth Malwankar, #262450)
347
493
* CommitBuilder now uses the committer instead of _config.username to generate
348
494
the revision-id. (Aaron Bentley, #614404)
496
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
497
way which should help avoid problems with concurrent writers.
498
(Vincent Ladeuil, #525571)
350
500
* Cope with Microsoft FTP server that returns reply '250 Directory
351
501
created' when mkdir succeeds. (Martin Pool, #224373)
503
* Don't traceback trying to unversion children files of an already
504
unversioned directory. (Vincent Ladeuil, #494221)
353
506
* Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
354
507
contains only NUL bytes). Instead warn the user, and allow ``bzr
355
508
break-lock`` to remove it. (Andrew Bennetts, #619872)
368
521
later which can mangle bytestrings printed to the console.
369
522
(Martin [gz], #631350)
524
* Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
525
which can result in "missing referenced chk root keys" errors when
526
fetching from repositories with affected revisions.
527
(Andrew Bennetts, #522637)
529
* Raise ValueError instead of a string exception.
530
(John Arbash Meinel, #586926)
532
* Reduce peak memory by one copy of compressed text.
533
(John Arbash Meinel, #566940)
535
* Repositories accessed via a smart server now reject being stacked on a
536
repository in an incompatible format, as is the case when accessing them
537
via other methods. This was causing fetches from those repositories via
538
a smart server (e.g. using ``bzr branch``) to receive invalid data.
539
(Andrew Bennetts, #562380)
541
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
542
error. This error was caused by 2.0 not being updated when upstream
543
python merged the end of run patch, which chose ``stopTestRun`` rather than
544
``done``. (Robert Collins, #571437)
546
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
547
being thrown from ``xml_serializer`` on certain cElementTree setups.
548
(Martin [gz], #254278)
371
550
* Upgrading or fetching from a non-rich-root repository to a rich-root
372
551
repository (e.g. from pack-0.92 to 2a) no longer fails with
373
552
``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
374
553
a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
555
* When passing a file to ``UTF8DirReader`` make sure to close the current
556
directory file handle after the chdir fails. Otherwise when passing many
557
filenames into a command line ``bzr status`` we would leak descriptors.
558
(John Arbash Meinel, #583486)
1433
1616
:Codename: Do run run
1434
:2.1.3: NOT RELEASED YET
1436
Compatibility Breaks
1437
********************
1619
The third release in our 2.1 series addresses several user-inconvenience bugs
1620
(and includes the fixes done in 2.0.6). None are critical, but upgrading is
1621
recommended for all users on earlier 2.1 releases.
1626
* Additional merges after an unrelated branch has been merged with its
1627
history no longer crash when deleted files are involved.
1628
(Vincent Ladeuil, John Arbash Meinel, #375898)
1445
1630
* ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
1446
1631
previously-unversioned directory within the tree: the directory is
1447
1632
marked versioned too.
1448
1633
(Martin Pool, #192859)
1635
* ``bzr commit SYMLINK`` now works, rather than trying to commit the
1636
target of the symlink.
1637
(Martin Pool, John Arbash Meinel, #128562)
1639
* ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
1640
permissions as ``.bzr`` directory on a POSIX OS.
1641
(Parth Malwankar, #262450)
1450
1643
* Configuration files in ``${BZR_HOME}`` are now written in an atomic
1451
1644
way which should help avoid problems with concurrent writers.
1452
1645
(Vincent Ladeuil, #525571)
1474
1667
* Raise ValueError instead of a string exception.
1475
1668
(John Arbash Meinel, #586926)
1477
* Recursive binding for checkouts is now detected by bzr. A clear error
1478
message is shown to the user. (Parth Malwankar, #405192)
1670
* Reduce peak memory by one copy of compressed text.
1671
(John Arbash Meinel, #566940)
1673
* Repositories accessed via a smart server now reject being stacked on a
1674
repository in an incompatible format, as is the case when accessing them
1675
via other methods. This was causing fetches from those repositories via
1676
a smart server (e.g. using ``bzr branch``) to receive invalid data.
1677
(Andrew Bennetts, #562380)
1679
* Selftest with versions of subunit that support ``stopTestRun`` will no longer
1680
error. This error was caused by 2.0 not being updated when upstream
1681
python merged the end of run patch, which chose ``stopTestRun`` rather than
1682
``done``. (Robert Collins, #571437)
1480
1684
* Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
1481
1685
being thrown from ``xml_serializer`` on certain cElementTree setups.
1482
1686
(Martin [gz], #254278)
1487
* Add ``bzrlib.merge.MergeIntoMerger``, which can merge part or all of a
1488
tree, and works with unrelated branches. (Andrew Bennetts)
1493
* ``bzr help patterns`` now explains case insensitive patterns and
1494
points to Python regular expression documentation.
1495
(Parth Malwankar, #594386)
1500
* Delete ``ProgressTask.note``, which was deprecated in 2.1.
1688
* When passing a file to ``UTF8DirReader`` make sure to close the current
1689
directory file handle after the chdir fails. Otherwise when passing many
1690
filenames into a command line ``bzr status`` we would leak descriptors.
1691
(John Arbash Meinel, #583486)
1508
* Unit test added to ensure that "message" is not uses as a format variable
1509
name in BzrError subclasses as this conflicts with some Python versions.
1510
(Parth Malwankar, #603461)
1696
* ``build_tree_contents`` can create symlinks.
1697
(Martin Pool, John Arbash Meinel)
6355
6546
when the path to the root of the tree has been given. Users of
6356
6547
the internal ``show_tree_status`` function should be aware that
6357
6548
the show_pending flag is now authoritative for showing pending
6358
merges, as it was originally. (Robert Collins, #225204)
6549
merges, as it was originally. (Robert Collins, #255204)
6360
6551
* Set valid default _param_name for Option so that ListOption can embed
6361
6552
'-' in names. (Vincent Ladeuil, #263249)
10271
10462
hyphen. (``'abc'`` versus ``'abc-2'``). The WT4._iter_changes
10272
10463
iterator was using direct comparison and ``'abc/a'`` sorts after
10273
10464
``'abc-2'``, but ``('abc', 'a')`` sorts before ``('abc-2',)``.
10274
(John Arbash Meinel, #111227)
10465
(John Arbash Meinel, #111127)
10276
10467
* Handle when someone renames a file on disk without telling bzr.
10277
10468
Previously we would report the first file as missing, but not show
11555
11746
* ``Branch.bind(other_branch)`` no longer takes a write lock on the
11556
11747
other branch, and will not push or pull between the two branches.
11557
11748
API users will need to perform a push or pull or update operation if they
11558
require branch synchronisation to take place. (Robert Collins, #47344)
11749
require branch synchronisation to take place. (Robert Collins, #43744)
11560
11751
* When creating a tarball or zipfile export, export unicode names as utf-8
11561
11752
paths. This may not work perfectly on all platforms, but has the best
11562
chance of working in the common case. (John Arbash Meinel, #56816)
11753
chance of working in the common case. (John Arbash Meinel, #56815)
11564
11755
* When committing, only files that exist in working tree or basis tree
11565
11756
may be specified (Aaron Bentley, #50793)