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