11
:2.5.0: 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.
26
.. Improvements to existing commands, especially improved performance
27
or memory usage, or better results.
29
* "bzr switch -b" in a standalone tree will now create a colocated branch.
30
(Jelmer Vernooij, #918197)
32
* ``bzr info`` now reports when there are present (but unused) colocated
33
branches. (Jelmer Vernooij, #891646)
35
* Checkouts can now be into target directories that already have
36
a control directory (but no branch or working tree).
37
(Jelmer Vernooij, #913980)
39
* New HPSS call for ``BzrDir.get_branches``. (Jelmer Vernooij, #894460)
41
* Two new command hooks, ``pre_command`` and ``post_command``,
42
provide notification before and after a command has been run.
43
(Brian de Alwis, Jelmer Vernooij)
48
.. Fixes for situations where bzr would previously crash or give incorrect
49
or undesirable results.
51
* ``bzr branch`` now fetches revisions when branching into an empty
52
control directory. (Jelmer Vernooij, #905594)
54
* Support scripts that don't call bzrlib.initialize() but still call run_bzr().
55
(Vincent Ladeuil, #917733)
57
* Test for equality instead of object identity where ROOT_PARENT is concerned.
58
(Wouter van Heyst, #881142)
60
* urllib-based HTTPS client connections now verify the server certificate
61
validity as well as the hostname.
62
(Jelmer Vernooij, Vincent Ladeuil, #651161)
67
.. Improved or updated documentation.
72
.. Changes that may require updates in plugins or other code that uses
75
* ``ControlDir`` now has a new method ``set_branch_reference`` which can
76
be used for setting branch references. (Jelmer Vernooij)
81
.. Major internal changes, unlikely to be visible to users or plugin
82
developers, but interesting for bzr developers.
84
* A new matcher ``RevisionHistoryMatches`` has been added. (Jelmer Vernooij)
86
* ``MutableTree`` has two new hooks ``pre_transform`` and
87
``post_transform`` that are called for tree transform operations.
88
(Jelmer Vernooij, #912084)
93
.. Fixes and changes that are only relevant to bzr's test framework and
94
suite. This can include new facilities for writing tests, fixes to
95
spurious test failures and changes to the way things should be tested.
11
:2.5b5: NOT RELEASED YET
103
This is the fifth (and last) beta of the 2.5 series, leading to a 2.5.0
104
release in February 2012. Beta releases are suitable for everyday use but
105
may cause some incompatibilities with plugins.
107
This release includes many improvements in the smart server, UI polish for
108
the colocated branches, enhancements to the config framework and more
109
internal uses, bug fixes related to unicode and locale support and more.
111
All bug fixed in previous series known at the time of this release are
13
114
External Compatibility Breaks
14
115
*****************************
16
.. These may require users to change the way they use Bazaar.
18
117
* The '.bzr/branch/email' file is no longer read to determine the users'
19
118
identity. Instead, the 'email' setting in '.bzr/branch/branch.conf'
20
119
should be used. (Jelmer Vernooij, #903894)
82
173
of revisions whose ancestry is not obviously on the same developement
83
174
line. (Vincent Ladeuil, #904744)
85
* Configuration stacks can now use ``StartingPathMatcher`` to select the
86
sections matching a location while respecting the order chosen by the user
87
in the configuration file: from generic sections to specific
88
sections. (Vincent Ladeuil, #832046).
90
176
* Make lazy imports resilient when resolved concurrently from multiple
91
177
threads. Now the stand-in object will behave as a proxy for the real object
92
178
after the initial access, rather than throwing. Assigning the object to
153
.. Major internal changes, unlikely to be visible to users or plugin
154
developers, but interesting for bzr developers.
231
* Add HPSS call for ``Branch.get_checkout_format``. (Jelmer Vernooij, #894459)
233
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
235
* Add HPSS calls for ``Repository.iter_files_bytes``, speeding up
236
several commands including ``bzr export`` and ``bzr co --lightweight``.
237
(Jelmer Vernooij, #608640)
239
* All bzr control directories, branch formats, repository formats and
240
working tree formats now support feature flags, which are
241
serialized in their respective format files. See
242
``doc/developers/feature-flags.txt`` for details.
156
245
* ``bzrlib.urlutils`` now includes ``quote`` and ``unquote`` functions,
157
246
rather than importing them from ``urllib``. This prevents loading
161
250
* Configuration options can be SI units by using ``int_SI_from_unicode`` as
162
251
their ``convert_from_unicode`` helper. (Vincent Ladeuil)
253
* Configuration stacks can now use ``StartingPathMatcher`` to select the
254
sections matching a location while respecting the order chosen by the user
255
in the configuration file: from generic sections to specific
256
sections. (Vincent Ladeuil, #832046).
164
258
* Configuration stores can now save incremental changes by using
165
259
``save_changes()`` instead of ``save()``. This reduces the number or
166
260
required input/outputs and allows stores to be shared between
388
474
``Repository.get_revision_signature_text``.
389
475
(Jelmer Vernooij)
391
* Add HPSS call for ``Branch.get_checkout_format``. (Jelmer Vernooij, #894459)
393
* Add HPSS call for ``Repository.pack``. (Jelmer Vernooij, #894461)
395
* Add HPSS calls for ``Repository.iter_files_bytes``, speeding up
396
several commands including ``bzr export`` and ``bzr co --lightweight``.
397
(Jelmer Vernooij, #608640)
399
* Custom HPSS error handlers can now be installed in the smart server client
400
using the ``error_translators`` and ``no_context_error_translators``
401
registries. (Jelmer Vernooij)
403
477
* ``RemoteBranch.get_config_stack`` and ``RemoteBzrDir.get_config_stack``
404
478
will now use HPSS calls where possible. (Jelmer Vernooij)
406
* Custom HPSS error handlers can now be installed in the smart server client
407
using the ``error_translators`` and ``no_context_error_translators``
408
registries. (Jelmer Vernooij)
410
480
* The registry of merge types has been moved to ``merge`` from ``option`` but
411
481
``merge.get_merge_type_registry`` remains as an accessor. (Martin Packman)
413
* All bzr control directories, branch formats, repository formats and
414
working tree formats now support feature flags, which are
415
serialized in their respective format files. See
416
``doc/developers/feature-flags.txt`` for details.