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