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