postman-runtime 7.26.10 → 7.28.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.yaml +48 -8
- package/README.md +3 -0
- package/dist/index.js +1 -1
- package/lib/authorizer/oauth1.js +41 -9
- package/lib/requester/browser/request.js +3 -0
- package/lib/requester/core.js +26 -3
- package/lib/requester/requester-pool.js +1 -0
- package/lib/requester/requester.js +31 -45
- package/lib/runner/extensions/item.command.js +5 -3
- package/lib/runner/extract-runnable-items.js +10 -0
- package/package.json +16 -15
package/CHANGELOG.yaml
CHANGED
|
@@ -1,3 +1,43 @@
|
|
|
1
|
+
7.28.2:
|
|
2
|
+
date: 2021-06-24
|
|
3
|
+
fixed bugs:
|
|
4
|
+
- >-
|
|
5
|
+
GH-1161 Fixed a bug where cookies set in the request and response callback
|
|
6
|
+
don't account for redirects
|
|
7
|
+
chores:
|
|
8
|
+
- Bumped postman-collection dependency to v4
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
7.28.1:
|
|
12
|
+
date: 2021-06-16
|
|
13
|
+
fixed bugs:
|
|
14
|
+
- >-
|
|
15
|
+
GH-1158 Fixed a bug where invalid OAuth 1.0 signature was generated for
|
|
16
|
+
encoded query parameters
|
|
17
|
+
chores:
|
|
18
|
+
- Added secure codecov publish script
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
21
|
+
7.28.0:
|
|
22
|
+
date: 2021-04-11
|
|
23
|
+
new features:
|
|
24
|
+
- GH-1143 Updated history object to include request and response headers
|
|
25
|
+
chores:
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
28
|
+
7.27.0:
|
|
29
|
+
date: 2021-03-24
|
|
30
|
+
new features:
|
|
31
|
+
- >-
|
|
32
|
+
GH-1130 Added support to disable TLSv1.3 in tlsDisabledProtocols protocol
|
|
33
|
+
profile behavior
|
|
34
|
+
- >-
|
|
35
|
+
GH-1128 Added `systemHeaders` requester option to add default system
|
|
36
|
+
headers
|
|
37
|
+
- GH-1139 Added support for request body mutation via prerequest scripts
|
|
38
|
+
chores:
|
|
39
|
+
- Updated dependencies
|
|
40
|
+
|
|
1
41
|
7.26.10:
|
|
2
42
|
date: 2021-01-03
|
|
3
43
|
chores:
|
|
@@ -345,7 +385,7 @@
|
|
|
345
385
|
date: 2019-04-26
|
|
346
386
|
new features:
|
|
347
387
|
- GH-818 Added support for multiple files in form-data body
|
|
348
|
-
-
|
|
388
|
+
- GH-819 Handle CookieStore events on `execution.cookies.${id}`
|
|
349
389
|
chores:
|
|
350
390
|
- GH-815 Allow empty string as variables in GraphQL body
|
|
351
391
|
- Updated dependencies
|
|
@@ -682,7 +722,7 @@
|
|
|
682
722
|
6.4.0:
|
|
683
723
|
date: 2017-09-28
|
|
684
724
|
new features:
|
|
685
|
-
-
|
|
725
|
+
- Improved flows for NTLM, Digest, and OAuth2
|
|
686
726
|
- GH-382 Added script timeout option
|
|
687
727
|
- GH-408 Prevented max replay errors from bubling up
|
|
688
728
|
- GH-386 Added support for bearer-token auth
|
|
@@ -720,7 +760,7 @@
|
|
|
720
760
|
`request` event
|
|
721
761
|
- GH-337 Prevented headers with falsy keys from being sent with requests
|
|
722
762
|
chores:
|
|
723
|
-
-
|
|
763
|
+
- GH-353,354 Bumped Collection SDK to `v2.1.1` and Sandbox to `v2.3.1`
|
|
724
764
|
- GH-342 Expanded documentation for the `assertion` event
|
|
725
765
|
- GH-327 Ensured that the `tunnel` value is set from the request protocol
|
|
726
766
|
- Updated dependencies
|
|
@@ -751,7 +791,7 @@
|
|
|
751
791
|
- >-
|
|
752
792
|
GH-298 Bumped Postman Sandbox to v2.3.0, which includes support for
|
|
753
793
|
synchronous csv-parse
|
|
754
|
-
-
|
|
794
|
+
- GH-297 Bumped Postman Collection SDK to v1.2.9, with critical bugfixes
|
|
755
795
|
- Updated other dependencies
|
|
756
796
|
|
|
757
797
|
6.2.1:
|
|
@@ -784,7 +824,7 @@
|
|
|
784
824
|
// }
|
|
785
825
|
}
|
|
786
826
|
chores:
|
|
787
|
-
-
|
|
827
|
+
- Updated dependencies, pruned lodash3
|
|
788
828
|
- GH-281 Used updated Sandbox with momentjs included
|
|
789
829
|
|
|
790
830
|
6.1.6:
|
|
@@ -1191,7 +1231,7 @@
|
|
|
1191
1231
|
2.4.0:
|
|
1192
1232
|
date: 2016-08-12
|
|
1193
1233
|
new features:
|
|
1194
|
-
-
|
|
1234
|
+
- Changes to the Node script sandbox, SugarJS now works correctly.
|
|
1195
1235
|
- Ensure that `getResponseCookie` is case-insensitive always
|
|
1196
1236
|
- >-
|
|
1197
1237
|
Check to ensure that Runtime does not crash if the path for file uploads
|
|
@@ -1257,8 +1297,8 @@
|
|
|
1257
1297
|
2.2.1:
|
|
1258
1298
|
date: 2016-07-21
|
|
1259
1299
|
fixed bugs:
|
|
1260
|
-
-
|
|
1261
|
-
-
|
|
1300
|
+
- Allow setting of duplicate headers (same name, but different value)
|
|
1301
|
+
- Do not send a request body if the body type is set, but it is empty
|
|
1262
1302
|
|
|
1263
1303
|
2.2.0:
|
|
1264
1304
|
date: 2016-07-19
|
package/README.md
CHANGED
|
@@ -122,6 +122,9 @@ runner.run(collection, {
|
|
|
122
122
|
// Implicitly add `Postman-Token` system header in request (only supported on Node, ignored in the browser)
|
|
123
123
|
implicitTraceHeader: true,
|
|
124
124
|
|
|
125
|
+
// Add system headers to all requests which cannot be overridden or disabled
|
|
126
|
+
systemHeaders: { 'User-Agent': 'PostmanRuntime' }
|
|
127
|
+
|
|
125
128
|
// Extend well known "root" CAs with the extra certificates in file. The file should consist of one or more trusted certificates in PEM format. (only supported on Node, ignored in the browser)
|
|
126
129
|
extendedRootCA: 'path/to/extra/CA/certs.pem',
|
|
127
130
|
|