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