11
:3.0.1: NOT RELEASED YET
14
External Compatibility Breaks
15
*****************************
33
* Fix compatibility with newer versions of Dulwich (>= 0.19.12).
36
* Fix a nasty corner case merging changes into a tree with changed
37
symlinks when pushing from bzr into git.
39
* Fix installation on Windows. (Raoul Snyman, #1818947)
41
* Return consist errors from ``Branch.get_revid`` and
42
``Repository.get_revid_for_revno`` when the revision
43
number is invalid. (Jelmer Vernooij, #701953)
76
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
77
information, see our release announcement on the Bazaar mailing list and
80
External Compatibility Breaks
81
*****************************
83
* The bzr command has been renamed to brz, to prevent clashes with upstream
85
(Martin Packman, Jelmer Vernooij)
87
* The --prefix/-p argument for ``brz diff`` now defaults to -p1 rather
88
than -p0. (Jelmer Vernooij, #1695126)
90
* The ``brz register-branch`` command from the Launchpad plugin has been
91
removed, because it has not worked for at least five years: it relies on
92
password authentication rather than SSO, the relevant systems no longer
93
have firewall-level access to the outside world, and in general the
94
Mirrored branch type is deprecated. Either just push the branch to
95
Launchpad or use code imports instead
96
(https://help.launchpad.net/VcsImports).
97
(Colin Watson, #254567, #483689)
99
* brz no longer supports building the C extensions using Pyrex.
100
Only Cython is supported. (Jelmer Vernooij)
102
* Support for HTTP support using "pycurl" and the associated
103
URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
104
(Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
106
* Support for medusa for FTP tests has been dropped, only
107
pyftpdlib is now supported. (Jelmer Vernooij)
109
* The deprecated ``brz get`` and ``brz clone`` commands have been
110
removed. (Jelmer Vernooij)
112
* The setting to ignore missing C extensions has been changed from
113
``ignore_missing_extensions=True`` to
114
``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
116
* Remove format names as options to ``brz init`` and ``brz
117
init-repository``.. Now you must use ``brz init --format=...``.
118
This simplifies ``brz init --help``.
119
(Neil Martinsen-Burrell, #330494)
121
* ``python-gpg`` is now used for checking GPG signatures rather than
122
``python-gpgme``. (Jelmer Vernooij, #1702308)
124
* ``python-gpg`` is now used for signing commits, rather than shelling
125
out to the gnupg command. The ``gpg_signing_command`` option has been
126
removed. (Jelmer Vernooij, #847388)
128
* The ``bzr.transform.orphan_policy`` configuration option
129
has been renamed to ``transform.orphan_policy``.
132
* Backslash (\) is no longer accepted as a path separator
133
on platforms where it is not the default path separator,
134
e.g. POSIX systems. This is so that filenames with backslashes
135
in their name can be added explicitly. (#176263, #165151)
137
* One-letter shortcuts for Ubuntu releases are no
138
longer supported after 'ubuntu:'. Bazaar's mapping for
139
one-letter distroseries had not been updated since natty.
142
* The ``brz lp-mirror-branch`` subcommand has been removed.
143
Please use the ``lp-force-branch-mirror`` command from
144
the lptools package instead. (Jelmer Vernooij, #518807)
146
* Up-to-date checking for Bazaar packaging branches is no
147
longer performed, since there are no longer
148
any automated imports. (Jelmer Vernooij)
150
* ``setuptools`` is now required to build and install Breezy.
156
* The 'bisect' plugin is now shipped with brz. (Jelmer Vernooij)
158
* The 'fastimport' plugin is now bundled with Breezy.
161
* The ``grep`` plugin has been merged into Breezy.
162
(Parth Malwankar, Martin Packman, Jelmer Vernooij)
164
* The 'stats' plugin is now bundled with Breezy.
167
* The 'upload' plugin is now bundled with Breezy.
170
* The 'cvs' and 'mtn' plugins are now bundled with Breezy.
173
* The 'email' plugin is now bundled with Breezy.
176
* The 'import' command is now bundled with brz.
177
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
179
* The 'link-tree' command is now bundled with brz.
180
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
182
* The 'fetch-ghosts' command is now bundled with brz.
183
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
185
* The 'commitfromnews' plugin is now bundled and
186
can be enabled by setting ``commit.template_from_files = NEWS``.
189
* The 'darcs' plugin is now bundled.
192
* The functionality from ``bzr-guess`` is now merged into Breezy.
193
It will provide suggestions if the user typoes a command.
196
* Support the creation of colocated branches in ``brz fast-import``.
197
(Jelmer Vernooij, #1744626)
199
* New ``lp-logout`` command to unset launchpad username.
200
(Jelmer Vernooij, #349143)
202
* Plugins can now be registered using the 'entrypoints' mechanism in
203
setuptools. (Jelmer Vernooij, #1802647)
205
* The Breezy UI now handles RCP-style URLs and suggests the
206
user specify either ``git+ssh`` or ``bzr+ssh``.
212
* Doc generators now support the SOURCE_DATE_EPOCH environment
213
variable (https://reproducible-builds.org/specs/source-date-epoch/).
216
* The ``repodebug`` plugin is now bundled.
219
* New ``brz cp`` command which copies files (but does not currently track
220
history). (Jelmer Vernooij, start towards #269095)
222
* HPSS calls for ``RevisionTree.archive`` and
223
``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
226
* Branches with symlinks are now supported on Windows. Symlinks are
227
ignored by operations like branch, diff etc. with a warning as Symlinks
228
are not created on Windows.
229
(Parth Malwankar, #81689)
231
* New ``lp+bzr://`` URL scheme for Bazaar-only branches on Launchpad.
234
* Report colocated branch information in ``brz info``.
235
(Jelmer Vernooij, #1803846)
240
* Support Server Name Indication (SNI) when talking to https servers.
241
Cherry-picked from lp:~vila/bzr/1089352-sni-support
242
(Vincent Ladeuil, #1089352)
244
* The ``bisect`` command now works in non-``.bzr`` directories.
247
* When creating ``authentication.conf``, umask is now set so only the
248
current user can read the file. Breezy warns if the file is
249
accessible for other users when it starts.
250
(Joke de Buhr, Jelmer Vernooij, #475501)
252
* Support ``brz commit -x`` in combination with iter_changes.
253
(Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
255
* Print a proper error when encountering ghost revisions in
256
mainline in ``brz log``. (Jelmer Vernooij, #726466)
258
* Security fix: hostnames starting with a dash in bzr+ssh URLs
259
are now filtered out when using a subprocess SSH client.
261
Thanks to Augie Fackler for reporting.
262
(Jelmer Vernooij, #1710979)
264
* Mark all options as unicode. Allows using non-ASCII values in most
265
options. (Jelmer Vernooij, #563692)
267
* Support automatic rename tracking into new directories.
270
* Avoid writing directly to sys.stdout, but use self.outf in
271
Command implementations instead. (#268573, B. Clausius)
273
* It is now possible to version files with backslashes in their name
274
on platforms that support it. (Jelmer Vernooij, #81844)
276
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
278
* Support adding/removing filenames that consist of just
279
backslashes in where backslash is not the path separator.
280
(Jelmer Vernooij, #176263, #165151)
282
* Report correct path in output of ``brz add``.
283
(Brian de Alwis, Jelmer Vernooij, #1799482)
285
* Don't report empty directories in git trees as changes.
286
(Jelmer Vernooij, #1804072)
288
* Fix support for 'brz ignore' in Git trees.
289
(Jelmer Vernooij, #1804053)
291
* Print a clearer error when GPG can't be found.
292
(Jelmer Vernooij, #1803898)
294
* Fix a corner case when moving files.
295
(Jelmer Vernooij, #533152)
297
* Fix fastexport output to standard output when
298
running under Python 3. (Jelmer Vernooij, #1805172)
300
* Restore absolute URLs in branch reference URLs. This is
301
needed for backwards compatibility with Bazaar.
302
(Jelmer Vernooij, #1803845)
304
* Don't report .git files as unknown files.
305
(Jelmer Vernooij, Debian Bug #921240)
307
* Raise better error when path subsegments lack =.
308
(Jelmer Vernooij, #891483)
310
* Display correct pull location argument in
311
output of ``brz uncommit``.
312
(Jelmer Vernooij, #386577)
317
* Various documents have been updated to explain that Breezy is a fork
320
* Documentation translations into Japanese, Spanish and Russian have been
321
removed since there are no current translators to update them.
324
* A quick introduction about using Breezy with GitHub has been added.
325
(Jelmer Vernooij, #1803867)
330
* bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
332
* Signature of ``load_tests`` used by ``TestLoader`` changed to be
333
compatible with standard libarary unittest. (Martin Packman)
335
* All previously deprecated functionality has been removed.
338
* ``CommitBuilder.record_entry_contents`` has been removed.
339
(Jelmer Vernooij, #731433, #604953)
341
* Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
342
``predicate=``. (Martin Packman)
344
* ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
345
have been renamed to ``Branch.controldir``, ``Repository.controldir``
346
and ``WorkingTree.controldir``, respectively.
347
(Jelmer Vernooij, #1695774)
349
* ``BzrBranch`` and the various bzr branch format implementations
350
have been moved to ``breezy.bzr``. (Jelmer Vernooij)
352
* ``MetaDirBranchFormatFactory`` has been removed.
353
Use lazy registration on ``breezy.branch.format_registry``
354
instead. (Jelmer Vernooij)
356
* ``breezy.bzrdir.format_registry`` has been removed; use
357
``breezy.controldir.format_registry`` instead.
360
* ``breezy.api`` has been removed. (Jelmer Vernooij, #742192)
362
* ``ControlDir.find_bzrdirs`` has been renamed to
363
``ControlDir.find_controldirs``. (Jelmer Vernooij)
365
* ``Repository.get_revisions`` no longer accepts ``None`` as
366
argument. (Jelmer Vernooij)
368
* A new ``Repository.iter_revisions`` method has been added.
371
* A new ``WorkingTreeFormat.supports_setting_file_ids`` property
372
has been added that can be set to False to indicate a working tree
373
doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
374
(Jelmer Vernooij, #1707533)
376
* A new ``RepositoryFormat.supports_setting_revision_ids`` property
377
has been added that can be set to False to indicate a repository
378
doesn't support passing revision ids to ``CommitBuilder.commit``.
381
* A new ``RepositoryFormat.supports_overriding_transport`` property
382
has been added that can be set to False to indicate a repository
383
doesn't support passing an alternative transport to
384
``RepositoryFormat.open``.
387
* ``Repository.print_file`` and ``Branch.print_file`` have been removed.
390
* Various ``lock_write`` and ``lock_read`` functions now return a
391
context manager. (Jelmer Vernooij)
393
* The ``BranchWriteLockResult.branch_token`` (returned by
394
``Branch.lock_write``) has been renamed to
395
``BranchWriteLockResult.token``. (Jelmer Vernooij)
397
* ``breezy.decorators.needs_write_lock``,
398
``breezy.decorators.needs_read_lock`` and
399
``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
400
Instead, use the context managers returned by ``.lock_write``,
401
``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
403
* ``Tree`` methods now take a ``path`` as primary key argument, rather
404
than a ``file_id``. ``file_id`` is still present as optional argument
405
for most functions, and can be specified to speed up lookups.
411
.. Major internal changes, unlikely to be visible to users or plugin
412
developers, but interesting for brz developers.
414
* Allow overriding of default HTTP headers by caller.
415
(Jelmer Vernooij, #1753734)
420
* Allow /dev/null to be a symlink to a chardev. (Igo Pashev, #832257)
422
* A test isolation issue in ``breezy.tests.test_ui`` was fixed,
423
which caused ``output_encoding = iso-8859-1`` to be added to the
424
users' bazaar.conf. (Jelmer Vernooij)
426
* Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
429
* The ``--subunit`` argument for ``brz selftest`` has been renamed to
430
``--subunit1``, and a new argument ``--subunit2`` has been added that
432
(Jelmer Vernooij, #1699346, #661205)
434
* Launchpad plugin tests no longer try to connect to production
435
Launchpad. (Jelmer Vernooij, #723183)
437
* Set the ``GPGHOME`` environment variable during testing, to prevent
438
e.g. leaking keys into the users' GNUPG directory.
439
(Jelmer Vernooij, #843885)
441
* Allow some slack when comparing times.
442
(Jelmer Vernooij, #1804121)
444
* Fix a spuriously failing fastexport test due to dictionary
445
ordering. (Jelmer Vernooij, #1808630)
448
vim: tw=74 ft=rst ff=unix