11
:3.0.3: 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.
35
* Don't throw an error attempting to read the parent of a ref.
38
* Fix fast-exporting of symlinks on Python 3. (Jelmer Vernooij, #1851478)
40
* Don't rely on private transport attribute in fast-import.
41
(Jelmer Vernooij, #1854607)
43
* Fix conversion of time_t to int on certain platforms (arm64, armhf,
44
ppc64el). (Jelmer Vernooij)
49
.. Improved or updated documentation.
54
.. Changes that may require updates in plugins or other code that uses
60
.. Major internal changes, unlikely to be visible to users or plugin
61
developers, but interesting for brz developers.
66
.. Fixes and changes that are only relevant to brz's test framework and
67
suite. This can include new facilities for writing tests, fixes to
68
spurious test failures and changes to the way things should be tested.
76
External Compatibility Breaks
77
*****************************
94
* Disable loading from entrypoints by default, since it can
95
significantly slow down startup on some platforms.
96
(Jelmer Vernooij, #1832868)
98
* Don't fail when unable to write per-user ignore list due to
99
one of the intermediate directories not existing
100
(Jelmer Vernooij, #1851904)
102
* Fix file graph operations on Git repositories.
103
(Jelmer Vernooij, #1847913)
105
* Allow running tests without launchpadlib installed.
106
(Jelmer Vernooij, #1849988)
108
* Fix compatibility with Python 3.8.
109
(Jelmer Vernooij, Victor Stinner, #1844684)
129
* Fix bb.test_testament.TestTestament.test_testament_non_ascii
130
when the host encoding is non-utf8.
131
(Jelmer Vernooij, #1849986)
139
brz 3.0.1 is the second release of ``Breezy``, a fork of Bazaar. For more
140
information, see our release announcement on the Bazaar mailing list and
143
External Compatibility Breaks
144
*****************************
162
* Fix compatibility with newer versions of Dulwich (>= 0.19.12).
165
* Fix a nasty corner case merging changes into a tree with changed
166
symlinks when pushing from bzr into git.
169
* Fix installation on Windows. (Raoul Snyman, #1818947)
171
* Fix switching between branches while preserving uncommitted changes in git.
172
(Jelmer Vernooij, #1820606)
174
* Return consist errors from ``Branch.get_revid`` and
175
``Repository.get_revid_for_revno`` when the revision
176
number is invalid. (Jelmer Vernooij, #701953)
178
* Print full upgrade command to run when complaining about lack of
179
support for tags. (Jelmer Vernooij, #163908)
181
* Refactor auto conflict handling and add a ``--auto`` flag
182
to ``bzr resolve``. (Martin Packman, #688506)
216
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
217
information, see our release announcement on the Bazaar mailing list and
220
External Compatibility Breaks
221
*****************************
223
* The bzr command has been renamed to brz, to prevent clashes with upstream
225
(Martin Packman, Jelmer Vernooij)
227
* The --prefix/-p argument for ``brz diff`` now defaults to -p1 rather
228
than -p0. (Jelmer Vernooij, #1695126)
230
* The ``brz register-branch`` command from the Launchpad plugin has been
231
removed, because it has not worked for at least five years: it relies on
232
password authentication rather than SSO, the relevant systems no longer
233
have firewall-level access to the outside world, and in general the
234
Mirrored branch type is deprecated. Either just push the branch to
235
Launchpad or use code imports instead
236
(https://help.launchpad.net/VcsImports).
237
(Colin Watson, #254567, #483689)
239
* brz no longer supports building the C extensions using Pyrex.
240
Only Cython is supported. (Jelmer Vernooij)
242
* Support for HTTP support using "pycurl" and the associated
243
URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
244
(Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
246
* Support for medusa for FTP tests has been dropped, only
247
pyftpdlib is now supported. (Jelmer Vernooij)
249
* The deprecated ``brz get`` and ``brz clone`` commands have been
250
removed. (Jelmer Vernooij)
252
* The setting to ignore missing C extensions has been changed from
253
``ignore_missing_extensions=True`` to
254
``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
256
* Remove format names as options to ``brz init`` and ``brz
257
init-repository``.. Now you must use ``brz init --format=...``.
258
This simplifies ``brz init --help``.
259
(Neil Martinsen-Burrell, #330494)
261
* ``python-gpg`` is now used for checking GPG signatures rather than
262
``python-gpgme``. (Jelmer Vernooij, #1702308)
264
* ``python-gpg`` is now used for signing commits, rather than shelling
265
out to the gnupg command. The ``gpg_signing_command`` option has been
266
removed. (Jelmer Vernooij, #847388)
268
* The ``bzr.transform.orphan_policy`` configuration option
269
has been renamed to ``transform.orphan_policy``.
272
* Backslash (\) is no longer accepted as a path separator
273
on platforms where it is not the default path separator,
274
e.g. POSIX systems. This is so that filenames with backslashes
275
in their name can be added explicitly. (#176263, #165151)
277
* One-letter shortcuts for Ubuntu releases are no
278
longer supported after 'ubuntu:'. Bazaar's mapping for
279
one-letter distroseries had not been updated since natty.
282
* The ``brz lp-mirror-branch`` subcommand has been removed.
283
Please use the ``lp-force-branch-mirror`` command from
284
the lptools package instead. (Jelmer Vernooij, #518807)
286
* Up-to-date checking for Bazaar packaging branches is no
287
longer performed, since there are no longer
288
any automated imports. (Jelmer Vernooij)
290
* ``setuptools`` is now required to build and install Breezy.
296
* The 'bisect' plugin is now shipped with brz. (Jelmer Vernooij)
298
* The 'fastimport' plugin is now bundled with Breezy.
301
* The ``grep`` plugin has been merged into Breezy.
302
(Parth Malwankar, Martin Packman, Jelmer Vernooij)
304
* The 'stats' plugin is now bundled with Breezy.
307
* The 'upload' plugin is now bundled with Breezy.
310
* The 'cvs' and 'mtn' plugins are now bundled with Breezy.
313
* The 'email' plugin is now bundled with Breezy.
316
* The 'import' command is now bundled with brz.
317
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
319
* The 'link-tree' command is now bundled with brz.
320
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
322
* The 'fetch-ghosts' command is now bundled with brz.
323
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
325
* The 'commitfromnews' plugin is now bundled and
326
can be enabled by setting ``commit.template_from_files = NEWS``.
329
* The 'darcs' plugin is now bundled.
332
* The functionality from ``bzr-guess`` is now merged into Breezy.
333
It will provide suggestions if the user typoes a command.
336
* Support the creation of colocated branches in ``brz fast-import``.
337
(Jelmer Vernooij, #1744626)
339
* New ``lp-logout`` command to unset launchpad username.
340
(Jelmer Vernooij, #349143)
342
* Plugins can now be registered using the 'entrypoints' mechanism in
343
setuptools. (Jelmer Vernooij, #1802647)
345
* The Breezy UI now handles RCP-style URLs and suggests the
346
user specify either ``git+ssh`` or ``bzr+ssh``.
352
* Doc generators now support the SOURCE_DATE_EPOCH environment
353
variable (https://reproducible-builds.org/specs/source-date-epoch/).
356
* The ``repodebug`` plugin is now bundled.
359
* New ``brz cp`` command which copies files (but does not currently track
360
history). (Jelmer Vernooij, start towards #269095)
362
* HPSS calls for ``RevisionTree.archive`` and
363
``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
366
* Branches with symlinks are now supported on Windows. Symlinks are
367
ignored by operations like branch, diff etc. with a warning as Symlinks
368
are not created on Windows.
369
(Parth Malwankar, #81689)
371
* New ``lp+bzr://`` URL scheme for Bazaar-only branches on Launchpad.
374
* Report colocated branch information in ``brz info``.
375
(Jelmer Vernooij, #1803846)
380
* Support Server Name Indication (SNI) when talking to https servers.
381
Cherry-picked from lp:~vila/bzr/1089352-sni-support
382
(Vincent Ladeuil, #1089352)
384
* The ``bisect`` command now works in non-``.bzr`` directories.
387
* When creating ``authentication.conf``, umask is now set so only the
388
current user can read the file. Breezy warns if the file is
389
accessible for other users when it starts.
390
(Joke de Buhr, Jelmer Vernooij, #475501)
392
* Support ``brz commit -x`` in combination with iter_changes.
393
(Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
395
* Print a proper error when encountering ghost revisions in
396
mainline in ``brz log``. (Jelmer Vernooij, #726466)
398
* Security fix: hostnames starting with a dash in bzr+ssh URLs
399
are now filtered out when using a subprocess SSH client.
401
Thanks to Augie Fackler for reporting.
402
(Jelmer Vernooij, #1710979)
404
* Mark all options as unicode. Allows using non-ASCII values in most
405
options. (Jelmer Vernooij, #563692)
407
* Support automatic rename tracking into new directories.
410
* Avoid writing directly to sys.stdout, but use self.outf in
411
Command implementations instead. (#268573, B. Clausius)
413
* It is now possible to version files with backslashes in their name
414
on platforms that support it. (Jelmer Vernooij, #81844)
416
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
418
* Support adding/removing filenames that consist of just
419
backslashes in where backslash is not the path separator.
420
(Jelmer Vernooij, #176263, #165151)
422
* Report correct path in output of ``brz add``.
423
(Brian de Alwis, Jelmer Vernooij, #1799482)
425
* Don't report empty directories in git trees as changes.
426
(Jelmer Vernooij, #1804072)
428
* Fix support for 'brz ignore' in Git trees.
429
(Jelmer Vernooij, #1804053)
431
* Print a clearer error when GPG can't be found.
432
(Jelmer Vernooij, #1803898)
434
* Fix a corner case when moving files.
435
(Jelmer Vernooij, #533152)
437
* Fix fastexport output to standard output when
438
running under Python 3. (Jelmer Vernooij, #1805172)
440
* Restore absolute URLs in branch reference URLs. This is
441
needed for backwards compatibility with Bazaar.
442
(Jelmer Vernooij, #1803845)
444
* Don't report .git files as unknown files.
445
(Jelmer Vernooij, Debian Bug #921240)
447
* Raise better error when path subsegments lack =.
448
(Jelmer Vernooij, #891483)
450
* Display correct pull location argument in
451
output of ``brz uncommit``.
452
(Jelmer Vernooij, #386577)
457
* Various documents have been updated to explain that Breezy is a fork
460
* Documentation translations into Japanese, Spanish and Russian have been
461
removed since there are no current translators to update them.
464
* A quick introduction about using Breezy with GitHub has been added.
465
(Jelmer Vernooij, #1803867)
470
* bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
472
* Signature of ``load_tests`` used by ``TestLoader`` changed to be
473
compatible with standard libarary unittest. (Martin Packman)
475
* All previously deprecated functionality has been removed.
478
* ``CommitBuilder.record_entry_contents`` has been removed.
479
(Jelmer Vernooij, #731433, #604953)
481
* Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
482
``predicate=``. (Martin Packman)
484
* ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
485
have been renamed to ``Branch.controldir``, ``Repository.controldir``
486
and ``WorkingTree.controldir``, respectively.
487
(Jelmer Vernooij, #1695774)
489
* ``BzrBranch`` and the various bzr branch format implementations
490
have been moved to ``breezy.bzr``. (Jelmer Vernooij)
492
* ``MetaDirBranchFormatFactory`` has been removed.
493
Use lazy registration on ``breezy.branch.format_registry``
494
instead. (Jelmer Vernooij)
496
* ``breezy.bzrdir.format_registry`` has been removed; use
497
``breezy.controldir.format_registry`` instead.
500
* ``breezy.api`` has been removed. (Jelmer Vernooij, #742192)
502
* ``ControlDir.find_bzrdirs`` has been renamed to
503
``ControlDir.find_controldirs``. (Jelmer Vernooij)
505
* ``Repository.get_revisions`` no longer accepts ``None`` as
506
argument. (Jelmer Vernooij)
508
* A new ``Repository.iter_revisions`` method has been added.
511
* A new ``WorkingTreeFormat.supports_setting_file_ids`` property
512
has been added that can be set to False to indicate a working tree
513
doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
514
(Jelmer Vernooij, #1707533)
516
* A new ``RepositoryFormat.supports_setting_revision_ids`` property
517
has been added that can be set to False to indicate a repository
518
doesn't support passing revision ids to ``CommitBuilder.commit``.
521
* A new ``RepositoryFormat.supports_overriding_transport`` property
522
has been added that can be set to False to indicate a repository
523
doesn't support passing an alternative transport to
524
``RepositoryFormat.open``.
527
* ``Repository.print_file`` and ``Branch.print_file`` have been removed.
530
* Various ``lock_write`` and ``lock_read`` functions now return a
531
context manager. (Jelmer Vernooij)
533
* The ``BranchWriteLockResult.branch_token`` (returned by
534
``Branch.lock_write``) has been renamed to
535
``BranchWriteLockResult.token``. (Jelmer Vernooij)
537
* ``breezy.decorators.needs_write_lock``,
538
``breezy.decorators.needs_read_lock`` and
539
``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
540
Instead, use the context managers returned by ``.lock_write``,
541
``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
543
* ``Tree`` methods now take a ``path`` as primary key argument, rather
544
than a ``file_id``. ``file_id`` is still present as optional argument
545
for most functions, and can be specified to speed up lookups.
551
.. Major internal changes, unlikely to be visible to users or plugin
552
developers, but interesting for brz developers.
554
* Allow overriding of default HTTP headers by caller.
555
(Jelmer Vernooij, #1753734)
560
* Allow /dev/null to be a symlink to a chardev. (Igo Pashev, #832257)
562
* A test isolation issue in ``breezy.tests.test_ui`` was fixed,
563
which caused ``output_encoding = iso-8859-1`` to be added to the
564
users' bazaar.conf. (Jelmer Vernooij)
566
* Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
569
* The ``--subunit`` argument for ``brz selftest`` has been renamed to
570
``--subunit1``, and a new argument ``--subunit2`` has been added that
572
(Jelmer Vernooij, #1699346, #661205)
574
* Launchpad plugin tests no longer try to connect to production
575
Launchpad. (Jelmer Vernooij, #723183)
577
* Set the ``GPGHOME`` environment variable during testing, to prevent
578
e.g. leaking keys into the users' GNUPG directory.
579
(Jelmer Vernooij, #843885)
581
* Allow some slack when comparing times.
582
(Jelmer Vernooij, #1804121)
584
* Fix a spuriously failing fastexport test due to dictionary
585
ordering. (Jelmer Vernooij, #1808630)
588
vim: tw=74 ft=rst ff=unix