-
Notifications
You must be signed in to change notification settings - Fork 60
/
CHANGELOG.yaml
779 lines (674 loc) · 18.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
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
unreleased:
breaking changes:
- GH-1052 Dropped support for Node < v18
fixed bugs:
- GH-1036 Fixed `uncaughtException` event listener not being removed
- GH-1034 Fixed an issue where sandbox crashes for large response body
chores:
- GH-1033 Update ci.yml to run coverage on latest node version
5.1.2:
date: 2024-09-04
fixed bugs:
- GH-1040 Only allow `set`, `get` and `unset` operations on `pm.vault`
5.1.1:
date: 2024-08-01
fixed bugs:
- GH-1023 Prevented invalid Events from being executed
chores:
- Allowed access to `pm.vault` only when `vaultSecrets` is set
- Updated dependencies
5.1.0:
date: 2024-07-29
new features:
- GH-1003 Added support for `pm.vault` VariableScope
fixed bugs:
- GH-1018 Fixed warnings for all `postman.*` legacy APIs
chores:
- Updated dependencies
5.0.0:
date: 2024-06-19
breaking changes:
- GH-1004 Dropped support for Node < v16
new features:
- GH-999 Improved isolation for executing scripts
- GH-1000 Added support for top-level await in scripts
chores:
- GH-999 Bumped `uvm` dependency
- GH-1004 Updated ESLint rules
- Bumped `xml2js` to `v0.6.2`
4.7.1:
date: 2024-04-03
fixed bugs:
- GH-994 Modified process.mainModule to prevent access to the Module object
chores:
- GH-993 Moved deprecation warnings to be on the first usage of API
4.7.0:
date: 2024-04-01
new features:
- GH-987 Deprecated legacy sandbox APIs
- GH-991 Added warnings in console when legacy sandbox APIs are used
4.6.1:
date: 2024-04-01
fixed bugs:
- GH-986 Fixed the types for `pm.execution.setNextRequest`
- GH-990 Sanitized the global scope by deleting the timers properties
chores:
- Updated dependencies
4.6.0:
date: 2024-03-13
fixed bugs:
- GH-981 Dropped support for legacy sandbox APIs in packages
- GH-985 Fixed the error message shown when there is an error in packages
new features:
- |
GH-984 Added `pm.execution.setNextRequest` API, similar to legacy
`postman.setNextRequest`
chores:
- Updated dependencies
4.5.1:
date: 2024-03-12
chores:
- GH-968 Added support on demand template registration
4.5.0:
date: 2024-02-28
new features:
- GH-976 Add `pm.require` API to use packages inside scripts
4.4.0:
date: 2023-11-18
new features:
- GH-950 Added support for `pm.execution.location`
chores:
- Updated dependencies
4.3.0:
date: 2023-11-02
new features:
- GH-964 Added support for `pm.execution.skipRequest()`
chores:
- GH-965 Updated generated types
4.2.8:
date: 2023-10-19
fixed bugs:
- GH-961 Fixed `Error.prepareStackTrace` to prevent stack trace pollution
chores:
- Updated dependencies
4.2.7:
date: 2023-08-03
chores:
- Updated dependencies
4.2.6:
date: 2023-06-07
chores:
- Updated dependencies
4.2.5:
date: 2023-04-10
fixed bugs:
- GH-907 Defined `Error.prepareStackTrace` to prevent stack trace pollution
chores:
- Updated dependencies
4.2.4:
date: 2023-03-10
fixed bugs:
- Fixed memory leak due to console listeners
chores:
- Moved `serializeLogs` option to context-level instead of per-execute
4.2.3:
date: 2023-02-22
fixed bugs:
- |
GH-896 Fixed a bug where console events from previously executed scripts
were not emitted
chores:
- Updated dependencies
4.2.2:
date: 2023-01-25
chores:
- GH-886 Bumped tough-cookie dependency
- Updated dependencies
4.2.1:
date: 2023-01-20
fixed bugs:
- GH-884 Fixed memory leak due to console and cookie listeners
chores:
- GH-887 Migrate to GitHub Actions
- Updated dependencies
4.2.0:
date: 2022-11-28
new features:
- GH-872 Added support for Promise execution
- GH-874 Added support for console.clear()
chores:
- GH-875 Updated Travis configuration to use an updated Ubuntu distribution
- Updated dependencies
4.1.2:
date: 2022-08-04
fixed bugs:
- GH-849 Fixed misplaced postman-collection dependency
4.1.1:
date: 2022-08-02
chores:
- Updated dependencies
4.1.0:
date: 2022-07-28
new features:
- GH-839 [internal] Added new `createContextFleet` method
fixed bugs:
- Fixed a bug where synchronous cookie store used to bail out execution
chores:
- Updated dependencies
4.0.8:
date: 2022-06-06
chores:
- Updated dependencies
4.0.7:
date: 2022-05-24
chores:
- Run Travis coverage step in latest LTS Node.js release
- Updated dependencies
4.0.6:
date: 2022-01-03
chores:
- Updated dependencies
4.0.5:
date: 2021-08-16
chores:
- Updated dependencies
4.0.4:
date: 2021-08-09
chores:
- Updated dependencies
4.0.3:
date: 2021-06-22
chores:
- Added secure codecov publish script
- Updated dependencies
4.0.2:
date: 2021-03-24
chores:
- Updated dependencies
4.0.1:
date: 2021-01-03
chores:
- Updated dependencies
4.0.0:
date: 2020-10-07
breaking changes:
- GH-610 Dropped support for Node < v10
fixed bugs:
- GH-603 Removed access from the UVM bridge once it's in execution closure
- GH-605 Sanitized the global scope by deleting the forbidden properties
chores:
- GH-609 Bumped uvm (Web Worker bridge) and uniscope dependency
- GH-615 Used terser for bootcode compression and store as UTF-8 code string
- GH-616 Added postinstall script to override locales exported by faker
- GH-617 Moved postinstall script to cache generation
- GH-618 Automated releases and publish process
- GH-613 Converted internal function implementations to ES6 class
- GH-613 Removed uuid and inherits dependencies
- >-
GH-610 Updated .npmignore to prevent the addition of tests and config
files in the published package
- GH-610 Added system test for published package content
- GH-610 Removed puppeteer dependency for browser tests
- GH-610 Updated nyc configuration
- GH-610 Updated ESLint rules
- GH-610 Updated dependencies
3.5.9:
date: 2020-08-31
chores:
- Updated dependencies
3.5.8:
date: 2020-08-18
chores:
- GH-597 Added TypeScript Type Declaration
- Updated dependencies
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.