11
:3.0.2: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Breezy.
21
.. New commands, options, etc that users may wish to try out.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
32
.. Fixes for situations where brz would previously crash or give incorrect
33
or undesirable results.
38
.. Improved or updated documentation.
43
.. Changes that may require updates in plugins or other code that uses
49
.. Major internal changes, unlikely to be visible to users or plugin
50
developers, but interesting for brz developers.
55
.. Fixes and changes that are only relevant to brz's test framework and
56
suite. This can include new facilities for writing tests, fixes to
57
spurious test failures and changes to the way things should be tested.
65
brz 3.0.1 is the second release of ``Breezy``, a fork of Bazaar. For more
66
information, see our release announcement on the Bazaar mailing list and
69
External Compatibility Breaks
70
*****************************
88
* Fix compatibility with newer versions of Dulwich (>= 0.19.12).
91
* Fix a nasty corner case merging changes into a tree with changed
92
symlinks when pushing from bzr into git.
95
* Fix installation on Windows. (Raoul Snyman, #1818947)
97
* Fix switching between branches while preserving uncommitted changes in git.
98
(Jelmer Vernooij, #1820606)
100
* Return consist errors from ``Branch.get_revid`` and
101
``Repository.get_revid_for_revno`` when the revision
102
number is invalid. (Jelmer Vernooij, #701953)
104
* Print full upgrade command to run when complaining about lack of
105
support for tags. (Jelmer Vernooij, #163908)
107
* Refactor auto conflict handling and add a ``--auto`` flag
108
to ``bzr resolve``. (Martin Packman, #688506)
142
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
143
information, see our release announcement on the Bazaar mailing list and
146
External Compatibility Breaks
147
*****************************
149
* The bzr command has been renamed to brz, to prevent clashes with upstream
151
(Martin Packman, Jelmer Vernooij)
153
* The --prefix/-p argument for ``brz diff`` now defaults to -p1 rather
154
than -p0. (Jelmer Vernooij, #1695126)
156
* The ``brz register-branch`` command from the Launchpad plugin has been
157
removed, because it has not worked for at least five years: it relies on
158
password authentication rather than SSO, the relevant systems no longer
159
have firewall-level access to the outside world, and in general the
160
Mirrored branch type is deprecated. Either just push the branch to
161
Launchpad or use code imports instead
162
(https://help.launchpad.net/VcsImports).
163
(Colin Watson, #254567, #483689)
165
* brz no longer supports building the C extensions using Pyrex.
166
Only Cython is supported. (Jelmer Vernooij)
168
* Support for HTTP support using "pycurl" and the associated
169
URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
170
(Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
172
* Support for medusa for FTP tests has been dropped, only
173
pyftpdlib is now supported. (Jelmer Vernooij)
175
* The deprecated ``brz get`` and ``brz clone`` commands have been
176
removed. (Jelmer Vernooij)
178
* The setting to ignore missing C extensions has been changed from
179
``ignore_missing_extensions=True`` to
180
``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
182
* Remove format names as options to ``brz init`` and ``brz
183
init-repository``.. Now you must use ``brz init --format=...``.
184
This simplifies ``brz init --help``.
185
(Neil Martinsen-Burrell, #330494)
187
* ``python-gpg`` is now used for checking GPG signatures rather than
188
``python-gpgme``. (Jelmer Vernooij, #1702308)
190
* ``python-gpg`` is now used for signing commits, rather than shelling
191
out to the gnupg command. The ``gpg_signing_command`` option has been
192
removed. (Jelmer Vernooij, #847388)
194
* The ``bzr.transform.orphan_policy`` configuration option
195
has been renamed to ``transform.orphan_policy``.
198
* Backslash (\) is no longer accepted as a path separator
199
on platforms where it is not the default path separator,
200
e.g. POSIX systems. This is so that filenames with backslashes
201
in their name can be added explicitly. (#176263, #165151)
203
* One-letter shortcuts for Ubuntu releases are no
204
longer supported after 'ubuntu:'. Bazaar's mapping for
205
one-letter distroseries had not been updated since natty.
208
* The ``brz lp-mirror-branch`` subcommand has been removed.
209
Please use the ``lp-force-branch-mirror`` command from
210
the lptools package instead. (Jelmer Vernooij, #518807)
212
* Up-to-date checking for Bazaar packaging branches is no
213
longer performed, since there are no longer
214
any automated imports. (Jelmer Vernooij)
216
* ``setuptools`` is now required to build and install Breezy.
222
* The 'bisect' plugin is now shipped with brz. (Jelmer Vernooij)
224
* The 'fastimport' plugin is now bundled with Breezy.
227
* The ``grep`` plugin has been merged into Breezy.
228
(Parth Malwankar, Martin Packman, Jelmer Vernooij)
230
* The 'stats' plugin is now bundled with Breezy.
233
* The 'upload' plugin is now bundled with Breezy.
236
* The 'cvs' and 'mtn' plugins are now bundled with Breezy.
239
* The 'email' plugin is now bundled with Breezy.
242
* The 'import' command is now bundled with brz.
243
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
245
* The 'link-tree' command is now bundled with brz.
246
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
248
* The 'fetch-ghosts' command is now bundled with brz.
249
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
251
* The 'commitfromnews' plugin is now bundled and
252
can be enabled by setting ``commit.template_from_files = NEWS``.
255
* The 'darcs' plugin is now bundled.
258
* The functionality from ``bzr-guess`` is now merged into Breezy.
259
It will provide suggestions if the user typoes a command.
262
* Support the creation of colocated branches in ``brz fast-import``.
263
(Jelmer Vernooij, #1744626)
265
* New ``lp-logout`` command to unset launchpad username.
266
(Jelmer Vernooij, #349143)
268
* Plugins can now be registered using the 'entrypoints' mechanism in
269
setuptools. (Jelmer Vernooij, #1802647)
271
* The Breezy UI now handles RCP-style URLs and suggests the
272
user specify either ``git+ssh`` or ``bzr+ssh``.
278
* Doc generators now support the SOURCE_DATE_EPOCH environment
279
variable (https://reproducible-builds.org/specs/source-date-epoch/).
282
* The ``repodebug`` plugin is now bundled.
285
* New ``brz cp`` command which copies files (but does not currently track
286
history). (Jelmer Vernooij, start towards #269095)
288
* HPSS calls for ``RevisionTree.archive`` and
289
``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
292
* Branches with symlinks are now supported on Windows. Symlinks are
293
ignored by operations like branch, diff etc. with a warning as Symlinks
294
are not created on Windows.
295
(Parth Malwankar, #81689)
297
* New ``lp+bzr://`` URL scheme for Bazaar-only branches on Launchpad.
300
* Report colocated branch information in ``brz info``.
301
(Jelmer Vernooij, #1803846)
306
* Support Server Name Indication (SNI) when talking to https servers.
307
Cherry-picked from lp:~vila/bzr/1089352-sni-support
308
(Vincent Ladeuil, #1089352)
310
* The ``bisect`` command now works in non-``.bzr`` directories.
313
* When creating ``authentication.conf``, umask is now set so only the
314
current user can read the file. Breezy warns if the file is
315
accessible for other users when it starts.
316
(Joke de Buhr, Jelmer Vernooij, #475501)
318
* Support ``brz commit -x`` in combination with iter_changes.
319
(Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
321
* Print a proper error when encountering ghost revisions in
322
mainline in ``brz log``. (Jelmer Vernooij, #726466)
324
* Security fix: hostnames starting with a dash in bzr+ssh URLs
325
are now filtered out when using a subprocess SSH client.
327
Thanks to Augie Fackler for reporting.
328
(Jelmer Vernooij, #1710979)
330
* Mark all options as unicode. Allows using non-ASCII values in most
331
options. (Jelmer Vernooij, #563692)
333
* Support automatic rename tracking into new directories.
336
* Avoid writing directly to sys.stdout, but use self.outf in
337
Command implementations instead. (#268573, B. Clausius)
339
* It is now possible to version files with backslashes in their name
340
on platforms that support it. (Jelmer Vernooij, #81844)
342
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
344
* Support adding/removing filenames that consist of just
345
backslashes in where backslash is not the path separator.
346
(Jelmer Vernooij, #176263, #165151)
348
* Report correct path in output of ``brz add``.
349
(Brian de Alwis, Jelmer Vernooij, #1799482)
351
* Don't report empty directories in git trees as changes.
352
(Jelmer Vernooij, #1804072)
354
* Fix support for 'brz ignore' in Git trees.
355
(Jelmer Vernooij, #1804053)
357
* Print a clearer error when GPG can't be found.
358
(Jelmer Vernooij, #1803898)
360
* Fix a corner case when moving files.
361
(Jelmer Vernooij, #533152)
363
* Fix fastexport output to standard output when
364
running under Python 3. (Jelmer Vernooij, #1805172)
366
* Restore absolute URLs in branch reference URLs. This is
367
needed for backwards compatibility with Bazaar.
368
(Jelmer Vernooij, #1803845)
370
* Don't report .git files as unknown files.
371
(Jelmer Vernooij, Debian Bug #921240)
373
* Raise better error when path subsegments lack =.
374
(Jelmer Vernooij, #891483)
376
* Display correct pull location argument in
377
output of ``brz uncommit``.
378
(Jelmer Vernooij, #386577)
383
* Various documents have been updated to explain that Breezy is a fork
386
* Documentation translations into Japanese, Spanish and Russian have been
387
removed since there are no current translators to update them.
390
* A quick introduction about using Breezy with GitHub has been added.
391
(Jelmer Vernooij, #1803867)
396
* bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
398
* Signature of ``load_tests`` used by ``TestLoader`` changed to be
399
compatible with standard libarary unittest. (Martin Packman)
401
* All previously deprecated functionality has been removed.
404
* ``CommitBuilder.record_entry_contents`` has been removed.
405
(Jelmer Vernooij, #731433, #604953)
407
* Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
408
``predicate=``. (Martin Packman)
410
* ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
411
have been renamed to ``Branch.controldir``, ``Repository.controldir``
412
and ``WorkingTree.controldir``, respectively.
413
(Jelmer Vernooij, #1695774)
415
* ``BzrBranch`` and the various bzr branch format implementations
416
have been moved to ``breezy.bzr``. (Jelmer Vernooij)
418
* ``MetaDirBranchFormatFactory`` has been removed.
419
Use lazy registration on ``breezy.branch.format_registry``
420
instead. (Jelmer Vernooij)
422
* ``breezy.bzrdir.format_registry`` has been removed; use
423
``breezy.controldir.format_registry`` instead.
426
* ``breezy.api`` has been removed. (Jelmer Vernooij, #742192)
428
* ``ControlDir.find_bzrdirs`` has been renamed to
429
``ControlDir.find_controldirs``. (Jelmer Vernooij)
431
* ``Repository.get_revisions`` no longer accepts ``None`` as
432
argument. (Jelmer Vernooij)
434
* A new ``Repository.iter_revisions`` method has been added.
437
* A new ``WorkingTreeFormat.supports_setting_file_ids`` property
438
has been added that can be set to False to indicate a working tree
439
doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
440
(Jelmer Vernooij, #1707533)
442
* A new ``RepositoryFormat.supports_setting_revision_ids`` property
443
has been added that can be set to False to indicate a repository
444
doesn't support passing revision ids to ``CommitBuilder.commit``.
447
* A new ``RepositoryFormat.supports_overriding_transport`` property
448
has been added that can be set to False to indicate a repository
449
doesn't support passing an alternative transport to
450
``RepositoryFormat.open``.
453
* ``Repository.print_file`` and ``Branch.print_file`` have been removed.
456
* Various ``lock_write`` and ``lock_read`` functions now return a
457
context manager. (Jelmer Vernooij)
459
* The ``BranchWriteLockResult.branch_token`` (returned by
460
``Branch.lock_write``) has been renamed to
461
``BranchWriteLockResult.token``. (Jelmer Vernooij)
463
* ``breezy.decorators.needs_write_lock``,
464
``breezy.decorators.needs_read_lock`` and
465
``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
466
Instead, use the context managers returned by ``.lock_write``,
467
``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
469
* ``Tree`` methods now take a ``path`` as primary key argument, rather
470
than a ``file_id``. ``file_id`` is still present as optional argument
471
for most functions, and can be specified to speed up lookups.
477
.. Major internal changes, unlikely to be visible to users or plugin
478
developers, but interesting for brz developers.
480
* Allow overriding of default HTTP headers by caller.
481
(Jelmer Vernooij, #1753734)
486
* Allow /dev/null to be a symlink to a chardev. (Igo Pashev, #832257)
488
* A test isolation issue in ``breezy.tests.test_ui`` was fixed,
489
which caused ``output_encoding = iso-8859-1`` to be added to the
490
users' bazaar.conf. (Jelmer Vernooij)
492
* Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
495
* The ``--subunit`` argument for ``brz selftest`` has been renamed to
496
``--subunit1``, and a new argument ``--subunit2`` has been added that
498
(Jelmer Vernooij, #1699346, #661205)
500
* Launchpad plugin tests no longer try to connect to production
501
Launchpad. (Jelmer Vernooij, #723183)
503
* Set the ``GPGHOME`` environment variable during testing, to prevent
504
e.g. leaking keys into the users' GNUPG directory.
505
(Jelmer Vernooij, #843885)
507
* Allow some slack when comparing times.
508
(Jelmer Vernooij, #1804121)
510
* Fix a spuriously failing fastexport test due to dictionary
511
ordering. (Jelmer Vernooij, #1808630)
514
vim: tw=74 ft=rst ff=unix