/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/en/release-notes/brz-3.0.txt

  • Committer: Jelmer Vernooij
  • Date: 2020-01-12 13:56:10 UTC
  • mto: This revision was merged to the branch mainline in revision 7443.
  • Revision ID: jelmer@jelmer.uk-20200112135610-0a9bct6x4cw7he6y
Add strip_segment_parameters function.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
####################
 
2
Breezy Release Notes
 
3
####################
 
4
 
 
5
.. toctree::
 
6
   :maxdepth: 1
 
7
 
 
8
brz 3.0.3
 
9
#########
 
10
 
 
11
:3.0.3: NOT RELEASED YET
 
12
 
 
13
External Compatibility Breaks
 
14
*****************************
 
15
 
 
16
.. These may require users to change the way they use Breezy.
 
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 brz would previously crash or give incorrect
 
33
   or undesirable results.
 
34
 
 
35
 * Don't throw an error attempting to read the parent of a ref.
 
36
   (Jelmer Vernooij)
 
37
 
 
38
 * Fix fast-exporting of symlinks on Python 3. (Jelmer Vernooij, #1851478)
 
39
 
 
40
 * Don't rely on private transport attribute in fast-import.
 
41
   (Jelmer Vernooij, #1854607)
 
42
 
 
43
Documentation
 
44
*************
 
45
 
 
46
.. Improved or updated documentation.
 
47
 
 
48
API Changes
 
49
***********
 
50
 
 
51
.. Changes that may require updates in plugins or other code that uses
 
52
   breezy.
 
53
 
 
54
Internals
 
55
*********
 
56
 
 
57
.. Major internal changes, unlikely to be visible to users or plugin 
 
58
   developers, but interesting for brz developers.
 
59
 
 
60
Testing
 
61
*******
 
62
 
 
63
.. Fixes and changes that are only relevant to brz's test framework and 
 
64
   suite.  This can include new facilities for writing tests, fixes to 
 
65
   spurious test failures and changes to the way things should be tested.
 
66
 
 
67
 
 
68
brz 3.0.2
 
69
#########
 
70
 
 
71
:3.0.2: 2019-11-19
 
72
 
 
73
External Compatibility Breaks
 
74
*****************************
 
75
 
 
76
None.
 
77
 
 
78
New Features
 
79
************
 
80
 
 
81
None.
 
82
 
 
83
Improvements
 
84
************
 
85
 
 
86
None.
 
87
 
 
88
Bug Fixes
 
89
*********
 
90
 
 
91
 * Disable loading from entrypoints by default, since it can
 
92
   significantly slow down startup on some platforms.
 
93
   (Jelmer Vernooij, #1832868)
 
94
 
 
95
 * Don't fail when unable to write per-user ignore list due to
 
96
   one of the intermediate directories not existing
 
97
   (Jelmer Vernooij, #1851904)
 
98
 
 
99
 * Fix file graph operations on Git repositories.
 
100
   (Jelmer Vernooij, #1847913)
 
101
 
 
102
 * Allow running tests without launchpadlib installed.
 
103
   (Jelmer Vernooij, #1849988)
 
104
 
 
105
 * Fix compatibility with Python 3.8.
 
106
   (Jelmer Vernooij, Victor Stinner, #1844684)
 
107
 
 
108
Documentation
 
109
*************
 
110
 
 
111
None
 
112
 
 
113
API Changes
 
114
***********
 
115
 
 
116
None.
 
117
 
 
118
Internals
 
119
*********
 
120
 
 
121
None.
 
122
 
 
123
Testing
 
124
*******
 
125
 
 
126
 * Fix bb.test_testament.TestTestament.test_testament_non_ascii
 
127
   when the host encoding is non-utf8.
 
128
   (Jelmer Vernooij, #1849986)
 
129
 
 
130
 
 
131
bzr 3.0.1
 
132
#########
 
133
 
 
134
:3.0.1: 2019-06-16
 
135
 
 
136
brz 3.0.1 is the second release of ``Breezy``, a fork of Bazaar. For more
 
137
information, see our release announcement on the Bazaar mailing list and
 
138
README.
 
139
 
 
140
External Compatibility Breaks
 
141
*****************************
 
142
 
 
143
None.
 
144
 
 
145
New Features
 
146
************
 
147
 
 
148
None.
 
149
 
 
150
Improvements
 
151
************
 
152
 
 
153
None.
 
154
 
 
155
 
 
156
Bug Fixes
 
157
*********
 
158
 
 
159
* Fix compatibility with newer versions of Dulwich (>= 0.19.12).
 
160
  (Jelmer Vernooij)
 
161
 
 
162
* Fix a nasty corner case merging changes into a tree with changed
 
163
  symlinks when pushing from bzr into git.
 
164
  (Jelmer Vernooij)
 
165
 
 
166
* Fix installation on Windows. (Raoul Snyman, #1818947)
 
167
 
 
168
* Fix switching between branches while preserving uncommitted changes in git.
 
169
  (Jelmer Vernooij, #1820606)
 
170
 
 
171
* Return consist errors from ``Branch.get_revid`` and
 
172
  ``Repository.get_revid_for_revno`` when the revision
 
173
  number is invalid. (Jelmer Vernooij, #701953)
 
174
 
 
175
* Print full upgrade command to run when complaining about lack of
 
176
  support for tags. (Jelmer Vernooij, #163908)
 
177
 
 
178
* Refactor auto conflict handling and add a ``--auto`` flag
 
179
  to ``bzr resolve``. (Martin Packman, #688506)
 
180
 
 
181
Documentation
 
182
*************
 
183
 
 
184
None.
 
185
 
 
186
API Changes
 
187
***********
 
188
 
 
189
None.
 
190
 
 
191
Internals
 
192
*********
 
193
 
 
194
None.
 
195
 
 
196
Changed Behaviour
 
197
*****************
 
198
 
 
199
None.
 
200
 
 
201
Testing
 
202
*******
 
203
 
 
204
None.
 
205
 
 
206
 
 
207
brz 3.0.0
 
208
#########
 
209
 
 
210
:Codename: Pelican
 
211
:3.0.0: 2019-03-06
 
212
 
 
213
brz 3.0.0 is the first release of ``Breezy``, a fork of Bazaar. For more
 
214
information, see our release announcement on the Bazaar mailing list and
 
215
README.
 
216
 
 
217
External Compatibility Breaks
 
218
*****************************
 
219
 
 
220
 * The bzr command has been renamed to brz, to prevent clashes with upstream
 
221
   Bazaar.
 
222
   (Martin Packman, Jelmer Vernooij)
 
223
 
 
224
 * The --prefix/-p argument for ``brz diff`` now defaults to -p1 rather
 
225
   than -p0. (Jelmer Vernooij, #1695126)
 
226
 
 
227
 * The ``brz register-branch`` command from the Launchpad plugin has been
 
228
   removed, because it has not worked for at least five years: it relies on
 
229
   password authentication rather than SSO, the relevant systems no longer
 
230
   have firewall-level access to the outside world, and in general the
 
231
   Mirrored branch type is deprecated.  Either just push the branch to
 
232
   Launchpad or use code imports instead
 
233
   (https://help.launchpad.net/VcsImports).
 
234
   (Colin Watson, #254567, #483689)
 
235
 
 
236
 * brz no longer supports building the C extensions using Pyrex.
 
237
   Only Cython is supported. (Jelmer Vernooij)
 
238
 
 
239
 * Support for HTTP support using "pycurl" and the associated
 
240
   URL schemes "http+pycurl://" and "https+pycurl://" has been dropped.
 
241
   (Jelmer Vernooij, #82086, #377389, #122258, #516222, #545776, #1696602)
 
242
 
 
243
 * Support for medusa for FTP tests has been dropped, only
 
244
   pyftpdlib is now supported. (Jelmer Vernooij)
 
245
 
 
246
 * The deprecated ``brz get`` and ``brz clone`` commands have been
 
247
   removed. (Jelmer Vernooij)
 
248
 
 
249
 * The setting to ignore missing C extensions has been changed from
 
250
   ``ignore_missing_extensions=True`` to
 
251
   ``suppress_warnings=missing_extensions``. (Jelmer Vernooij)
 
252
 
 
253
 * Remove format names as options to ``brz init`` and ``brz
 
254
   init-repository``.. Now you must use ``brz init --format=...``.
 
255
   This simplifies ``brz init --help``.
 
256
   (Neil Martinsen-Burrell, #330494)
 
257
 
 
258
 * ``python-gpg`` is now used for checking GPG signatures rather than
 
259
   ``python-gpgme``. (Jelmer Vernooij, #1702308)
 
260
 
 
261
 * ``python-gpg`` is now used for signing commits, rather than shelling
 
262
   out to the gnupg command. The ``gpg_signing_command`` option has been
 
263
   removed.  (Jelmer Vernooij, #847388)
 
264
 
 
265
 * The ``bzr.transform.orphan_policy`` configuration option
 
266
   has been renamed to ``transform.orphan_policy``.
 
267
   (Jelmer Vernooij)
 
268
 
 
269
 * Backslash (\) is no longer accepted as a path separator
 
270
   on platforms where it is not the default path separator,
 
271
   e.g. POSIX systems. This is so that filenames with backslashes
 
272
   in their name can be added explicitly. (#176263, #165151)
 
273
 
 
274
 * One-letter shortcuts for Ubuntu releases are no
 
275
   longer supported after 'ubuntu:'. Bazaar's mapping for
 
276
   one-letter distroseries had not been updated since natty.
 
277
   (Jelmer Vernooij)
 
278
 
 
279
 * The ``brz lp-mirror-branch`` subcommand has been removed.
 
280
   Please use the ``lp-force-branch-mirror`` command from
 
281
   the lptools package instead. (Jelmer Vernooij, #518807)
 
282
 
 
283
 * Up-to-date checking for Bazaar packaging branches is no
 
284
   longer performed, since there are no longer
 
285
   any automated imports. (Jelmer Vernooij)
 
286
 
 
287
 * ``setuptools`` is now required to build and install Breezy.
 
288
   (Jelmer Vernooij)
 
289
 
 
290
New Features
 
291
************
 
292
 
 
293
 * The 'bisect' plugin is now shipped with brz. (Jelmer Vernooij)
 
294
 
 
295
 * The 'fastimport' plugin is now bundled with Breezy.
 
296
   (Jelmer Vernooij)
 
297
 
 
298
 * The ``grep`` plugin has been merged into Breezy.
 
299
   (Parth Malwankar, Martin Packman, Jelmer Vernooij)
 
300
 
 
301
 * The 'stats' plugin is now bundled with Breezy.
 
302
   (Jelmer Vernooij)
 
303
 
 
304
 * The 'upload' plugin is now bundled with Breezy.
 
305
   (Jelmer Vernooij)
 
306
 
 
307
 * The 'cvs' and 'mtn' plugins are now bundled with Breezy.
 
308
   (Jelmer Vernooij)
 
309
 
 
310
 * The 'email' plugin is now bundled with Breezy.
 
311
   (Jelmer Vernooij)
 
312
 
 
313
 * The 'import' command is now bundled with brz.
 
314
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij, #773241)
 
315
 
 
316
 * The 'link-tree' command is now bundled with brz.
 
317
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
318
 
 
319
 * The 'fetch-ghosts' command is now bundled with brz.
 
320
   Imported from bzrtools by Aaron Bentley. (Jelmer Vernooij)
 
321
 
 
322
 * The 'commitfromnews' plugin is now bundled and
 
323
   can be enabled by setting ``commit.template_from_files = NEWS``.
 
324
   (Jelmer Vernooij)
 
325
 
 
326
 * The 'darcs' plugin is now bundled.
 
327
   (Jelmer Vernooij)
 
328
 
 
329
 * The functionality from ``bzr-guess`` is now merged into Breezy.
 
330
   It will provide suggestions if the user typoes a command.
 
331
   (Jelmer Vernooij)
 
332
 
 
333
 * Support the creation of colocated branches in ``brz fast-import``.
 
334
   (Jelmer Vernooij, #1744626)
 
335
 
 
336
 * New ``lp-logout`` command to unset launchpad username.
 
337
   (Jelmer Vernooij, #349143)
 
338
 
 
339
 * Plugins can now be registered using the 'entrypoints' mechanism in
 
340
   setuptools. (Jelmer Vernooij, #1802647)
 
341
 
 
342
 * The Breezy UI now handles RCP-style URLs and suggests the
 
343
   user specify either ``git+ssh`` or ``bzr+ssh``.
 
344
   (Jelmer Vernooij)
 
345
 
 
346
Improvements
 
347
************
 
348
 
 
349
 * Doc generators now support the SOURCE_DATE_EPOCH environment
 
350
   variable (https://reproducible-builds.org/specs/source-date-epoch/).
 
351
   (Jelmer Vernooij)
 
352
 
 
353
 * The ``repodebug`` plugin is now bundled.
 
354
   (Jelmer Vernooij)
 
355
 
 
356
 * New ``brz cp`` command which copies files (but does not currently track
 
357
   history). (Jelmer Vernooij, start towards #269095)
 
358
 
 
359
 * HPSS calls for ``RevisionTree.archive`` and
 
360
   ``RevisionTree.annotate_iter`` have been added. (Jelmer Vernooij,
 
361
   #897781)
 
362
 
 
363
 * Branches with symlinks are now supported on Windows. Symlinks are
 
364
   ignored by operations like branch, diff etc. with a warning as Symlinks
 
365
   are not created on Windows.
 
366
   (Parth Malwankar, #81689)
 
367
 
 
368
 * New ``lp+bzr://`` URL scheme for Bazaar-only branches on Launchpad.
 
369
   (Jelmer Vernooij)
 
370
 
 
371
 * Report colocated branch information in ``brz info``.
 
372
   (Jelmer Vernooij, #1803846)
 
373
 
 
374
Bug Fixes
 
375
*********
 
376
 
 
377
* Support Server Name Indication (SNI) when talking to https servers.
 
378
  Cherry-picked from lp:~vila/bzr/1089352-sni-support
 
379
  (Vincent Ladeuil, #1089352)
 
380
 
 
381
* The ``bisect`` command now works in non-``.bzr`` directories.
 
382
  (Jelmer Vernooij)
 
383
 
 
384
* When creating ``authentication.conf``, umask is now set so only the
 
385
  current user can read the file. Breezy warns if the file is
 
386
  accessible for other users when it starts.
 
387
  (Joke de Buhr, Jelmer Vernooij, #475501)
 
388
 
 
389
* Support ``brz commit -x`` in combination with iter_changes.
 
390
  (Jelmer Vernooij, #796582, #403811, #694946, #268135, #299879)
 
391
 
 
392
* Print a proper error when encountering ghost revisions in
 
393
  mainline in ``brz log``. (Jelmer Vernooij, #726466)
 
394
 
 
395
* Security fix: hostnames starting with a dash in bzr+ssh URLs
 
396
  are now filtered out when using a subprocess SSH client.
 
397
  .
 
398
  Thanks to Augie Fackler for reporting.
 
399
  (Jelmer Vernooij, #1710979)
 
400
 
 
401
* Mark all options as unicode. Allows using non-ASCII values in most
 
402
  options. (Jelmer Vernooij, #563692)
 
403
 
 
404
* Support automatic rename tracking into new directories.
 
405
  (mnn, #373319)
 
406
 
 
407
* Avoid writing directly to sys.stdout, but use self.outf in
 
408
  Command implementations instead. (#268573, B. Clausius)
 
409
 
 
410
* It is now possible to version files with backslashes in their name
 
411
  on platforms that support it. (Jelmer Vernooij, #81844)
 
412
 
 
413
* Support '0' markers in fastimport plugin. (Jelmer Vernooij, #1744615)
 
414
 
 
415
* Support adding/removing filenames that consist of just
 
416
  backslashes in where backslash is not the path separator.
 
417
  (Jelmer Vernooij, #176263, #165151)
 
418
 
 
419
* Report correct path in output of ``brz add``.
 
420
  (Brian de Alwis, Jelmer Vernooij, #1799482)
 
421
 
 
422
* Don't report empty directories in git trees as changes.
 
423
  (Jelmer Vernooij, #1804072)
 
424
 
 
425
* Fix support for 'brz ignore' in Git trees.
 
426
  (Jelmer Vernooij, #1804053)
 
427
 
 
428
* Print a clearer error when GPG can't be found.
 
429
  (Jelmer Vernooij, #1803898)
 
430
 
 
431
* Fix a corner case when moving files.
 
432
  (Jelmer Vernooij, #533152)
 
433
 
 
434
* Fix fastexport output to standard output when
 
435
  running under Python 3. (Jelmer Vernooij, #1805172)
 
436
 
 
437
* Restore absolute URLs in branch reference URLs. This is
 
438
  needed for backwards compatibility with Bazaar.
 
439
  (Jelmer Vernooij, #1803845)
 
440
 
 
441
* Don't report .git files as unknown files.
 
442
  (Jelmer Vernooij, Debian Bug #921240)
 
443
 
 
444
* Raise better error when path subsegments lack =.
 
445
  (Jelmer Vernooij, #891483)
 
446
 
 
447
* Display correct pull location argument in
 
448
  output of ``brz uncommit``.
 
449
  (Jelmer Vernooij, #386577)
 
450
 
 
451
Documentation
 
452
*************
 
453
 
 
454
 * Various documents have been updated to explain that Breezy is a fork
 
455
   of Bazaar.
 
456
 
 
457
 * Documentation translations into Japanese, Spanish and Russian have been
 
458
   removed since there are no current translators to update them.
 
459
   (Jelmer Vernooij)
 
460
 
 
461
 * A quick introduction about using Breezy with GitHub has been added.
 
462
   (Jelmer Vernooij, #1803867)
 
463
 
 
464
API Changes
 
465
***********
 
466
 
 
467
 * bzrlib has been renamed to breezy. (Martin Packman, Jelmer Vernooij)
 
468
 
 
469
 * Signature of ``load_tests`` used by ``TestLoader`` changed to be
 
470
   compatible with standard libarary unittest.  (Martin Packman)
 
471
 
 
472
 * All previously deprecated functionality has been removed.
 
473
   (Jelmer Vernooij)
 
474
 
 
475
 * ``CommitBuilder.record_entry_contents`` has been removed.
 
476
   (Jelmer Vernooij, #731433, #604953)
 
477
 
 
478
 * Renamed ``breezy.delta.report_delta`` parameter ``filter=`` to
 
479
   ``predicate=``. (Martin Packman)
 
480
 
 
481
 * ``Branch.bzrdir``, ``Repository.bzrdir`` and ``WorkingTree.bzrdir``
 
482
   have been renamed to ``Branch.controldir``, ``Repository.controldir``
 
483
   and ``WorkingTree.controldir``, respectively.
 
484
   (Jelmer Vernooij, #1695774)
 
485
 
 
486
 * ``BzrBranch`` and the various bzr branch format implementations
 
487
   have been moved to ``breezy.bzr``. (Jelmer Vernooij)
 
488
 
 
489
 * ``MetaDirBranchFormatFactory`` has been removed.
 
490
   Use lazy registration on ``breezy.branch.format_registry``
 
491
   instead. (Jelmer Vernooij)
 
492
 
 
493
 * ``breezy.bzrdir.format_registry`` has been removed; use
 
494
   ``breezy.controldir.format_registry`` instead.
 
495
   (Jelmer Vernooij)
 
496
 
 
497
 * ``breezy.api`` has been removed.  (Jelmer Vernooij, #742192)
 
498
 
 
499
 * ``ControlDir.find_bzrdirs`` has been renamed to
 
500
   ``ControlDir.find_controldirs``. (Jelmer Vernooij)
 
501
 
 
502
 * ``Repository.get_revisions`` no longer accepts ``None`` as
 
503
   argument. (Jelmer Vernooij)
 
504
 
 
505
 * A new ``Repository.iter_revisions`` method has been added.
 
506
   (Jelmer Vernooij)
 
507
 
 
508
 * A new ``WorkingTreeFormat.supports_setting_file_ids`` property
 
509
   has been added that can be set to False to indicate a working tree
 
510
   doesn't support e.g. passing a file_id into ``WorkingTree.mkdir``.
 
511
   (Jelmer Vernooij, #1707533)
 
512
 
 
513
 * A new ``RepositoryFormat.supports_setting_revision_ids`` property
 
514
   has been added that can be set to False to indicate a repository
 
515
   doesn't support passing revision ids to ``CommitBuilder.commit``.
 
516
   (Jelmer Vernooij)
 
517
 
 
518
 * A new ``RepositoryFormat.supports_overriding_transport`` property
 
519
   has been added that can be set to False to indicate a repository
 
520
   doesn't support passing an alternative transport to
 
521
   ``RepositoryFormat.open``.
 
522
   (Jelmer Vernooij)
 
523
 
 
524
 * ``Repository.print_file`` and ``Branch.print_file`` have been removed.
 
525
   (Jelmer Vernooij)
 
526
 
 
527
 * Various ``lock_write`` and ``lock_read`` functions now return a
 
528
   context manager. (Jelmer Vernooij)
 
529
 
 
530
 * The ``BranchWriteLockResult.branch_token`` (returned by
 
531
   ``Branch.lock_write``) has been renamed to
 
532
   ``BranchWriteLockResult.token``. (Jelmer Vernooij)
 
533
 
 
534
 * ``breezy.decorators.needs_write_lock``,
 
535
   ``breezy.decorators.needs_read_lock`` and
 
536
   ``breezy.mutabletree.needs_tree_write_lock`` have been deprecated.
 
537
   Instead, use the context managers returned by ``.lock_write``,
 
538
   ``.lock_read`` and ``.lock_tree_write`` respectively. (Jelmer Vernooij)
 
539
 
 
540
 * ``Tree`` methods now take a ``path`` as primary key argument, rather
 
541
   than a ``file_id``. ``file_id`` is still present as optional argument
 
542
   for most functions, and can be specified to speed up lookups.
 
543
   (Jelmer Vernooij)
 
544
 
 
545
Internals
 
546
*********
 
547
 
 
548
.. Major internal changes, unlikely to be visible to users or plugin 
 
549
   developers, but interesting for brz developers.
 
550
 
 
551
* Allow overriding of default HTTP headers by caller.
 
552
  (Jelmer Vernooij, #1753734)
 
553
 
 
554
Testing
 
555
*******
 
556
 
 
557
 * Allow /dev/null to be a symlink to a chardev. (Igo Pashev, #832257)
 
558
 
 
559
 * A test isolation issue in ``breezy.tests.test_ui`` was fixed,
 
560
   which caused ``output_encoding = iso-8859-1`` to be added to the
 
561
   users' bazaar.conf. (Jelmer Vernooij)
 
562
 
 
563
 * Newer versions of ``pyftpdlib`` are now supported for running FTP tests.
 
564
   (Jelmer Vernooij)
 
565
 
 
566
 * The ``--subunit`` argument for ``brz selftest`` has been renamed to
 
567
   ``--subunit1``, and a new argument ``--subunit2`` has been added that
 
568
   outputs subunit v2.
 
569
   (Jelmer Vernooij, #1699346, #661205)
 
570
 
 
571
 * Launchpad plugin tests no longer try to connect to production
 
572
   Launchpad. (Jelmer Vernooij, #723183)
 
573
 
 
574
 * Set the ``GPGHOME`` environment variable during testing, to prevent
 
575
   e.g. leaking keys into the users' GNUPG directory.
 
576
   (Jelmer Vernooij, #843885)
 
577
 
 
578
 * Allow some slack when comparing times.
 
579
   (Jelmer Vernooij, #1804121)
 
580
 
 
581
 * Fix a spuriously failing fastexport test due to dictionary
 
582
   ordering. (Jelmer Vernooij, #1808630)
 
583
 
 
584
..
 
585
   vim: tw=74 ft=rst ff=unix