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