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