UNPKG

7.18 kBMarkdownView Raw
1### 3.2.2
2
3 * fix error on empty payloads (thanks [dougwilson])
4
5### 3.2.1
6
7 * fix maxFilesSize overcalculation bug (thanks [dougwilson] and
8 [timothysoehnlin])
9
10### 3.2.0
11
12 * add maxFilesSize for autoFiles (thanks [dougwilson])
13
14### 3.1.2
15
16 * exclude test files from npm package (thanks Dag Einar Monsen)
17 * fix incorrectly using autoFields value for autoFiles (thanks RG72)
18
19### 3.1.1
20
21 * fix not emitting 'close' after all part 'end' events
22
23### 3.1.0
24
25 * support UTF8 filename in Content-Disposition (thanks baoshan)
26
27### 3.0.0
28
29 * form.parse callback API changed in a compatibility-breaking manner.
30 sorry, I know it sucks but the way I had it before is misleading and
31 inconsistent.
32
33### 2.2.0
34
35 * additional callback API to support multiple files with same field name
36 * fix assertion crash when max field count is exceeded
37 * fix assertion crash when client aborts an invalid request
38 * (>=v0.10 only) unpipe the request when an error occurs to save resources.
39 * update readable-stream to ~1.1.9
40 * fix assertion crash when EMFILE occurrs
41 * (no more assertions - only 'error' events)
42
43### 2.1.9
44
45 * relax content-type detection regex. (thanks amitaibu)
46
47### 2.1.8
48
49 * replace deprecated Buffer.write(). (thanks hueniverse)
50
51### 2.1.7
52
53 * add repository field to package.json
54
55### 2.1.6
56
57 * expose `hash` as an option to `Form`. (thanks wookiehangover)
58
59### 2.1.5
60
61 * fix possible 'close' event before all temp files are done
62
63### 2.1.4
64
65 * fix crash for invalid requests
66
67### 2.1.3
68
69 * add `file.size`
70
71### 2.1.2
72
73 * proper backpressure support
74 * update s3 example
75
76### 2.1.1
77
78 * fix uploads larger than 2KB
79 * fix both s3 and upload example
80 * add part.byteCount and part.byteOffset
81
82### 2.1.0 (recalled)
83
84 * Complete rewrite. See README for changes and new API.
85
86### v1.0.13
87
88* Only update hash if update method exists (Sven Lito)
89* According to travis v0.10 needs to go quoted (Sven Lito)
90* Bumping build node versions (Sven Lito)
91* Additional fix for empty requests (Eugene Girshov)
92* Change the default to 1000, to match the new Node behaviour. (OrangeDog)
93* Add ability to control maxKeys in the querystring parser. (OrangeDog)
94* Adjust test case to work with node 0.9.x (Eugene Girshov)
95* Update package.json (Sven Lito)
96* Path adjustment according to eb4468b (Markus Ast)
97
98### v1.0.12
99
100* Emit error on aborted connections (Eugene Girshov)
101* Add support for empty requests (Eugene Girshov)
102* Fix name/filename handling in Content-Disposition (jesperp)
103* Tolerate malformed closing boundary in multipart (Eugene Girshov)
104* Ignore preamble in multipart messages (Eugene Girshov)
105* Add support for application/json (Mike Frey, Carlos Rodriguez)
106* Add support for Base64 encoding (Elmer Bulthuis)
107* Add File#toJSON (TJ Holowaychuk)
108* Remove support for Node.js 0.4 & 0.6 (Andrew Kelley)
109* Documentation improvements (Sven Lito, Andre Azevedo)
110* Add support for application/octet-stream (Ion Lupascu, Chris Scribner)
111* Use os.tmpDir() to get tmp directory (Andrew Kelley)
112* Improve package.json (Andrew Kelley, Sven Lito)
113* Fix benchmark script (Andrew Kelley)
114* Fix scope issue in incoming_forms (Sven Lito)
115* Fix file handle leak on error (OrangeDog)
116
117### v1.0.11
118
119* Calculate checksums for incoming files (sreuter)
120* Add definition parameters to "IncomingForm" as an argument (Math-)
121
122### v1.0.10
123
124* Make parts to be proper Streams (Matt Robenolt)
125
126### v1.0.9
127
128* Emit progress when content length header parsed (Tim Koschützki)
129* Fix Readme syntax due to GitHub changes (goob)
130* Replace references to old 'sys' module in Readme with 'util' (Peter Sugihara)
131
132### v1.0.8
133
134* Strip potentially unsafe characters when using `keepExtensions: true`.
135* Switch to utest / urun for testing
136* Add travis build
137
138### v1.0.7
139
140* Remove file from package that was causing problems when installing on windows. (#102)
141* Fix typos in Readme (Jason Davies).
142
143### v1.0.6
144
145* Do not default to the default to the field name for file uploads where
146 filename="".
147
148### v1.0.5
149
150* Support filename="" in multipart parts
151* Explain unexpected end() errors in parser better
152
153**Note:** Starting with this version, formidable emits 'file' events for empty
154file input fields. Previously those were incorrectly emitted as regular file
155input fields with value = "".
156
157### v1.0.4
158
159* Detect a good default tmp directory regardless of platform. (#88)
160
161### v1.0.3
162
163* Fix problems with utf8 characters (#84) / semicolons in filenames (#58)
164* Small performance improvements
165* New test suite and fixture system
166
167### v1.0.2
168
169* Exclude node\_modules folder from git
170* Implement new `'aborted'` event
171* Fix files in example folder to work with recent node versions
172* Make gently a devDependency
173
174[See Commits](https://github.com/felixge/node-formidable/compare/v1.0.1...v1.0.2)
175
176### v1.0.1
177
178* Fix package.json to refer to proper main directory. (#68, Dean Landolt)
179
180[See Commits](https://github.com/felixge/node-formidable/compare/v1.0.0...v1.0.1)
181
182### v1.0.0
183
184* Add support for multipart boundaries that are quoted strings. (Jeff Craig)
185
186This marks the beginning of development on version 2.0 which will include
187several architectural improvements.
188
189[See Commits](https://github.com/felixge/node-formidable/compare/v0.9.11...v1.0.0)
190
191### v0.9.11
192
193* Emit `'progress'` event when receiving data, regardless of parsing it. (Tim Koschützki)
194* Use [W3C FileAPI Draft](http://dev.w3.org/2006/webapi/FileAPI/) properties for File class
195
196**Important:** The old property names of the File class will be removed in a
197future release.
198
199[See Commits](https://github.com/felixge/node-formidable/compare/v0.9.10...v0.9.11)
200
201### Older releases
202
203These releases were done before starting to maintain the above Changelog:
204
205* [v0.9.10](https://github.com/felixge/node-formidable/compare/v0.9.9...v0.9.10)
206* [v0.9.9](https://github.com/felixge/node-formidable/compare/v0.9.8...v0.9.9)
207* [v0.9.8](https://github.com/felixge/node-formidable/compare/v0.9.7...v0.9.8)
208* [v0.9.7](https://github.com/felixge/node-formidable/compare/v0.9.6...v0.9.7)
209* [v0.9.6](https://github.com/felixge/node-formidable/compare/v0.9.5...v0.9.6)
210* [v0.9.5](https://github.com/felixge/node-formidable/compare/v0.9.4...v0.9.5)
211* [v0.9.4](https://github.com/felixge/node-formidable/compare/v0.9.3...v0.9.4)
212* [v0.9.3](https://github.com/felixge/node-formidable/compare/v0.9.2...v0.9.3)
213* [v0.9.2](https://github.com/felixge/node-formidable/compare/v0.9.1...v0.9.2)
214* [v0.9.1](https://github.com/felixge/node-formidable/compare/v0.9.0...v0.9.1)
215* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
216* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
217* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
218* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
219* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
220* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
221* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
222* [v0.9.0](https://github.com/felixge/node-formidable/compare/v0.8.0...v0.9.0)
223* [v0.1.0](https://github.com/felixge/node-formidable/commits/v0.1.0)