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