~bzr-pqm/bzr/bzr.dev

6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
8
bzr 2.5b1
9
#########
10
11
:2.5b1: 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
6059.1.6 by Vincent Ladeuil
Implement integer config options.
23
* A ``from_unicode`` parameter can be specified when registering a config
24
  option. This implements boolean and integer config options when the
6059.1.7 by Vincent Ladeuil
Catch TypeError when a list value is encountered while attempting to
25
  provided ``bool_from_store`` and ``int_from_store`` are used.
6059.1.6 by Vincent Ladeuil
Implement integer config options.
26
  (Vincent Ladeuil)
27
6059.2.3 by Vincent Ladeuil
Merge trunk to resolve conflicts
28
* A ``from_unicode`` parameter can be specified when registering a config
6059.2.1 by Vincent Ladeuil
Implement list config options.
29
  option. This implements boolean, integer and list config options when the
30
  provided ``bool_from_store``, ``int_from_store`` and ``list_from_store``
31
  are used for this parameter.  (Vincent Ladeuil)
6059.1.6 by Vincent Ladeuil
Implement integer config options.
32
6024.3.2 by John Arbash Meinel
release-notes entry for fixing bug #609187
33
* Accessing a packaging branch on Launchpad (eg, ``lp:ubuntu/bzr``) now
34
  checks to see if the most recent published source package version for
35
  that project is present in the branch tags. This should help developers
36
  trust whether the packaging branch is up-to-date and can be used for new
6024.3.9 by John Arbash Meinel
Bug #812928, add release-notes information.
37
  changes. The level of verbosity is controlled by the config item
6024.3.13 by John Arbash Meinel
Fix the documentation about the config variable.
38
  ``launchpad.packaging_verbosity``. It can be set to one of
6024.3.9 by John Arbash Meinel
Bug #812928, add release-notes information.
39
40
  off
41
    disable all checks
42
43
44
  minimal
45
    only display if the branch is out-of-date
46
47
  short
48
    also display single-line up-to-date and missing,
49
50
51
  all
52
    (default) display multi-line content for all states
53
54
55
  (John Arbash Meinel, #609187, #812928)
6024.3.2 by John Arbash Meinel
release-notes entry for fixing bug #609187
56
6043.1.1 by Jonathan Riddell
fix config option in release note
57
* Add a config option gpg_signing_key for setting which GPG key should
58
  be used to sign commits. Also default to using the gpg user identity
59
  which matches user_email() as set by whoami. (Jonathan Riddell,
60
  #68501)
6024.3.2 by John Arbash Meinel
release-notes entry for fixing bug #609187
61
6059.1.5 by Vincent Ladeuil
Handle invalid config option values.
62
* An ``invalid`` parameter can be specified when registering a config option
63
  to decide what should be done when invalid values are
64
  encountered. 'warning' and 'eeror' will respectively emit a warning and
65
  ignore the value or errors out. (Vincent Ladeuil)
66
6060.6.3 by Jelmer Vernooij
Merge bzr.dev.
67
* ``bzr help configuration/<option>`` display the help for ``option`` for
68
  all registered configuration options. (Vincent Ladeuil, #747050)
69
6022.1.2 by Jonathan Riddell
add news
70
* bzr log -m now matches message, author, committer and bugs instead
71
  of just matching the message.  --message keeps its original meaning,
72
  while --match-message, --match-author, --match-committer and
73
  --match-bugs match each of those fields.
74
6082.2.2 by Vincent Ladeuil
Fix typos.
75
* ``config.Option`` can now declare ``default_from_env``, a list of
6082.2.1 by Vincent Ladeuil
Implement default values from environment for config options
76
  environment variables to get a default value from. (Vincent Ladeuil)
77
6060.6.1 by Jelmer Vernooij
Add 'bzr branches' command.
78
* New builtin ``bzr branches`` command, which lists all colocated branches
79
  in a directory. (Jelmer Vernooij, #826820)
80
6037.1.4 by Jelmer Vernooij
Move NEWS item to right file.
81
* Relative local paths can now be specified in URL syntax by using the
82
  "file:" prefix.  (Jelmer Vernooij)
83
6043.3.1 by Jonathan Riddell
Report commits signed with expired keys in "verify-signatures".
84
* Report commits signed with expired keys in "verify-signatures".
85
  (Jonathan Riddell, #804254)
86
6046.2.10 by Shannon Weyrick
Add release note entries.
87
* bzr add now skips large files in recursive mode. The default "large"
88
  size is 20MB, and is configurable via the add.maximum_file_size
89
  option. A value of 0 disables skipping. Named items passed to add are
90
  never skipped. (Shannon Weyrick, #54624)
91
6093.2.2 by Jonathan Riddell
release note
92
* bzr now ships with translations for command help.  (Jonathan
93
  Riddell, INADA Naoki, #83941)
6043.2.14 by Jonathan Riddell
merge in trunk
94
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
95
Improvements
96
************
97
98
.. Improvements to existing commands, especially improved performance 
99
   or memory usage, or better results.
100
6064.1.2 by Jelmer Vernooij
Add news item
101
* ``bzr commit -m ''`` can now be used to force an empty commit message.
102
  Entering an empty commit message in the message editor still triggers
103
  an error. (Jelmer Vernooij)
104
6112.4.1 by Jelmer Vernooij
Show how many tags have been updated in bzr pull.
105
* ``bzr pull`` will now mention how many tags it has updated.
106
  (Jelmer Vernooij, #164450)
107
6111.2.1 by Jelmer Vernooij
``bzr tag`` no longer errors if a tag already exists but refers to the
108
* ``bzr tag`` no longer errors if a tag already exists but refers to the
109
  same revision. (Jelmer Vernooij)
110
6091.1.5 by Jelmer Vernooij
Remove tags pointed at by uncommitted revisions.
111
* ``bzr uncommit`` will now remove tags that refer to removed revisions.
112
  The ``--keep-tags`` option can be used to prevent this behaviour.
113
  (Jelmer Vernooij, #605814)
114
6072.3.1 by Jelmer Vernooij
Format URLs in ``bzr upgrade`` before display.
115
* Locations printed by ``bzr upgrade`` are now formatted before display.
116
  (Jelmer Vernooij)
117
6093.3.2 by Jonathan Riddell
release note
118
* Install translation .mo files. (Jonathan Riddell)
119
6112.1.2 by Jonathan Riddell
add news
120
* Do not run i18n initialisation twice. (Jonathan Riddell)
121
6120.1.2 by Jelmer Vernooij
Doc doc doc.
122
* Support a ``bugtracker`` option which is used by ``bzr commit --fixes``
123
  if no bug tracker was specified on the command line.
124
  (Jelmer Vernooij, #334860)
6120.1.1 by Jelmer Vernooij
Support a default bug tracker.
125
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
126
Bug Fixes
127
*********
128
129
.. Fixes for situations where bzr would previously crash or give incorrect
130
   or undesirable results.
131
6105.2.3 by Martin von Gagern
Document fix of bug 483661.
132
* The pull command will now always use separate connections for the
133
  case where the destination is a heavyweight checkout of some remote
134
  branch on the same host as the source branch.
135
  (Martin von Gagern, #483661)
136
6024.2.3 by Bastian Bowe
News entry stating bug #809901 is fixed.
137
* A call to CHKInventory's filter-method will not result in a
138
  DuplicateFileId error, if you move a subfolder and change a file in
139
  that subfolder.
140
  (Bastian Bowe, #809901)
141
6104.1.1 by John Arbash Meinel
Merge fix for bug #388269 into trunk, resolve conflicts and add release notes.
142
* Branching from a stacked branch no longer does a ``get_parent_map``
143
  request for each revisions that is in the stacked-on repository while
144
  determining what revisions need to be fetched. This mostly impacts
145
  branching initialy into an empty shared repository when the source is
146
  not the development focus.  (John Arbash Meinel, #388269)
147
6055.1.3 by Vincent Ladeuil
Fix news entry.
148
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
149
  errors.  (Vincent Ladeuil, #822571)
6055.1.1 by Vincent Ladeuil
Decode BZR_HOME with utf8
150
6123.3.4 by Martin
Add release notes
151
* Fix fallout from URL handling changes in 2.5 that caused an IndexError to be
152
  raised whenever a transport at the drive root was opened on windows.
153
  (Martin [gz], #841322)
154
6110.5.2 by Jelmer Vernooij
Link bug.
155
* Rather than an error being raised, a warning is now printed when the
156
  current user does not have permission to read a configuration file.
157
  (Jelmer Vernooij, #837324)
158
6024.1.3 by Aaron Bentley
Add NEWS entry.
159
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
160
  operations that use it, like merge, can now create trees without a root.
161
  (Aaron Bentley)
162
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
163
Documentation
164
*************
165
166
.. Improved or updated documentation.
167
6011.3.3 by Vincent Ladeuil
Some more tweaks and a news entry.
168
* Release instructions refreshed. (Vincent Ladeuil)
169
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
170
API Changes
171
***********
172
173
.. Changes that may require updates in plugins or other code that uses
174
   bzrlib.
175
6055.2.12 by Jelmer Vernooij
Update NEWS.
176
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
177
  (Jelmer Vernooij)
178
6039.1.5 by Jelmer Vernooij
Add get_transport_from_url and get_transport_from_path functions.
179
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
180
  have been added that only support opening from a path or a URL,
181
  unlike ``get_transport``. (Jelmer Vernooij)
182
5906.1.7 by Jelmer Vernooij
Add nEWS entry.
183
* New method ``Tree.get_file_verifier`` which allows tree implementations
184
  to return non-sha1 checksums to verify files.
185
  (Jelmer Vernooij, #720831)
186
5906.1.8 by Jelmer Vernooij
Tests.
187
* New method ``InterTree.file_content_matches`` which checks that
188
  two files in different trees have the same contents.
189
  (Jelmer Vernooij)
190
6056.2.4 by Vincent Ladeuil
Option help is now part of the object itself.
191
* New registry ``OptionRegistry`` specialized for configuration options.
192
  (Vincent Ladeuil)
193
6026.2.5 by Vincent Ladeuil
Add news entry.
194
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
195
  (Vincent Ladeuil)
196
6027.1.3 by Vincent Ladeuil
Remove bzrlib.commands deprecated stuff.
197
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
198
  ``Command._maybe_expand_globs`` and ``Command.run_direct`` deprecated in
6027.1.4 by Vincent Ladeuil
Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0 and the corrsponding tests.
199
  2.10 and 2.2.0. (Vincent Ladeuil)
200
201
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
6027.1.3 by Vincent Ladeuil
Remove bzrlib.commands deprecated stuff.
202
6027.1.6 by Vincent Ladeuil
Fix rest in news entry.
203
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
204
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
205
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
6026.2.5 by Vincent Ladeuil
Add news entry.
206
  used and is easy to inline if needed. (Vincent Ladeuil)
207
6027.1.2 by Vincent Ladeuil
Add news entry.
208
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
209
  deprecated in 2.1.0. (Vincent Ladeuil)
210
6030.2.7 by Jelmer Vernooij
Review feedback from Riddell: clarify why set_default_transport can be removed and improve the docstring for location_to_url.
211
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
212
  a default transport is currently unused. (Jelmer Vernooij)
6030.2.6 by Jelmer Vernooij
Remove TransportListRegistry.set_default_transport.
213
6047.1.1 by Jelmer Vernooij
Use show_user_warning rather than custom warning methods on UIFactory.
214
* Remove ``UIFactory.warn_cross_format_fetch`` and
215
  ``UIFactory.warn_experimental_format_fetch`` in favor of
216
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
217
6034.1.1 by Martin Pool
merge up ContentFilterTree to 2.5
218
* There is a new class `ContentFilterTree` that provides a facade for 
219
  content filtering.  The `filtered` parameter to `export` is deprecated 
220
  in favor of passing a filtered tree, and the specific exporter plugins
221
  no longer support it.
222
  (Martin Pool)
223
6046.2.10 by Shannon Weyrick
Add release note entries.
224
* New method ``Config.get_user_option_as_int_from_SI`` added for expanding a
225
  value in SI format (i.e. "20MB", "1GB") into its integer equivalent. 
226
  (Shannon Weyrick)
6039.1.5 by Jelmer Vernooij
Add get_transport_from_url and get_transport_from_path functions.
227
6123.4.2 by Jelmer Vernooij
Tags containers can indicate whether they support ghost tags.
228
* ``Tags`` containers can now declare whether they support versioned
229
  tags and whether tags can refer to ghost tags.
230
  (Jelmer Vernooij)
231
6112.4.2 by Jelmer Vernooij
Fix tag tests.
232
* ``Tags.merge_to`` now returns a dictionary with the updated tags
233
  and a set of conflicts, rather than just conflicts. (Jelmer Vernooij)
234
6055.2.12 by Jelmer Vernooij
Update NEWS.
235
* ``Transport`` now has a ``_parsed_url`` attribute instead of
236
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
237
  and ``_path`` attributes. Proxies are provided for the moment but
238
  may be removed in the future. (Jelmer Vernooij)
6055.2.3 by Jelmer Vernooij
Update NEWS.
239
6039.1.5 by Jelmer Vernooij
Add get_transport_from_url and get_transport_from_path functions.
240
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
241
Internals
242
*********
243
244
.. Major internal changes, unlikely to be visible to users or plugin 
245
   developers, but interesting for bzr developers.
246
6060.7.5 by Jelmer Vernooij
Rename hpss_no_vfs to hpss_client_no_vfs.
247
* A new debug flags ``hpss_client_no_vfs`` will now cause the HPSS client
6060.7.4 by Jelmer Vernooij
Update NEWS
248
  to raise a ``HpssVfsRequestNotAllowed`` exception when a VFS request
249
  is attempted. (Jelmer Vernooij)
250
5268.7.23 by Jelmer Vernooij
Update NEWS.
251
* New method ``ControlDir._get_selected_branch`` which returns the
252
  colocated branch selected using path segment parameters.
253
  (Jelmer Vernooij, #380871)
254
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
255
Testing
256
*******
257
258
.. Fixes and changes that are only relevant to bzr's test framework and 
259
   suite.  This can include new facilities for writing tests, fixes to 
260
   spurious test failures and changes to the way things should be tested.
261
6082.3.1 by Vincent Ladeuil
Yes we can... debug blackbox tests interactively
262
* Blackbox tests can be debugged interactively (see bzrlib.debug.BzrPdb for
263
  details). (Vincent Ladeuil)
264
6021.1.1 by Vincent Ladeuil
Move news entries from 2.4 to 2.5 for patches landed after 2.4 fork
265
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
266
  cleanly and reliably allows tests using `BranchBuilder` to construct
267
  branches that e.g. rename files out of a directory and unversion that
268
  directory in the same revision.  Previously some changes were impossible
269
  due to the order that `build_snapshot` performs its actions.
270
  (Andrew Bennetts)
271
6056.1.2 by Vincent Ladeuil
Fix typo.
272
* Don't require ``os.fdatasync`` to be defined on all supported OSes
6056.1.1 by Vincent Ladeuil
os.fdatasync is not defined on BSD-based OSes
273
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
274
6042.2.1 by Jelmer Vernooij
Fix compatibility with testtools 0.9.12.
275
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
276
6060.3.1 by Jelmer Vernooij
Fix lockdir tests when the hostname is set to 'localhost'.
277
* ``LockDir`` can now be run when the local hostname is ``localhost``.
278
  (Jelmer Vernooij, #825994)
279
5642.4.6 by Vincent Ladeuil
Rephrase new entry to avoid confusion.
280
* ``ModuleAvailableFeature`` won't try to import already imported modules,
281
  allowing it to be used for modules with side-effects.
5642.4.4 by Vincent Ladeuil
Move news entry to the right file.
282
  (Vincent Ladeuil, #712474)
283
6112.3.1 by Vincent Ladeuil
Output time stamps while running ``make check`` to get better timings from pqm
284
* Output time stamps while running ``make check`` to get better timings from
285
  pqm.  (Vincent Ladeuil, #837926)
286
6021.1.1 by Vincent Ladeuil
Move news entries from 2.4 to 2.5 for patches landed after 2.4 fork
287
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
288
  just compares the bytes in the dirstate file to its pristine state,
289
  rather than opening the WorkingTree and calling ``last_revision()``.
290
  This reduces the overall test suite time by about 10% on my laptop.
291
  (Andrew Bennetts)
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
292
6048.1.2 by Martin
Minor wording nits and add release notes
293
* Update `TestCase.knownFailure` to the testtools way of handling expected
294
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
295
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
296
..
297
   vim: tw=74 ft=rst ff=unix