~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/en/release-notes/bzr-2.4.txt

(jelmer) Move VersionedFile-specific reconcile tests to
 bzrlib.tests.per_repository_vf. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. toctree::
6
6
   :maxdepth: 1
7
7
 
8
 
bzr 2.4b2
 
8
bzr 2.4b1
9
9
#########
10
10
 
11
 
:2.4b2: NOT RELEASED YET
 
11
:2.4b1: NOT RELEASED YET
12
12
 
13
13
External Compatibility Breaks
14
14
*****************************
20
20
 
21
21
.. New commands, options, etc that users may wish to try out.
22
22
 
23
 
Improvements
24
 
************
25
 
 
26
 
.. Improvements to existing commands, especially improved performance 
27
 
   or memory usage, or better results.
28
 
 
29
 
* Resolve ``lp:FOO`` urls locally rather than doing an XMLRPC request if
30
 
  the user has done ``bzr launchpad-login``. The bzr+ssh URLs were already
31
 
  being handed off to the remote server anyway (xmlrpc has been mapping
32
 
  ``lp:bzr`` to ``bzr+ssh://bazaar.launchpad.net/+branch/bzr``, rather
33
 
  than ``bzr+ssh://bazaar.launchpad.net/~bzr-pqm/bzr/bzr.dev`` for a few
34
 
  months now.) By doing it ourselves, we can cut out substantial startup
35
 
  time. From Netherlands to London it was taking 368ms to do the XMLRPC
36
 
  call as much as 2s from Sydney. You can test the local logic by using
37
 
  ``-Dlaunchpad``.  (John Arbash Meinel, #397739)
38
 
 
39
 
Bug Fixes
40
 
*********
41
 
 
42
 
.. Fixes for situations where bzr would previously crash or give incorrect
43
 
   or undesirable results.
44
 
 
45
 
 * Lazy hooks are now reset between test runs. (Jelmer Vernooij, #745566)
46
 
 
47
 
Documentation
48
 
*************
49
 
 
50
 
* Added a section about using a shared SSH account on a server for bzr+ssh
51
 
  access.  (Russell Smith)
52
 
 
53
 
API Changes
54
 
***********
55
 
 
56
 
.. Changes that may require updates in plugins or other code that uses
57
 
   bzrlib.
58
 
 
59
 
* ``Hooks.create_hook`` is now deprecated in favour of ``Hooks.add_hook``.
60
 
  (Jelmer Vernooij)
61
 
 
62
 
* If you call `bzrlib.initialize` but forget to enter the resulting object
63
 
  as a context manager, bzrlib will now be initialized anyhow.
64
 
  (Previously simple programs calling bzrlib might find the library was
65
 
  mysteriously silent.)
66
 
  (Martin Pool)
67
 
 
68
 
* New method ``Hooks.uninstall_named_hook``. (Jelmer Vernooij, #301472)
69
 
 
70
 
Internals
71
 
*********
72
 
 
73
 
.. Major internal changes, unlikely to be visible to users or plugin 
74
 
   developers, but interesting for bzr developers.
75
 
 
76
 
Testing
77
 
*******
78
 
 
79
 
.. Fixes and changes that are only relevant to bzr's test framework and 
80
 
   suite.  This can include new facilities for writing tests, fixes to 
81
 
   spurious test failures and changes to the way things should be tested.
82
 
 
83
 
 
84
 
bzr 2.4b1
85
 
#########
86
 
 
87
 
:2.4b1: 2011-04-17
88
 
 
89
 
This is the first beta of the 2.4 series, leading up to a 2.4.0
90
 
release in August 2011.  Beta releases are suitable for everyday use
91
 
but may cause some incompatibilities with plugins.  Some plugins may need
92
 
small updates to work with 2.4b1.
93
 
 
94
 
External Compatibility Breaks
95
 
*****************************
96
 
 
97
 
(none)
98
 
 
99
 
New Features
100
 
************
101
 
 
102
 
* Added ``changelog_merge`` plugin for merging changes to ``Changelog`` files
103
 
  in GNU format.  See ``bzr help changelog_merge`` for details.
104
 
  (Andrew Bennetts)
105
 
  
 
23
* The ``lp:`` directory service now supports Launchpad's QA staging.
 
24
  (Jelmer Vernooij, #667483)
 
25
 
 
26
* External merge tools can now be configured in bazaar.conf. See
 
27
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
 
28
 
106
29
* Configuration options can now use references to other options in the same
107
30
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
108
31
  possible to use, for example,
111
34
  this feature. It can be activated by declaring ``bzr.config.expand = True``
112
35
  in ``bazaar.conf``. (Vincent Ladeuil)
113
36
 
114
 
* External merge tools can now be configured in bazaar.conf. See
115
 
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
116
 
 
117
 
* The ``lp:`` directory service now supports Launchpad's QA staging.
118
 
  (Jelmer Vernooij, #667483)
119
 
 
120
37
Improvements
121
38
************
122
39
 
 
40
.. Improvements to existing commands, especially improved performance 
 
41
   or memory usage, or better results.
 
42
 
123
43
* A new hidden command ``bzr repair-workingtree``. This is a way to force
124
44
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
125
45
  workaround. (John Arbash Meinel)
130
50
 
131
51
* Branching, merging and pulling a branch now copies revisions named in
132
52
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
133
 
 
134
 
* ``bzr cat-revision`` no longer requires a working tree.
135
 
  (Jelmer Vernooij, #704405)
136
 
 
137
 
* ``bzr export --per-file-timestamps`` for .tar.gz files will now
138
 
  override the mtime for trees exported on Python 2.7 and later, which
139
 
  expose the 'mtime' field in gzip files. This makes the output of
140
 
  ``bzr export --per-file-timestamps`` for a particular tree
141
 
  deterministic.  (Jelmer Vernooij, #711226)
142
 
 
143
 
* ``bzr export --format=zip`` can now export to standard output,
144
 
  like the other exporters can. (Jelmer Vernooij, #513752)
145
 
 
146
 
* ``bzr export`` can now create ``.tar.xz`` and ``.tar.lzma`` files.
147
 
  (Jelmer Vernooij, #551714)
148
 
 
149
 
* Getting all entries from ``CHKInventory.iter_entries_by_dir()`` has been
150
 
  sped up dramatically for large trees. Iterating by dir is not the best
151
 
  way to load data from a CHK inventory, so it preloads all the items in
152
 
  the correct order. (With the gcc-tree, this changes it (re)reading 8GB
153
 
  of CHK data, down to just 150MB.) This has noticeable affects for things
154
 
  like building checkouts, etc.  (John Arbash Meinel, #737234)
155
 
 
 
53
  
 
54
* ``bzr cat-revision`` no longer requires a working tree. (Jelmer Vernooij, #704405)
156
55
 
157
56
Bug Fixes
158
57
*********
159
58
 
 
59
.. Fixes for situations where bzr would previously crash or give incorrect
 
60
   or undesirable results.
 
61
 
160
62
* A MemoryError thrown on the server during a remote operation will now be
161
63
  usefully reported, and other unexpected errors will include the class name.
162
64
  (Martin [gz], #722416)
167
69
* ``bzr export`` to zip files will now set a mode on directories.
168
70
  (Jelmer Vernooij, #207253)
169
71
 
170
 
* ``bzr export`` to tgz files will only write out the basename of the
171
 
  tarfile to the gzip file. (Jelmer Vernooij, #102234)
172
 
 
173
72
* ``bzr push --overwrite`` with an older revision specified will now correctly
174
73
  roll back the target branch. (Jelmer Vernooij, #386576)
175
74
 
227
126
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
228
127
  number of available processors. (Jelmer Vernooij, #693140)
229
128
 
 
129
Documentation
 
130
*************
 
131
 
 
132
.. Improved or updated documentation.
 
133
 
230
134
API Changes
231
135
***********
232
136
 
233
 
* Added ``Branch.heads_to_fetch`` method.  Implementations of the Branch API
 
137
.. Changes that may require updates in plugins or other code that uses
 
138
   bzrlib.
 
139
 
 
140
* Added ``Branch.heads_to_fetch`` method.  Implementions of the Branch API
234
141
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
235
142
  
236
143
* Added ``bzrlib.mergetools`` module with helper functions for working with
254
161
  ``import_last_revision_info_and_tags`` method instead.
255
162
  (Andrew Bennetts)
256
163
 
257
 
* Because it was too specific to BzrDir implementations,
258
 
  ``ControlDir.sprout`` no longer has a default implementation; it now
259
 
  raises ``NotImplementedError``. (Jelmer Vernooij, #717937)
260
 
 
261
 
* ``ControlDirFormat.register_format`` has been removed. Instead,
262
 
  ``Prober`` implementations should now implement a ``known_formats``
263
 
  method. (Jelmer Vernooij)
264
 
 
265
 
* ControlDirFormats can now provide a ``check_status`` method and
266
 
  raise a custom exception or warning when an unsupported or deprecated
267
 
  format is being opened.  (Jelmer Vernooij, #731311)
268
 
 
269
164
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
270
165
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
271
166
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
275
170
  indicates whether the components of the bzrdir can be upgraded
276
171
  independent of the ``BzrDir``. (Jelmer Vernooij)
277
172
 
278
 
* ``BzrProber.register_format`` and ``BzrProber.unregister_format`` are
279
 
  now deprecated in favour of the ``BzrProber.formats`` format registry.
280
 
  (Jelmer Vernooij)
281
 
 
282
 
* ``ControlDir`` implementations no longer have to provide the
283
 
  ``get_branch_transport``, ``get_workingtree_transport`` and
284
 
  ``get_repository_transport`` methods.  (Jelmer Vernooij, #730325)
 
173
* ``ControlDir`` implementations no longer have to provide the ``get_branch_transport``,
 
174
  ``get_workingtree_transport`` and ``get_repository_transport`` methods.
 
175
  (Jelmer Vernooij, #730325)
285
176
 
286
177
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
287
178
  ``bzrlib.controldir``. (Jelmer Vernooij)
317
208
Internals
318
209
*********
319
210
 
 
211
.. Major internal changes, unlikely to be visible to users or plugin 
 
212
   developers, but interesting for bzr developers.
 
213
 
320
214
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
321
215
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
322
216
  outside of tests. This class makes it easier to track exceptions in threads
323
 
  by catching them so they can be re-raised in the controlling thread. It's
 
217
  by cacthing them so they can be re-raised in the controlling thread. It's
324
218
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
325
219
 
326
 
* Correctly propogate malloc failures from diff-delta.c code as MemoryError
327
 
  so OOM conditions during groupcompress are clearly reported. This entailed a
328
 
  change to several function signatures. (Martin [gz], #633336)
329
 
 
330
220
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
331
221
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
332
222
 
333
223
Testing
334
224
*******
335
225
 
 
226
.. Fixes and changes that are only relevant to bzr's test framework and 
 
227
   suite.  This can include new facilities for writing tests, fixes to 
 
228
   spurious test failures and changes to the way things should be tested.
 
229
 
336
230
* The Range parsing for HTTP requests will correctly parse incomplete ranges.
337
231
  (Vincent Ladeuil, #731240)
338
232