forked from postmanlabs/postman-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.yaml
520 lines (451 loc) · 12.6 KB
/
CHANGELOG.yaml
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
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
3.5.7:
date: 2020-07-13
chores:
- Updated dependencies
3.5.6:
date: 2020-06-26
fixed bugs:
- >-
GH-589 Fixed a bug where asynchronous scripts are not executed in the
browser
chores:
- Updated dependencies
3.5.5:
date: 2020-06-14
chores:
- Updated dependencies
3.5.4:
date: 2020-06-05
chores:
- Updated dependencies
3.5.3:
date: 2020-03-02
chores:
- GH-513 Added `codecov` for coverage checks
- Updated dependencies
3.5.2:
date: 2019-12-02
chores:
- GH-511 Store boot code as base64 string
- GH-512 Exclude response object from execution before dispatch
- Updated dependencies
3.5.1:
date: 2019-11-13
chores:
- |
GH-507 Updated console serialize replacer to generate verbose placeholders
for non-teleported types
- Updated dependencies
3.5.0:
date: 2019-11-12
new features:
- GH-502 Added support for non-JSON compatible data types in console logs
- |
GH-502 Added option `serializeLogs` to allow sending `teleport-javascript`
serialized logs
- 'GH-504 Added support for functions, weakMaps, etc. in console logs'
chores:
- Updated dependencies
3.4.0:
date: 2019-10-01
new features:
- GH-496 Added support for `pm.collectionVariables` VariableScope
chores:
- Updated dependencies
3.3.3:
date: 2019-09-06
chores:
- Updated dependencies
3.3.2:
date: 2019-08-14
chores:
- Updated dependencies
3.3.1:
date: 2019-08-02
chores:
- Updated dependencies
3.3.0:
date: 2019-08-01
new features:
- GH-468 Updated `pm.cookies.jar` methods
- |
GH-464 Added APIs for visualizer operations with following methods.
-> `pm.visualizer.set` - Allow setting visualizer template and its options
```
var template = '<h1>Hello, {{name}}<h1>',
data = {
name: 'Postman'
},
options = {
// options to use while processing the template
};
pm.visualizer.set(template, data, options);
```
-> `pm.visualizer.clear` - Removes previously set visualizer template and its options
```
pm.visualizer.set(template, data, options);
pm.visualizer.clear(); // will remove set template in above line
```
chores:
- Updated dependencies
3.2.9:
date: 2019-06-17
chores:
- Bumped `postman-collection` to `v3.5.0`
3.2.8:
date: 2019-06-07
chores:
- Bumped `postman-collection` to `v3.4.9`
- Updated dependencies
3.2.7:
date: 2019-04-26
new features:
- |
Added support for adding asynchronous tests when using `pm.test` by
passing `done` callback
```
// example of asynchronous test
pm.test('this is a test name', function (done) {
// do some async stuff here and call `done`
pm.sendRequest(done);
});
```
- |
Added `history` argument to callback of pm.sendRequest() which contains
received cookies in response
```
// use of `history` argument
pm.sendRequest(url, function(err, res, history) {
console.log(history.cookies.all());
});
```
- >-
Added CookieJar to pm.cookies which dispatches CookieStore event
`execution.cookies.${id}` and expects `execution.cookies.${id}`
chores:
- Updated dependencies
3.2.6:
date: 2019-03-19
chores:
- Bumped `postman-collection` to `v3.4.6`
3.2.5:
date: 2019-03-01
chores:
- Bumped `postman-collection` to `v3.4.5`
- Bumped `uvm` to `v1.7.5`
3.2.4:
date: 2019-02-20
chores:
- Bumped `postman-collection` to `v3.4.4`
3.2.3:
date: 2019-02-1
chores:
- Bumped `postman-collection` to `v3.4.2`
3.2.2:
date: 2019-01-3
chores:
- Updated dependencies
3.2.1:
date: 2018-12-25
fixed bugs:
- >-
Updated `chai-postman` to `v1.1.1`, which fixes a JSON schema assertion
bug
3.2.0:
date: 2018-12-24
new features:
- GH-373 Added Ajv JSON schema validator
- Deprecated tv4 in favor of Ajv
fixed bugs:
- GH-374 Fixed a bug that caused negated assertions to persist
chores:
- Migrated tests to chai expect assertions
- Updated dependencies
3.1.3:
date: 2018-09-21
chores:
- Updated dependencies
3.1.2:
date: 2018-08-20
chores:
- Updated dependencies
3.1.1:
date: 2018-06-30
fixed bugs:
- >-
Fixed a bug that caused executions to crash when context variables have
tracked mutations
3.1.0:
date: 2018-06-28
new features:
- >-
Added change tracking to sandbox variables. Now execution result has
`mutations` which has recorded all the changes that were made during the
script execution.
chores:
- Updated dependencies
3.0.8:
date: 2018-05-24
chores:
- Updated dependencies
3.0.7:
date: 2018-05-16
chores:
- Updated dependencies
3.0.6:
date: 2018-04-10
fixed bugs:
- 'Reverted GH-273: Chai assignment fix'
3.0.5:
date: 2018-04-9
fixed bugs:
- Fixed a bug that caused negated assertions to persist
- >-
Updated `uvm` to `v1.7.1`, which fixes iframe bootcode loading for large
bundles
- >-
Updated `chai-postman` to `v1.0.2`, which fixes a response status
assertion bug
chores:
- Updated dependencies
3.0.4:
date: 2017-11-30
chores:
- Updated dependencies
3.0.3:
date: 2017-11-20
new features:
- |
Get and set objects in variables with `json` type
// set objects as values for `json types`
pm.variables.set('myObject', { version: 'v1' }, 'json');
// get object values
console.log(pm.variables.get('myObject')); // { version: 'v1' }
console.log(typeof pm.variables.get('myObject')); // object
3.0.2:
date: 2017-11-9
chores:
- Made error messages for legacy test failure assertions useful
3.0.1:
date: 2017-11-8
fixed bugs:
- >-
Fixed a bug where assertions for legacy test failures did not include the
assertion `error`
chores:
- Updated dependencies
3.0.0:
date: 2017-11-7
breaking changes:
- >-
`execution.assertion` and `execution.assertions.${id}` events are now
passed with array of assertions
- Added support for collection variables using `collectionVariables`
- >-
Variables set with `pm.variables` state are now bubbled with
`execution.result.${id}` as `_variables`
chores:
- Updated dependencies
2.3.5:
date: 2017-10-13
new features:
- >-
GH-212 Replaced in-house chai assertion extensions with chai-postman
(https://github.com/postmanlabs/chai-postman)
chores:
- Updated dependencies
2.3.4:
date: 2017-09-27
fixed bugs:
- GH-203 Fixed a bug that caused internal assertion helpers to be leaked
- >-
GH-196 Shifted `browserify` to `devDependencies`, thereby reducing package
size
- GH-193 Fixed script timeout bug
- GH-186 Added support for `console.error`
2.3.3:
date: 2017-08-28
chores:
- GH-178 Bumped `xml2js` to `v0.4.19`
- GH-180 Bumped `postman-collection` to `v2.1.3`
2.3.2:
date: 2017-08-21
fixed bugs:
- >-
GH-176 Fixed an issue that caused missing headers in assertions to crash
test scripts
chores:
- GH-156 Updated `csv-parse` to v1.2.1
2.3.1:
date: 2017-08-18
new features:
- GH-106 Support for timers inside sandbox (not in browser)
- 'Added `url`, `punycode`, and `querystring` to the Sandbox'
- >-
Added `pm.sendRequest` which dispatches event `execution.request.${id}`
and expects `execution.response.${id}`
fixed bugs:
- >-
GH-169 Prevented disabled headers from showing up in `request.headers` in
the sandbox
- >-
Fixed bug where `pm.test` called without an assertion function would not
trigger assertion event
chores:
- Updated dependencies
2.3.0:
date: 2017-06-27
new features:
- GH-133 Added csv-parse (synchronous) to the sandbox
chores:
- Updated dependencies
2.2.0:
date: 2017-06-14
new features:
- GH-122 Added moment (without locales) to the Sandbox
chores:
- Updated dependencies
2.1.5:
date: 2017-05-16
fixed bugs:
- >-
Fixed bug that caused an invalid version of Collection SDK to be cached on
prepublish
2.1.4:
date: 2017-05-15
chores:
- update postman-collection to version 1.2.5
2.1.3:
date: 2017-05-12
new features:
- Introduced `pm.variables` as a unified interface for variable access
- 'Renamed `pm.data` to `pm.iterationData`, exposed as a `VariableScope`'
fixed bugs:
- >-
Updated `uniscope` to v1.1.1, which contains a bugfix for handling falsey
globals
2.1.2:
date: 2017-05-8
fixed bugs:
- GH-89 Assertion event indices now begin with `0`
2.1.1:
date: 2017-04-25
new features:
- >-
Added request and response assertions in form of `pm.request.to` and
`pm.response.to`
- '`pm.cookies` is now available'
2.1.0:
date: 2017-04-13
new features:
- Initial release of the `pm` API
- >-
`pm.globals`, `pm.environment` - VariableScope
(http://www.postmanlabs.com/postman-collection/VariableScope.html)
- >-
`pm.request` - Request
(http://www.postmanlabs.com/postman-collection/Request.html)
- >-
`pm.response` - Response
(http://www.postmanlabs.com/postman-collection/Response.html) (only
available in test scripts)
2.0.0:
date: 2017-04-05
breaking changes:
- >-
Removed legacy handling of environment and collections (both are now
`VariableScope`s
- 'Introduced a standardized execution result object, `Execution`'
- Removed the `masked` options which were used by the sandbox
1.0.1:
date: 2017-01-06
new features:
- >-
Shifted to deprecated `new Buffer()` function for full node v4
compatibility
- Tests for BOM support in JSON.parse
chores:
- Dependency shift from optional dependencies to dev dependencies
1.0.0:
date: 2016-12-29
fixed bugs:
- Fixed missing clear immediate
0.0.1-beta.11:
date: 2016-12-27
fixed bugs:
- Added the missing clearImmediate stub timer
0.0.1-beta.10:
date: 2016-12-27
new features:
- Sandbox library tests
- Added stub timer functions that do nothing except trigger console message
- >-
Compatibility with Postman Legacy sandbox framework (and other
improvements)
fixed bugs:
- Fix binding issue of the stub timers
- User error and informational console events
- Replaced deprecated buffer-browserify with feross buffer and added tests
- >-
Fixed issue with XMLHttpRequest variable name being incorrect inside
sandbox
0.0.1-beta.9:
date: 2016-12-21
new features:
- Added UVM with external iframe support for sandboxed chrome packaged apps
0.0.1-beta.8:
date: 2016-12-20
new features:
- Added additional relaxations of sandbox + jQuery for browser variant
- Updated UVM to beta version which supports timeouts
- Added tests to check state of optional dependencies
- Update to accept parameter changes in UVM
0.0.1-beta.7:
date: 2016-12-16
fixed bugs:
- Made Postman execute use a common scope object
- Fix crypto-js dependency release issue.
0.0.1-beta.6:
date: 2016-12-2
new features:
- Made all executions follow legacy IO structure
- Added fully functional PostmanConsole inside library
fixed bugs:
- Bugfix using loads merge instead of assign!
- Updated uniscope to a non buggy unjailed mode version
- >-
Ensured that xml2js is exposed as xml2Json instead of original library
inside sandbox
0.0.1-beta.5:
date: 2016-12-1
new features:
- Added test for loads library inside sandbox
- Made default bundling option detect globals
- >-
Moved requirement of sandbox globals to inside scope execution and ran it
in unjailed mode
fixed bugs:
- Fixed bug with context.dispose trying to access undefined variable
0.0.1-beta.4:
date: 2016-11-30
new features:
- Added console support
- Added polymorphism to the data argument of execution
- Made execution debug options be inherited during construction
- Made the sandbox execute event accept the current (legacy) data format
- Made sandbox load files relative to itself
0.0.1-beta.3:
date: 2016-11-30
new features:
- Made the file loading of bundler use absolute path
- Move vendor out one level
0.0.1-beta.2:
date: 2016-11-30
new features:
- Made the dependency on bundling not be needed if cache is present
- Added pre-publish script for initial testing
0.0.1-beta.1:
date: 2016-11-30
initial release:
- Added initial codebase
- Added boilerplate configuration files.