~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-03-13 23:45:11 UTC
  • mfrom: (3272.1.1 ianc-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080313234511-fkj5oa8gm3nrfcro
(Neil Martinsen-Burrell) Explain version-info --custom in the User
        Guide

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
####################
2
 
Bazaar Release Notes
3
 
####################
4
 
 
5
 
.. toctree::
6
 
   :maxdepth: 1
7
 
 
8
 
bzr 2.5b2
9
 
#########
10
 
 
11
 
:2.5b2: 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.5b1
61
 
#########
62
 
 
63
 
:2.5b1: 2011-09-15
64
 
 
65
 
This is the first beta of the 2.5 series, leading up to a 2.5.0
66
 
release in February 2012.  Beta releases are suitable for everyday use
67
 
but may cause some incompatibilities with plugins.  Some plugins may need
68
 
small updates to work with 2.5b1.
69
 
 
70
 
External Compatibility Breaks
71
 
*****************************
72
 
 
73
 
None
74
 
 
75
 
New Features
76
 
************
77
 
 
78
 
* A ``from_unicode`` parameter can be specified when registering a config
79
 
  option. This implements boolean, integer and list config options when the
80
 
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
81
 
  are used for this parameter.  (Vincent Ladeuil)
82
 
 
83
 
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
84
 
  checks to see if the most recent published source package version for
85
 
  that project is present in the branch tags. This should help developers
86
 
  trust whether the packaging branch is up-to-date and can be used for new
87
 
  changes. The level of verbosity is controlled by the config item
88
 
  ``launchpad.packaging_verbosity``. It can be set to one of
89
 
 
90
 
  off
91
 
    disable all checks
92
 
 
93
 
 
94
 
  minimal
95
 
    only display if the branch is out-of-date
96
 
 
97
 
  short
98
 
    also display single-line up-to-date and missing,
99
 
 
100
 
 
101
 
  all
102
 
    (default) display multi-line content for all states
103
 
 
104
 
 
105
 
  (John Arbash Meinel, #609187, #812928)
106
 
 
107
 
* Add a config option gpg_signing_key for setting which GPG key should
108
 
  be used to sign commits. Also default to using the gpg user identity
109
 
  which matches user_email() as set by whoami.
110
 
  (Jonathan Riddell, #68501)
111
 
 
112
 
* An ``invalid`` parameter can be specified when registering a config option
113
 
  to decide what should be done when invalid values are
114
 
  encountered. 'warning' and 'error' will respectively emit a warning and
115
 
  ignore the value or errors out. (Vincent Ladeuil)
116
 
 
117
 
* bzr add now skips large files in recursive mode. The default "large"
118
 
  size is 20MB, and is configurable via the add.maximum_file_size
119
 
  option. A value of 0 disables skipping. Named items passed to add are
120
 
  never skipped. (Shannon Weyrick, #54624)
121
 
 
122
 
* ``bzr help configuration/<option>`` display the help for ``option`` for
123
 
  all registered configuration options. (Vincent Ladeuil, #747050)
124
 
 
125
 
* ``bzr log -m`` now matches message, author, committer and bugs instead
126
 
  of just matching the message.  ``--message`` keeps its original meaning,
127
 
  while ``--match-message, --match-author, --match-committer`` and
128
 
  ``--match-bugs`` match each of those fields. (Jacek Sieka)
129
 
 
130
 
* ``config.Option`` can now declare ``default_from_env``, a list of
131
 
  environment variables to get a default value from. (Vincent Ladeuil)
132
 
 
133
 
* ``config.NameMatcher`` can be used to implement config stores and stacks
134
 
  that need to provide specific option values for arbitrary unique IDs (svn
135
 
  repository UUIDs, etc).  (Vincent Ladeuil, #843638)
136
 
 
137
 
* New builtin ``bzr branches`` command, which lists all colocated branches
138
 
  in a directory. (Jelmer Vernooij, #826820)
139
 
 
140
 
* Relative local paths can now be specified in URL syntax by using the
141
 
  "file:" prefix.  (Jelmer Vernooij)
142
 
 
143
 
* Report commits signed with expired keys in ``verify-signatures``.
144
 
  (Jonathan Riddell, #804254)
145
 
 
146
 
* Translations are now enabled for command help, errors and globally
147
 
  for any message using gettext given on output.  (Jonathan Riddell,
148
 
  INADA Naoki, #83941)
149
 
 
150
 
Improvements
151
 
************
152
 
 
153
 
* ``bzr add`` will now warn about nested subtrees that are skipped.
154
 
  (Jelmer Vernooij, #187342)
155
 
 
156
 
* ``bzr commit -m ''`` can now be used to force an empty commit message.
157
 
  Entering an empty commit message in the message editor still triggers
158
 
  an error. (Jelmer Vernooij)
159
 
 
160
 
* ``bzr pull`` will now mention how many tags it has updated.
161
 
  (Jelmer Vernooij, #164450)
162
 
 
163
 
* ``bzr tag`` no longer errors if a tag already exists but refers to the
164
 
  same revision, and will mention when a tag has been updated
165
 
  rather than created. (Jelmer Vernooij, #381203)
166
 
 
167
 
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
168
 
  The ``--keep-tags`` option can be used to prevent this behaviour.
169
 
  (Jelmer Vernooij, #605814)
170
 
 
171
 
* Do not run i18n initialisation twice. (Jonathan Riddell)
172
 
 
173
 
* Install translation .mo files. (Jonathan Riddell)
174
 
 
175
 
* Locations printed by ``bzr upgrade`` are now formatted before display.
176
 
  (Jelmer Vernooij)
177
 
 
178
 
* ``Repository.get_parent_map`` now estimates the size of the returned
179
 
  content more accurately. This means that we get closer to the desired
180
 
  64kB/request. For repositories converted from svn, this can be an
181
 
  improvement of approx 5:1 in round trips to discover the whole history.
182
 
  (John Arbash Meinel)
183
 
 
184
 
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
185
 
  if no bug tracker was specified on the command line.
186
 
  (Jelmer Vernooij, #334860)
187
 
 
188
 
* Use gettext.NullTranslations in i18n to allow use of i18n even when
189
 
  translations are not turned on. (Jonathan Riddell)
190
 
 
191
 
Bug Fixes
192
 
*********
193
 
 
194
 
* ``bzr commit`` now correctly reports missing files as "removed", not
195
 
  "modified". (Jelmer Vernooij, #553955)
196
 
 
197
 
* ``bzr reconfigure`` will now allow multiple non-conflicting requests
198
 
  in a single invocation, e.g. ``--branch`` and ``--use-shared``.
199
 
  (Martin von Gagern, #842993)
200
 
 
201
 
* A call to CHKInventory's filter-method will not result in a
202
 
  DuplicateFileId error, if you move a subfolder and change a file in
203
 
  that subfolder.
204
 
  (Bastian Bowe, #809901)
205
 
 
206
 
* Branching from a stacked branch no longer does a ``get_parent_map``
207
 
  request for each revisions that is in the stacked-on repository while
208
 
  determining what revisions need to be fetched. This mostly impacts
209
 
  branching initialy into an empty shared repository when the source is
210
 
  not the development focus.  (John Arbash Meinel, #388269)
211
 
 
212
 
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
213
 
  errors.  (Vincent Ladeuil, #822571)
214
 
 
215
 
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
216
 
  raised whenever a transport at the drive root was opened on windows.
217
 
  (Martin [gz], #841322)
218
 
 
219
 
* Fixed loading of external merge tools from config to properly decode
220
 
  command-lines which contain embedded quotes. (Gordon Tyler, #828803)
221
 
 
222
 
* Rather than an error being raised, a warning is now printed when the
223
 
  current user does not have permission to read a configuration file.
224
 
  (Jelmer Vernooij, #837324)
225
 
 
226
 
* The pull command will now always use separate connections for the
227
 
  case where the destination is a heavyweight checkout of some remote
228
 
  branch on the same host as the source branch.
229
 
  (Martin von Gagern, #483661)
230
 
 
231
 
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
232
 
  operations that use it, like merge, can now create trees without a root.
233
 
  (Aaron Bentley)
234
 
 
235
 
Documentation
236
 
*************
237
 
 
238
 
* Release instructions refreshed. (Vincent Ladeuil)
239
 
 
240
 
API Changes
241
 
***********
242
 
 
243
 
* ``BranchFormat.initialize`` now takes a ``append_revisions_only``
244
 
  argument. (Jelmer Vernooij)
245
 
 
246
 
* ``Branch._get_checkout_format`` now takes a ``lightweight`` argument
247
 
  which indicates if the format should be for a lightweight or a
248
 
  heavyweight checkout. (Jelmer Vernooij)
249
 
 
250
 
* ``ControlDir.create_branch`` now takes a ``append_revisions_only`` argument.
251
 
  (Jelmer Vernooij)
252
 
 
253
 
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
254
 
  (Jelmer Vernooij)
255
 
 
256
 
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
257
 
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
258
 
  (Shannon Weyrick)
259
 
 
260
 
* New method ``InterTree.file_content_matches`` which checks that
261
 
  two files in different trees have the same contents.
262
 
  (Jelmer Vernooij)
263
 
 
264
 
* New method ``Tree.get_file_verifier`` which allows tree implementations
265
 
  to return non-sha1 checksums to verify files.
266
 
  (Jelmer Vernooij, #720831)
267
 
 
268
 
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
269
 
  have been added that only support opening from a path or a URL,
270
 
  unlike ``get_transport``. (Jelmer Vernooij)
271
 
 
272
 
* New registry ``OptionRegistry`` specialized for configuration options.
273
 
  (Vincent Ladeuil)
274
 
 
275
 
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
276
 
  (Vincent Ladeuil)
277
 
 
278
 
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
279
 
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
280
 
  2.10 and 2.2.0. (Vincent Ladeuil)
281
 
 
282
 
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
283
 
 
284
 
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
285
 
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
286
 
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
287
 
  used and is easy to inline if needed. (Vincent Ladeuil)
288
 
 
289
 
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
290
 
  deprecated in 2.1.0. (Vincent Ladeuil)
291
 
 
292
 
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
293
 
  a default transport is currently unused. (Jelmer Vernooij)
294
 
 
295
 
* Remove ``UIFactory.warn_cross_format_fetch`` and
296
 
  ``UIFactory.warn_experimental_format_fetch`` in favor of
297
 
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
298
 
 
299
 
* ``Tags`` containers can now declare whether they support versioned
300
 
  tags and whether tags can refer to ghost tags.
301
 
  (Jelmer Vernooij)
302
 
 
303
 
* ``Tags.merge_to`` now returns a dictionary with the updated tags
304
 
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
305
 
 
306
 
* There is a new class `ContentFilterTree` that provides a facade for 
307
 
  content filtering.  The `filtered` parameter to `export` is deprecated 
308
 
  in favor of passing a filtered tree, and the specific exporter plugins
309
 
  no longer support it.
310
 
  (Martin Pool)
311
 
 
312
 
* ``Transport`` now has a ``_parsed_url`` attribute instead of
313
 
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
314
 
  and ``_path`` attributes. Proxies are provided for the moment but
315
 
  may be removed in the future. (Jelmer Vernooij)
316
 
 
317
 
 
318
 
Internals
319
 
*********
320
 
 
321
 
* A new debug flag ``hpss_client_no_vfs`` will now cause the HPSS client
322
 
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
323
 
  is attempted. (Jelmer Vernooij)
324
 
 
325
 
* New method ``ControlDir._get_selected_branch`` which returns the
326
 
  colocated branch selected using path segment parameters.
327
 
  (Jelmer Vernooij, #380871)
328
 
 
329
 
Testing
330
 
*******
331
 
 
332
 
* Blackbox tests (including test scripts) can be debugged interactively (see
333
 
  bzrlib.debug.BzrPdb for details). (Vincent Ladeuil)
334
 
 
335
 
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
336
 
  cleanly and reliably allows tests using `BranchBuilder` to construct
337
 
  branches that e.g. rename files out of a directory and unversion that
338
 
  directory in the same revision.  Previously some changes were impossible
339
 
  due to the order that `build_snapshot` performs its actions.
340
 
  (Andrew Bennetts)
341
 
 
342
 
* Don't require ``os.fdatasync`` to be defined on all supported OSes
343
 
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
344
 
 
345
 
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
346
 
 
347
 
* ``LockDir`` can now be run when the local hostname is ``localhost``.
348
 
  (Jelmer Vernooij, #825994)
349
 
 
350
 
* ``ModuleAvailableFeature`` won't try to import already imported modules,
351
 
  allowing it to be used for modules with side-effects.
352
 
  (Vincent Ladeuil, #712474)
353
 
 
354
 
* Output time stamps while running ``make check`` to get better timings from
355
 
  pqm.  (Vincent Ladeuil, #837926)
356
 
 
357
 
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
358
 
  just compares the bytes in the dirstate file to its pristine state,
359
 
  rather than opening the WorkingTree and calling ``last_revision()``.
360
 
  This reduces the overall test suite time by about 10% on my laptop.
361
 
  (Andrew Bennetts)
362
 
 
363
 
* Update `TestCase.knownFailure` to the testtools way of handling expected
364
 
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
365
 
 
366
 
..
367
 
   vim: tw=74 ft=rst ff=unix