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