~bzr-pqm/bzr/bzr.dev

5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
1
####################
2
Bazaar Release Notes
3
####################
4
5
.. toctree::
6
   :maxdepth: 1
7
8
bzr 2.4b1
9
#########
10
11
:2.4b1: 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
5615.2.1 by Jelmer Vernooij
Support the 'qastaging' instance of Launchpad.
23
* The ``lp:`` directory service now supports Launchpad's QA staging.
5615.2.2 by Jelmer Vernooij
Add bug #
24
  (Jelmer Vernooij, #667483)
5615.2.1 by Jelmer Vernooij
Support the 'qastaging' instance of Launchpad.
25
5321.1.117 by Gordon Tyler
Moved mergetools-related NEWS from bzr-2.3.txt to bzr-2.4.txt.
26
* External merge tools can now be configured in bazaar.conf. See
27
  ``bzr help configuration`` for more information.  (Gordon Tyler, #489915)
28
5676.1.4 by Jelmer Vernooij
merge bzr.dev.
29
* Configuration options can now use references to other options in the same
30
  file by enclosing them with curly brackets (``{other_opt}``). This makes it
31
  possible to use, for example,
32
  ``push_location=lp:~vila/bzr/config-{nickname}`` in ``branch.conf`` when
33
  using a loom. During the beta period, the default behaviour is to disable
34
  this feature. It can be activated by declaring ``bzr.config.expand = True``
35
  in ``bazaar.conf``. (Vincent Ladeuil)
36
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
37
Improvements
38
************
39
40
.. Improvements to existing commands, especially improved performance 
41
   or memory usage, or better results.
42
5630.2.8 by John Arbash Meinel
Rename the command to 'repair-workingtree' as mentioned by vila.
43
* A new hidden command ``bzr repair-workingtree``. This is a way to force
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
44
  the dirstate file to be rebuilt, rather than using a ``bzr checkout``
45
  workaround. (John Arbash Meinel)
46
5672.1.5 by Andrew Bennetts
Add some tests for RemoteBranch.heads_to_fetch, and add release-note.
47
* Added a ``Branch.heads_to_fetch`` RPC to the smart server protocol.
48
  This allows formats from plugins (such as looms) to efficiently tell the
49
  client which revisions need to be fetched.  (Andrew Bennetts)
50
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
51
* Branching, merging and pulling a branch now copies revisions named in
52
  tags, not just the tag metadata.  (Andrew Bennetts, #309682)
53
  
5616.4.1 by Jelmer Vernooij
'bzr cat-revision' no longer requires a working tree.
54
* ``bzr cat-revision`` no longer requires a working tree. (Jelmer Vernooij, #704405)
55
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
56
Bug Fixes
57
*********
58
59
.. Fixes for situations where bzr would previously crash or give incorrect
60
   or undesirable results.
61
5677.2.11 by Martin
Add NEWS
62
* A MemoryError thrown on the server during a remote operation will now be
63
  usefully reported, and other unexpected errors will include the class name.
64
  (Martin [gz], #722416)
65
5638.2.5 by Vincent Ladeuil
Add news entry.
66
* ``bzr annotate -r-1 file`` will now properly annotate a deleted file.
67
  (Andrew King, #537442)
68
5664.2.1 by Jelmer Vernooij
Fix setting of mode on directories in zip files.
69
* ``bzr export`` to zip files will now set a mode on directories.
70
  (Jelmer Vernooij, #207253)
71
5611.2.1 by Jelmer Vernooij
Fix 'bzr push --overwrite -rOLD_MAINLINE_REV'.
72
* ``bzr push --overwrite`` with an older revision specified will now correctly
73
  roll back the target branch. (Jelmer Vernooij, #386576)
74
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
75
* ``bzr lp-propose`` can now propose merges against packaging branches on
5630.1.2 by Vincent Ladeuil
Fix typo.
76
  Launchpad without requiring the target branch to be specified.
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
77
  (Jelmer Vernooij, #704647)
5616.1.1 by Jelmer Vernooij
Support 'bzr lp-propose' without an explicit target branch for packaging branches.
78
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
79
* ``bzr lp-propose`` no longer requires a reviewer to be specified. It will
80
  instead leave setting the reviewer up to Launchpad if it was not specified.
5616.5.1 by Jelmer Vernooij
Don't require a reviewer to be specified in lp-propose.
81
  (Jelmer Vernooij, #583772)
82
5616.6.2 by Jelmer Vernooij
Merge bzr.dev.
83
* ``bzr pull`` will now exit with exit code 1 if there were tag conflicts.
84
  (Jelmer Vernooij, #213185)
85
5609.8.6 by Martin
Add release notes for change
86
* ``bzr mv`` user errors no longer throw UnicodeEncodeError with non-ascii
87
  paths, however they may still print junk if not on a UTF-8 terminal.
88
  (Martin [gz], #707954)
89
5651.5.4 by Andrew Bennetts
Add release note.
90
* ``bzr reconfigure --unstacked`` now copies revisions (and their
91
  ancestors) named in tags into the unstacked repository, not just the
92
  ancestry of the branch's tip.  (Andrew Bennetts, #401646)
93
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
94
* ``bzr serve`` no longer crashes when a server_started hook is installed and
95
  IPv6 support is available on the system. (Jelmer Vernooij, #293697)
96
5689.2.2 by Jelmer Vernooij
Fix the use of "bzr tags" in branches with ghosts in their mainline /and/ tags on revisions not in the branch ancestry.
97
* ``bzr tags`` will no longer choke on branches with ghost revisions in
98
  their mainline and tags on revisions not in the branch ancestry. 
99
  (Jelmer Vernooij, #397556)
100
5630.1.1 by Vincent Ladeuil
Enhance compatibility with old launchpadlib versions
101
* ``bzr whoami`` will now display an error if both a new identity and
102
  ``--email`` were specified. (Jelmer Vernooij, #680449)
103
104
* ``launchpadlib`` doesn't provide the ``uris`` module in some old versions.
105
  (Vincent Ladeuil, #706835)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
106
5639.2.1 by Martin Pool
Empty entries in the ``NO_PROXY`` variable are no longer treated as matching every host.
107
* Empty entries in the ``NO_PROXY`` variable are no longer treated as matching
108
  every host.
109
  (Martin Pool, #586341)
110
5616.7.9 by Martin Pool
Move release note into the 2.4 file
111
* Plugins incompatible with the current version of bzr no longer produce a
112
  warning on every command invocation.  Instead, a message is shown by
113
  ``bzr plugins`` and in crash reports.
114
  (#704195, Martin Pool)
5616.3.1 by Jelmer Vernooij
Print error if both --email and a new identity were specified.
115
5662.1.2 by Andrew Bennetts
Add release note.
116
* The "pretty" version of ``needs_read_lock`` and ``needs_write_lock`` now
117
  preserves the identity of default parameter values.
118
  (Andrew Bennetts, #718569)
119
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
120
* ``bzr dump-btree --raw`` no longer tracebacks on a B-Tree file
5651.2.2 by Eric Siegerman
Add the bug# to release notes, and call --fixes on it.
121
  containing no rows. (Eric Siegerman, #715508)
5651.2.1 by Eric Siegerman
Fix traceback attempting to "bzr dump-btree --raw btree-with-0-rows".
122
5657.1.1 by Max Bowsher
Fix bzr lp-mirror to work on command line branch URLs and branches
123
* Fix ``bzr lp-mirror`` to work on command line branch URLs and branches
124
  without an explicit public location. (Max Bowsher)
125
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
126
* On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the
5677.1.4 by Jelmer Vernooij
Add bug #
127
  number of available processors. (Jelmer Vernooij, #693140)
5677.1.1 by Jelmer Vernooij
On Python 2.6 and higher, use multiprocessing.cpu_count() to retrieve the number of available processors.
128
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
129
Documentation
130
*************
131
132
.. Improved or updated documentation.
133
134
API Changes
135
***********
136
137
.. Changes that may require updates in plugins or other code that uses
138
   bzrlib.
139
5672.1.2 by Andrew Bennetts
Add API change to release notes.
140
* Added ``Branch.heads_to_fetch`` method.  Implementions of the Branch API
141
  must now inherit or implement this method.  (Andrew Bennetts, #721328)
142
  
5321.1.117 by Gordon Tyler
Moved mergetools-related NEWS from bzr-2.3.txt to bzr-2.4.txt.
143
* Added ``bzrlib.mergetools`` module with helper functions for working with
144
  the list of external merge tools. (Gordon Tyler, #489915)
145
5670.1.1 by Jelmer Vernooij
Remove all methods and arguments that were deprecated before bzr 2.0.0.
146
* All methods and arguments that were deprecated before 2.0
147
  have been removed. (Jelmer Vernooij)
148
5662.2.5 by Jelmer Vernooij
Update release notes.
149
* Branch formats should now be registered on the format registry
150
  (``bzrlib.branch.format_registry``) rather than using the class
151
  methods on ``BranchFormat``. (Jelmer Vernooij, #714729)
152
5674.1.2 by Jelmer Vernooij
Update NEWS.
153
* ``BranchFormat.supports_leaving_lock()`` and
154
  ``RepositoryFormat.supports_leaving_lock`` flags have been added.
155
  (Jelmer Vernooij)
156
5535.3.48 by Andrew Bennetts
Add some release notes and what's new entries.
157
* ``Branch.fetch`` implementations must now accept an optional
158
  ``fetch_spec`` keyword argument. (Andrew Bennetts)
159
160
* ``Branch.import_last_revision_info`` is deprecated.  Use the
161
  ``import_last_revision_info_and_tags`` method instead.
162
  (Andrew Bennetts)
163
5671.5.1 by Jelmer Vernooij
Allow lazily registering possible DWIM revspecs.
164
* ``bzrlib.revionspec.dwim_revspecs`` is deprecated.
165
  Use ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_revspec`` and
166
  ``bzrlib.revisionspec.RevisionSpec_dwim.append_possible_lazy_revspec``
167
  instead.  (Jelmer Vernooij, #721971)
168
5673.1.3 by Jelmer Vernooij
Change flexible_components to fixed_components.
169
* ``BzrDirFormat`` has a new attribute ``fixed_components`` that
170
  indicates whether the components of the bzrdir can be upgraded
171
  independent of the ``BzrDir``. (Jelmer Vernooij)
172
5699.4.4 by Jelmer Vernooij
Update NEWS.
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)
176
5692.1.2 by Jelmer Vernooij
Update release notes.
177
* ``Converter`` has been moved from ``bzrlib.bzrdir`` to
178
  ``bzrlib.controldir``. (Jelmer Vernooij)
179
5676.1.5 by Jelmer Vernooij
Merge control component format registry
180
* Repository formats can now provide
181
  ``_get_extra_interrepo_test_combinations`` in the same module 
182
  to provide extra test combinations for ``bzrlib.tests.per_repository``.
183
  (Jelmer Vernooij)
184
5651.3.8 by Jelmer Vernooij
update NEWS.
185
* Repository formats should now be registered on the format registry
186
  (``bzrlib.repository.format_registry``) rather than using the class
187
  methods on ``RepositoryFormat``. (Jelmer Vernooij)
188
5675.2.4 by Jelmer Vernooij
Update NEWS.
189
* Repository formats have a new method ``is_deprecated`` that
190
  implementations can override to return True to trigger a deprecation
191
  warning. (Jelmer Vernooij)
192
5536.3.3 by Andrew Bennetts
Merge lp:bzr.
193
* The ``revision_id`` parameter of
194
  ``Repository.search_missing_revision_ids`` and
195
  ``InterRepository.search_missing_revision_ids`` is deprecated.  It is
196
  replaced by the ``revision_ids`` parameter.  (Andrew Bennetts)
197
5662.3.2 by Jelmer Vernooij
Update release notes.
198
* Working tree formats should now be registered on the format registry
199
  (``bzrlib.working_tree.format_registry``) rather than using the class
200
  methods on ``WorkingTreeFormat``. (Jelmer Vernooij, #714730)
201
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
202
Internals
203
*********
204
205
.. Major internal changes, unlikely to be visible to users or plugin 
206
   developers, but interesting for bzr developers.
207
5652.1.3 by Vincent Ladeuil
Add news entry.
208
* ``CatchingExceptionThread`` (formerly ThreadWithException) has been moved
209
  out of the ``bzrlib.tests`` hierarchy to make it clearer that it can be used
210
  outside of tests. This class makes it easier to track exceptions in threads
5652.1.6 by Vincent Ladeuil
thread is already a python module, avoid confusion and use cethread instead.
211
  by cacthing them so they can be re-raised in the controlling thread. It's
212
  available in the ``bzrlib.cethread`` module.  (Vincent Ladeuil)
5652.1.3 by Vincent Ladeuil
Add news entry.
213
5622.1.1 by Jelmer Vernooij
Allow lazily loading hook callbacks.
214
* ``HookPoint.lazy_hook`` and ``Hooks.install_named_lazy_hook`` can install 
215
  hooks for which the callable is loaded lazily.  (Jelmer Vernooij)
216
5609.3.2 by Vincent Ladeuil
Open trunk as 2.4dev1, bumping api_minimum_version to 2.4.0.
217
Testing
218
*******
219
220
.. Fixes and changes that are only relevant to bzr's test framework and 
221
   suite.  This can include new facilities for writing tests, fixes to 
222
   spurious test failures and changes to the way things should be tested.
223
5630.2.1 by John Arbash Meinel
Rough outline of what I'm trying to accomplish, docs, etc.
224
..
225
   vim: tw=74 ft=rst ff=unix