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