333
schangxiang@126.com
2025-09-19 18966e02fb573c7e2bb0c6426ed792b38b910940
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
3.4.1 / 2019-01-16
===================
 
* PR-535 - Fix #534 - Superagent downgrading (thanks @rimiti)
* PR-533 - Only publish necessary files (thanks @rimiti)
 
3.4.0 / 2019-01-15
===================
 
* PR-532 - Packages updated, pipeline more explicit, documentation updated (thanks @rimiti)
* PR-517 - Documentation updated (thanks @oprogramador)
* PR-513 - Use more robust Array instance check (thanks @rubendg)
 
3.3.0 / 2018-09-06
===================
 
* PR-509 - Fix #486, bug in _assertBody, switch to `deepStrictEqual`  (thanks @mikelax)
* PR-510 - Refactor test files to use const/let (thanks @rimiti)
 
3.2.0 / 2018-09-05
===================
 
* PR-507 - Ignore coverage folder (thanks @rimiti)
* PR-506 - Fix Coveralls timeouts on Travis (thanks @rimiti)
* PR-505 - Use node 10 instead of node 9 (thanks @rimiti)
* PR-504 - Coverage + Coveralls integration (thanks @rimiti)
* PR-503 - Dependencies updated (thanks @rimiti)
* PR-495 - Fix example in README.md (thanks @Otto-AA)
 
3.1.0 / 2018-04-24
===================
 
* PR-473 - Remove unused dependency in Readme (thanks @pedro-otero)
* PR-472 - Update travis node versions (thanks @rimiti)
* PR-470 - Upgrade the superagent node module to resolve security vulnerabilities & fix the __proto__ property deprecation (thanks @levioza)
* PR-446 - Fix bug, always pass on errors if no response (thanks @bkeepers)
* PR-418 - Add post() examples to the README (thanks @kevinburke)
* PR-297 - Add a .host() method to set a host other than 127.0.0.1 (thanks @mikec)
* PR-275 - Removed ambiguously misappropriated cultural references from readme (thanks @reallistic)
 
3.0.0 / 2017-01-29
===================
 
* PR-373 - Allow TestAgent pass a cert and key to request (thanks @toefraz)
* PR-392 - Update readme with promise example (thanks @ajouve)
* PR-400 - Update to superagent 3 (thanks @alphashuro)
 
2.0.1 / 2016-10-19
===================
 
  * PR-371 - node v6 - Fix bug to support HEAD method. Add uppercase on method value (thanks @seangarner)
  * PR-348 - Handle server not running errors (thanks @santanu-biswas)
 
2.0.0 / 2016-07-29
===================
 
  * PR-347 - Update to superagent ^2.0.0 (thanks @saintedlama)
  * Proper es6 [promises support](http://visionmedia.github.io/superagent/#request-basics) was added in superagent 2.0.0, which means you can use it
 
1.2.0 / 2016-02-11
===================
 
  * PR-302 - Update to superagent ^1.7.2
  * PR-313 - Update node versions on Travis CI
  * PR-223 - Remove Makefile for running tests
  * PR-286 - Fix bug with redirects
 
1.1.0 / 2015-08-26
===================
 
  * PR-235 - Update test framework to express 4, update other deps
  * PR-239 - Core refactor to run expectations in order of definition
  * PR-273 - Documentation update related to PR-239
  * PR-268 - Bump superagent to 1.3.0
 
1.0.1 / 2015-05-08
===================
 
  * PR-224 - Better expected error support as result of super-agent 1.x
 
1.0.0 / 2015-05-08
===================
 
  * Bumping version to 1.0.0!, big changes with superagent
  * Update superagent dependency to 1.2.0
 
0.15.0 / 2014-11-11
===================
 
  * Update superagent dependency
 
0.14.0 / 2014-09-29
===================
 
  * Update superagent dependency
  * Update methods dependency
 
0.13.0 / 2014-05-22
===================
 
  * Wait for server close before invoke the callback for `end()`
  * Fix global leak in tests
 
0.12.1 / 2014-05-09
===================
 
  * update methods dependency
 
0.11.0 / 2014-04-14
==================
 
  * close internal server upon test end
  * add .delete() method (aliases .del())
 
0.10.0 / 2014-03-20
==================
 
  * assert respond body prior to the status code
  * add documentation for .agent()
 
0.9.2 / 2014-03-17
==================
 
  * fix package.json
 
0.9.1 / 2014-03-17
==================
 
  * update superagent
 
0.9.0 / 2014-01-17
==================
 
 * add expect(function(res) {}) syntax
 
0.8.3 / 2014-01-07
==================
 
 * update superagent.
 
0.8.2 / 2013-11-26
==================
 
 * update superagent. Closes #85
 
0.8.1 / 2013-10-28
==================
 
 * merge pull request #82 from jonathanong/patch-1
 * bump node-methods
 * merge pull request #79 from menzoic/patch-1
 * update Readme.md
 * Merge pull request #73 from repoify/add/repository
 * add repository field to readme
 
0.8.0 / 2013-08-09
==================
 
 * add ability for multiple assertions per header
 
0.7.1 / 2013-07-02
==================
 
 * update superagent
 
0.7.0 / 2013-06-04
==================
 
 * add error properties so test frameworks can show diffs etc. Closes #65
 
0.6.1 / 2013-06-02
==================
 
 * fix: EADDRINUSE errnos, use ephemeral ports now
 * fix: handling of socket errors
 
0.6.0 / 2013-04-15
==================
 
  * add exposing of `Test` to enable extensibility
  * add request.agent(app) support
  * add request(url) test. Closes #33
 
0.5.1 2012-12-07
==================
 
  * fix .expect(status) should assert only status
 
0.5.0/ 2012-11-28
==================
 
  * add support for multiple body assertions
 
0.4.2 / 2012-11-17
==================
 
  * add .buffer() so that responses with no content-length are testable. closes #36
  * add failing test for #36
  * update superagent
 
0.4.1 / 2012-11-14
==================
 
  * update superagent
 
0.4.0 / 2012-10-18
==================
 
  * add url support [vesln]
 
0.3.1 / 2012-10-01
==================
 
  * update superagent
 
0.3.0 / 2012-09-24
==================
 
  * add `https.Server` support [fengmk2]
 
0.2.0 / 2012-08-29
==================
 
  * update superagent. Closes #18
 
0.1.2 / 2012-07-15
==================
 
  * change bind address from 0.0.0.0 to 127.0.0.1 to prevent EADDRNOTAVAIL on windows
 
0.1.1 / 2012-07-03
==================
 
  * add `.expect(status, body, fn)` support
  * add `.expect(status, body)` support
 
0.1.0 / 2012-07-02
==================
 
  * add parsed body assertion support. Closes #1