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