forked from postmanlabs/postman-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG.yaml
1538 lines (1408 loc) · 48.9 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
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:
date: 2016-11-16
new features:
- Added the ability to provide the disabled prop to the the form-param
- Added response module contructor helper
- 'Improved validation, added isCookie method + tests'
- Added response module contructor helper
fixed bugs:
- Fixed inheritance of formparam
- Set the disabled prop only if it is provided
chores:
- Skipped cookie tests
- 'Improved naming, added more tests'
0.5.6:
date: 2016-11-2
new features:
- Supports ProxyConfig and ProxyConfig List
- >-
added a Response.prototype.encoding private function to return encoding of
the response
- >-
Updated Response mime detection functions to use constants to improve
performance. + a few doc improvements
- Response objects are now marked to always use and generate IDs
- Proxy Config support
- >-
Added utility function (internal) to select the first non-empty value from
a set of values
- Added the test for default all_url policy to go through all the urls
- Replaced the .test with .match for better stateless reggae matching
chores:
- Cleanup directory structure in `package.json`
- Remove non-existing directories from `package.json`
- Removed Node v5 from the build configuration
- >-
Updated documentation of Response constructor and made .reason() function
use custom reason message
0.5.5:
date: 2016-10-14
fixed bugs:
- fixed a bug in hawk auth
chores:
- Altered build-wiki script for breaking changes
- Unskipped body mime detection test
0.5.4:
date: 2016-10-5
fixed bugs:
- Handle empty session token in aws auth
- 'If the app sends us an empty session token, do not give it to the library'
- Corrected `_.merge` discrepancy
chores:
- Replaced deprecated fs.existsSync calls in system tests
- >-
Turned off the unit test cobertura reporter on CI. This would now allow to
see full build report on Travis
- Rename `name` to `key` to make our cookie compatible with tough cookie
0.5.3:
date: 2016-09-28
new features:
- AppVeyor + system tests
- GH-130 Ported scripts to Shelljs
- Sync scope to object
- >-
Added helper function in collection to expand functionalities of list sync
to target object
- Added function in VariableList to sync its members to an object
fixed bugs:
- Updated `marked` dependency to 0.3.6 to patch security issue
0.5.2:
date: 2016-09-21
new features:
- Create/Update header functionality
- Added a helper method to allow updating or inserting a header
fixed bugs:
- Ensure that AWS Auth updates headers if they already exist
- Do not remove aws sha256 header
- Ensure that upsertHeader does not blow up if no header is specified
chores:
- Renamed functional tests to unit
0.5.1:
date: 2016-09-20
new features:
- Replaced JSHint + JSCS with ESLint + plugins
- Added support of query params to uri in digest
fixed bugs:
- Fixed a crash in request body empty check
chores:
- Renamed functional tests to unit
- Renamed unit tests to integration
0.5.0:
date: 2016-09-16
new features:
- >-
Ensure that security token is removed from headers before sending the
request
- Oauth1 empty parameters
- AWSv4 session token support
- Added leviathan JSON test
- Respect the empty parameter setting
- VariableScope object (and other performance improvements)
- >-
Made the VariableScope always clone a list if provided in constructor
(reasons stated as inline comment) + added test
- >-
Relaxed the variable list transformation functions check on validity of
the object inside an array
- Added resolution correctness check for slashed variable names
- >-
Improved Url by storing all strings and regular expressions as
constant-like variables
- >-
Updated VariableScope tests to account for the changes in key for
VariableList
- Added toJSON to VariableScope
- >-
Made variableList use the indexing key property wherever it was
manipulating Variable objects
- >-
Updated path variables to be backward compatible with indexing key being
`id` (needed since indexing property of Variable changed to `key` from
`id`)
- Update indexing property of variable to `key`
- >-
For consistency, made property-list return blank array when it has no
members. + @czardoz
- >-
Updated base Property constructor to not create keys for `name` unless it
is defined. Also updated it to re-use its own instance properties in case
the constructor os re-applied on a plain object
- Added variable sync helper function in Collection.
- >-
Provided similar api to deal with collection variables compared to
environments and globals
- >-
Moved core value syncing function to variable-list and aliased in
variable-scope.
- This allows the syncing functionality to be usable as collection variable
- Added unit tests for VariableScope
- Added `id` property to response schema
- 'Added VariableScope to better manage environments, globals, etc'
- >-
Added function isVariableList - will be needed during working with
VariableScope definition
- >-
Made PropertyList use its own list specific flags from prototype and
update the flags in list instances based on the type defined - example:
_postman_listIndexKey, _postman_listIndexCaseInsensitive
- >-
This prevents object clutter and adds reliability to the list operation
functions
- >-
Made the `disabled` key of properties be added only when one is provided
in construction definition. Prevents object clutter
- Used liquid-json to parse response.json() - strips BOM
- Updated Response Property to use relaxed internal JSON parser
fixed bugs:
- Fixed context binding operations
- >-
Fixed a bug introduced where variable-list was transforming to wrong
property value - `values` instead of `value`
chores:
- Updated Lodash to v4
- Added `hawk` to GreenKeeper ignore
- Added some TODO tasks with respect to Variables and VariableList
0.4.14:
date: 2016-08-24
chores:
- Tightened dependency requirements to use precise versions only
0.4.13:
date: 2016-08-18
new features:
- Added tests for the meta properties
- Added a function to get meta properties
- Updated propertyBase to pick description from `info` block if provided
- >-
Updated the `_.createDefined` util function to accept a fallback parameter
to set default
fixed bugs:
- Fix collection constructor `info` block description parsing
- >-
Ensure that meta keywords of base constructor `merges` the properties
instead of deleting them.
0.4.12:
date: 2016-08-11
new features:
- Added a method to get the remote from a url
- Added an option to get the port when it is not specified
- Added Travis CI build notification capability
- Added a method to get the remote from a url
- Maintain integrity of URL query parameters
- Added unparsing tests for query params that lack value
- >-
Updated QueryParam.unparse to internally use unparseSingle -> thus
retaining parameter integrity
- >-
Updated query param constructor to inherit from Property (no clue why it
was not done) and split the constructor to use `update` function. Also,
made the toString() function of query param use `unparseSingle`
- >-
Updated the function of single query param parsing to (1) not trim
anything and (2) if value is missing, store it as undefined. These are
useful in retaining integrity during unparsing
- Added function to unparse a single query parameter
fixed bugs:
- >-
Fixed dead code and throwback logic in URL constructor and query param
getter.
0.4.11:
date: 2016-08-5
fixed bugs:
- Ensure that aws auth does not use disabled headers
0.4.10:
date: 2016-08-5