You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use on alipay openapi upload file
see
https://opendocs.alipay.com/open-v3/054oog#%E6%96%87%E4%BB%B6%E4%B8%8A%E4%BC%A0
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `isFormStream` property in `FormStream` for enhanced data
handling.
- Updated `FormStream` field method to accept an additional `mimeType`
parameter.
- Added new script for contributors in `package.json`.
- **Bug Fixes**
- Updated Node.js CI and release workflows to use the latest
configurations from a different repository.
- **Documentation**
- Updated `README.md` to remove outdated badges and add new contributor
information.
- Added a note about the project following the git-contributor spec.
- **Tests**
- Enhanced form stream tests to include new JSON data field validation.
- **Chores**
- Added `git-contributor` dependency for automated contributor updates.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
Copy file name to clipboardExpand all lines: CHANGELOG.md
+86Lines changed: 86 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,3 +20,89 @@
20
20
### Features
21
21
22
22
* Porting from new Buffer() to Buffer.from() ([#22](https://github.com/node-modules/formstream/issues/22)) ([f268e86](https://github.com/node-modules/formstream/commit/f268e86e6b55d5b981bb7daf9c8662bdcd820f5c))
23
+
24
+
---
25
+
26
+
27
+
1.2.0 / 2023-03-17
28
+
==================
29
+
30
+
**features**
31
+
*[[`f268e86`](http://github.com/node-modules/formstream/commit/f268e86e6b55d5b981bb7daf9c8662bdcd820f5c)] - feat: Porting from new Buffer() to Buffer.from() (#22) (Matthew Speiser <<mattrspeiser@gmail.com>>)
32
+
33
+
**others**
34
+
*[[`3c09f70`](http://github.com/node-modules/formstream/commit/3c09f700b2440b8f391650c939d91c2d5e4ae9b3)] - test: run on github action (#21) (fengmk2 <<fengmk2@gmail.com>>)
35
+
*[[`2d5ed81`](http://github.com/node-modules/formstream/commit/2d5ed81e95b4fde270b5db2720fff0e19effd2dc)] - test: run test on node 12, 14, 16 (#20) (fengmk2 <<fengmk2@gmail.com>>)
36
+
37
+
1.1.1 / 2021-04-28
38
+
==================
39
+
40
+
**fixes**
41
+
*[[`c96ba5b`](http://github.com/node-modules/formstream/commit/c96ba5bace0e96bf39770769e43d9de4271971d8)] - fix: upgrade mime to fix wrong mime type (#19) (shaozj <<shaozj@users.noreply.github.com>>)
42
+
43
+
**others**
44
+
*[[`21918e5`](http://github.com/node-modules/formstream/commit/21918e5fc37a4cea5aae82659d39587f099e805b)] - chore: upgrade devDeps express to latest version (#15) (fengmk2 <<fengmk2@gmail.com>>)
45
+
46
+
1.1.0 / 2016-12-19
47
+
==================
48
+
49
+
* deps: upgrade mime to latest version (#9)
50
+
51
+
1.0.0 / 2014-11-04
52
+
==================
53
+
54
+
* fix(field): support stream.field(String, Number)
55
+
* chore: fix links
56
+
* chore: use npm scripts instead of Makefile
57
+
* fix test case on node@0.8
58
+
59
+
0.0.8 / 2014-01-17
60
+
==================
61
+
62
+
* destroy source stream when formstream destroy()
63
+
* add more test cases
64
+
65
+
0.0.7 / 2013-07-25
66
+
==================
67
+
68
+
* feature: always try to infer `Content-Length` (@xingrz)
69
+
* doc improve
70
+
71
+
0.0.6 / 2013-07-15
72
+
==================
73
+
74
+
* added test cases for chaining call (@xingrz)
75
+
* improved docs (@xingrz)
76
+
* added chaining support (@xingrz)
77
+
* api doc
78
+
* fixed test causes
79
+
* update dependencies version
80
+
81
+
0.0.5 / 2012-11-06
82
+
==================
83
+
84
+
* fixed stream error not catch bug
85
+
86
+
0.0.4 / 2012-11-06
87
+
==================
88
+
89
+
* fixed #2 support form.buffer()
90
+
* add doc for setTotalStreamSize()
91
+
92
+
0.0.3 / 2012-11-06
93
+
==================
94
+
95
+
* support content-length use form.setTotalStreamSize(size)
0 commit comments