~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
6022.1.2 by Jonathan Riddell
add news
67
* bzr log -m now matches message, author, committer and bugs instead
68
  of just matching the message.  --message keeps its original meaning,
69
  while --match-message, --match-author, --match-committer and
70
  --match-bugs match each of those fields.
71
6059.3.1 by Vincent Ladeuil
Provide per-config option help
72
* ``bzr help configuration/<option>`` display the help for ``option`` for
73
  all registered configuration options. (Vincent Ladeuil, #747050)
74
6037.1.4 by Jelmer Vernooij
Move NEWS item to right file.
75
* Relative local paths can now be specified in URL syntax by using the
76
  "file:" prefix.  (Jelmer Vernooij)
77
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
78
Improvements
79
************
80
81
.. Improvements to existing commands, especially improved performance 
82
   or memory usage, or better results.
83
84
Bug Fixes
85
*********
86
87
.. Fixes for situations where bzr would previously crash or give incorrect
88
   or undesirable results.
89
6024.2.3 by Bastian Bowe
News entry stating bug #809901 is fixed.
90
* A call to CHKInventory's filter-method will not result in a
91
  DuplicateFileId error, if you move a subfolder and change a file in
92
  that subfolder.
93
  (Bastian Bowe, #809901)
94
6055.1.3 by Vincent Ladeuil
Fix news entry.
95
* Decode ``BZR_HOME`` with fs encoding on posix platforms to avoid unicode
96
  errors.  (Vincent Ladeuil, #822571)
6055.1.1 by Vincent Ladeuil
Decode BZR_HOME with utf8
97
6031.1.1 by John Arbash Meinel
Merge bzr/2.4 into bzr.dev. Resolve a release-notes (NEWS) conflict, in favor of putting
98
* Fix i18n use when no environment variables are set. (Jelmer Vernooij, #810701)
99
6024.1.3 by Aaron Bentley
Add NEWS entry.
100
* TreeTransformBase.fixup_new_roots no longer forces trees to have a root, so
101
  operations that use it, like merge, can now create trees without a root.
102
  (Aaron Bentley)
103
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
104
Documentation
105
*************
106
107
.. Improved or updated documentation.
108
6011.3.3 by Vincent Ladeuil
Some more tweaks and a news entry.
109
* Release instructions refreshed. (Vincent Ladeuil)
110
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
111
API Changes
112
***********
113
114
.. Changes that may require updates in plugins or other code that uses
115
   bzrlib.
116
6055.2.12 by Jelmer Vernooij
Update NEWS.
117
* New class ``URL`` in ``bzrlib.utils`` for managing parsed URLs.
118
  (Jelmer Vernooij)
119
6039.1.5 by Jelmer Vernooij
Add get_transport_from_url and get_transport_from_path functions.
120
* New methods ``get_transport_from_path`` and ``get_transport_from_url``
121
  have been added that only support opening from a path or a URL,
122
  unlike ``get_transport``. (Jelmer Vernooij)
123
5906.1.7 by Jelmer Vernooij
Add nEWS entry.
124
* New method ``Tree.get_file_verifier`` which allows tree implementations
125
  to return non-sha1 checksums to verify files.
126
  (Jelmer Vernooij, #720831)
127
5906.1.8 by Jelmer Vernooij
Tests.
128
* New method ``InterTree.file_content_matches`` which checks that
129
  two files in different trees have the same contents.
130
  (Jelmer Vernooij)
131
6056.2.4 by Vincent Ladeuil
Option help is now part of the object itself.
132
* New registry ``OptionRegistry`` specialized for configuration options.
133
  (Vincent Ladeuil)
134
6026.2.5 by Vincent Ladeuil
Add news entry.
135
* Remove ``AtomicFile.closed`` which has been deprecated in bzr 0.10.
136
  (Vincent Ladeuil)
137
6027.1.3 by Vincent Ladeuil
Remove bzrlib.commands deprecated stuff.
138
* Remove ``commands._builtin_commands``, ``commands.shlex_split_unicode``,
139
  ``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.
140
  2.10 and 2.2.0. (Vincent Ladeuil)
141
142
* Remove ``diff.get_trees_and_branches_to_diff`` deprecated in 2.2.0.
6027.1.3 by Vincent Ladeuil
Remove bzrlib.commands deprecated stuff.
143
6027.1.6 by Vincent Ladeuil
Fix rest in news entry.
144
* Remove ``log.calculate_view_revisions``, ``log._filter_revision_range``,
145
  ``log.get_view_revisions`` which have been deprecated in bzr 2.1.0. Also
146
  remove ``log.show_one_log`` which was never properly deprecated but wasn't
6026.2.5 by Vincent Ladeuil
Add news entry.
147
  used and is easy to inline if needed. (Vincent Ladeuil)
148
6027.1.2 by Vincent Ladeuil
Add news entry.
149
* Remove ``trace.info``, ``trace.error`` and ``trace.show_log_error``
150
  deprecated in 2.1.0. (Vincent Ladeuil)
151
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.
152
* Remove ``TransportListRegistry.set_default_transport``, as the concept of
153
  a default transport is currently unused. (Jelmer Vernooij)
6030.2.6 by Jelmer Vernooij
Remove TransportListRegistry.set_default_transport.
154
6047.1.1 by Jelmer Vernooij
Use show_user_warning rather than custom warning methods on UIFactory.
155
* Remove ``UIFactory.warn_cross_format_fetch`` and
156
  ``UIFactory.warn_experimental_format_fetch`` in favor of
157
  ``UIFactory.show_user_warning``. (Jelmer Vernooij)
158
6034.1.1 by Martin Pool
merge up ContentFilterTree to 2.5
159
* There is a new class `ContentFilterTree` that provides a facade for 
160
  content filtering.  The `filtered` parameter to `export` is deprecated 
161
  in favor of passing a filtered tree, and the specific exporter plugins
162
  no longer support it.
163
  (Martin Pool)
164
6055.2.12 by Jelmer Vernooij
Update NEWS.
165
* ``Transport`` now has a ``_parsed_url`` attribute instead of
166
  separate ``_user``, ``_password``, ``_port``, ``_scheme``, ``_host``
167
  and ``_path`` attributes. Proxies are provided for the moment but
168
  may be removed in the future. (Jelmer Vernooij)
6055.2.3 by Jelmer Vernooij
Update NEWS.
169
6039.1.5 by Jelmer Vernooij
Add get_transport_from_url and get_transport_from_path functions.
170
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
171
Internals
172
*********
173
174
.. Major internal changes, unlikely to be visible to users or plugin 
175
   developers, but interesting for bzr developers.
176
5268.7.23 by Jelmer Vernooij
Update NEWS.
177
* New method ``ControlDir._get_selected_branch`` which returns the
178
  colocated branch selected using path segment parameters.
179
  (Jelmer Vernooij, #380871)
180
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
181
Testing
182
*******
183
184
.. Fixes and changes that are only relevant to bzr's test framework and 
185
   suite.  This can include new facilities for writing tests, fixes to 
186
   spurious test failures and changes to the way things should be tested.
187
6021.1.1 by Vincent Ladeuil
Move news entries from 2.4 to 2.5 for patches landed after 2.4 fork
188
* `BranchBuilder.build_snapshot` now supports a "flush" action.  This
189
  cleanly and reliably allows tests using `BranchBuilder` to construct
190
  branches that e.g. rename files out of a directory and unversion that
191
  directory in the same revision.  Previously some changes were impossible
192
  due to the order that `build_snapshot` performs its actions.
193
  (Andrew Bennetts)
194
6056.1.2 by Vincent Ladeuil
Fix typo.
195
* 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
196
  (BSD-based OSes don't define it).  (Vincent Ladeuil, #822649)
197
6042.2.1 by Jelmer Vernooij
Fix compatibility with testtools 0.9.12.
198
* Fix compatibility with testtools 0.9.12. (Jelmer Vernooij, #815423)
199
6060.3.1 by Jelmer Vernooij
Fix lockdir tests when the hostname is set to 'localhost'.
200
* ``LockDir`` can now be run when the local hostname is ``localhost``.
201
  (Jelmer Vernooij, #825994)
202
5642.4.6 by Vincent Ladeuil
Rephrase new entry to avoid confusion.
203
* ``ModuleAvailableFeature`` won't try to import already imported modules,
204
  allowing it to be used for modules with side-effects.
5642.4.4 by Vincent Ladeuil
Move news entry to the right file.
205
  (Vincent Ladeuil, #712474)
206
6021.1.1 by Vincent Ladeuil
Move news entries from 2.4 to 2.5 for patches landed after 2.4 fork
207
* `TestCaseWithMemoryTransport` is faster now: `_check_safety_net` now
208
  just compares the bytes in the dirstate file to its pristine state,
209
  rather than opening the WorkingTree and calling ``last_revision()``.
210
  This reduces the overall test suite time by about 10% on my laptop.
211
  (Andrew Bennetts)
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
212
6048.1.2 by Martin
Minor wording nits and add release notes
213
* Update `TestCase.knownFailure` to the testtools way of handling expected
214
  failures to resolve Python 2.7 incompatibility. (Martin [gz], #607400)
215
6015.1.1 by Vincent Ladeuil
Open trunk as 2.5dev1
216
..
217
   vim: tw=74 ft=rst ff=unix