Add support for creating signed tags.
[jelmer/dulwich.git] / NEWS
1 0.19.10 UNRELEASED
2
3  IMPROVEMENTS
4
5  * Add `dulwich.porcelain.write_tree`.
6    (Jelmer Vernooij)
7
8  * Support reading ``MERGE_HEADS`` in ``Repo.do_commit``.
9    (Jelmer Vernooij)
10
11  * Import from ``collections.abc`` rather than ``collections`` where
12    applicable. Required for 3.8 compatibility.
13    (Jelmer Vernooij)
14
15  * Support plain strings as refspec arguments to
16    ``dulwich.porcelain.push``. (Jelmer Vernooij)
17
18  * Add support for creating signed tags.
19    (Jelmer Vernooij, #542)
20
21  BUG FIXES
22
23  *  Handle invalid ref that pretends to be a sub-folder under a valid ref.
24     (KS Chan)
25
26 0.19.9  2018-11-17
27
28  BUG FIXES
29
30  * Avoid fetching ghosts in ``Repo.fetch``.
31    (Jelmer Vernooij)
32
33  * Preserve port and username in parsed HTTP URLs.
34    (Jelmer Vernooij)
35
36  * Add basic server side implementation of ``git-upload-archive``.
37    (Jelmer Vernooij)
38
39 0.19.8  2018-11-06
40
41  * Fix encoding when reading README file in setup.py.
42    (egor <egor@sourced.tech>, #668)
43
44 0.19.7  2018-11-05
45
46  CHANGES
47
48   * Drop support for Python 3 < 3.4. This is because
49     pkg_resources (which get used by setuptools and mock)
50     no longer supports 3.3 and earlier. (Jelmer Vernooij)
51
52  IMPROVEMENTS
53
54   * Support ``depth`` argument to ``GitClient.fetch_pack`` and support
55     fetching and updating shallow metadata. (Jelmer Vernooij, #240)
56
57  BUG FIXES
58
59   * Don't write to stdout and stderr when they are not available
60     (such as is the case for pythonw). (Sylvia van Os, #652)
61
62   * Fix compatibility with newer versions of git, which expect CONTENT_LENGTH
63     to be set to 0 for empty body requests. (Jelmer Vernooij, #657)
64
65   * Raise an exception client-side when a caller tries to request
66     SHAs that are not directly referenced the servers' refs.
67     (Jelmer Vernooij)
68
69   * Raise more informative errors when unable to connect to repository
70     over SSH or subprocess. (Jelmer Vernooij)
71
72   * Handle commit identity fields with multiple ">" characters.
73     (Nicolas Dandrimont)
74
75  IMPROVEMENTS
76
77   * ``dulwich.porcelain.get_object_by_path`` method for easily
78     accessing a path in another tree. (Jelmer Vernooij)
79
80   * Support the ``i18n.commitEncoding`` setting in config.
81     (Jelmer Vernooij)
82
83 0.19.6  2018-08-11
84
85  BUG FIXES
86
87   * Fix support for custom transport arguments in ``dulwich.porcelain.clone``.
88     (Semyon Slepov)
89
90   * Fix compatibility with Python 3.8 (Jelmer Vernooij, Daniel M. Capella)
91
92   * Fix some corner cases in ``path_to_tree_path``. (Romain Keramitas)
93
94   * Support paths as bytestrings in various places in ``dulwich.index``
95     (Jelmer Vernooij)
96
97   * Avoid setup.cfg for now, since it seems to break pypi metadata.
98     (Jelmer Vernooij, #658)
99
100 0.19.5  2018-07-08
101
102  IMPROVEMENTS
103
104   * Add ``porcelain.describe``. (Sylvia van Os)
105
106  BUG FIXES
107
108   * Fix regression in ``dulwich.porcelain.clone`` that prevented cloning
109     of remote repositories. (Jelmer Vernooij, #639)
110
111   * Don't leave around empty parent directories for removed refs.
112     (Damien Tournoud, #640)
113
114 0.19.4  2018-06-24
115
116  IMPROVEMENTS
117
118   * Add ``porcelain.ls_files``. (Jelmer Vernooij)
119
120   * Add ``Index.items``. (Jelmer Vernooij)
121
122  BUG FIXES
123
124   * Avoid unicode characters (e.g. the digraph ij in my surname) in setup.cfg,
125     since setuptools doesn't deal well with them. See
126     https://github.com/pypa/setuptools/issues/1062. (Jelmer Vernooij, #637)
127
128 0.19.3  2018-06-17
129
130  IMPROVEMENTS
131
132   * Add really basic `dulwich.porcelain.fsck` implementation.
133     (Jelmer Vernooij)
134
135   * When the `DULWICH_PDB` environment variable is set, make
136     SIGQUIT open pdb in the 'dulwich' command.
137
138   * Add `checkout` argument to `Repo.clone`.
139     (Jelmer Vernooij, #503)
140
141   * Add `Repo.get_shallow` method. (Jelmer Vernooij)
142
143   * Add basic `dulwich.stash` module. (Jelmer Vernooij)
144
145   * Support a `prefix` argument to `dulwich.archive.tar_stream`.
146     (Jelmer Vernooij)
147
148  BUG FIXES
149
150   * Fix handling of encoding for tags. (Jelmer Vernooij, #608)
151
152   * Fix tutorial tests on Python 3. (Jelmer Vernooij, #573)
153
154   * Fix remote refs created by `porcelain.fetch`. (Daniel Andersson, #623)
155
156   * More robust pack creation on Windows. (Daniel Andersson)
157
158   * Fix recursive option for `porcelain.ls_tree`. (Romain Keramitas)
159
160  TESTS
161
162   * Some improvements to paramiko tests. (Filipp Frizzy)
163
164 0.19.2  2018-04-07
165
166  BUG FIXES
167
168   * Fix deprecated Index.iterblobs method.
169     (Jelmer Vernooij)
170
171 0.19.1  2018-04-05
172
173  IMPROVEMENTS
174
175   * Add 'dulwich.mailmap' file for reading mailmap files.
176     (Jelmer Vernooij)
177
178   * Dulwich no longer depends on urllib3[secure]. Instead,
179     "dulwich[https]" can be used to pull in the necessary
180     dependencies for HTTPS support. (Jelmer Vernooij, #616)
181
182   * Support the `http.sslVerify` and `http.sslCAInfo`
183     configuration options. (Jelmer Vernooij)
184
185   * Factor out `dulwich.client.parse_rsync_url` function.
186     (Jelmer Vernooij)
187
188   * Fix repeat HTTP requests using the same smart HTTP client.
189     (Jelmer Vernooij)
190
191   * New 'client.PLinkSSHVendor' for creating connections using PuTTY's plink.exe.
192     (Adam Bradley, Filipp Frizzy)
193
194   * Only pass in `key_filename` and `password` to SSHVendor
195     implementations if those parameters are set.
196     (This helps with older SSHVendor implementations)
197     (Jelmer Vernooij)
198
199  API CHANGES
200
201   * Index.iterblobs has been renamed to Index.iterobjects.
202     (Jelmer Vernooij)
203
204 0.19.0  2018-03-10
205
206  BUG FIXES
207
208   * Make `dulwich.archive` set the gzip header file modification time so that
209     archives created from the same Git tree are always identical.
210     (#577, Jonas Haag)
211
212   * Allow comment characters (#, ;) within configuration file strings
213     (Daniel Andersson, #579)
214
215   * Raise exception when passing in invalid author/committer values
216     to Repo.do_commit(). (Jelmer Vernooij, #602)
217
218  IMPROVEMENTS
219
220   * Add a fastimport ``extra``. (Jelmer Vernooij)
221
222   * Start writing reflog entries. (Jelmer Vernooij)
223
224   * Add ability to use password and keyfile ssh options with SSHVendor. (Filipp Kucheryavy)
225
226   * Add ``change_type_same`` flag to ``tree_changes``.
227     (Jelmer Vernooij)
228
229  API CHANGES
230
231   * ``GitClient.send_pack`` now accepts a ``generate_pack_data``
232     rather than a ``generate_pack_contents`` function for
233     performance reasons. (Jelmer Vernooij)
234
235   * Dulwich now uses urllib3 internally for HTTP requests.
236     The `opener` argument to `dulwich.client.HttpGitClient` that took a
237     `urllib2` opener instance has been replaced by a `pool_manager` argument
238     that takes a `urllib3` pool manager instance.
239     (Daniel Andersson)
240
241 0.18.6  2017-11-11
242
243  BUG FIXES
244
245   * Fix handling of empty repositories in ``porcelain.clone``.
246     (#570, Jelmer Vernooij)
247
248   * Raise an error when attempting to add paths that are not under the
249     repository. (Jelmer Vernooij)
250
251   * Fix error message for missing trailing ]. (Daniel Andersson)
252
253   * Raise EmptyFileException when corruption (in the form of an empty
254     file) is detected. (Antoine R. Dumont, #582)
255
256   IMPROVEMENTS
257
258   * Enforce date field parsing consistency. This also add checks on
259     those date fields for potential overflow.
260     (Antoine R. Dumont, #567)
261
262 0.18.5  2017-10-29
263
264  BUG FIXES
265
266   * Fix cwd for hooks. (Fabian Grünbichler)
267
268   * Fix setting of origin in config when non-standard origin is passed into
269     ``Repo.clone``. (Kenneth Lareau, #565)
270
271   * Prevent setting SSH arguments from SSH URLs when using SSH through a
272     subprocess. Note that Dulwich doesn't support cloning submodules.
273     (CVE-2017-16228) (Jelmer Vernooij)
274
275  IMPROVEMENTS
276
277   * Silently ignored directories in ``Repo.stage``.
278     (Jelmer Vernooij, #564)
279
280  API CHANGES
281
282   * GitFile now raises ``FileLocked`` when encountering a lock
283     rather than OSError(EEXIST). (Jelmer Vernooij)
284
285 0.18.4  2017-10-01
286
287  BUG FIXES
288
289   * Make default User-Agent start with "git/" because GitHub won't response to
290     HTTP smart server requests otherwise (and reply with a 404).
291     (Jelmer vernooij, #562)
292
293 0.18.3  2017-09-03
294
295  BUG FIXES
296
297   * Read config during porcelain operations that involve remotes.
298     (Jelmer Vernooij, #545)
299
300   * Fix headers of empty chunks in unified diffs. (Taras Postument, #543)
301
302   * Properly follow redirects over HTTP. (Jelmer Vernooij, #117)
303
304  IMPROVEMENTS
305
306   * Add ``dulwich.porcelain.update_head``. (Jelmer Vernooij, #439)
307
308   * ``GitClient.fetch_pack`` now returns symrefs.
309     (Jelmer Vernooij, #485)
310
311   * The server now supports providing symrefs.
312     (Jelmer Vernooij, #485)
313
314   * Add ``dulwich.object_store.commit_tree_changes`` to incrementally
315     commit changes to a tree structure. (Jelmer Vernooij)
316
317   * Add basic ``PackBasedObjectStore.repack`` method.
318     (Jelmer Vernooij, Earl Chew, #296, #549, #552)
319
320 0.18.2  2017-08-01
321
322  TEST FIXES
323
324   * Use constant timestamp so tests pass in all timezones, not just BST.
325     (Jelmer Vernooij)
326
327 0.18.1  2017-07-31
328
329  BUG FIXES
330
331   * Fix syntax error in dulwich.contrib.test_swift_smoke.
332     (Jelmer Vernooij)
333
334 0.18.0  2017-07-31
335
336  BUG FIXES
337
338   * Fix remaining tests on Windows. (Jelmer Vernooij, #493)
339
340   * Fix build of C extensions with Python 3 on Windows.
341     (Jelmer Vernooij)
342
343   * Pass 'mkdir' argument onto Repo.init_bare in Repo.clone.
344     (Jelmer Vernooij, #504)
345
346   * In ``dulwich.porcelain.add``, if no files are specified,
347     add from current working directory rather than repository root.
348     (Jelmer Vernooij, #521)
349
350   * Properly deal with submodules in 'porcelain.status'.
351     (Jelmer Vernooij, #517)
352
353   * ``dulwich.porcelain.remove`` now actually removes files from
354     disk, not just from the index. (Jelmer Vernooij, #488)
355
356   * Fix handling of "reset" command with markers and without
357     "from". (Antoine Pietri)
358
359   * Fix handling of "merge" command with markers. (Antoine Pietri)
360
361   * Support treeish argument to porcelain.reset(), rather than
362     requiring a ref/commit id. (Jelmer Vernooij)
363
364   * Handle race condition when mtime doesn't change between writes/reads.
365     (Jelmer Vernooij, #541)
366
367   * Fix ``dulwich.porcelain.show`` on commits with Python 3.
368     (Jelmer Vernooij, #532)
369
370  IMPROVEMENTS
371
372   * Add basic support for reading ignore files in ``dulwich.ignore``.
373     ``dulwich.porcelain.add`` and ``dulwich.porcelain.status`` now honor
374     ignores. (Jelmer Vernooij, Segev Finer, #524, #526)
375
376   * New ``dulwich.porcelain.check_ignore`` command.
377     (Jelmer Vernooij)
378
379   * ``dulwich.porcelain.status`` now supports a ``ignored`` argument.
380     (Jelmer Vernooij)
381
382  DOCUMENTATION
383
384   * Clarified docstrings for Client.{send_pack,fetch_pack} implementations.
385     (Jelmer Vernooij, #523)
386
387 0.17.3  2017-03-20
388
389  PLATFORM SUPPORT
390
391   * List Python 3.3 as supported. (Jelmer Vernooij, #513)
392
393  BUG FIXES
394
395   * Fix compatibility with pypy 3. (Jelmer Vernooij)
396
397 0.17.2  2017-03-19
398
399  BUG FIXES
400
401   * Add workaround for
402     https://bitbucket.org/pypy/pypy/issues/2499/cpyext-pystring_asstring-doesnt-work,
403     fixing Dulwich when used with C extensions on pypy < 5.6. (Victor Stinner)
404
405   * Properly quote config values with a '#' character in them.
406     (Jelmer Vernooij, #511)
407
408 0.17.1  2017-03-01
409
410  IMPROVEMENTS
411
412   * Add basic 'dulwich pull' command. (Jelmer Vernooij)
413
414  BUG FIXES
415
416   * Cope with existing submodules during pull.
417     (Jelmer Vernooij, #505)
418
419 0.17.0  2017-03-01
420
421  TEST FIXES
422
423   * Skip test that requires sync to synchronize filesystems if os.sync is
424     not available. (Koen Martens)
425
426  IMPROVEMENTS
427
428   * Implement MemoryRepo.{set_description,get_description}.
429     (Jelmer Vernooij)
430
431   * Raise exception in Repo.stage() when absolute paths are
432     passed in. Allow passing in relative paths to
433     porcelain.add().(Jelmer Vernooij)
434
435  BUG FIXES
436
437   * Handle multi-line quoted values in config files.
438     (Jelmer Vernooij, #495)
439
440   * Allow porcelain.clone of repository without HEAD.
441     (Jelmer Vernooij, #501)
442
443   * Support passing tag ids to Walker()'s include argument.
444     (Jelmer Vernooij)
445
446   * Don't strip trailing newlines from extra headers.
447     (Nicolas Dandrimont)
448
449   * Set bufsize=0 for subprocess interaction with SSH client.
450     Fixes hangs on Python 3. (René Stern, #434)
451
452   * Don't drop first slash for SSH paths, except for those
453     starting with "~". (Jelmer Vernooij, René Stern, #463)
454
455   * Properly log off after retrieving just refs.
456     (Jelmer Vernooij)
457
458 0.16.3  2016-01-14
459
460  TEST FIXES
461
462   * Remove racy check that relies on clock time changing between writes.
463     (Jelmer Vernooij)
464
465  IMPROVEMENTS
466
467   * Add porcelain.remote_add. (Jelmer Vernooij)
468
469 0.16.2  2016-01-14
470
471  IMPROVEMENTS
472
473   * Fixed failing test-cases on windows.
474     (Koen Martens)
475
476  API CHANGES
477
478   * Repo is now a context manager, so that it can be easily
479     closed using a ``with`` statement. (Søren Løvborg)
480
481  TEST FIXES
482
483   * Only run worktree list compat tests against git 2.7.0,
484     when 'git worktree list' was introduced. (Jelmer Vernooij)
485
486  BUG FIXES
487
488   * Ignore filemode when building index when core.filemode
489     is false.
490     (Koen Martens)
491
492   * Initialize core.filemode configuration setting by
493     probing the filesystem for trustable permissions.
494     (Koen Martens)
495
496   * Fix ``porcelain.reset`` to respect the comittish argument.
497     (Koen Martens)
498
499   * Fix dulwich.porcelain.ls_remote() on Python 3.
500     (#471, Jelmer Vernooij)
501
502   * Allow both unicode and byte strings for host paths
503     in dulwich.client. (#435, Jelmer Vernooij)
504
505   * Add remote from porcelain.clone. (#466, Jelmer Vernooij)
506
507   * Fix unquoting of credentials before passing to urllib2.
508     (#475, Volodymyr Holovko)
509
510   * Cope with submodules in `build_index_from_tree`.
511     (#477, Jelmer Vernooij)
512
513   * Handle deleted files in `get_unstaged_changes`.
514     (#483, Doug Hellmann)
515
516   * Don't overwrite files when they haven't changed in
517     `build_file_from_blob`.
518     (#479, Benoît HERVIER)
519
520   * Check for existence of index file before opening pack.
521     Fixes a race when new packs are being added.
522     (#482, wme)
523
524 0.16.1  2016-12-25
525
526  BUG FIXES
527
528   * Fix python3 compatibility for dulwich.contrib.release_robot.
529     (Jelmer Vernooij)
530
531 0.16.0  2016-12-24
532
533  IMPROVEMENTS
534
535   * Add support for worktrees. See `git-worktree(1)` and
536     `gitrepository-layout(5)`. (Laurent Rineau)
537
538   * Add support for `commondir` file in Git control
539     directories. (Laurent Rineau)
540
541   * Add support for passwords in HTTP URLs.
542     (Jon Bain, Mika Mäenpää)
543
544   * Add `release_robot` script to contrib,
545     allowing easy finding of current version based on Git tags.
546     (Mark Mikofski)
547
548   * Add ``Blob.splitlines`` method.
549     (Jelmer Vernooij)
550
551  BUG FIXES
552
553   * Fix handling of ``Commit.tree`` being set to an actual
554     tree object rather than a tree id. (Jelmer Vernooij)
555
556   * Return remote refs from LocalGitClient.fetch_pack(),
557     consistent with the documentation for that method.
558     (#461, Jelmer Vernooij)
559
560   * Fix handling of unknown URL schemes in get_transport_and_path.
561     (#465, Jelmer Vernooij)
562
563 0.15.0  2016-10-09
564
565  BUG FIXES
566
567   * Allow missing trailing LF when reading service name from
568     HTTP servers. (Jelmer Vernooij, Andrew Shadura, #442)
569
570   * Fix dulwich.porcelain.pull() on Python3. (Jelmer Vernooij, #451)
571
572   * Properly pull in tags during dulwich.porcelain.clone.
573     (Jelmer Vernooij, #408)
574
575  CHANGES
576
577   * Changed license from "GNU General Public License, version 2.0 or later"
578     to "Apache License, version 2.0 or later or GNU General Public License,
579     version 2.0 or later". (#153)
580
581  IMPROVEMENTS
582
583   * Add ``dulwich.porcelain.ls_tree`` implementation. (Jelmer Vernooij)
584
585 0.14.1  2016-07-05
586
587  BUG FIXES
588
589   * Fix regression removing untouched refs when pushing over SSH.
590     (Jelmer Vernooij #441)
591
592   * Skip Python3 tests for SWIFT contrib module, as it has not yet
593     been ported.
594
595 0.14.0  2016-07-03
596
597  BUG FIXES
598
599   * Fix ShaFile.id after modification of a copied ShaFile.
600     (Félix Mattrat, Jelmer Vernooij)
601
602   * Support removing refs from porcelain.push.
603     (Jelmer Vernooij, #437)
604
605   * Stop magic protocol ref `capabilities^{}` from leaking out
606     to clients. (Jelmer Vernooij, #254)
607
608  IMPROVEMENTS
609
610   * Add `dulwich.config.parse_submodules` function.
611
612   * Add `RefsContainer.follow` method. (#438)
613
614 0.13.0  2016-04-24
615
616  IMPROVEMENTS
617
618   * Support `ssh://` URLs in get_transport_and_path_from_url().
619     (Jelmer Vernooij, #402)
620
621   * Support missing empty line after headers in Git commits and tags.
622     (Nicolas Dandrimont, #413)
623
624   * Fix `dulwich.porcelain.status` when used in empty trees.
625     (Jelmer Vernooij, #415)
626
627   * Return copies of objects in MemoryObjectStore rather than
628     references, making the behaviour more consistent with that of
629     DiskObjectStore. (Félix Mattrat, Jelmer Vernooij)
630
631   * Fix ``dulwich.web`` on Python3. (#295, Jonas Haag)
632
633  CHANGES
634
635   * Drop support for Python 2.6.
636
637   * Fix python3 client web support. (Jelmer Vernooij)
638
639  BUG FIXES
640
641   * Fix hang on Gzip decompression. (Jonas Haag)
642
643   * Don't rely on working tell() and seek() methods
644     on wsgi.input. (Jonas Haag)
645
646   * Support fastexport/fastimport functionality on python3 with newer
647     versions of fastimport (>= 0.9.5). (Jelmer Vernooij, Félix Mattrat)
648
649 0.12.0  2015-12-13
650
651  IMPROVEMENTS
652
653   * Add a `dulwich.archive` module that can create tarballs.
654     Based on code from Jonas Haag in klaus.
655
656   * Add a `dulwich.reflog` module for reading and writing reflogs.
657     (Jelmer Vernooij)
658
659   * Fix handling of ambiguous refs in `parse_ref` to make
660     it match the behaviour described in https://git-scm.com/docs/gitrevisions.
661     (Chris Bunney)
662
663   * Support Python3 in C modules. (Lele Gaifax)
664
665  BUG FIXES
666
667   * Simplify handling of SSH command invocation.
668     Fixes quoting of paths. Thanks, Thomas Liebetraut. (#384)
669
670   * Fix inconsistent handling of trailing slashes for DictRefsContainer. (#383)
671
672   * Add hack to support thin packs duing fetch(), albeit while requiring the
673     entire pack file to be loaded into memory. (jsbain)
674
675  CHANGES
676
677   * This will be the last release to support Python 2.6.
678
679 0.11.2  2015-09-18
680
681  IMPROVEMENTS
682
683   * Add support for agent= capability. (Jelmer Vernooij, #298)
684
685   * Add support for quiet capability. (Jelmer Vernooij)
686
687  CHANGES
688
689   * The ParamikoSSHVendor class has been moved to
690   * dulwich.contrib.paramiko_vendor, as it's currently untested.
691     (Jelmer Vernooij, #364)
692
693 0.11.1  2015-09-13
694
695  Fix-up release to exclude broken blame.py file.
696
697 0.11.0  2015-09-13
698
699  IMPROVEMENTS
700
701   * Extended Python3 support to most of the codebase.
702     (Gary van der Merwe, Jelmer Vernooij)
703   * The `Repo` object has a new `close` method that can be called to close any
704     open resources. (Gary van der Merwe)
705   * Support 'git.bat' in SubprocessGitClient on Windows.
706     (Stefan Zimmermann)
707   * Advertise 'ofs-delta' capability in receive-pack server side
708     capabilities. (Jelmer Vernooij)
709   * Switched `default_local_git_client_cls` to `LocalGitClient`.
710     (Gary van der Merwe)
711   * Add `porcelain.ls_remote` and `GitClient.get_refs`.
712     (Michael Edgar)
713   * Add `Repo.discover` method. (B. M. Corser)
714   * Add `dulwich.objectspec.parse_refspec`. (Jelmer Vernooij)
715   * Add `porcelain.pack_objects` and `porcelain.repack`.
716     (Jelmer Vernooij)
717
718  BUG FIXES
719
720   * Fix handling of 'done' in graph walker and implement the
721     'no-done' capability. (Tommy Yu, #88)
722
723   * Avoid recursion limit issues resolving deltas. (William Grant, #81)
724
725   * Allow arguments in local client binary path overrides.
726     (Jelmer Vernooij)
727
728   * Fix handling of commands with arguments in paramiko SSH
729     client. (Andreas Klöckner, Jelmer Vernooij, #363)
730
731   * Fix parsing of quoted strings in configs. (Jelmer Vernooij, #305)
732
733 0.10.1  2015-03-25
734
735  BUG FIXES
736
737   * Return `ApplyDeltaError` when encountering delta errors
738     in both C extensions and native delta application code.
739     (Jelmer Vernooij, #259)
740
741 0.10.0  2015-03-22
742
743  BUG FIXES
744
745   * In dulwich.index.build_index_from_tree, by default
746     refuse to create entries that start with .git/.
747
748   * Fix running of testsuite when installed.
749     (Jelmer Vernooij, #223)
750
751   * Use a block cache in _find_content_rename_candidates(),
752     improving performance. (Mike Williams)
753
754   * Add support for ``core.protectNTFS`` setting.
755     (Jelmer Vernooij)
756
757   * Fix TypeError when fetching empty updates.
758     (Hwee Miin Koh)
759
760   * Resolve delta refs when pulling into a MemoryRepo.
761     (Max Shawabkeh, #256)
762
763   * Fix handling of tags of non-commits in missing object finder.
764     (Augie Fackler, #211)
765
766   * Explicitly disable mmap on plan9 where it doesn't work.
767     (Jeff Sickel)
768
769  IMPROVEMENTS
770
771   * New public method `Repo.reset_index`. (Jelmer Vernooij)
772
773   * Prevent duplicate parsing of loose files in objects
774     directory when reading. Thanks to David Keijser for the
775     report. (Jelmer Vernooij, #231)
776
777 0.9.9   2015-03-20
778
779  SECURITY BUG FIXES
780
781   * Fix buffer overflow in C implementation of pack apply_delta().
782     (CVE-2015-0838)
783
784     Thanks to Ivan Fratric of the Google Security Team for
785     reporting this issue.
786     (Jelmer Vernooij)
787
788 0.9.8   2014-11-30
789
790  BUG FIXES
791
792   * Various fixes to improve test suite running on Windows.
793     (Gary van der Merwe)
794
795   * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
796
797   * Strip newline from final ACKed SHA while fetching packs.
798     (Michael Edgar)
799
800   * Remove assignment to PyList_SIZE() that was causing segfaults on
801     pypy. (Jelmer Vernooij, #196)
802
803  IMPROVEMENTS
804
805   * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
806
807   * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
808
809   * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
810
811   * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
812     (Jelmer Vernooij)
813
814   * Add 'fetch' porcelain. (Jelmer Vernooij)
815
816   * Add 'tag_delete' porcelain. (Jelmer Vernooij)
817
818   * Add support for serializing/deserializing 'gpgsig' attributes in Commit.
819     (Jelmer Vernooij)
820
821  CHANGES
822
823   * dul-web is now available as 'dulwich web-daemon'.
824     (Jelmer Vernooij)
825
826   * dulwich.porcelain.tag has been renamed to tag_create.
827     dulwich.porcelain.list_tags has been renamed to tag_list.
828     (Jelmer Vernooij)
829
830  API CHANGES
831
832   * Restore support for Python 2.6. (Jelmer Vernooij, Gary van der Merwe)
833
834
835 0.9.7   2014-06-08
836
837  BUG FIXES
838
839   * Fix tests dependent on hash ordering. (Michael Edgar)
840
841   * Support staging symbolic links in Repo.stage.
842     (Robert Brown)
843
844   * Ensure that all files object are closed when running the test suite.
845     (Gary van der Merwe)
846
847   * When writing OFS_DELTA pack entries, write correct offset.
848     (Augie Fackler)
849
850   * Fix handler of larger copy operations in packs. (Augie Fackler)
851
852   * Various fixes to improve test suite running on Windows.
853     (Gary van der Merwe)
854
855   * Fix logic for extra adds of identical files in rename detector.
856     (Robert Brown)
857
858  IMPROVEMENTS
859
860   * Add porcelain 'status'. (Ryan Faulkner)
861
862   * Add porcelain 'daemon'. (Jelmer Vernooij)
863
864   * Add `dulwich.greenthreads` module which provides support
865     for concurrency of some object store operations.
866     (Fabien Boucher)
867
868   * Various changes to improve compatibility with Python 3.
869     (Gary van der Merwe, Hannu Valtonen, michael-k)
870
871   * Add OpenStack Swift backed repository implementation
872     in dulwich.contrib. See README.swift for details. (Fabien Boucher)
873
874 API CHANGES
875
876   * An optional close function can be passed to the Protocol class. This will
877     be called by its close method. (Gary van der Merwe)
878
879   * All classes with close methods are now context managers, so that they can
880     be easily closed using a `with` statement. (Gary van der Merwe)
881
882   * Remove deprecated `num_objects` argument to `write_pack` methods.
883     (Jelmer Vernooij)
884
885  OTHER CHANGES
886
887   * The 'dul-daemon' script has been removed. The same functionality
888     is now available as 'dulwich daemon'. (Jelmer Vernooij)
889
890 0.9.6   2014-04-23
891
892  IMPROVEMENTS
893
894   * Add support for recursive add in 'git add'.
895     (Ryan Faulkner, Jelmer Vernooij)
896
897   * Add porcelain 'list_tags'. (Ryan Faulkner)
898
899   * Add porcelain 'push'. (Ryan Faulkner)
900
901   * Add porcelain 'pull'. (Ryan Faulkner)
902
903   * Support 'http.proxy' in HttpGitClient.
904     (Jelmer Vernooij, #1096030)
905
906   * Support 'http.useragent' in HttpGitClient.
907     (Jelmer Vernooij)
908
909   * In server, wait for clients to send empty list of
910     wants when talking to empty repository.
911     (Damien Tournoud)
912
913   * Various changes to improve compatibility with
914     Python 3. (Gary van der Merwe)
915
916  BUG FIXES
917
918   * Support unseekable 'wsgi.input' streams.
919     (Jonas Haag)
920
921   * Raise TypeError when passing unicode() object
922     to Repo.__getitem__.
923     (Jonas Haag)
924
925   * Fix handling of `reset` command in dulwich.fastexport.
926     (Jelmer Vernooij, #1249029)
927
928   * In client, don't wait for server to close connection
929     first. Fixes hang when used against GitHub
930     server implementation. (Siddharth Agarwal)
931
932   * DeltaChainIterator: fix a corner case where an object is inflated as an
933     object already in the repository.
934     (Damien Tournoud, #135)
935
936   * Stop leaking file handles during pack reload. (Damien Tournoud)
937
938   * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
939
940  API CHANGES
941
942   * Drop support for Python 2.6. (Jelmer Vernooij)
943
944 0.9.5   2014-02-23
945
946  IMPROVEMENTS
947
948   * Add porcelain 'tag'. (Ryan Faulkner)
949
950   * New module `dulwich.objectspec` for parsing strings referencing
951     objects and commit ranges. (Jelmer Vernooij)
952
953   * Add shallow branch support. (milki)
954
955   * Allow passing urllib2 `opener` into HttpGitClient.
956     (Dov Feldstern, #909037)
957
958  CHANGES
959
960   * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
961
962  API CHANGES
963
964   * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
965     ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
966
967   * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
968     (Jelmer Vernooij)
969
970   * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
971
972  BUG FIXES
973
974   * Raise KeyError rather than TypeError when passing in
975     unicode object of length 20 or 40 to Repo.__getitem__.
976     (Jelmer Vernooij)
977
978   * Use 'rm' rather than 'unlink' in tests, since the latter
979     does not exist on OpenBSD and other platforms.
980     (Dmitrij D. Czarkoff)
981
982 0.9.4   2013-11-30
983
984  IMPROVEMENTS
985
986   * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
987
988   * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
989
990   * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
991
992   * Various performance improvements for object access.
993     (Jelmer Vernooij)
994
995   * New function `get_transport_and_path_from_url`,
996     similar to `get_transport_and_path` but only
997     supports URLs.
998     (Jelmer Vernooij)
999
1000   * Add support for file:// URLs in `get_transport_and_path_from_url`.
1001     (Jelmer Vernooij)
1002
1003   * Add LocalGitClient implementation.
1004     (Jelmer Vernooij)
1005
1006  BUG FIXES
1007
1008   * Support filesystems with 64bit inode and device numbers.
1009     (André Roth)
1010
1011  CHANGES
1012
1013   * Ref handling has been moved to dulwich.refs.
1014     (Jelmer Vernooij)
1015
1016  API CHANGES
1017
1018   * Remove long deprecated RefsContainer.set_ref().
1019     (Jelmer Vernooij)
1020
1021   * Repo.ref() is now deprecated in favour of Repo.refs[].
1022     (Jelmer Vernooij)
1023
1024 FEATURES
1025
1026   * Add support for graftpoints. (milki)
1027
1028 0.9.3   2013-09-27
1029
1030  BUG FIXES
1031
1032   * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
1033
1034 0.9.2   2013-09-26
1035
1036  BUG FIXES
1037
1038   * Include stdint.h in MANIFEST.in (Mark Mikofski)
1039
1040 0.9.1   2013-09-22
1041
1042  BUG FIXES
1043
1044   * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
1045
1046   * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
1047
1048   * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
1049     (milki, #1063087)
1050
1051   * Fix capability negotiation when fetching packs over HTTP.
1052     (#1072461, William Grant)
1053
1054   * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
1055
1056   * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
1057
1058  IMPROVEMENTS
1059
1060   * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions. 
1061     (Alberto Ruiz)
1062
1063   * Add `Repo.get_description` method. (Jelmer Vernooij)
1064
1065   * Support thin packs in Pack.iterobjects() and Pack.get_raw().
1066     (William Grant)
1067
1068   * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
1069     (David Bennett)
1070
1071   * Add paramiko-based SSH vendor. (Aaron O'Mullan)
1072
1073   * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
1074     (Jelmer Vernooij)
1075
1076   * Add ObjectStore.close(). (Jelmer Vernooij)
1077
1078   * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
1079     (Jelmer Vernooij)
1080
1081  API CHANGES
1082
1083   * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
1084     (Jelmer Vernooij)
1085
1086   * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
1087     abort() method that can be used to cancel the pack operation.
1088     (Jelmer Vernooij)
1089
1090 0.9.0   2013-05-31
1091
1092  BUG FIXES
1093
1094   * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
1095
1096   * Use indentation consistent with C Git in config files.
1097     (#1031356, Curt Moore, Jelmer Vernooij)
1098
1099   * Recognize and skip binary files in diff function.
1100     (Takeshi Kanemoto)
1101
1102   * Fix handling of relative paths in dulwich.client.get_transport_and_path.
1103     (Brian Visel, #1169368)
1104
1105   * Preserve ordering of entries in configuration.
1106     (Benjamin Pollack)
1107
1108   * Support ~ expansion in SSH client paths. (milki, #1083439)
1109
1110   * Support relative paths in alternate paths.
1111     (milki, Michel Lespinasse, #1175007)
1112
1113   * Log all error messages from wsgiref server to the logging module. This
1114     makes the test suit quiet again. (Gary van der Merwe)
1115
1116   * Support passing None for empty tree in changes_from_tree.
1117     (Kevin Watters)
1118
1119   * Support fetching empty repository in client. (milki, #1060462)
1120
1121  IMPROVEMENTS:
1122
1123   * Add optional honor_filemode flag to build_index_from_tree.
1124     (Mark Mikofski)
1125
1126   * Support core/filemode setting when building trees. (Jelmer Vernooij)
1127
1128   * Add chapter on tags in tutorial. (Ryan Faulkner)
1129
1130  FEATURES
1131
1132   * Add support for mergetags. (milki, #963525)
1133
1134   * Add support for posix shell hooks. (milki)
1135
1136 0.8.7   2012-11-27
1137
1138  BUG FIXES
1139
1140   * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
1141     (Dmitriy)
1142
1143   * Fix compatibility with Python 2.4. (David Carr)
1144
1145 0.8.6   2012-11-09
1146
1147  API CHANGES
1148
1149   * dulwich.__init__ no longer imports client, protocol, repo and
1150     server modules. (Jelmer Vernooij)
1151
1152  FEATURES
1153
1154   * ConfigDict now behaves more like a dictionary.
1155     (Adam 'Cezar' Jenkins, issue #58)
1156
1157   * HTTPGitApplication now takes an optional
1158     `fallback_app` argument. (Jonas Haag, issue #67)
1159
1160   * Support for large pack index files. (Jameson Nash)
1161
1162  TESTING
1163
1164   * Make index entry tests a little bit less strict, to cope with
1165     slightly different behaviour on various platforms.
1166     (Jelmer Vernooij)
1167
1168   * ``setup.py test`` (available when setuptools is installed) now
1169     runs all tests, not just the basic unit tests.
1170     (Jelmer Vernooij)
1171
1172  BUG FIXES
1173
1174   * Commit._deserialize now actually deserializes the current state rather than
1175     the previous one. (Yifan Zhang, issue #59)
1176
1177   * Handle None elements in lists of TreeChange objects. (Alex Holmes)
1178
1179   * Support cloning repositories without HEAD set.
1180     (D-Key, Jelmer Vernooij, issue #69)
1181
1182   * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
1183
1184   * In ``get_transport_and_path``, pass extra keyword arguments on to
1185     HttpGitClient. (Jelmer Vernooij)
1186
1187 0.8.5   2012-03-29
1188
1189  BUG FIXES
1190
1191   * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
1192
1193   * Be a little bit strict about OS behaviour in index tests.
1194     Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
1195
1196 0.8.4   2012-03-28
1197
1198  BUG FIXES
1199
1200   * Options on the same line as sections in config files are now supported.
1201     (Jelmer Vernooij, #920553)
1202
1203   * Only negotiate capabilities that are also supported by the server.
1204     (Rod Cloutier, Risto Kankkunen)
1205
1206   * Fix parsing of invalid timezone offsets with two minus signs.
1207     (Jason R. Coombs, #697828)
1208
1209   * Reset environment variables during tests, to avoid
1210     test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
1211
1212  TESTS
1213
1214   * $HOME is now explicitly specified for tests that use it to read
1215     ``~/.gitconfig``, to prevent test isolation issues.
1216     (Jelmer Vernooij, #920330)
1217
1218  FEATURES
1219
1220   * Additional arguments to get_transport_and_path are now passed
1221     on to the constructor of the transport. (Sam Vilain)
1222
1223   * The WSGI server now transparently handles when a git client submits data
1224     using Content-Encoding: gzip.
1225     (David Blewett, Jelmer Vernooij)
1226
1227   * Add dulwich.index.build_index_from_tree(). (milki)
1228
1229 0.8.3   2012-01-21
1230
1231  FEATURES
1232
1233   * The config parser now supports the git-config file format as
1234     described in git-config(1) and can write git config files.
1235     (Jelmer Vernooij, #531092, #768687)
1236
1237   * ``Repo.do_commit`` will now use the user identity from
1238     .git/config or ~/.gitconfig if none was explicitly specified.
1239     (Jelmer Vernooij)
1240
1241  BUG FIXES
1242
1243   * Allow ``determine_wants`` methods to include the zero sha in their
1244     return value. (Jelmer Vernooij)
1245
1246 0.8.2   2011-12-18
1247
1248  BUG FIXES
1249
1250   * Cope with different zlib buffer sizes in sha1 file parser.
1251     (Jelmer Vernooij)
1252
1253   * Fix get_transport_and_path for HTTP/HTTPS URLs.
1254     (Bruno Renié)
1255
1256   * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
1257
1258   * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
1259
1260   * Properly abort connections when the determine_wants function
1261     raises an exception. (Jelmer Vernooij, #856769)
1262
1263   * Tweak xcodebuild hack to deal with more error output.
1264     (Jelmer Vernooij, #903840)
1265
1266  FEATURES
1267
1268   * Add support for retrieving tarballs from remote servers.
1269     (Jelmer Vernooij, #379087)
1270
1271   * New method ``update_server_info`` which generates data
1272     for dumb server access. (Jelmer Vernooij, #731235)
1273
1274 0.8.1   2011-10-31
1275
1276  FEATURES
1277
1278   * Repo.do_commit has a new argument 'ref'.
1279
1280   * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
1281
1282   * New ``Repo.get_walker`` method. (Jelmer Vernooij)
1283
1284   * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
1285
1286   * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
1287     (Jelmer Vernooij)
1288
1289   * ``HttpGitClient`` which supports the smart server protocol over
1290     HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
1291
1292   * Add basic support for alternates. (Jelmer Vernooij, #810429)
1293
1294  CHANGES
1295
1296   * unittest2 or python >= 2.7 is now required for the testsuite.
1297     testtools is no longer supported. (Jelmer Vernooij, #830713)
1298
1299  BUG FIXES
1300
1301   * Fix compilation with older versions of MSVC.  (Martin gz)
1302
1303   * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
1304
1305   * Smart protocol clients can now change refs even if they are
1306     not uploading new data. (Jelmer Vernooij, #855993)
1307
1308   * Don't compile C extensions when running in pypy.
1309     (Ronny Pfannschmidt, #881546)
1310
1311   * Use different name for strnlen replacement function to avoid clashing
1312     with system strnlen. (Jelmer Vernooij, #880362)
1313
1314  API CHANGES
1315
1316   * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
1317     (Jelmer Vernooij)
1318
1319 0.8.0   2011-08-07
1320
1321  FEATURES
1322
1323   * New DeltaChainIterator abstract class for quickly iterating all objects in
1324     a pack, with implementations for pack indexing and inflation.
1325     (Dave Borowitz)
1326
1327   * New walk module with a Walker class for customizable commit walking.
1328     (Dave Borowitz)
1329
1330   * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
1331
1332   * Easy rename detection in RenameDetector even without find_copies_harder.
1333     (Dave Borowitz)
1334
1335  BUG FIXES
1336
1337   * Avoid storing all objects in memory when writing pack.
1338     (Jelmer Vernooij, #813268)
1339
1340   * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
1341
1342   * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
1343
1344   * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
1345
1346   * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
1347
1348   * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
1349
1350   * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
1351
1352   * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
1353     left in the buffer. (Dave Borowitz)
1354
1355   * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
1356
1357   * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
1358
1359   * ObjectStore.get_graph_walker() now no longer yields the same
1360     revision more than once. This has a significant improvement for
1361     performance when wide revision graphs are involved.
1362     (Jelmer Vernooij, #818168)
1363
1364   * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
1365
1366   * Don't send a pack with duplicates of the same object. (Dave Borowitz)
1367
1368   * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
1369
1370   * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
1371
1372   * Fix add/add and add/rename conflicts in tree_changes_for_merge.
1373     (Dave Borowitz)
1374
1375   * Use correct MIME types in web server. (Dave Borowitz)
1376
1377  API CHANGES
1378
1379   * write_pack no longer takes the num_objects argument and requires an object
1380     to be passed in that is iterable (rather than an iterator) and that
1381     provides __len__.  (Jelmer Vernooij)
1382
1383   * write_pack_data has been renamed to write_pack_objects and no longer takes a
1384     num_objects argument. (Jelmer Vernooij)
1385
1386   * take_msb_bytes, read_zlib_chunks, unpack_objects, and
1387     PackStreamReader.read_objects now take an additional argument indicating a
1388     crc32 to compute. (Dave Borowitz)
1389
1390   * PackObjectIterator was removed; its functionality is still exposed by
1391     PackData.iterobjects. (Dave Borowitz)
1392
1393   * Add a sha arg to write_pack_object to incrementally compute a SHA.
1394     (Dave Borowitz)
1395
1396   * Include offset in PackStreamReader results. (Dave Borowitz)
1397
1398   * Move PackStreamReader from server to pack. (Dave Borowitz)
1399
1400   * Extract a check_length_and_checksum, compute_file_sha, and
1401     pack_object_header pack helper functions. (Dave Borowitz)
1402
1403   * Extract a compute_file_sha function. (Dave Borowitz)
1404
1405   * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
1406     the thin pack and moves it in in one step. Remove ThinPackData as well.
1407     (Dave Borowitz)
1408
1409   * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
1410
1411   * New UnpackedObject data class that replaces ad-hoc tuples in the return
1412     value of unpack_object and various DeltaChainIterator methods.
1413     (Dave Borowitz)
1414
1415   * Add a lookup_path convenience method to Tree. (Dave Borowitz)
1416
1417   * Optionally create RenameDetectors without passing in tree SHAs.
1418     (Dave Borowitz)
1419
1420   * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
1421
1422   * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
1423
1424   * Optionally pass a request object through to server handlers. (Dave Borowitz)
1425
1426  TEST CHANGES
1427
1428   * If setuptools is installed, "python setup.py test" will now run the testsuite.
1429     (Jelmer Vernooij)
1430
1431   * Add a new build_pack test utility for building packs from a simple spec.
1432     (Dave Borowitz)
1433
1434   * Add a new build_commit_graph test utility for building commits from a
1435     simple spec. (Dave Borowitz)
1436
1437 0.7.1   2011-04-12
1438
1439  BUG FIXES
1440
1441   * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
1442
1443   * Fix the build on Windows. (Pascal Quantin)
1444
1445   * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
1446     (Max Bowsher, #707438)
1447
1448   * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
1449     (Jelmer Vernooij)
1450
1451   * write_tree_diff() now supports submodules.
1452     (Jelmer Vernooij)
1453
1454   * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
1455     (Daniele Sluijters)
1456
1457  IMPROVEMENTS
1458
1459   * Sphinxified documentation. (Lukasz Balcerzak)
1460
1461   * Add Pack.keep.(Marc Brinkmann)
1462
1463  API CHANGES
1464
1465   * The order of the parameters to Tree.add(name, mode, sha) has changed, and
1466     is now consistent with the rest of Dulwich. Existing code will still
1467     work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
1468
1469   * Tree.entries() is now deprecated in favour of Tree.items() and
1470     Tree.iteritems(). (Jelmer Vernooij)
1471
1472 0.7.0   2011-01-21
1473
1474  FEATURES
1475
1476   * New `dulwich.diff_tree` module for simple content-based rename detection.
1477     (Dave Borowitz)
1478
1479   * Add Tree.items(). (Jelmer Vernooij)
1480
1481   * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
1482
1483   * Add write_tree_diff(). (Jelmer Vernooij)
1484
1485   * Add `serve_command` function for git server commands as executables.
1486     (Jelmer Vernooij)
1487
1488   * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
1489     (Dave Borowitz, #568493)
1490
1491  BUG FIXES
1492
1493   * Correct short-circuiting operation for no-op fetches in the server.
1494     (Dave Borowitz)
1495
1496   * Support parsing git mbox patches without a version tail, as generated by
1497     Mercurial.  (Jelmer Vernooij)
1498
1499   * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
1500
1501   * Zero-padded file modes in Tree objects no longer trigger an exception but
1502     the check code warns about them. (Augie Fackler, #581064)
1503
1504   * Repo.init() now honors the mkdir flag. (#671159)
1505
1506   * The ref format is now checked when setting a ref rather than when reading it back.
1507     (Dave Borowitz, #653527)
1508
1509   * Make sure pack files are closed correctly. (Tay Ray Chuan)
1510
1511  DOCUMENTATION
1512
1513   * Run the tutorial inside the test suite. (Jelmer Vernooij)
1514
1515   * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
1516      #610540)
1517
1518
1519 0.6.2   2010-10-16
1520
1521  BUG FIXES
1522
1523   * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
1524
1525   * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
1526
1527   * ThinPackData.from_file now works with resolve_ext_ref callback.
1528     (Dave Borowitz)
1529
1530   * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
1531
1532   * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
1533
1534  FEATURES
1535
1536   * Use slots for core objects to save up on memory. (Jelmer Vernooij)
1537
1538   * Web server supports streaming progress/pack output. (Dave Borowitz)
1539
1540   * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
1541
1542   * Distinguish between missing files and read errors in HTTP server.
1543     (Dave Borowitz)
1544
1545   * Initial work on support for fastimport using python-fastimport.
1546     (Jelmer Vernooij)
1547
1548   * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
1549
1550   * Delegate SHA peeling to the object store.  (Dave Borowitz)
1551
1552  TESTS
1553
1554   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1555
1556   * New tests in test_web with better coverage and fewer ad-hoc mocks.
1557     (Dave Borowitz)
1558
1559   * Standardize quote delimiters in test_protocol. (Dave Borowitz)
1560
1561   * Fix use when testtools is installed. (Jelmer Vernooij)
1562
1563   * Add trivial test for write_pack_header. (Jelmer Vernooij)
1564
1565   * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
1566
1567   * Allow overwriting id property of objects in test utils. (Dave Borowitz)
1568
1569   * Use real in-memory objects rather than stubs for server tests.
1570     (Dave Borowitz)
1571
1572   * Clean up MissingObjectFinder. (Dave Borowitz)
1573
1574  API CHANGES
1575
1576   * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
1577     order. (Dave Borowitz)
1578
1579   * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
1580     (Dave Borowitz).
1581
1582   * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
1583
1584   * Change server capabilities methods to classmethods. (Dave Borowitz)
1585
1586   * Tweak server handler injection. (Dave Borowitz)
1587
1588   * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is 
1589     itself a subclass of PackIndex. (Jelmer Vernooij)
1590
1591  DOCUMENTATION
1592
1593   * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
1594
1595   * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
1596
1597   * Explicitly specify allowed protocol commands to
1598     ProtocolGraphWalker.read_proto_line.  (Dave Borowitz)
1599
1600   * Add utility functions to DictRefsContainer. (Dave Borowitz)
1601
1602
1603 0.6.1   2010-07-22
1604
1605  BUG FIXES
1606
1607   * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
1608
1609   * Use correct path separators for named repo files. (Dave Borowitz)
1610
1611   * python > 2.7 and testtools-based test runners will now also pick up skipped
1612     tests correctly. (Jelmer Vernooij)
1613
1614  FEATURES
1615
1616   * Move named file initilization to BaseRepo. (Dave Borowitz)
1617
1618   * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
1619
1620   * The GitClient interface has been cleaned up and instances are now reusable.
1621     (Augie Fackler)
1622
1623   * Allow overriding paths to executables in GitSSHClient. 
1624     (Ross Light, Jelmer Vernooij, #585204)
1625
1626   * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
1627
1628  TESTS
1629
1630   * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
1631
1632   * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
1633
1634   * Quiet logging output from web tests. (Dave Borowitz)
1635
1636   * More flexible version checking for compat tests. (Dave Borowitz)
1637
1638   * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
1639
1640  CLEANUP
1641
1642   * Clean up file headers. (Dave Borowitz)
1643
1644  TESTS
1645
1646   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
1647
1648  API CHANGES
1649
1650   * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
1651     rather than a filename. (Jelmer Vernooij)
1652
1653   * Make dul-daemon/dul-web trivial wrappers around server functionality.
1654     (Dave Borowitz)
1655
1656   * Move reference WSGI handler to web.py. (Dave Borowitz)
1657
1658   * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
1659
1660   * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
1661
1662
1663 0.6.0   2010-05-22
1664
1665 note: This list is most likely incomplete for 0.6.0.
1666
1667  BUG FIXES
1668  
1669   * Fix ReceivePackHandler to disallow removing refs without delete-refs.
1670     (Dave Borowitz)
1671
1672   * Deal with capabilities required by the client, even if they 
1673     can not be disabled in the server. (Dave Borowitz)
1674
1675   * Fix trailing newlines in generated patch files.
1676     (Jelmer Vernooij)
1677
1678   * Implement RefsContainer.__contains__. (Jelmer Vernooij)
1679
1680   * Cope with \r in ref files on Windows. (
1681     http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
1682
1683   * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
1684
1685   * Support packed ref deletion with no peeled refs. (Augie Fackler)
1686
1687   * Fix send pack when there is nothing to fetch. (Augie Fackler)
1688
1689   * Fix fetch if no progress function is specified. (Augie Fackler)
1690
1691   * Allow double-staging of files that are deleted in the index. 
1692     (Dave Borowitz)
1693
1694   * Fix RefsContainer.add_if_new to support dangling symrefs.
1695     (Dave Borowitz)
1696
1697   * Non-existant index files in non-bare repositories are now treated as 
1698     empty. (Dave Borowitz)
1699
1700   * Always update ShaFile.id when the contents of the object get changed. 
1701     (Jelmer Vernooij)
1702
1703   * Various Python2.4-compatibility fixes. (Dave Borowitz)
1704
1705   * Fix thin pack handling. (Dave Borowitz)
1706  
1707  FEATURES
1708
1709   * Add include-tag capability to server. (Dave Borowitz)
1710
1711   * New dulwich.fastexport module that can generate fastexport 
1712     streams. (Jelmer Vernooij)
1713
1714   * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
1715
1716   * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
1717
1718   * Overall improvements checking Git objects. (Dave Borowitz)
1719
1720   * Packs are now verified while they are received. (Dave Borowitz)
1721
1722  TESTS
1723
1724   * Add framework for testing compatibility with C Git. (Dave Borowitz)
1725
1726   * Add various tests for the use of non-bare repositories. (Dave Borowitz)
1727
1728   * Cope with diffstat not being available on all platforms. 
1729     (Tay Ray Chuan, Jelmer Vernooij)
1730
1731   * Add make_object and make_commit convenience functions to test utils.
1732     (Dave Borowitz)
1733
1734  API BREAKAGES
1735
1736   * The 'committer' and 'message' arguments to Repo.do_commit() have 
1737     been swapped. 'committer' is now optional. (Jelmer Vernooij)
1738
1739   * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
1740     (Jelmer Vernooij)
1741
1742   * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
1743     for clarity. (Jelmer Vernooij)
1744
1745  API CHANGES
1746
1747   * The primary serialization APIs in dulwich.objects now work 
1748     with chunks of strings rather than with full-text strings. 
1749     (Jelmer Vernooij)
1750
1751 0.5.02010-03-03
1752
1753  BUG FIXES
1754
1755   * Support custom fields in commits (readonly). (Jelmer Vernooij)
1756
1757   * Improved ref handling. (Dave Borowitz)
1758
1759   * Rework server protocol to be smarter and interoperate with cgit client.
1760     (Dave Borowitz)
1761
1762   * Add a GitFile class that uses the same locking protocol for writes as 
1763     cgit. (Dave Borowitz)
1764
1765   * Cope with forward slashes correctly in the index on Windows.
1766     (Jelmer Vernooij, #526793)
1767
1768  FEATURES
1769
1770   * --pure option to setup.py to allow building/installing without the C 
1771     extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
1772
1773   * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
1774
1775   * HTTP dumb and smart server. (Dave Borowitz)
1776
1777   * Add abstract baseclass for Repo that does not require file system 
1778     operations. (Dave Borowitz)
1779
1780 0.4.1   2010-01-03
1781
1782  FEATURES
1783
1784   * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
1785
1786   * Add Index.changes_from_tree(). (Jelmer Vernooij)
1787
1788   * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
1789
1790   * Add functionality for writing patches in dulwich.patch.
1791     (Jelmer Vernooij)
1792
1793 0.4.0   2009-10-07
1794
1795  DOCUMENTATION
1796
1797   * Added tutorial.
1798
1799  API CHANGES
1800
1801   * dulwich.object_store.tree_lookup_path will now return the mode and 
1802     sha of the object found rather than the object itself.
1803
1804  BUG FIXES
1805
1806   * Use binascii.hexlify / binascii.unhexlify for better performance.
1807
1808   * Cope with extra unknown data in index files by ignoring it (for now).
1809
1810   * Add proper error message when server unexpectedly hangs up. (#415843)
1811
1812   * Correctly write opcode for equal in create_delta.
1813
1814 0.3.3   2009-07-23
1815
1816  FEATURES
1817
1818   * Implement ShaFile.__hash__().
1819
1820   * Implement Tree.__len__()
1821
1822  BUG FIXES
1823   
1824   * Check for 'objects' and 'refs' directories
1825     when looking for a Git repository. (#380818)
1826
1827 0.3.2   2009-05-20
1828
1829  BUG FIXES
1830
1831   * Support the encoding field in Commits.
1832   
1833   * Some Windows compatibility fixes.
1834
1835   * Fixed several issues in commit support.
1836
1837  FEATURES
1838
1839   * Basic support for handling submodules.
1840
1841 0.3.1   2009-05-13
1842
1843  FEATURES
1844
1845   * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to 
1846     access content.
1847
1848  API CHANGES
1849
1850   * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and 
1851     Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
1852     refs.
1853
1854  BUG FIXES
1855
1856   * Removed import of 'sha' module in objects.py, which was causing 
1857     deprecation warnings on Python 2.6.
1858
1859 0.3.0   2009-05-10
1860
1861  FEATURES
1862
1863   * A new function 'commit_tree' has been added that can commit a tree 
1864     based on an index.
1865
1866  BUG FIXES
1867
1868   * The memory usage when generating indexes has been significantly reduced.
1869  
1870   * A memory leak in the C implementation of parse_tree has been fixed.
1871
1872   * The send-pack smart server command now works. (Thanks Scott Chacon)
1873
1874   * The handling of short timestamps (less than 10 digits) has been fixed.
1875
1876   * The handling of timezones has been fixed.
1877
1878 0.2.1   2009-04-30
1879
1880  BUG FIXES
1881
1882   * Fix compatibility with Python2.4.
1883
1884 0.2.0   2009-04-30
1885
1886  FEATURES
1887
1888   * Support for activity reporting in smart protocol client.
1889
1890   * Optional C extensions for better performance in a couple of 
1891     places that are performance-critical.
1892
1893 0.1.1   2009-03-13
1894
1895  BUG FIXES
1896
1897   * Fixed regression in Repo.find_missing_objects()
1898
1899   * Don't fetch ^{} objects from remote hosts, as requesting them 
1900     causes a hangup.
1901
1902   * Always write pack to disk completely before calculating checksum.
1903
1904  FEATURES
1905
1906   * Allow disabling thin packs when talking to remote hosts.
1907
1908 0.1.0   2009-01-24
1909
1910   * Initial release.