-
Notifications
You must be signed in to change notification settings - Fork 218
/
CHANGELOG.yaml
1762 lines (1608 loc) · 54.7 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
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
4.5.0:
date: 2024-08-01
new features:
- GH-1369 Added `isEvent` method in Event class
- GH-1370 Added `isEmpty` method in Script class
chores:
- Updated dependencies
4.4.1:
date: 2024-07-29
fixed bugs:
- GH-1366 Fixed a bug where $randomAvatarImage was returning an invalid URL
chores:
- GH-1362 Updated `Request~size` to handle `downloadedBytes` property
- GH-1364 Added support for `prefix` in VariableScope
4.4.0:
date: 2024-02-28
new features:
- GH-1356 Add new key `packages` to Script
chores:
- >-
GH-1357 Fixed a bug where invalid JSDoc prevented generating docs and
types
- GH-1357 Update types for `getPath`
4.3.0:
date: 2023-11-18
new features:
- GH-1339 Added `getPath` method on Item
chores:
- Updated dependencies
4.2.1:
date: 2023-09-11
fixed bugs:
- >-
GH-1332 Fixed a bug where `Variable~update` was not updating the
description
chores:
- Updated dependencies
4.2.0:
date: 2023-08-03
new features:
- GH-1329 Added support for `fileName` property in formdata request body
- GH-1329 Retain string file content while parsing formdata and file bodies
chores:
- Updated dependencies
4.1.7:
date: 2023-01-24
fixed bugs:
- GH-1300 Fixed incorrect using typeof operator
chores:
- GH-1302 Migrate to GitHub Actions
- Updated dependencies
4.1.6:
date: 2022-11-28
chores:
- Updated Travis configuration to use an updated Ubuntu distribution
- Updated dependencies
4.1.5:
date: 2022-08-02
chores:
- Preserve casing for Event.listen
- Updated dependencies
4.1.4:
date: 2022-06-06
chores:
- Downgraded `@faker-js/faker` dependency to `5.5.3`
4.1.3:
date: 2022-05-24
fixed bugs:
- >-
GH-1268 Fixed a bug where URL path variables are not replaced if followed
by a dot
chores:
- Run Travis coverage step in latest LTS Node.js release
- Updated dependencies
4.1.2:
date: 2022-03-28
chores:
- Replaced unmaintained 'faker' dependency with '@faker-js/faker'
- Updated dependencies
4.1.1:
date: 2022-01-03
fixed bugs:
- >-
GH-1231 Fixed the method `getPathWithQuery` where disabled params were
resulting into `?` at the end of the url
chores:
- Updated dependencies
4.1.0:
date: 2021-08-16
new features:
- >-
GH-1213 Added Property.findSubstitutions to get list of variables used in
a property
chores:
- Updated dependencies
4.0.2:
date: 2021-08-09
fixed bugs:
- >-
GH-1208, GH-1209 Fixed descriptions for `$randomInt` and `$randomPrice`
dynamic variables
chores:
- Updated dependencies
4.0.1:
date: 2021-07-25
chores:
- Updated dependencies
4.0.0:
date: 2021-06-22
breaking changes:
- GH-610 Dropped support for Node.js < v10
- >-
GH-1197 Dropped support for description type-based formatting on
`Description#toString`
- >-
GH-1198 Dropped support for deprecated `Url#getRaw` method, use
`Url#toString` instead
- |
GH-1198 Dropped support for deprecated object argument variant of:
-> `QueryParam.unparse`
-> `QueryParam.unparseSingle`
-> `Url#getPath`
-> `Url#getQueryString`
-> `Url#getPathWithQuery`
-> `Url#getRemote`
- >-
GH-1199 Dropped support for deprecated `Response#mime` and
`Response#mimeInfo` methods, use `Response#contentInfo` instead
- >-
GH-1200 Dropped support for deprecated `RequestAuth#current` method, use
`RequestAuth#parameters` instead
- GH-1200 Dropped support for deprecated `VariableScope#variables` method
- GH-1200 Dropped support for deprecated "json" `Variable#type`
- GH-1201 Updated `Header.unparse` default separator from "\n" to "\r\n"
- GH-1201 `Header.unparse` excludes disabled header by default
- GH-1202 Removed collection schema, refer 'postmanlabs/schemas' repository
fixed bugs:
- GH-1202 Fixed serialization of cookie extensions on .toString()
chores:
- Added secure codecov publish script
- Updated deprecated faker methods
- GH-1200 Removed discontinued `Request#authorize` method
- GH-1202 Removed puppeteer dependency for browser tests
- GH-1202 Added unit tests for 100% code coverage
- GH-1202 Updated TypeScript Type Declaration
- GH-1202 Updated nyc configuration
- GH-1202 Updated ESLint rules
- GH-1202 Updated dependencies
3.6.11:
date: 2021-04-11
fixed bugs:
- GH-1171 Fixed mime detection when Content-Type is missing
chores:
- Updated dependencies
3.6.10:
date: 2021-03-23
chores:
- Updated dependencies
3.6.9:
date: 2021-01-02
chores:
- Removed `types` property from package.json
- Updated dependencies
3.6.8:
date: 2020-10-07
chores:
- GH-1113 Updated dependencies
- >-
GH-1114 Updated .npmignore to prevent the addition of tests and config
files in the published package
- GH-1114 Added system test for published package content
- GH-1115 Automated gh-pages docs deployment
- GH-1115 Automated releases and publish process
3.6.7:
date: 2020-09-16
fixed bugs:
- >-
GH-1101 Fixed an issue in RequestAuth where the type was set to previous
auth type when update() called with invalid type
- >-
GH-1097 Fixed an issue in cookie where, PropertyList should've been added
as required module for cookie.js file
- >-
GH-1105 Fixed a bug where `toJSON()` on RequestBody returns
non-serializable object having streams for bodies containing file
chores:
- GH-1098, GH-1099 Added unit tests
3.6.6:
date: 2020-08-31
fixed bugs:
- >-
GH-1081 Fixed a bug where multi-valued PropertyList throws on insert if a
key named `hasOwnProperty` is added
chores:
- Updated dependencies
3.6.5:
date: 2020-08-13
chores:
- GH-1076 Added TypeScript Type Declaration
- Updated dependencies
3.6.4:
date: 2020-07-13
chores:
- Updated dependencies
3.6.3:
date: 2020-07-13
new features:
- GH-1060 Added $isoTimestamp to the dynamic variable list
chores:
- Updated dependencies
3.6.2:
date: 2020-06-04
fixed bugs:
- >-
GH-1056 Fixed a bug where `Variable~toString` stringifies null to empty
string
chores:
- Updated dependencies
3.6.1:
date: 2020-05-15
fixed bugs:
- >-
GH-1025 Fixed a bug where `Item.getProtocolProfileBehavior()` mutates the
`protocolProfileBehavior` of all its parents
chores:
- Updated dependencies
3.6.0:
date: 2020-03-02
new features:
- GH-975 Updated URL parsing algorithm
fixed bugs:
- GH-983 Handle query params with empty key or value on unparseSingle
- >-
GH-984 Fixed a bug where empty port, auth, etc. are dropped on
url.toString
- GH-991 Handle protocol separated using `:\\` while parsing URL
- >-
GH-994 Handle `&`, `=` and `#` in query params on
`QueryParam~unparseSingle`
chores:
- GH-961 Added `nyc` and `codecov` for code coverage checks
- Updated dependencies
3.5.5:
date: 2019-12-02
new features:
- GH-960 Accept Response.stream to be a Base64 string
fixed bugs:
- >
GH-958 Fixed a bug where special characters in proxy auth credentials
caused connection failure to the proxy server
chores:
- Updated dependencies
3.5.4:
date: 2019-10-01
new features:
- GH-942 Updated `ProxyConfig` to support proxy bypass list
3.5.3:
date: 2019-09-06
fixed bugs:
- GH-938 Fixed a bug where malformed cookie value throws URIError
3.5.2:
date: 2019-09-04
new features:
- GH-921 Added support for request body `options`
fixed bugs:
- >-
GH-931 Fixed a bug where header with value `0` was being replaced by empty
string
chores:
- Updated dependencies
3.5.1:
date: 2019-08-01
new features:
- >-
GH-914 Added `VariableScope~replaceIn` method to resolve variables to
their values in a given template
- >-
GH-915 Added helper methods (toString, unparse, and, unparseSingle) to the
Cookie instance
chores:
- >-
GH-897, GH-900, GH-901 Added dynamic generators for `SuperString` module
and removed invalid/unsupported faker generators
- >-
GH-904 Modify dynamic generators key-value pairs to key-object pairs which
can store variable descriptions as well
- Updated dependencies
3.5.0:
date: 2019-06-17
new features:
- GH-882 Updated `VariableScope~has` method to search in all the scopes
- Deprecated `Description` formatter based on `Description.type`
fixed bugs:
- >-
GH-883 Fixed a bug where `VariableScope~get` method doesn't search all the
scopes if the variable is disabled in local scope
- >-
GH-884 Fixed a bug where `Request~authorizeUsing` was not handling
arguments passed as object correctly
- >-
GH-885 Fixed a bug where `Url~toString` adds query separator `?` even if
all query params are disabled
3.4.9:
date: 2019-06-07
improvements:
- GH-873 Added faker library support to add `$random*` dynamic variables
chores:
- GH-873 Added benchmark test running system `bipbip`
- Updated dependencies
3.4.8:
date: 2019-05-09
fixed bugs:
- GH-863 Fixed a bug that caused proxy matching for URL with ports to fail
- GH-864 Fixed a bug where duplicate path variables are not handled
chores:
- Updated dependencies
3.4.7:
date: 2019-04-08
new features:
- GH-843 Added `graphql` request body mode
fixed bugs:
- GH-842 Fixed a bug where trailing spaces in an URL was getting removed
chores:
- Updated dependencies
3.4.6:
date: 2019-03-19
new features:
- GH-825 Updated `ProxyConfig` to support proxy authentication
breaking changes:
- GH-832 Moved timings out of response instance
chores:
- GH-834 Suppressed lint warnings and fixed a few
- GH-834 Removed unwanted dev dependencies
- Updated dependencies
3.4.5:
date: 2019-03-01
new features:
- GH-813 Added support for PFX certificate
chores:
- GH-814 Removed connection header(forced) from request size calculation
- GH-819 Switched to a YAML changelog
- Updated dependencies
3.4.4:
date: 2019-02-19
new features:
- GH-798 Handle disabled property in `VariableScope` methods
- GH-809 Added client overhead properties in timing phases
chores:
- Updated dependencies
3.4.3:
date: 2019-02-15
new features:
- GH-800 Added support for port match in `UrlMatchPattern`
- GH-802 Added detailed timing parameters in Response
3.4.2:
date: 2019-02-1
new features:
- |
GH-783 Added support for Array and Object variable type
-> Deprecated JSON variable type
- |
GH-780 Reorganized URL parameters to always honour `disabled` status
-> Deprecated Url~getOAuth1BaseUrl, discontinue in v4.0
-> Deprecated object argument variant of:
-> `Url~getPath`
-> `Url~getQueryString`
-> `Url~getRemote`
- GH-769 Avoid substitution of disabled variables
- GH-781 Added function `Request~size` to calculate request size
- >-
GH-773 Added an option to exclude headers with falsy keys in
`Request~getHeaders`
- >-
GH-777 Handle disabled events in `EventList~listeners` and
`EventList~listenersOwn` correctly
fixed bugs:
- GH-792 Fixed headers size calculation on `HeaderList~contentSize`
chores:
- Updated dependencies
3.4.1:
date: 2019-01-2
fixed bugs:
- GH-763 Fixed a bug where poly chained variables are not resolved correctly
chores:
- Updated dependencies
3.4.0:
date: 2018-12-6
new features:
- >-
GH-743 Added support for ItemGroup and Collection level
protocolProfileBehaviour
chores:
- Migrated tests to chai expect assertions
- Switched over to Travis for Windows builds
- Updated dependencies
3.3.0:
date: 2018-09-21
new features:
- GH-709 Added support for `protocolProfileBehaviour` overrides
- GH-701 Added support for disabled request bodies
chores:
- Updated dependencies
3.2.1:
date: 2018-09-6
fixed bugs:
- GH-699 Handle non-string request method correctly
chores:
- Updated dependencies
3.2.0:
date: 2018-08-20
new features:
- GH-689 Added support for `contentType` to form data request bodies.
fixed bugs:
- GH-679 Fixed URL path handling
- GH-681 Fixed a bug that caused URL parsing to ignore path variables
chores:
- GH-694 Updated dependencies
3.1.1:
date: 2018-06-30
new features:
- >-
Added support for `Response.prototype.jsonp()` to easily extract `jsonp`
inside sandbox
fixed bugs:
- >-
Fixed: Remove `console` statement, which may not be available in some
environments
- 'Fixed: Added `info` to `Property~Definition` documentation'
chores:
- Updated dependencies
3.1.0:
date: 2018-06-28
new features:
- |
Added support for tracking changes on a `VariableScope`. To use this
enable tracking on your variable scope
var variableScope = new VariableScope();
variableScope.enableTracking();
- |
If you are only interested in the last change for any key, you can use the
`autoCompact` option
var variableScope = new VariableScope();
variableScope.enableTracking({ autoCompact: true });
- >-
This makes sure that you are only provided with the most minimal set of
changes. Use this when you want to optimize memory usage or improve
performance when applying the changes back
- |
The `mutations` object allows you to then apply the same changes on a
different `VariableScope`
var scope1 = new VariableScope(),
scope2 = new VariableScope();
// enable tracking
scope1.enableTracking();
// this change is captured in scope1.changes
scope1.set('foo', 'bar');
// this applies the captured changes on scope2
scope1.mutations.applyOn(scope2);
- Added `MutationTracker` for tracking mutations
- >-
Added `Response~contentInfo` to extract mime info and filename from
response
- Deprecated `Response~mime` and `Response~mimeInfo`
chores:
- Updated dependencies
- Fixed documentation for `Description~definition`
3.0.10:
date: 2018-05-22
fixed bugs:
- >-
Revert computing filename from content-disposition header in
`Response~mime`
chores:
- Updated dependencies
3.0.9:
date: 2018-05-16
fixed bugs:
- Faster `QueryParam~unparse`
- >-
`Variable~toString` now stringifies falsy values instead of falling back
to empty string
- >-
`Response~mimeInfo` now computes filename from `content-disposition`
header
- Updated dependencies
3.0.8:
date: 2018-03-21
fixed bugs:
- GH-607 Improved type checking in `RequestBody~update`
- GH-589 Fixed bug that caused missing descriptions in `Collection~toJSON`
chores:
- Updated dependencies
3.0.7:
date: 2018-01-15
fixed bugs:
- GH-539 Improved pre-stringification variable type safety
chores:
- Updated dependencies
3.0.6:
date: 2017-11-30
fixed bugs:
- Downgraded `sanitize-html` to continue support for `postman-sandbox`
chores:
- Updated dependencies
3.0.5:
date: 2017-11-23
new features:
- Added `update` method to `Script`
chores:
- Updated dependencies
3.0.4:
date: 2017-11-20
new features:
- |
Get and set objects in variables with `json` variable type
var variable = new Variable({ type: 'json' });
// set objects as values for `json types`
variable.set({ version: 'v1' });
// get object values
console.log(variable.get()); // { version: 'v1' }
console.log(typeof variable.get()); // object
- GH-502 Added support for system property in query parameters
- GH-503 `request~toJSON` no longer converts `url` to string
- Made sure all Script instances have an id
fixed bugs:
- Fixed a bug where updating types in a variable removed value functions
- '`auth` is now included in `collection.toJSON`'
- >-
Fixed a bug where `item.getAuth` would return an empty `RequestAuth`,
instead of looking up in the parent
- >-
Fixed a bug where empty `auth` was created for `new
{Request,ItemGroup,Collection}({auth: null})`. This affected the auth
lookup in parents.
3.0.3:
date: 2017-11-8
fixed bugs:
- >-
GH-501 Fixed `Description~toString()` behaviour for falsy description
contents
chores:
- Updated dependencies.
- GH-499 Updated `.npmignore`
3.0.2:
date: 2017-11-6
new features:
- GH-495 Added Node v8 to the CI.
- >-
GH-494 Allowed `VariableScope~toObjectResolved` to be called with parent
overrides
- >-
GH-484 Switched to 8fold-marked
(https://www.npmjs.com/package/8fold-marked) from marked
(https://www.npmjs.com/package/marked)
fixed bugs:
- GH-485 Fixed `VariableScope~toObject` to respect layers
chores:
- Updated dependencies
3.0.1:
date: 2017-10-12
fixed bugs:
- GH-479 Corrected file URL handling
chores:
- Updated dependencies
3.0.0:
date: 2017-09-26
breaking changes:
- Updated to using collection format schema v2.1 (auth structure change)
- Modified functioning of `Item#getAuth` to return `RequestAuth` directly
- Added sugar to RequestAuth to handle any auth type (refer docs)
- >-
Removed any auth type specific code from SDK. All individual
authentication related code is now moved to `postman-runtime`
- Added ability to deal with `PropertyList~upsert` operations
- Removed `.sign()` from Request Auth
- Made `Request.toJSON` use `PropertyBase` toJSON
- >-
Updated `.toObjectResolved` to accept reference tree for resolution of
variables
- >-
Updated variable substitution function to now look up the parent tree to
find variable replacement
2.1.3:
date: 2017-08-28
fixed bugs:
- >-
GH-429 Added an option to ignore disabled parameters in
`QueryParam.unparse`
- GH-444 Ensured that all `_.get` calls use valid and sane fallback values
- GH-443 Ensured that empty hosts do not cause an exception in `Url~getHost`
2.1.2:
date: 2017-08-21
fixed bugs:
- >-
GH-441 Renamed the property `_postman_requiresId` to
`_postman_propertyRequiresId` in order to be standard compliant
2.1.1:
date: 2017-08-18
new features:
- GH-430 Added an option to sanitize Property keys in `PropertList~toObject`
- >-
GH-437 Initialized `VariableScope~_layers` only on demand, and not by
default
fixed bugs:
- GH-438 Fixed a bug that caused incorrect AWS Auth signatures
chores:
- Updated dependencies, added edge case unit tests.
2.1.0:
date: 2017-07-18
new features:
- >-
GH-417 Updated `ProxyConfig#getProxyURL` to always return proxy URL with
HTTP protocol
- GH-411 Prevented `_details` from showing up in `Response#toJSON` results
- >-
GH-404 The `Script` constructor now accepts script arrays and strings as
well
- >-
GH-384 `VariableScope#toObject` now returns data across multiple layers as
well
2.0.2:
date: 2017-07-5
fixed bugs:
- GH-403 Fixed typo in the `ALLOWED_PROTOCOLS` variable
2.0.1:
date: 2017-07-3
new features:
- >-
GH-402 Updated `ProxyConfig` to match all protocols, hosts and paths by
default
2.0.0:
date: 2017-07-3
breaking changes:
- >-
Updated the `ProxyConfig` & `UrlMatchPattern` to support multiple
protocols
- |
`ProxyConfig` and `ProxyConfigList` now accept the `host` and `port` keys
instead of `server`. The `match` property also takes in multiple
protocols:
// v1.2.9
var proxyConfig = new ProxyConfig({
match: 'http://*/foo',
server: 'https://proxy.com:8080', // This has been split into host and port in v2.0.0
tunnel: true
});
var proxyConfigList = new ProxyConfigList({}, [
{
match: 'http://*/foo',
server: 'https://proxy.com:8080', // This has been split into host and port in v2.0.0
tunnel: true
}
]);
// v2.0.0
var proxyConfig = new ProxyConfig({
match: 'http+ftp://*/foo', // match now supports multiple plus(`+`) separated protocols
host: 'proxy.com', // In v1.2.9, `host` and `port` were combined into `server`
port: 8080,
tunnel: true
});
var ProxyConfigList = new ProxyConfigList({}, [
{
match: 'http+ftp://*/foo', // `match` now supports multiple plus(`+`) separated protocols
host: 'proxy.com', // In v1.2.9, `host` and `port` were combined into `server`
port: 8080,
tunnel: true
}
]);
- |
`UrlMatchPattern` now returns an array of protocol strings:
// v1.2.9
var matchPattern = new UrlMatchPattern('http://*/*').createMatchPattern();
matchPattern.protocol // 'http'
// v2.0.0
var matchPattern = new UrlMatchPattern('http://*/*').createMatchPattern();
matchPattern.protocols // ['http'] (The singular protocol key has been replaced with the plural protocols in v2.0.0)
var anotherMatchPattern = new UrlMatchPattern('http+https+ftp+file://').createMatchPattern();
anotherMatchPatter.protocols // ['http', 'https', 'ftp', 'file']
- |
`ProxyConfig#server` has been removed in favour of the new host format:
// v1.2.9
var proxyConfigList = new ProxyConfigList({}, [
{
match: 'https://*/*',
host: 'proxy.com'
}
]);
proxyConfigList.resolve('https://www.google.com').server.getHost(); // `proxy.com`
// v2.0.0
var proxyConfigList = new ProxyConfigList({}, [
{
match: 'https://*/*',
host: 'proxy.com'
}
]);
proxyConfigList.resolve('https://www.google.com').host // `proxy.com`
1.2.9:
date: 2017-06-27
new features:
- >-
Added support to allow duplicate indexed items to be exported as array via
`PropertyList.prototype.toObject`
- >-
Added a helper, `ItemGroup.oneDeep()` to recursively look for an `Item` in
an `ItemGroup`
fixed bugs:
- >-
Fixed a bug which caused `PropertyList.remove()` to remove uncalled for
elements from internal reference
1.2.8:
date: 2017-05-31
fixed bugs:
- >-
Fixed a bug where converting `QueryParam` and `FormParam` lists to objects
was not working
1.2.7:
date: 2017-05-30
fixed bugs:
- >-
Fixed path variable data representations to work correctly with `id` as
well as `key`.
1.2.6:
date: 2017-05-29
new features:
- Enhanced `Url.toString()` to handle non-string path variable values
- Enhanced `PropertyList.has()` to also check for values (optionally)
- Added a data structure for NTLM authentication mechanism
1.2.5:
date: 2017-05-11
new features:
- Added support for multi-layered variable resolution
- Added convenience method, `VariableScope.toObject()`
- '`VariableScope.variables()` is now deprecated in favor of above'
1.2.4:
date: 2017-05-09
fixed bugs:
- >-
Fixed a bug in the response size computation which was caused due to
reliance on a hidden property
1.2.3:
date: 2017-05-08
fixed bugs:
- '`Header` now inherits from `Property` instead of `PropertyBase`'
- Authorization helper fixes
- Descriptions have been shifted to `Property` from `PropertyBase`
- Header size sent is zero if no headers are present
1.2.2:
date: 2017-04-26
new features:
- Updated signing logic to support inherited auth parameters
- Added a new helper function, `setParent` to `PropertyBase`
1.2.1:
date: 2017-04-25
new features:
- Added a new property, `CookieList`
fixed bugs:
- >-
Fixed a bug in the `RequestAuth` implementation which caused authorization
step to be skipped
chores:
- Improved documentation
1.2.0:
date: 2017-04-24
new features:
- Added support for variable types via VariableScope `.set` function
- Added `VariableScope~variables` to access all variables as a plain object
- Ensure that `Xyz.isXyz()` functions always return a boolean
- >-
Updated Cookie to behave properly in lists (`name` is now the key and it
is multi-value case insensitive)
- '`RequestAuthBase` inherits from `PropertyBase`'
- >-
All auth definitions inherit from `RequestAuthBase` (through a dynamic
intermediate class)
- >-
Added `Item.getAuth()` which returns an instance of the currently selected
auth-type (searches parent folders as well)
- >-
Added `PropertyBase.findInParents` which finds a given property in the
closest parent.
- >-
Added `PropertyBase.findParentContaining` which finds the closest parent
containing the given property.
- >-
Added `RequestAuth.current()` which returns an instance of the currently
selected auth.
- >-
Added `.toObject` and `.toString` method to PropertyList to work for Types
that has a .valueOf and `.unparse` defined.
- >-
Added HeaderList and discontinued `Header.headerValue` in favour of
`HeaderList.get`
fixed bugs:
- Fixed a bug which caused `Request` to not initialize headers
- >-
Fixed issue with Cookie constructor misbehaving when constructor
definition was missing
- >-
Fixed issue with `Cookie~update` function causing previosuly defined
properties from being overwritten
1.1.0:
date: 2017-04-03
new features:
- Enhanced the `PropertyList` to allow keys with multiple values
- Removed Response details `fromServer` flag
- Added Response details `standardName` property
- Added `set`, `get`, `unset` and `clear `helpers to `VariableScope`
- Added `Response#details` helper to retain custom server HTTP reasons
- Added `Response.isResponse` and `Script.isScript` helpers
- Added `Request.isRequest` helper
fixed bugs:
- >-
Fixed a bug in `PropertyList#clear` which caused only the first property
of a list to be removed
- Fixed a script resolution bug in `Event#update`
1.0.2:
date: 2017-03-21
fixed bugs:
- Downgraded `file-type` to v3.9.0, which is browserify compatible
1.0.1:
date: 2017-03-14
new features:
- Added a helper function, `isProxyConfig`
1.0.0:
date: 2017-03-06
breaking changes:
- Added proxy and certificate properties to request model
- Added UrlMatchPattern, UrlMatchPatternList classes
- Added Certificate and CertificateList classes for certificate information
chores:
- >-
Fixed a bug in `PropertyList` which caused members to not be JSONified
correctly
0.5.13:
date: 2017-02-24
new features:
- >-
Added helper functions for traversing parent properties (`.parent()` &
`.forEachParent()`)
0.5.12:
date: 2017-02-16
new features:
- Migrated code from echo.getpostman.com to postman-echo.com
- Allow options.stream to be a new Buffer().toJSON()
0.5.11:
date: 2017-01-31
new features:
- Added test for multiple variables with host
- Added more test cases for url parse
- Removed unused quantifier from character class
- Update response.js
- >-
Improved response documentation structure and added encoding helper
function
- Reduced one more toString call :)
- Added the Buffer check instead of checking for ArrayBuffer
- Bail out early if it is a arraybuffer
- Moved the charset handling to mime-format
- Added the charset to the mime info
- >-
Find the encoding from the header and encode the stream response
accordingly
fixed bugs:
- Ignore dots within variables on host
- Fixes `getOAuth1BaseUrl` to not lowercase the url path
0.5.10:
date: 2016-12-26
new features:
- Provided the public api to test the match pattern
fixed bugs:
- Fixed invalid script reference
- >-
Returned undefined if the pattern is not a valid one for proxy match
pattern
- Respect the disabled prop in the proxyConfigList
chores:
- Renamed util lodash pluck to choose
0.5.9:
date: 2016-12-19
fixed bugs:
- Fixed post build success documentation publish flow
0.5.8:
date: 2016-12-14
new features:
- >-
Find the encoding from the header and encode the stream response
accordingly
fixed bugs:
- Replace node-uuid with uuid module since node-uuid has been deprecated
docs:
- Fixed the example in the readme file
chores:
- Converted `timeStamp` to `timestamp` in oAuth1
0.5.7: