~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

Move all features to bzrlib.tests.features in 2.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
.. toctree::
6
6
   :maxdepth: 1
7
7
 
 
8
bzr 2.4.0
 
9
#########
 
10
 
 
11
:2.4.0: NOT RELEASED YET
 
12
 
 
13
External Compatibility Breaks
 
14
*****************************
 
15
 
 
16
.. These may require users to change the way they use Bazaar.
 
17
 
 
18
New Features
 
19
************
 
20
 
 
21
.. New commands, options, etc that users may wish to try out.
 
22
 
 
23
Improvements
 
24
************
 
25
 
 
26
.. Improvements to existing commands, especially improved performance 
 
27
   or memory usage, or better results.
 
28
 
 
29
Bug Fixes
 
30
*********
 
31
 
 
32
.. Fixes for situations where bzr would previously crash or give incorrect
 
33
   or undesirable results.
 
34
 
 
35
Documentation
 
36
*************
 
37
 
 
38
.. Improved or updated documentation.
 
39
 
 
40
API Changes
 
41
***********
 
42
 
 
43
.. Changes that may require updates in plugins or other code that uses
 
44
   bzrlib.
 
45
 
 
46
Internals
 
47
*********
 
48
 
 
49
.. Major internal changes, unlikely to be visible to users or plugin 
 
50
   developers, but interesting for bzr developers.
 
51
 
 
52
Testing
 
53
*******
 
54
 
 
55
.. Fixes and changes that are only relevant to bzr's test framework and 
 
56
   suite.  This can include new facilities for writing tests, fixes to 
 
57
   spurious test failures and changes to the way things should be tested.
 
58
 
 
59
 
 
60
bzr 2.4b5
 
61
#########
 
62
 
 
63
:2.4b5: 2011-07-07
 
64
 
 
65
This is the fifth (and last) beta of the 2.4 series leading to
 
66
2.4.0 release in Auguest 2011. Beta releases are suitable for
 
67
everyday use but may cause some incompatibilities with plugins.
 
68
 
 
69
This release includes all bug fixed in previous series known at
 
70
the time of this release.
 
71
 
 
72
External Compatibility Breaks
 
73
*****************************
 
74
 
 
75
None.
 
76
 
 
77
New Features
 
78
************
 
79
 
 
80
* New command ``verify-signatures`` to check if all commits or specified commits
 
81
  have digital signatures from trusted keys.  Requires python-gpgme to be
 
82
  installed.
 
83
 
 
84
* New option ``--signatures`` for ``bzr log`` to display digital signature
 
85
  verification results for each commit.
 
86
 
 
87
* Config option acceptable_keys to list which GPG keys are verified as trusted.
 
88
 
 
89
* Config option validate_signatures_in_log to always show signatures in 
 
90
  ``bzr log``.
 
91
 
 
92
Improvements
 
93
************
 
94
 
 
95
* ``Branch.open`` is now about 3x faster (about 2ms instead of 6.5ms).
 
96
  (Andrew Bennetts).
 
97
 
 
98
Bug Fixes
 
99
*********
 
100
 
 
101
* Display a proper error message when a config file content cannot be
 
102
  decoded as UTF-8 or when it cannot be parsed.
 
103
  (Vincent Ladeuil, #502060, #688677, #797246)
 
104
 
 
105
* Generate a single conflict (instead of two) when merging a branch
 
106
  modifying and renaming a file in a branch that deleted it (or vice-versa).
 
107
  (Vincent Ladeuil, #688101)
 
108
 
 
109
* Give a more helpful message when the bzr executable doesn't match the
 
110
  library.  (This typically happens because of a misconfigured PYTHONPATH
 
111
  or half-installed bzr.)  
 
112
  (Martin Pool, #804553)
 
113
 
 
114
* Properly load utf8-encoded config files. (Vincent Ladeuil, #799212)
 
115
 
 
116
* ``GraphThunkIdsToKeys.merge_sort`` now properly returns
 
117
  keys rather than ids. (Jelmer Vernooij, #799677)
 
118
 
 
119
* ``TreeTransformBase.fixup_new_roots`` can now check that a tree root
 
120
  is present. (Jelmer Vernooij, #801257)
 
121
 
 
122
API Changes
 
123
***********
 
124
 
 
125
* New attributes ``WorkingTreeFormat.supports_versioned_directories`` and
 
126
  ``RepositoryFormat.supports_versioned_directories``.
 
127
  (Jelmer Vernooij, #765815)
 
128
 
 
129
* The "revno" field type when using the python version-info format is now
 
130
  a string (to handle dotted revnos) (Benoît Pierre, #796259)
 
131
 
 
132
Internals
 
133
*********
 
134
 
 
135
* Start implementing localization, starting with command help text (but not
 
136
  the command options themselves). This will allow bootstrapping the bzr
 
137
  internationalization process. (Inada Naoki)
 
138
 
 
139
Testing
 
140
*******
 
141
 
 
142
* Fix test failures when running as a homeless user (debian buildd). Tests
 
143
  leaking into ``${HOME}/.bzr.log`` should be detected properly now.
 
144
  (Vincent Ladeuil, #798698)
 
145
 
8
146
bzr 2.4b4
9
147
#########
10
148
 
11
 
:2.4b4: NOT RELEASED YET
 
149
:2.4b4: 2011-06-16
 
150
 
 
151
This is the fourth beta of the 2.4 series, leading to a 2.4.0 release in
 
152
August 2011. Beta releases are suitable for everyday use but may cause some
 
153
incompatibilities with plugins.
 
154
 
 
155
This release includes all bug fixed in previous series known at the time of
 
156
this release.
 
157
 
12
158
 
13
159
External Compatibility Breaks
14
160
*****************************
15
161
 
16
162
.. These may require users to change the way they use Bazaar.
17
163
 
 
164
* Do not treat configuration option 'check_signatures = require' as if
 
165
  it were 'create_signatures = always' (Jonathan Riddell)
 
166
 
18
167
New Features
19
168
************
20
169
 
21
170
.. New commands, options, etc that users may wish to try out.
22
171
 
 
172
* Hooks have been added for config stacks: ``get``, ``set`` and ``remove``
 
173
  are called when an option is respectively read, modified or deleted. Also
 
174
  added ``load`` and ``save`` hooks for config stores, called when the
 
175
  stores are loaded or saved.  (Vincent Ladeuil)
 
176
 
23
177
* New hook server_exception in bzrlib.smart.server to catch any
24
 
  exception caused while running bzr serve.  (Jonathan Riddell,
25
 
  #274578)
 
178
  exception caused while running bzr serve.
 
179
  (Jonathan Riddell, #274578)
26
180
 
27
 
* New hook set_commit_message in bzrlib.msgeditor to set
28
 
  a commit message and revision properties.  (Jonathan Riddell,
29
 
  #274578)
 
181
* New hook set_commit_message in bzrlib.msgeditor to set a commit message
 
182
  and revision properties.  (Jonathan Riddell, #274578)
30
183
 
31
184
* Support ``-S`` as an alias for ``--short`` for the ``log`` and
32
185
  ``missing`` commands. (Martin von Gagern, #38655)
37
190
.. Improvements to existing commands, especially improved performance 
38
191
   or memory usage, or better results.
39
192
 
 
193
* ``bzr annotate`` can be run without setting whoami data first.
 
194
  (Jonathan Riddell, #667408)
 
195
 
40
196
Bug Fixes
41
197
*********
42
198
 
43
199
.. Fixes for situations where bzr would previously crash or give incorrect
44
200
   or undesirable results.
45
201
 
 
202
* Bazaar can now detect when a lock file is held by a dead process
 
203
  originating from the same machine, and steal the lock after printing a
 
204
  message to the user.  This is off by default, for safety, but can be
 
205
  turned on by setting the configuration variable ``locks.steal_dead`` to
 
206
  ``True``.
 
207
  (Martin Pool, #220464)
 
208
 
 
209
* ``bzr version-info`` now works when the tree is on a dotted revno.
 
210
  (Benoît Pierre, #796259)
 
211
 
46
212
* Credentials in the log output produced by ``-Dhttp`` are masked so users
47
213
  can more freely post them in bug reports. (Vincent Ladeuil, #723074)
48
214
 
49
215
* Fix a race condition for ``server_started`` hooks leading to a spurious
50
216
  test failure. (Vincent Ladeuil, #789167)
51
217
 
 
218
* Fix exporting subdirectory with ``--per-file-timestamps``.
 
219
  (Szilveszter Farkas, #795557)
 
220
 
52
221
* Handle files that get created but don't get used during TreeTransform.
53
222
  ``open()`` can create a file, and still raise an exception before it
54
223
  returns. So anything we might have created, make sure we destroy during
63
232
  because ``build_mo`` became a required step that they didn't know about.
64
233
  (John Arbash Meinel, #787122)
65
234
 
 
235
* Preserve existing ``root-id`` when merging an unrelated branch.
 
236
  (Aaron Bentley, #806356)
 
237
 
 
238
* Properly avoid re-adding a file after it changes case on CICP
 
239
  filesystems. (John Arbash Meinel, #798130)
 
240
 
66
241
* Reports the original error when an InvalidHttpResponse exception is
67
242
  encountered to facilitate debug. (Vincent Ladeuil, #788530)
68
243
 
73
248
  ``UIFactory.get_password`` and ``UIFactory.get_boolean`` now require a
74
249
  unicode prompt to be passed in. (Jelmer Vernooij, #592083)
75
250
 
 
251
* Support merging into the empty tree. (Aaron Bentley, #595328)
 
252
 
76
253
Documentation
77
254
*************
78
255
 
81
258
* Improve documentation of ``bzr merge --force``.
82
259
  (Neil Martinsen-Burrell, #767307)
83
260
 
 
261
* Make docs for configuration options for digital signatures match 
 
262
  reality. (Jonathan Riddell)
 
263
 
 
264
* Add user-guide page on GPG signatures. (Jonathan Riddell)
 
265
 
84
266
API Changes
85
267
***********
86
268
 
87
269
.. Changes that may require updates in plugins or other code that uses
88
270
   bzrlib.
89
271
 
90
 
* Test optional features including the base `Feature` class have been
91
 
  moved to `bzrlib.tests.features`.
 
272
* Checking for a file id in a `Tree` or `Inventory` using ``in`` is now
 
273
  deprecated.  Instead, use `has_id`.
 
274
  (Martin Pool)
 
275
 
 
276
* Exporters are now all exposed as generators, rather than as single-call
 
277
  functions, so that calling code can take stream the output.
 
278
  (Xaav, Martin Pool)
 
279
 
 
280
* Information about held lockdir locks returned from eg `LockDir.peek` is
 
281
  now represented as a `LockHeldInfo` object, rather than a plain
 
282
  Python dict.
 
283
  (Martin Pool)
 
284
 
 
285
* Remove `file_status` function.
 
286
  (Martin Pool)
 
287
 
 
288
* ``Repository.iter_reverse_revision_history`` is now deprecated.
 
289
  Use ``Graph.iter_lefthand_ancestry`` instead.
 
290
  (Jelmer Vernooij, #739481)
 
291
 
 
292
* ``Repository.get_ancestry`` has been deprecated. Use
 
293
  ``Graph.iter_ancestry`` instead.
 
294
  (Jelmer Vernooij, #784511)
92
295
 
93
296
Internals
94
297
*********
119
322
* Fix spurious test failure on OSX for WorkingTreeFormat2.
120
323
  (Vincent Ladeuil, #787942)
121
324
 
 
325
* Re-target ``bb.test_merge.TestMerge.test_merge_reversed_revision_range``
 
326
  and rewrite it as a parameterized test to avoid unrelated failures.
 
327
  (Vincent Ladeuil, #795456)
 
328
 
122
329
* Show log file contents from subprocesses started by
123
330
  `start_bzr_subprocess` in test failure details.  This may help diagnose
124
331
  strange hangs and failures involving subprocesses.  (Andrew Bennetts)
248
455
* Merging into empty branches now gives an error as this is currently
249
456
  not supported. (Jonathan Riddell, #242175)
250
457
 
251
 
* Do not show exception to user on pointless commit error (Jonathan
252
 
  Riddell #317357)
 
458
* Do not show exception to user on pointless commit error.
 
459
  (Jonathan Riddell #317357)
253
460
 
254
461
* ``WT.update_basis_by_delta`` no longer requires that the deltas match
255
462
  the current WT state. This allows ``update_basis_by_delta`` to be used
257
464
  not load the whole inventory, which can take 10+s with large trees.
258
465
  (Jonathan Riddell, John Arbash Meinel, #781168)
259
466
 
 
467
* ``bzr mv --after old_name new_name`` now works if "new_name" is newly
 
468
  added. (Benoît Pierre)
 
469
 
260
470
 
261
471
Documentation
262
472
*************