send_pack: simplify condition guarding whether a pack is sent
[jelmer/dulwich.git] / NEWS
1 0.9.8   UNRELEASED
2
3  BUG FIXES
4
5   * Various fixes to improve test suite running on Windows.
6     (Gary van der Merwe)
7
8   * Limit delta copy length to 64K in v2 pack files. (Robert Brown)
9
10   * Strip newline from final ACKed SHA while fetching packs.
11     (Michael Edgar)
12
13  IMPROVEMENTS
14
15   * Add porcelain 'receive-pack' and 'upload-pack'. (Jelmer Vernooij)
16
17   * Handle SIGINT signals in bin/dulwich. (Jelmer Vernooij)
18
19   * Add 'status' support to bin/dulwich. (Jelmer Vernooij)
20
21   * Add 'branch_create', 'branch_list', 'branch_delete' porcelain.
22     (Jelmer Vernooij)
23
24   * Add 'fetch' porcelain. (Jelmer Vernooij)
25
26   * Add 'tag_delete' porcelain. (Jelmer Vernooij)
27
28  CHANGES
29
30   * dul-web is now available as 'dulwich web-daemon'.
31     (Jelmer Vernooij)
32
33   * dulwich.porcelain.tag has been renamed to tag_create.
34     dulwich.porcelain.list_tags has been renamed to tag_list.
35     (Jelmer Vernooij)
36
37 0.9.7   2014-06-08
38
39  BUG FIXES
40
41   * Fix tests dependent on hash ordering. (Michael Edgar)
42
43   * Support staging symbolic links in Repo.stage.
44     (Robert Brown)
45
46   * Ensure that all files object are closed when running the test suite.
47     (Gary van der Merwe)
48
49   * When writing OFS_DELTA pack entries, write correct offset.
50     (Augie Fackler)
51
52   * Fix handler of larger copy operations in packs. (Augie Fackler)
53
54   * Various fixes to improve test suite running on Windows.
55     (Gary van der Merwe)
56
57   * Fix logic for extra adds of identical files in rename detector.
58     (Robert Brown)
59
60  IMPROVEMENTS
61
62   * Add porcelain 'status'. (Ryan Faulkner)
63
64   * Add porcelain 'daemon'. (Jelmer Vernooij)
65
66   * Add `dulwich.greenthreads` module which provides support
67     for concurrency of some object store operations.
68     (Fabien Boucher)
69
70   * Various changes to improve compatibility with Python 3.
71     (Gary van der Merwe, Hannu Valtonen, michael-k)
72
73   * Add OpenStack Swift backed repository implementation
74     in dulwich.contrib. See README.swift for details. (Fabien Boucher)
75
76 API CHANGES
77
78   * An optional close function can be passed to the Protocol class. This will
79     be called by its close method. (Gary van der Merwe)
80
81   * All classes with close methods are now context managers, so that they can
82     be easily closed using a `with` statement. (Gary van der Merwe)
83
84   * Remove deprecated `num_objects` argument to `write_pack` methods.
85     (Jelmer Vernooij)
86
87  OTHER CHANGES
88
89   * The 'dul-daemon' script has been removed. The same functionality
90     is now available as 'dulwich daemon'. (Jelmer Vernooij)
91
92 0.9.6   2014-04-23
93
94  IMPROVEMENTS
95
96  * Add support for recursive add in 'git add'.
97    (Ryan Faulkner, Jelmer Vernooij)
98
99  * Add porcelain 'list_tags'. (Ryan Faulkner)
100
101  * Add porcelain 'push'. (Ryan Faulkner)
102
103  * Add porcelain 'pull'. (Ryan Faulkner)
104
105  * Support 'http.proxy' in HttpGitClient.
106    (Jelmer Vernooij, #1096030)
107
108  * Support 'http.useragent' in HttpGitClient.
109    (Jelmer Vernooij)
110
111  * In server, wait for clients to send empty list of
112    wants when talking to empty repository.
113    (Damien Tournoud)
114
115  * Various changes to improve compatibility with
116    Python 3. (Gary van der Merwe)
117
118  BUG FIXES
119
120  * Support unseekable 'wsgi.input' streams.
121    (Jonas Haag)
122
123  * Raise TypeError when passing unicode() object
124    to Repo.__getitem__.
125    (Jonas Haag)
126
127  * Fix handling of `reset` command in dulwich.fastexport.
128    (Jelmer Vernooij, #1249029)
129
130  * In client, don't wait for server to close connection
131    first. Fixes hang when used against GitHub
132    server implementation. (Siddharth Agarwal)
133
134  * DeltaChainIterator: fix a corner case where an object is inflated as an
135    object already in the repository.
136    (Damien Tournoud, #135)
137
138  * Stop leaking file handles during pack reload. (Damien Tournoud)
139
140  * Avoid reopening packs during pack cache reload. (Jelmer Vernooij)
141
142  API CHANGES
143
144   * Drop support for Python 2.6. (Jelmer Vernooij)
145
146 0.9.5   2014-02-23
147
148  IMPROVEMENTS
149
150  * Add porcelain 'tag'. (Ryan Faulkner)
151
152  * New module `dulwich.objectspec` for parsing strings referencing
153    objects and commit ranges. (Jelmer Vernooij)
154
155  * Add shallow branch support. (milki)
156
157  * Allow passing urllib2 `opener` into HttpGitClient.
158    (Dov Feldstern, #909037)
159
160  CHANGES
161
162  * Drop support for Python 2.4 and 2.5. (Jelmer Vernooij)
163
164  API CHANGES
165
166  * Remove long deprecated ``Repo.commit``, ``Repo.get_blob``,
167    ``Repo.tree`` and ``Repo.tag``. (Jelmer Vernooij)
168
169  * Remove long deprecated ``Repo.revision_history`` and ``Repo.ref``.
170    (Jelmer Vernooij)
171
172  * Remove long deprecated ``Tree.entries``. (Jelmer Vernooij)
173
174  BUG FIXES
175
176  * Raise KeyError rather than TypeError when passing in
177    unicode object of length 20 or 40 to Repo.__getitem__.
178    (Jelmer Vernooij)
179
180  * Use 'rm' rather than 'unlink' in tests, since the latter
181    does not exist on OpenBSD and other platforms.
182    (Dmitrij D. Czarkoff)
183
184 0.9.4   2013-11-30
185
186  IMPROVEMENTS
187
188  * Add ssh_kwargs attribute to ParamikoSSHVendor. (milki)
189
190  * Add Repo.set_description(). (Víðir Valberg Guðmundsson)
191
192  * Add a basic `dulwich.porcelain` module. (Jelmer Vernooij, Marcin Kuzminski)
193
194  * Various performance improvements for object access.
195    (Jelmer Vernooij)
196
197  * New function `get_transport_and_path_from_url`,
198    similar to `get_transport_and_path` but only
199    supports URLs.
200    (Jelmer Vernooij)
201
202  * Add support for file:// URLs in `get_transport_and_path_from_url`.
203    (Jelmer Vernooij)
204
205  * Add LocalGitClient implementation.
206    (Jelmer Vernooij)
207
208  BUG FIXES
209
210   * Support filesystems with 64bit inode and device numbers.
211     (André Roth)
212
213  CHANGES
214
215   * Ref handling has been moved to dulwich.refs.
216     (Jelmer Vernooij)
217
218  API CHANGES
219
220   * Remove long deprecated RefsContainer.set_ref().
221     (Jelmer Vernooij)
222
223   * Repo.ref() is now deprecated in favour of Repo.refs[].
224     (Jelmer Vernooij)
225
226 FEATURES
227
228   * Add support for graftpoints. (milki)
229
230 0.9.3   2013-09-27
231
232  BUG FIXES
233
234   * Fix path for stdint.h in MANIFEST.in. (Jelmer Vernooij)
235
236 0.9.2   2013-09-26
237
238  BUG FIXES
239
240   * Include stdint.h in MANIFEST.in (Mark Mikofski)
241
242 0.9.1   2013-09-22
243
244  BUG FIXES
245
246   * Support lookups of 40-character refs in BaseRepo.__getitem__. (Chow Loong Jin, Jelmer Vernooij)
247
248   * Fix fetching packs with side-band-64k capability disabled. (David Keijser, Jelmer Vernooij)
249
250   * Several fixes in send-pack protocol behaviour - handling of empty pack files and deletes.
251     (milki, #1063087)
252
253   * Fix capability negotiation when fetching packs over HTTP.
254     (#1072461, William Grant)
255
256   * Enforce determine_wants returning an empty list rather than None. (Fabien Boucher, Jelmer Vernooij)
257
258   * In the server, support pushes just removing refs. (Fabien Boucher, Jelmer Vernooij)
259
260  IMPROVEMENTS
261
262   * Support passing a single revision to BaseRepo.get_walker() rather than a list of revisions. 
263     (Alberto Ruiz)
264
265   * Add `Repo.get_description` method. (Jelmer Vernooij)
266
267   * Support thin packs in Pack.iterobjects() and Pack.get_raw().
268     (William Grant)
269
270   * Add `MemoryObjectStore.add_pack` and `MemoryObjectStore.add_thin_pack` methods.
271     (David Bennett)
272
273   * Add paramiko-based SSH vendor. (Aaron O'Mullan)
274
275   * Support running 'dulwich.server' and 'dulwich.web' using 'python -m'.
276     (Jelmer Vernooij)
277
278   * Add ObjectStore.close(). (Jelmer Vernooij)
279
280   * Raise appropriate NotImplementedError when encountering dumb HTTP servers.
281     (Jelmer Vernooij)
282
283  API CHANGES
284
285   * SSHVendor.connect_ssh has been renamed to SSHVendor.run_command.
286     (Jelmer Vernooij)
287
288   * ObjectStore.add_pack() now returns a 3-tuple. The last element will be an
289     abort() method that can be used to cancel the pack operation.
290     (Jelmer Vernooij)
291
292 0.9.0   2013-05-31
293
294  BUG FIXES
295
296   * Push efficiency - report missing objects only. (#562676, Artem Tikhomirov)
297
298   * Use indentation consistent with C Git in config files.
299     (#1031356, Curt Moore, Jelmer Vernooij)
300
301   * Recognize and skip binary files in diff function.
302     (Takeshi Kanemoto)
303
304   * Fix handling of relative paths in dulwich.client.get_transport_and_path.
305     (Brian Visel, #1169368)
306
307   * Preserve ordering of entries in configuration.
308     (Benjamin Pollack)
309
310   * Support ~ expansion in SSH client paths. (milki, #1083439)
311
312   * Support relative paths in alternate paths.
313     (milki, Michel Lespinasse, #1175007)
314
315   * Log all error messages from wsgiref server to the logging module. This
316     makes the test suit quiet again. (Gary van der Merwe)
317
318   * Support passing None for empty tree in changes_from_tree.
319     (Kevin Watters)
320
321   * Support fetching empty repository in client. (milki, #1060462)
322
323  IMPROVEMENTS:
324
325   * Add optional honor_filemode flag to build_index_from_tree.
326     (Mark Mikofski)
327
328   * Support core/filemode setting when building trees. (Jelmer Vernooij)
329
330   * Add chapter on tags in tutorial. (Ryan Faulkner)
331
332  FEATURES
333
334   * Add support for mergetags. (milki, #963525)
335
336   * Add support for posix shell hooks. (milki)
337
338 0.8.7   2012-11-27
339
340  BUG FIXES
341
342   * Fix use of alternates in ``DiskObjectStore``.{__contains__,__iter__}.
343     (Dmitriy)
344
345   * Fix compatibility with Python 2.4. (David Carr)
346
347 0.8.6   2012-11-09
348
349  API CHANGES
350
351   * dulwich.__init__ no longer imports client, protocol, repo and
352     server modules. (Jelmer Vernooij)
353
354  FEATURES
355
356   * ConfigDict now behaves more like a dictionary.
357     (Adam 'Cezar' Jenkins, issue #58)
358
359   * HTTPGitApplication now takes an optional
360     `fallback_app` argument. (Jonas Haag, issue #67)
361
362   * Support for large pack index files. (Jameson Nash)
363
364  TESTING
365
366   * Make index entry tests a little bit less strict, to cope with
367     slightly different behaviour on various platforms.
368     (Jelmer Vernooij)
369
370   * ``setup.py test`` (available when setuptools is installed) now
371     runs all tests, not just the basic unit tests.
372     (Jelmer Vernooij)
373
374  BUG FIXES
375
376   * Commit._deserialize now actually deserializes the current state rather than
377     the previous one. (Yifan Zhang, issue #59)
378
379   * Handle None elements in lists of TreeChange objects. (Alex Holmes)
380
381   * Support cloning repositories without HEAD set.
382     (D-Key, Jelmer Vernooij, issue #69)
383
384   * Support ``MemoryRepo.get_config``. (Jelmer Vernooij)
385
386   * In ``get_transport_and_path``, pass extra keyword arguments on to
387     HttpGitClient. (Jelmer Vernooij)
388
389 0.8.5   2012-03-29
390
391  BUG FIXES
392
393   * Avoid use of 'with' in dulwich.index. (Jelmer Vernooij)
394
395   * Be a little bit strict about OS behaviour in index tests.
396     Should fix the tests on Debian GNU/kFreeBSD. (Jelmer Vernooij)
397
398 0.8.4   2012-03-28
399
400  BUG FIXES
401
402   * Options on the same line as sections in config files are now supported.
403     (Jelmer Vernooij, #920553)
404
405   * Only negotiate capabilities that are also supported by the server.
406     (Rod Cloutier, Risto Kankkunen)
407
408   * Fix parsing of invalid timezone offsets with two minus signs.
409     (Jason R. Coombs, #697828)
410
411   * Reset environment variables during tests, to avoid
412     test isolation leaks reading ~/.gitconfig. (Risto Kankkunen)
413
414  TESTS
415
416   * $HOME is now explicitly specified for tests that use it to read
417     ``~/.gitconfig``, to prevent test isolation issues.
418     (Jelmer Vernooij, #920330)
419
420  FEATURES
421
422   * Additional arguments to get_transport_and_path are now passed
423     on to the constructor of the transport. (Sam Vilain)
424
425   * The WSGI server now transparently handles when a git client submits data
426     using Content-Encoding: gzip.
427     (David Blewett, Jelmer Vernooij)
428
429   * Add dulwich.index.build_index_from_tree(). (milki)
430
431 0.8.3   2012-01-21
432
433  FEATURES
434
435   * The config parser now supports the git-config file format as
436     described in git-config(1) and can write git config files.
437     (Jelmer Vernooij, #531092, #768687)
438
439   * ``Repo.do_commit`` will now use the user identity from
440     .git/config or ~/.gitconfig if none was explicitly specified.
441     (Jelmer Vernooij)
442
443  BUG FIXES
444
445   * Allow ``determine_wants`` methods to include the zero sha in their
446     return value. (Jelmer Vernooij)
447
448 0.8.2   2011-12-18
449
450  BUG FIXES
451
452   * Cope with different zlib buffer sizes in sha1 file parser.
453     (Jelmer Vernooij)
454
455   * Fix get_transport_and_path for HTTP/HTTPS URLs.
456     (Bruno Renié)
457
458   * Avoid calling free_objects() on NULL in error cases. (Chris Eberle)
459
460   * Fix use --bare argument to 'dulwich init'. (Chris Eberle)
461
462   * Properly abort connections when the determine_wants function
463     raises an exception. (Jelmer Vernooij, #856769)
464
465   * Tweak xcodebuild hack to deal with more error output.
466     (Jelmer Vernooij, #903840)
467
468  FEATURES
469
470   * Add support for retrieving tarballs from remote servers.
471     (Jelmer Vernooij, #379087)
472
473   * New method ``update_server_info`` which generates data
474     for dumb server access. (Jelmer Vernooij, #731235)
475
476 0.8.1   2011-10-31
477
478  FEATURES
479
480   * Repo.do_commit has a new argument 'ref'.
481
482   * Repo.do_commit has a new argument 'merge_heads'. (Jelmer Vernooij)
483
484   * New ``Repo.get_walker`` method. (Jelmer Vernooij)
485
486   * New ``Repo.clone`` method. (Jelmer Vernooij, #725369)
487
488   * ``GitClient.send_pack`` now supports the 'side-band-64k' capability.
489     (Jelmer Vernooij)
490
491   * ``HttpGitClient`` which supports the smart server protocol over
492     HTTP. "dumb" access is not yet supported. (Jelmer Vernooij, #373688)
493
494   * Add basic support for alternates. (Jelmer Vernooij, #810429)
495
496  CHANGES
497
498   * unittest2 or python >= 2.7 is now required for the testsuite.
499     testtools is no longer supported. (Jelmer Vernooij, #830713)
500
501  BUG FIXES
502
503   * Fix compilation with older versions of MSVC.  (Martin gz)
504
505   * Special case 'refs/stash' as a valid ref. (Jelmer Vernooij, #695577)
506
507   * Smart protocol clients can now change refs even if they are
508     not uploading new data. (Jelmer Vernooij, #855993)
509
510  * Don't compile C extensions when running in pypy.
511    (Ronny Pfannschmidt, #881546)
512
513  * Use different name for strnlen replacement function to avoid clashing
514    with system strnlen. (Jelmer Vernooij, #880362)
515
516  API CHANGES
517
518   * ``Repo.revision_history`` is now deprecated in favor of ``Repo.get_walker``.
519     (Jelmer Vernooij)
520
521 0.8.0   2011-08-07
522
523  FEATURES
524
525   * New DeltaChainIterator abstract class for quickly iterating all objects in
526     a pack, with implementations for pack indexing and inflation.
527     (Dave Borowitz)
528
529   * New walk module with a Walker class for customizable commit walking.
530     (Dave Borowitz)
531
532   * New tree_changes_for_merge function in diff_tree. (Dave Borowitz)
533
534   * Easy rename detection in RenameDetector even without find_copies_harder.
535     (Dave Borowitz)
536
537  BUG FIXES
538
539   * Avoid storing all objects in memory when writing pack.
540     (Jelmer Vernooij, #813268)
541
542   * Support IPv6 for git:// connections. (Jelmer Vernooij, #801543)
543
544   * Improve performance of Repo.revision_history(). (Timo Schmid, #535118)
545
546   * Fix use of SubprocessWrapper on Windows. (Paulo Madeira, #670035)
547
548   * Fix compilation on newer versions of Mac OS X (Lion and up). (Ryan McKern, #794543)
549
550   * Prevent raising ValueError for correct refs in RefContainer.__delitem__.
551
552   * Correctly return a tuple from MemoryObjectStore.get_raw. (Dave Borowitz)
553
554   * Fix a bug in reading the pack checksum when there are fewer than 20 bytes
555     left in the buffer. (Dave Borowitz)
556
557   * Support ~ in git:// URL paths. (Jelmer Vernooij, #813555)
558
559   * Make ShaFile.__eq__ work when other is not a ShaFile. (Dave Borowitz)
560
561   * ObjectStore.get_graph_walker() now no longer yields the same
562     revision more than once. This has a significant improvement for
563     performance when wide revision graphs are involved.
564     (Jelmer Vernooij, #818168)
565
566   * Teach ReceivePackHandler how to read empty packs. (Dave Borowitz)
567
568   * Don't send a pack with duplicates of the same object. (Dave Borowitz)
569
570   * Teach the server how to serve a clone of an empty repo. (Dave Borowitz)
571
572   * Correctly advertise capabilities during receive-pack. (Dave Borowitz)
573
574   * Fix add/add and add/rename conflicts in tree_changes_for_merge.
575     (Dave Borowitz)
576
577   * Use correct MIME types in web server. (Dave Borowitz)
578
579  API CHANGES
580
581   * write_pack no longer takes the num_objects argument and requires an object
582     to be passed in that is iterable (rather than an iterator) and that
583     provides __len__.  (Jelmer Vernooij)
584
585   * write_pack_data has been renamed to write_pack_objects and no longer takes a
586     num_objects argument. (Jelmer Vernooij)
587
588   * take_msb_bytes, read_zlib_chunks, unpack_objects, and
589     PackStreamReader.read_objects now take an additional argument indicating a
590     crc32 to compute. (Dave Borowitz)
591
592   * PackObjectIterator was removed; its functionality is still exposed by
593     PackData.iterobjects. (Dave Borowitz)
594
595   * Add a sha arg to write_pack_object to incrementally compute a SHA.
596     (Dave Borowitz)
597
598   * Include offset in PackStreamReader results. (Dave Borowitz)
599
600   * Move PackStreamReader from server to pack. (Dave Borowitz)
601
602   * Extract a check_length_and_checksum, compute_file_sha, and
603     pack_object_header pack helper functions. (Dave Borowitz)
604
605   * Extract a compute_file_sha function. (Dave Borowitz)
606
607   * Remove move_in_thin_pack as a separate method; add_thin_pack now completes
608     the thin pack and moves it in in one step. Remove ThinPackData as well.
609     (Dave Borowitz)
610
611   * Custom buffer size in read_zlib_chunks. (Dave Borowitz)
612
613   * New UnpackedObject data class that replaces ad-hoc tuples in the return
614     value of unpack_object and various DeltaChainIterator methods.
615     (Dave Borowitz)
616
617   * Add a lookup_path convenience method to Tree. (Dave Borowitz)
618
619   * Optionally create RenameDetectors without passing in tree SHAs.
620     (Dave Borowitz)
621
622   * Optionally include unchanged entries in RenameDetectors. (Dave Borowitz)
623
624   * Optionally pass a RenameDetector to tree_changes. (Dave Borowitz)
625
626   * Optionally pass a request object through to server handlers. (Dave Borowitz)
627
628  TEST CHANGES
629
630   * If setuptools is installed, "python setup.py test" will now run the testsuite.
631     (Jelmer Vernooij)
632
633   * Add a new build_pack test utility for building packs from a simple spec.
634     (Dave Borowitz)
635
636   * Add a new build_commit_graph test utility for building commits from a
637     simple spec. (Dave Borowitz)
638
639 0.7.1   2011-04-12
640
641  BUG FIXES
642
643   * Fix double decref in _diff_tree.c. (Ted Horst, #715528)
644
645   * Fix the build on Windows. (Pascal Quantin)
646
647   * Fix get_transport_and_path compatibility with pre-2.6.5 versions of Python.
648     (Max Bowsher, #707438)
649
650   * BaseObjectStore.determine_wants_all no longer breaks on zero SHAs.
651     (Jelmer Vernooij)
652
653   * write_tree_diff() now supports submodules.
654     (Jelmer Vernooij)
655
656   * Fix compilation for XCode 4 and older versions of distutils.sysconfig.
657     (Daniele Sluijters)
658
659  IMPROVEMENTS
660
661   * Sphinxified documentation. (Lukasz Balcerzak)
662
663   * Add Pack.keep.(Marc Brinkmann)
664
665  API CHANGES
666
667   * The order of the parameters to Tree.add(name, mode, sha) has changed, and
668     is now consistent with the rest of Dulwich. Existing code will still
669     work but print a DeprecationWarning. (Jelmer Vernooij, #663550)
670
671   * Tree.entries() is now deprecated in favour of Tree.items() and
672     Tree.iteritems(). (Jelmer Vernooij)
673
674 0.7.0   2011-01-21
675
676  FEATURES
677
678   * New `dulwich.diff_tree` module for simple content-based rename detection.
679     (Dave Borowitz)
680
681   * Add Tree.items(). (Jelmer Vernooij)
682
683   * Add eof() and unread_pkt_line() methods to Protocol. (Dave Borowitz)
684
685   * Add write_tree_diff(). (Jelmer Vernooij)
686
687   * Add `serve_command` function for git server commands as executables.
688     (Jelmer Vernooij)
689
690   * dulwich.client.get_transport_and_path now supports rsync-style repository URLs.
691     (Dave Borowitz, #568493)
692
693  BUG FIXES
694
695   * Correct short-circuiting operation for no-op fetches in the server.
696     (Dave Borowitz)
697
698   * Support parsing git mbox patches without a version tail, as generated by
699     Mercurial.  (Jelmer Vernooij)
700
701   * Fix dul-receive-pack and dul-upload-pack. (Jelmer Vernooij)
702
703   * Zero-padded file modes in Tree objects no longer trigger an exception but
704     the check code warns about them. (Augie Fackler, #581064)
705
706   * Repo.init() now honors the mkdir flag. (#671159)
707
708   * The ref format is now checked when setting a ref rather than when reading it back.
709     (Dave Borowitz, #653527)
710
711   * Make sure pack files are closed correctly. (Tay Ray Chuan)
712
713  DOCUMENTATION
714
715   * Run the tutorial inside the test suite. (Jelmer Vernooij)
716
717   * Reorganized and updated the tutorial. (Jelmer Vernooij, Dave Borowitz, #610550,
718      #610540)
719
720
721 0.6.2   2010-10-16
722
723  BUG FIXES
724
725   * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
726
727   * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
728
729   * ThinPackData.from_file now works with resolve_ext_ref callback.
730     (Dave Borowitz)
731
732   * Provide strnlen() on mingw32 which doesn't have it. (Hans Kolek)
733
734   * Set bare=true in the configuratin for bare repositories. (Dirk Neumann)
735
736  FEATURES
737
738   * Use slots for core objects to save up on memory. (Jelmer Vernooij)
739
740   * Web server supports streaming progress/pack output. (Dave Borowitz)
741
742   * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
743
744   * Distinguish between missing files and read errors in HTTP server.
745     (Dave Borowitz)
746
747   * Initial work on support for fastimport using python-fastimport.
748     (Jelmer Vernooij)
749
750   * New dulwich.pack.MemoryPackIndex class. (Jelmer Vernooij)
751
752   * Delegate SHA peeling to the object store.  (Dave Borowitz)
753
754  TESTS
755
756   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
757
758   * New tests in test_web with better coverage and fewer ad-hoc mocks.
759     (Dave Borowitz)
760
761   * Standardize quote delimiters in test_protocol. (Dave Borowitz)
762
763   * Fix use when testtools is installed. (Jelmer Vernooij)
764
765   * Add trivial test for write_pack_header. (Jelmer Vernooij)
766
767   * Refactor some of dulwich.tests.compat.server_utils. (Dave Borowitz)
768
769   * Allow overwriting id property of objects in test utils. (Dave Borowitz)
770
771   * Use real in-memory objects rather than stubs for server tests.
772     (Dave Borowitz)
773
774   * Clean up MissingObjectFinder. (Dave Borowitz)
775
776  API CHANGES
777
778   * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
779     order. (Dave Borowitz)
780
781   * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
782     (Dave Borowitz).
783
784   * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
785
786   * Change server capabilities methods to classmethods. (Dave Borowitz)
787
788   * Tweak server handler injection. (Dave Borowitz)
789
790   * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is 
791     itself a subclass of PackIndex. (Jelmer Vernooij)
792
793  DOCUMENTATION
794
795   * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
796
797   * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
798
799   * Explicitly specify allowed protocol commands to
800     ProtocolGraphWalker.read_proto_line.  (Dave Borowitz)
801
802   * Add utility functions to DictRefsContainer. (Dave Borowitz)
803
804
805 0.6.1   2010-07-22
806
807  BUG FIXES
808
809   * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
810
811   * Use correct path separators for named repo files. (Dave Borowitz)
812
813   * python > 2.7 and testtools-based test runners will now also pick up skipped
814     tests correctly. (Jelmer Vernooij)
815
816  FEATURES
817
818   * Move named file initilization to BaseRepo. (Dave Borowitz)
819
820   * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
821
822   * The GitClient interface has been cleaned up and instances are now reusable.
823     (Augie Fackler)
824
825   * Allow overriding paths to executables in GitSSHClient. 
826     (Ross Light, Jelmer Vernooij, #585204)
827
828   * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
829
830  TESTS
831
832   * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
833
834   * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
835
836   * Quiet logging output from web tests. (Dave Borowitz)
837
838   * More flexible version checking for compat tests. (Dave Borowitz)
839
840   * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
841
842  CLEANUP
843
844   * Clean up file headers. (Dave Borowitz)
845
846  TESTS
847
848   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
849
850  API CHANGES
851
852   * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
853     rather than a filename. (Jelmer Vernooij)
854
855   * Make dul-daemon/dul-web trivial wrappers around server functionality.
856     (Dave Borowitz)
857
858   * Move reference WSGI handler to web.py. (Dave Borowitz)
859
860   * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
861
862   * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
863
864
865 0.6.0   2010-05-22
866
867 note: This list is most likely incomplete for 0.6.0.
868
869  BUG FIXES
870  
871   * Fix ReceivePackHandler to disallow removing refs without delete-refs.
872     (Dave Borowitz)
873
874   * Deal with capabilities required by the client, even if they 
875     can not be disabled in the server. (Dave Borowitz)
876
877   * Fix trailing newlines in generated patch files.
878     (Jelmer Vernooij)
879
880   * Implement RefsContainer.__contains__. (Jelmer Vernooij)
881
882   * Cope with \r in ref files on Windows. (
883     http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
884
885   * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
886
887   * Support packed ref deletion with no peeled refs. (Augie Fackler)
888
889   * Fix send pack when there is nothing to fetch. (Augie Fackler)
890
891   * Fix fetch if no progress function is specified. (Augie Fackler)
892
893   * Allow double-staging of files that are deleted in the index. 
894     (Dave Borowitz)
895
896   * Fix RefsContainer.add_if_new to support dangling symrefs.
897     (Dave Borowitz)
898
899   * Non-existant index files in non-bare repositories are now treated as 
900     empty. (Dave Borowitz)
901
902   * Always update ShaFile.id when the contents of the object get changed. 
903     (Jelmer Vernooij)
904
905   * Various Python2.4-compatibility fixes. (Dave Borowitz)
906
907   * Fix thin pack handling. (Dave Borowitz)
908  
909  FEATURES
910
911   * Add include-tag capability to server. (Dave Borowitz)
912
913   * New dulwich.fastexport module that can generate fastexport 
914     streams. (Jelmer Vernooij)
915
916   * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
917
918   * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
919
920   * Overall improvements checking Git objects. (Dave Borowitz)
921
922   * Packs are now verified while they are received. (Dave Borowitz)
923
924  TESTS
925
926   * Add framework for testing compatibility with C Git. (Dave Borowitz)
927
928   * Add various tests for the use of non-bare repositories. (Dave Borowitz)
929
930   * Cope with diffstat not being available on all platforms. 
931     (Tay Ray Chuan, Jelmer Vernooij)
932
933   * Add make_object and make_commit convenience functions to test utils.
934     (Dave Borowitz)
935
936  API BREAKAGES
937
938   * The 'committer' and 'message' arguments to Repo.do_commit() have 
939     been swapped. 'committer' is now optional. (Jelmer Vernooij)
940
941   * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
942     (Jelmer Vernooij)
943
944   * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
945     for clarity. (Jelmer Vernooij)
946
947  API CHANGES
948
949   * The primary serialization APIs in dulwich.objects now work 
950     with chunks of strings rather than with full-text strings. 
951     (Jelmer Vernooij)
952
953 0.5.02010-03-03
954
955  BUG FIXES
956
957   * Support custom fields in commits (readonly). (Jelmer Vernooij)
958
959   * Improved ref handling. (Dave Borowitz)
960
961   * Rework server protocol to be smarter and interoperate with cgit client.
962     (Dave Borowitz)
963
964   * Add a GitFile class that uses the same locking protocol for writes as 
965     cgit. (Dave Borowitz)
966
967   * Cope with forward slashes correctly in the index on Windows.
968     (Jelmer Vernooij, #526793)
969
970  FEATURES
971
972   * --pure option to setup.py to allow building/installing without the C 
973     extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
974
975   * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
976
977   * HTTP dumb and smart server. (Dave Borowitz)
978
979   * Add abstract baseclass for Repo that does not require file system 
980     operations. (Dave Borowitz)
981
982 0.4.1   2010-01-03
983
984  FEATURES
985
986   * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
987
988   * Add Index.changes_from_tree(). (Jelmer Vernooij)
989
990   * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
991
992   * Add functionality for writing patches in dulwich.patch.
993     (Jelmer Vernooij)
994
995 0.4.0   2009-10-07
996
997  DOCUMENTATION
998
999   * Added tutorial.
1000
1001  API CHANGES
1002
1003   * dulwich.object_store.tree_lookup_path will now return the mode and 
1004     sha of the object found rather than the object itself.
1005
1006  BUG FIXES
1007
1008   * Use binascii.hexlify / binascii.unhexlify for better performance.
1009
1010   * Cope with extra unknown data in index files by ignoring it (for now).
1011
1012   * Add proper error message when server unexpectedly hangs up. (#415843)
1013
1014   * Correctly write opcode for equal in create_delta.
1015
1016 0.3.3   2009-07-23
1017
1018  FEATURES
1019
1020   * Implement ShaFile.__hash__().
1021
1022   * Implement Tree.__len__()
1023
1024  BUG FIXES
1025   
1026   * Check for 'objects' and 'refs' directories
1027     when looking for a Git repository. (#380818)
1028
1029 0.3.2   2009-05-20
1030
1031  BUG FIXES
1032
1033   * Support the encoding field in Commits.
1034   
1035   * Some Windows compatibility fixes.
1036
1037   * Fixed several issues in commit support.
1038
1039  FEATURES
1040
1041   * Basic support for handling submodules.
1042
1043 0.3.1   2009-05-13
1044
1045  FEATURES
1046
1047   * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to 
1048     access content.
1049
1050  API CHANGES
1051
1052   * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and 
1053     Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
1054     refs.
1055
1056  BUG FIXES
1057
1058   * Removed import of 'sha' module in objects.py, which was causing 
1059     deprecation warnings on Python 2.6.
1060
1061 0.3.0   2009-05-10
1062
1063  FEATURES
1064
1065   * A new function 'commit_tree' has been added that can commit a tree 
1066     based on an index.
1067
1068  BUG FIXES
1069
1070   * The memory usage when generating indexes has been significantly reduced.
1071  
1072   * A memory leak in the C implementation of parse_tree has been fixed.
1073
1074   * The send-pack smart server command now works. (Thanks Scott Chacon)
1075
1076   * The handling of short timestamps (less than 10 digits) has been fixed.
1077
1078   * The handling of timezones has been fixed.
1079
1080 0.2.1   2009-04-30
1081
1082  BUG FIXES
1083
1084   * Fix compatibility with Python2.4.
1085
1086 0.2.0   2009-04-30
1087
1088  FEATURES
1089
1090   * Support for activity reporting in smart protocol client.
1091
1092   * Optional C extensions for better performance in a couple of 
1093     places that are performance-critical.
1094
1095 0.1.1   2009-03-13
1096
1097  BUG FIXES
1098
1099   * Fixed regression in Repo.find_missing_objects()
1100
1101   * Don't fetch ^{} objects from remote hosts, as requesting them 
1102     causes a hangup.
1103
1104   * Always write pack to disk completely before calculating checksum.
1105
1106  FEATURES
1107
1108   * Allow disabling thin packs when talking to remote hosts.
1109
1110 0.1.0   2009-01-24
1111
1112  * Initial release.