6af9851c8010aa4755ba6d0cbccadd24241890a7
[jelmer/dulwich-libgit2.git] / NEWS
1 0.6.2   UNRELEASED
2
3  BUG FIXES
4
5   * HTTP server correctly handles empty CONTENT_LENGTH. (Dave Borowitz)
6
7   * Don't error when creating GitFiles with the default mode. (Dave Borowitz)
8
9   * ThinPackData.from_file now works with resolve_ext_ref callback.
10     (Dave Borowitz)
11
12  FEATURES
13
14   * Use slots for core objects to save up on memory. (Jelmer Vernooij)
15
16   * Web server supports streaming progress/pack output. (Dave Borowitz)
17
18   * New public function dulwich.pack.write_pack_header. (Dave Borowitz)
19
20   * Distinguish between missing files and read errors in HTTP server.
21     (Dave Borowitz)
22
23   * Initial work on a fastimport parser. (Jelmer Vernooij)
24
25  TESTS
26
27   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
28
29   * New tests in test_web with better coverage and fewer ad-hoc mocks.
30     (Dave Borowitz)
31
32   * Standardize quote delimiters in test_protocol. (Dave Borowitz)
33
34   * Fix use when testtools is installed. (Jelmer Vernooij)
35
36   * Add trivial test for write_pack_header. (Jelmer Vernooij)
37
38  API CHANGES
39
40   * ObjectStore.iter_tree_contents now walks contents in depth-first, sorted
41     order. (Dave Borowitz)
42
43   * ObjectStore.iter_tree_contents can optionally yield tree objects as well.
44     (Dave Borowitz).
45
46   * Add side-band-64k support to ReceivePackHandler. (Dave Borowitz)
47
48   * Change server capabilities methods to classmethods. (Dave Borowitz)
49
50   * Tweak server handler injection. (Dave Borowitz)
51
52   * PackIndex1 and PackIndex2 now subclass FilePackIndex, which is 
53     itself a subclass of PackIndex. (Jelmer Vernooij)
54
55  DOCUMENTATION
56
57   * Add docstrings for various functions in dulwich.objects. (Jelmer Vernooij)
58
59   * Clean up docstrings in dulwich.protocol. (Dave Borowitz)
60
61
62 0.6.1   2010-07-22
63
64  BUG FIXES
65
66   * Fix memory leak in C implementation of sorted_tree_items. (Dave Borowitz)
67
68   * Use correct path separators for named repo files. (Dave Borowitz)
69
70   * python > 2.7 and testtools-based test runners will now also pick up skipped
71     tests correctly. (Jelmer Vernooij)
72
73  FEATURES
74
75   * Move named file initilization to BaseRepo. (Dave Borowitz)
76
77   * Add logging utilities and git/HTTP server logging. (Dave Borowitz)
78
79   * The GitClient interface has been cleaned up and instances are now reusable.
80     (Augie Fackler)
81
82   * Allow overriding paths to executables in GitSSHClient. 
83     (Ross Light, Jelmer Vernooij, #585204)
84
85   * Add PackBasedObjectStore.pack_loose_objects(). (Jelmer Vernooij)
86
87  TESTS
88
89   * Add tests for sorted_tree_items and C implementation. (Dave Borowitz)
90
91   * Add a MemoryRepo that stores everything in memory. (Dave Borowitz)
92
93   * Quiet logging output from web tests. (Dave Borowitz)
94
95   * More flexible version checking for compat tests. (Dave Borowitz)
96
97   * Compat tests for servers with and without side-band-64k. (Dave Borowitz)
98
99  CLEANUP
100
101   * Clean up file headers. (Dave Borowitz)
102
103  TESTS
104
105   * Use GitFile when modifying packed-refs in tests. (Dave Borowitz)
106
107  API CHANGES
108
109   * dulwich.pack.write_pack_index_v{1,2} now take a file-like object
110     rather than a filename. (Jelmer Vernooij)
111
112   * Make dul-daemon/dul-web trivial wrappers around server functionality.
113     (Dave Borowitz)
114
115   * Move reference WSGI handler to web.py. (Dave Borowitz)
116
117   * Factor out _report_status in ReceivePackHandler. (Dave Borowitz)
118
119   * Factor out a function to convert a line to a pkt-line. (Dave Borowitz)
120
121
122 0.6.0   2010-05-22
123
124 note: This list is most likely incomplete for 0.6.0.
125
126  BUG FIXES
127  
128   * Fix ReceivePackHandler to disallow removing refs without delete-refs.
129     (Dave Borowitz)
130
131   * Deal with capabilities required by the client, even if they 
132     can not be disabled in the server. (Dave Borowitz)
133
134   * Fix trailing newlines in generated patch files.
135     (Jelmer Vernooij)
136
137   * Implement RefsContainer.__contains__. (Jelmer Vernooij)
138
139   * Cope with \r in ref files on Windows. (
140         http://github.com/jelmer/dulwich/issues/#issue/13, Jelmer Vernooij)
141
142   * Fix GitFile breakage on Windows. (Anatoly Techtonik, #557585)
143
144   * Support packed ref deletion with no peeled refs. (Augie Fackler)
145
146   * Fix send pack when there is nothing to fetch. (Augie Fackler)
147
148   * Fix fetch if no progress function is specified. (Augie Fackler)
149
150   * Allow double-staging of files that are deleted in the index. 
151     (Dave Borowitz)
152
153   * Fix RefsContainer.add_if_new to support dangling symrefs.
154     (Dave Borowitz)
155
156   * Non-existant index files in non-bare repositories are now treated as 
157     empty. (Dave Borowitz)
158
159   * Always update ShaFile.id when the contents of the object get changed. 
160     (Jelmer Vernooij)
161
162   * Various Python2.4-compatibility fixes. (Dave Borowitz)
163
164   * Fix thin pack handling. (Dave Borowitz)
165  
166  FEATURES
167
168   * Add include-tag capability to server. (Dave Borowitz)
169
170   * New dulwich.fastexport module that can generate fastexport 
171     streams. (Jelmer Vernooij)
172
173   * Implemented BaseRepo.__contains__. (Jelmer Vernooij)
174
175   * Add __setitem__ to DictRefsContainer. (Dave Borowitz)
176
177   * Overall improvements checking Git objects. (Dave Borowitz)
178
179   * Packs are now verified while they are received. (Dave Borowitz)
180
181  TESTS
182
183   * Add framework for testing compatibility with C Git. (Dave Borowitz)
184
185   * Add various tests for the use of non-bare repositories. (Dave Borowitz)
186
187   * Cope with diffstat not being available on all platforms. 
188     (Tay Ray Chuan, Jelmer Vernooij)
189
190   * Add make_object and make_commit convenience functions to test utils.
191     (Dave Borowitz)
192
193  API BREAKAGES
194
195   * The 'committer' and 'message' arguments to Repo.do_commit() have 
196     been swapped. 'committer' is now optional. (Jelmer Vernooij)
197
198   * Repo.get_blob, Repo.commit, Repo.tag and Repo.tree are now deprecated.
199     (Jelmer Vernooij)
200
201   * RefsContainer.set_ref() was renamed to RefsContainer.set_symbolic_ref(),
202     for clarity. (Jelmer Vernooij)
203
204  API CHANGES
205
206   * The primary serialization APIs in dulwich.objects now work 
207     with chunks of strings rather than with full-text strings. 
208     (Jelmer Vernooij)
209
210 0.5.0   2010-03-03
211
212  BUG FIXES
213
214   * Support custom fields in commits (readonly). (Jelmer Vernooij)
215
216   * Improved ref handling. (Dave Borowitz)
217
218   * Rework server protocol to be smarter and interoperate with cgit client.
219     (Dave Borowitz)
220
221   * Add a GitFile class that uses the same locking protocol for writes as 
222     cgit. (Dave Borowitz)
223
224   * Cope with forward slashes correctly in the index on Windows.
225     (Jelmer Vernooij, #526793)
226
227  FEATURES
228
229   * --pure option to setup.py to allow building/installing without the C 
230     extensions. (Hal Wine, Anatoly Techtonik, Jelmer Vernooij, #434326)
231
232   * Implement Repo.get_config(). (Jelmer Vernooij, Augie Fackler)
233
234   * HTTP dumb and smart server. (Dave Borowitz)
235
236   * Add abstract baseclass for Repo that does not require file system 
237     operations. (Dave Borowitz)
238
239 0.4.1   2010-01-03
240
241  FEATURES
242
243   * Add ObjectStore.iter_tree_contents(). (Jelmer Vernooij)
244
245   * Add Index.changes_from_tree(). (Jelmer Vernooij)
246
247   * Add ObjectStore.tree_changes(). (Jelmer Vernooij)
248
249   * Add functionality for writing patches in dulwich.patch.
250     (Jelmer Vernooij)
251
252 0.4.0   2009-10-07
253
254  DOCUMENTATION
255
256   * Added tutorial.
257
258  API CHANGES
259
260   * dulwich.object_store.tree_lookup_path will now return the mode and 
261     sha of the object found rather than the object itself.
262
263  BUG FIXES
264
265   * Use binascii.hexlify / binascii.unhexlify for better performance.
266
267   * Cope with extra unknown data in index files by ignoring it (for now).
268
269   * Add proper error message when server unexpectedly hangs up. (#415843)
270
271   * Correctly write opcode for equal in create_delta.
272
273 0.3.3   2009-07-23
274
275  FEATURES
276
277   * Implement ShaFile.__hash__().
278
279   * Implement Tree.__len__()
280
281  BUG FIXES
282   
283   * Check for 'objects' and 'refs' directories
284     when looking for a Git repository. (#380818)
285
286 0.3.2   2009-05-20
287
288  BUG FIXES
289
290   * Support the encoding field in Commits.
291   
292   * Some Windows compatibility fixes.
293
294   * Fixed several issues in commit support.
295
296  FEATURES
297
298   * Basic support for handling submodules.
299
300 0.3.1   2009-05-13
301
302  FEATURES
303
304   * Implemented Repo.__getitem__, Repo.__setitem__ and Repo.__delitem__ to 
305     access content.
306
307  API CHANGES
308
309   * Removed Repo.set_ref, Repo.remove_ref, Repo.tags, Repo.get_refs and 
310     Repo.heads in favor of Repo.refs, a dictionary-like object for accessing
311         refs.
312
313  BUG FIXES
314
315   * Removed import of 'sha' module in objects.py, which was causing 
316     deprecation warnings on Python 2.6.
317
318 0.3.0   2009-05-10
319
320  FEATURES
321
322   * A new function `commit_tree' has been added that can commit a tree 
323     based on an index.
324
325  BUG FIXES
326
327   * The memory usage when generating indexes has been significantly reduced.
328  
329   * A memory leak in the C implementation of parse_tree has been fixed.
330
331   * The send-pack smart server command now works. (Thanks Scott Chacon)
332
333   * The handling of short timestamps (less than 10 digits) has been fixed.
334
335   * The handling of timezones has been fixed.
336
337 0.2.1   2009-04-30
338
339  BUG FIXES
340
341   * Fix compatibility with Python2.4.
342
343 0.2.0   2009-04-30
344
345  FEATURES
346
347   * Support for activity reporting in smart protocol client.
348
349   * Optional C extensions for better performance in a couple of 
350     places that are performance-critical.
351
352 0.1.1   2009-03-13
353
354  BUG FIXES
355
356   * Fixed regression in Repo.find_missing_objects()
357
358   * Don't fetch ^{} objects from remote hosts, as requesting them 
359     causes a hangup.
360
361   * Always write pack to disk completely before calculating checksum.
362
363  FEATURES
364
365   * Allow disabling thin packs when talking to remote hosts.
366
367 0.1.0   2009-01-24
368
369  * Initial release.