11
:2.5b1: NOT RELEASED YET
13
External Compatibility Breaks
14
*****************************
16
.. These may require users to change the way they use Bazaar.
21
.. New commands, options, etc that users may wish to try out.
23
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
24
checks to see if the most recent published source package version for
25
that project is present in the branch tags. This should help developers
26
trust whether the packaging branch is up-to-date and can be used for new
27
changes. The level of verbosity is controlled by the config item
28
``launchpad.packaging_verbosity``. It can be set to one of
35
only display if the branch is out-of-date
38
also display single-line up-to-date and missing,
42
(default) display multi-line content for all states
45
(John Arbash Meinel, #609187, #812928)
47
* Add a config option gpg_signing_key for setting which GPG key should
48
be used to sign commits. Also default to using the gpg user identity
49
which matches user_email() as set by whoami. (Jonathan Riddell,
52
* bzr log -m now matches message, author, committer and bugs instead
53
of just matching the message. --message keeps its original meaning,
54
while --match-message, --match-author, --match-committer and
55
--match-bugs match each of those fields.
57
* Relative local paths can now be specified in URL syntax by using the
58
"file:" prefix. (Jelmer Vernooij)
63
.. Improvements to existing commands, especially improved performance
64
or memory usage, or better results.
69
.. Fixes for situations where bzr would previously crash or give incorrect
70
or undesirable results.
72
* A call to CHKInventory's filter-method will not result in a
73
DuplicateFileId error, if you move a subfolder and change a file in
75
(Bastian Bowe, #809901)
77
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
78
errors. (Vincent Ladeuil, #822571)
80
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
82
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
83
operations that use it, like merge, can now create trees without a root.
89
.. Improved or updated documentation.
91
* Release instructions refreshed. (Vincent Ladeuil)
96
.. Changes that may require updates in plugins or other code that uses
99
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
100
have been added that only support opening from a path or a URL,
101
unlike ``get_transport``. (Jelmer Vernooij)
103
* New method ``Tree.get_file_verifier`` which allows tree implementations
104
to return non-sha1 checksums to verify files.
105
(Jelmer Vernooij, #720831)
107
* New method ``InterTree.file_content_matches`` which checks that
108
two files in different trees have the same contents.
111
* New registry ``OptionRegistry`` specialized for configuration options.
114
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
117
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
118
``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
119
2.10 and 2.2.0. (Vincent Ladeuil)
121
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
123
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
124
``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
125
remove ``log.show_one_log`` which was never properly deprecated but wasn't
126
used and is easy to inline if needed. (Vincent Ladeuil)
128
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
129
deprecated in 2.1.0. (Vincent Ladeuil)
131
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
132
a default transport is currently unused. (Jelmer Vernooij)
134
* Remove ``UIFactory.warn_cross_format_fetch`` and
135
``UIFactory.warn_experimental_format_fetch`` in favor of
136
``UIFactory.show_user_warning``. (Jelmer Vernooij)
138
* There is a new class `ContentFilterTree` that provides a facade for
139
content filtering. The `filtered` parameter to `export` is deprecated
140
in favor of passing a filtered tree, and the specific exporter plugins
141
no longer support it.
148
.. Major internal changes, unlikely to be visible to users or plugin
149
developers, but interesting for bzr developers.
154
.. Fixes and changes that are only relevant to bzr's test framework and
155
suite. This can include new facilities for writing tests, fixes to
156
spurious test failures and changes to the way things should be tested.
158
* `BranchBuilder.build_snapshot` now supports a "flush" action. This
159
cleanly and reliably allows tests using `BranchBuilder` to construct
160
branches that e.g. rename files out of a directory and unversion that
161
directory in the same revision. Previously some changes were impossible
162
due to the order that `build_snapshot` performs its actions.
165
* Don't require ``os.fdatasync`` to be defined on all supported OSes
166
(BSD-based OSes don't define it). (Vincent Ladeuil, #822649)
168
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
170
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
171
just compares the bytes in the dirstate file to its pristine state,
172
rather than opening the WorkingTree and calling ``last_revision()``.
173
This reduces the overall test suite time by about 10% on my laptop.
176
* Update `TestCase.knownFailure` to the testtools way of handling expected
177
failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
180
vim: tw=74 ft=rst ff=unix