8
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
9
information, see our release announcement on the Bazaar mailing list and
16
:3.0.1: NOT RELEASED YET
18
External Compatibility Breaks
19
*****************************
21
* The bzr command has been renamed to brz, to prevent
22
clashes with upstream Bazaar.
23
(Martin Packman, Jelmer Vernooij)
25
* The --prefix/-p argument for ``bzr diff`` now defaults to -p1 rather
26
than -p0. (Jelmer Vernooij, #1695126)
28
* The ``brz register-branch`` command from the Launchpad plugin has been
29
removed, because it has not worked for at least five years: it relies on
30
password authentication rather than SSO, the relevant systems no longer
31
have firewall-level access to the outside world, and in general the
32
Mirrored branch type is deprecated. Either just push the branch to
33
Launchpad or use code imports instead
34
(https://help.launchpad.net/VcsImports).
35
(Colin Watson, #254567, #483689)
37
* brz no longer supports building the C extensions using Pyrex.
38
Only Cython is supported. (Jelmer Vernooij)
40
* Support for HTTP support using "pycurl" and the associated
41
URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
42
(Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
44
* Support for medusa for FTP tests has been dropped, only
45
pyftpdlib is now supported. (Jelmer Vernooij)
47
* The deprecated ``brz get`` and ``brz clone`` commands have been
48
removed. (Jelmer Vernooij)
50
* The setting to ignore missing C extensions has been changed from
51
``ignore_missing_extensions=True`` to
52
``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
54
* Remove format names as options to ``brz init`` and ``brz
55
init-repository``.. Now you must use ``brz init --format=...``.
56
This simplifies ``brz init --help``.
57
(Neil Martinsen-Burrell, #330494)
59
* ``python-gpg`` is now used for checking GPG signatures rather than
60
``python-gpgme``. (Jelmer Vernooij, #1702308)
62
* ``python-gpg`` is now used for signing commits, rather than shelling
63
out to the gnupg command. The ``gpg_signing_command`` option has been
64
removed. (Jelmer Vernooij, #847388)
66
* The ``bzr.transform.orphan_policy`` configuration option
67
has been renamed to ``transform.orphan_policy``.
73
* The 'bisect' plugin is now shipped with bzr. (Jelmer Vernooij)
75
* The 'fastimport' plugin is now bundled with Bazaar.
78
* The 'stats' plugin is now bundled with Bazaar.
81
* The 'upload' plugin is now bundled with Bazaar.
84
* The 'cvs' and 'mtn' plugins are now bundled with Bazaar.
87
* The 'email' plugin is now bundled with Bazaar.
90
* The 'import' command is now bundled with brz.
91
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
93
* The 'link-tree' command is now bundled with brz.
94
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
96
* The 'fetch-ghosts' command is now bundled with brz.
97
Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
99
* The 'commitfromnews' plugin is now bundled and
100
can be enabled by setting ``commit.template_from_files = NEWS``.
103
* The 'darcs' plugin is now bundled.
106
* The functionality from ``bzr-guess`` is now merged into Breezy.
107
It will provide suggestions if the user typoes a command.
110
* Support the creation of colocated branches in ``brz fast-import``.
111
(Jelmer Vernooij, #1744626)
113
* New ``lp-logout`` command to unset launchpad username.
114
(Jelmer Vernooij, #349143)
119
* Doc generators now support the SOURCE_DATE_EPOCH environment
120
variable (https://reproducible-builds.org/specs/source-date-epoch/).
123
* The ``repodebug`` plugin is now bundled.
126
* New ``bzr cp`` command which copies files (but does not currently track
127
history). (Jelmer Vernooij, start towards #269095)
129
* HPSS calls for ``RevisionTree.archive`` and
130
``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
136
* Support Server Name Indication (SNI) when talking to https servers.
137
Cherry-picked from lp:~vila/bzr/1089352-sni-support
138
(Vincent Ladeuil, #1089352)
140
* The ``bisect`` command now works in non-``.bzr`` directories.
143
* When creating ``authentication.conf``, umask is now set so only the
144
current user can read the file. Breezy warns if the file is
145
accessible for other users when it starts.
146
(Joke de Buhr, Jelmer Vernooij, #475501)
148
* Support ``brz commit -x`` in combination with iter_changes.
149
(Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
151
* Print a proper error when encountering ghost revisions in
152
mainline in ``bzr log``. (Jelmer Vernooij, #726466)
154
* Security fix: hostnames starting with a dash in bzr+ssh URLs
155
are now filtered out when using a subprocess SSH client.
157
Thanks to Augie Fackler for reporting.
158
(Jelmer Vernooij, #1710979)
160
* Mark all options as unicode. Allows using non-ASCII values in most
161
options. (Jelmer Vernooij, #563692)
163
* Support automatic rename tracking into new directories.
166
* Avoid writing directly to sys.stdout, but use self.outf in
167
Command implementations instead. (#268573, B. Clausius)
169
* It is now possible to version files with backslashes in their name
170
on platforms that support it. (Jelmer Vernooij, #81844)
172
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
177
* Various documents have been updated to explain that Breezy is a fork
180
* Documentation translations into Japanese, Spanish and Russian have been
181
removed since there are no current translators to update them.
187
* bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
189
* Signature of ``load_tests`` used by ``TestLoader`` changed to be
190
compatible with standard libarary unittest. (Martin Packman)
192
* All previously deprecated functionality has been removed.
195
* ``CommitBuilder.record_entry_contents`` has been removed.
196
(Jelmer Vernooij, #731433, #604953)
198
* Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
199
``predicate=``. (Martin Packman)
201
* ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
202
have been renamed to ``Branch.controldir``, ``Repository.controldir``
203
and ``WorkingTree.controldir``, respectively.
204
(Jelmer Vernooij, #1695774)
206
* ``BzrBranch`` and the various bzr branch format implementations
207
have been moved to ``breezy.bzr``. (Jelmer Vernooij)
209
* ``MetaDirBranchFormatFactory`` has been removed.
210
Use lazy registration on ``breezy.branch.format_registry``
211
instead. (Jelmer Vernooij)
213
* ``breezy.bzrdir.format_registry`` has been removed; use
214
``breezy.controldir.format_registry`` instead.
217
* ``breezy.api`` has been removed. (Jelmer Vernooij, #742192)
219
* ``ControlDir.find_bzrdirs`` has been renamed to
220
``ControlDir.find_controldirs``. (Jelmer Vernooij)
222
* ``Repository.get_revisions`` no longer accepts ``None`` as
223
argument. (Jelmer Vernooij)
225
* A new ``Repository.iter_revisions`` method has been added.
228
* A new ``WorkingTreeFormat.supports_setting_file_ids`` property
229
has been added that can be set to False to indicate a working tree
230
doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
231
(Jelmer Vernooij, #1707533)
233
* A new ``RepositoryFormat.supports_setting_revision_ids`` property
234
has been added that can be set to False to indicate a repository
235
doesn't support passing revision ids to ``CommitBuilder.commit``.
238
* A new ``RepositoryFormat.supports_overriding_transport`` property
239
has been added that can be set to False to indicate a repository
240
doesn't support passing an alternative transport to
241
``RepositoryFormat.open``.
244
* ``Repository.print_file`` and ``Branch.print_file`` have been removed.
247
* Various ``lock_write`` and ``lock_read`` functions now return a
248
context manager. (Jelmer Vernooij)
250
* The ``BranchWriteLockResult.branch_token`` (returned by
251
``Branch.lock_write``) has been renamed to
252
``BranchWriteLockResult.token``. (Jelmer Vernooij)
254
* ``breezy.decorators.needs_write_lock``,
255
``breezy.decorators.needs_read_lock`` and
256
``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
257
Instead, use the context managers returned by ``.lock_write``,
258
``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
260
* ``Tree`` methods now take a ``path`` as primary key argument, rather
261
than a ``file_id``. ``file_id`` is still present as optional argument
262
for most functions, and can be specified to speed up lookups.
268
.. Major internal changes, unlikely to be visible to users or plugin
269
developers, but interesting for brz developers.
271
* Allow overriding of default HTTP headers by caller.
272
(Jelmer Vernooij, #1753734)
277
* A test isolation issue in ``breezy.tests.test_ui`` was fixed,
278
which caused ``output_encoding = iso-8859-1`` to be added to the
279
users' bazaar.conf. (Jelmer Vernooij)
281
* Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
284
* The ``--subunit`` argument for ``brz selftest`` has been renamed to
285
``--subunit1``, and a new argument ``--subunit2`` has been added that
287
(Jelmer Vernooij, #1699346, #661205)
289
* Launchpad plugin tests no longer try to connect to production
290
Launchpad. (Jelmer Vernooij, #723183)
292
* Set the ``GPGHOME`` environment variable during testing, to prevent
293
e.g. leaking keys into the users' GNUPG directory.
294
(Jelmer Vernooij, #843885)
297
vim: tw=74 ft=rst ff=unix