-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathchangelog.html
2313 lines (2038 loc) · 276 KB
/
changelog.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>HTTP: Changelog - ReactPHP</title>
<meta name="description" content="Event-driven, streaming HTTP client and server implementation for ReactPHP.">
<link rel="apple-touch-icon" sizes="180x180" href="https://reactphp.org/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://reactphp.org/favicon-32x32.png">
<link rel="manifest" href="https://reactphp.org/manifest.json">
<link rel="mask-icon" href="https://reactphp.org/safari-pinned-tab.svg" color="#4f5b93">
<meta name="apple-mobile-web-app-title" content="ReactPHP">
<meta name="application-name" content="ReactPHP">
<meta name="theme-color" content="#f4f3f1">
<meta name="msapplication-config" content="https://reactphp.org/browserconfig.xml" />
<meta property="og:image" content="https://reactphp.org/og-image.png">
<link rel="preload" href="../assets/sourcesanspro-regular.f84b2bd4.woff" as="font" type="font/woff" crossorigin>
<link rel="preload" href="../assets/sourcesanspro-bold.cb7d3610.woff" as="font" type="font/woff" crossorigin>
<script>window.__assets = '../assets/';</script>
<script>!function(){"use strict";var e,t,n,r,o,i={},u={};function a(e){var t=u[e];if(void 0!==t)return t.exports;var n=u[e]={exports:{}};return i[e].call(n.exports,n,n.exports,a),n.exports}a.m=i,e=[],a.O=function(t,n,r,o){if(!n){var i=1/0;for(l=0;l<e.length;l++){n=e[l][0],r=e[l][1],o=e[l][2];for(var u=!0,f=0;f<n.length;f++)(!1&o||i>=o)&&Object.keys(a.O).every((function(e){return a.O[e](n[f])}))?n.splice(f--,1):(u=!1,o<i&&(i=o));if(u){e.splice(l--,1);var c=r();void 0!==c&&(t=c)}}return t}o=o||0;for(var l=e.length;l>0&&e[l-1][2]>o;l--)e[l]=e[l-1];e[l]=[n,r,o]},a.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(t,{a:t}),t},a.d=function(e,t){for(var n in t)a.o(t,n)&&!a.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},a.f={},a.e=function(e){return Promise.all(Object.keys(a.f).reduce((function(t,n){return a.f[n](e,t),t}),[]))},a.u=function(e){return e+"."+{67:"ab055693",139:"820be3d5",261:"bd162b4a",553:"da065a6b"}[e]+".js"},a.miniCssF=function(e){return e+"."+{67:"4ae9feba",139:"3ced3f7b",553:"90d4e0e8"}[e]+".css"},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),a.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t={},n="reactphp-website:",a.l=function(e,r,o,i){if(t[e])t[e].push(r);else{var u,f;if(void 0!==o)for(var c=document.getElementsByTagName("script"),l=0;l<c.length;l++){var s=c[l];if(s.getAttribute("src")==e||s.getAttribute("data-webpack")==n+o){u=s;break}}u||(f=!0,(u=document.createElement("script")).charset="utf-8",u.timeout=120,a.nc&&u.setAttribute("nonce",a.nc),u.setAttribute("data-webpack",n+o),u.src=e),t[e]=[r];var d=function(n,r){u.onerror=u.onload=null,clearTimeout(p);var o=t[e];if(delete t[e],u.parentNode&&u.parentNode.removeChild(u),o&&o.forEach((function(e){return e(r)})),n)return n(r)},p=setTimeout(d.bind(null,void 0,{type:"timeout",target:u}),12e4);u.onerror=d.bind(null,u.onerror),u.onload=d.bind(null,u.onload),f&&document.head.appendChild(u)}},a.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.p="",r=function(e){return new Promise((function(t,n){var r=a.miniCssF(e),o=a.p+r;if(function(e,t){for(var n=document.getElementsByTagName("link"),r=0;r<n.length;r++){var o=(u=n[r]).getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===e||o===t))return u}var i=document.getElementsByTagName("style");for(r=0;r<i.length;r++){var u;if((o=(u=i[r]).getAttribute("data-href"))===e||o===t)return u}}(r,o))return t();!function(e,t,n,r){var o=document.createElement("link");o.rel="stylesheet",o.type="text/css",o.onerror=o.onload=function(i){if(o.onerror=o.onload=null,"load"===i.type)n();else{var u=i&&("load"===i.type?"missing":i.type),a=i&&i.target&&i.target.href||t,f=new Error("Loading CSS chunk "+e+" failed.\n("+a+")");f.code="CSS_CHUNK_LOAD_FAILED",f.type=u,f.request=a,o.parentNode.removeChild(o),r(f)}},o.href=t,document.head.appendChild(o)}(e,o,t,n)}))},o={666:0},a.f.miniCss=function(e,t){o[e]?t.push(o[e]):0!==o[e]&&{67:1,139:1,553:1}[e]&&t.push(o[e]=r(e).then((function(){o[e]=0}),(function(t){throw delete o[e],t})))},function(){var e={666:0};a.f.j=function(t,n){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)n.push(r[2]);else if(666!=t){var o=new Promise((function(n,o){r=e[t]=[n,o]}));n.push(r[2]=o);var i=a.p+a.u(t),u=new Error;a.l(i,(function(n){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=n&&("load"===n.type?"missing":n.type),i=n&&n.target&&n.target.src;u.message="Loading chunk "+t+" failed.\n("+o+": "+i+")",u.name="ChunkLoadError",u.type=o,u.request=i,r[1](u)}}),"chunk-"+t,t)}else e[t]=0},a.O.j=function(t){return 0===e[t]};var t=function(t,n){var r,o,i=n[0],u=n[1],f=n[2],c=0;if(i.some((function(t){return 0!==e[t]}))){for(r in u)a.o(u,r)&&(a.m[r]=u[r]);if(f)var l=f(a)}for(t&&t(n);c<i.length;c++)o=i[c],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(l)},n=self.webpackChunkreactphp_website=self.webpackChunkreactphp_website||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))}()}();</script>
<style>@font-face{font-display:swap;font-family:Source Sans Pro;font-style:normal;font-weight:400;src:local("Source Sans Pro Regular"),local("SourceSansPro-Regular"),url(../assets/sourcesanspro-regular.f84b2bd4.woff) format("woff")}@font-face{font-display:swap;font-family:Source Sans Pro;font-style:normal;font-weight:700;src:local("Source Sans Pro Bold"),local("SourceSansPro-Bold"),url(../assets/sourcesanspro-bold.cb7d3610.woff) format("woff")}@font-face{font-family:icons;font-style:normal;font-weight:400;src:url(../assets/icons.f41c5641.ttf?ae19fi) format("truetype"),url(../assets/icons.cf61dfff.woff?ae19fi) format("woff"),url(../assets/icons.b4abbede.svg?ae19fi#icons) format("svg")}[class*=" icon-"],[class^=icon-]{speak:none;-webkit-font-feature-settings:normal;font-feature-settings:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:icons!important;font-style:normal;font-variant:normal;font-weight:400;line-height:1;text-transform:none}.icon-hash:before{content:"\e900"}.icon-twitter:before{content:"\e901"}.icon-github:before{content:"\e902"}.icon-blog:before{content:"\e905"}.icon-earth:before{content:"\e903"}.icon-link:before{content:"\e906"}.icon-youtube:before{content:"\e904"}.icon-book:before{content:"\f007"}.icon-calendar:before{content:"\f068"}.icon-chevron-down:before{content:"\f0a3"}.icon-chevron-up:before{content:"\f0a2"}.icon-law:before{content:"\f0d8"}.icon-search:before{content:"\f02e"}.icon-x:before{content:"\f081"}.icon-feed:before{content:"\ea9b"}[class*=" icon-"],[class^=icon-]{vertical-align:-8%}html{-webkit-box-sizing:border-box;box-sizing:border-box;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol;font-size:16px;line-height:1.6}@media (max-width:768px){html{font-size:18px}}*,:after,:before{-webkit-box-sizing:inherit;box-sizing:inherit}body{background-color:#fff;color:#584b4f;color:var(--color-base);margin:0}a{color:#4f5b93;color:var(--color-key)}a:hover{color:#a2aacd;color:var(--color-key-light);text-decoration:underline}blockquote{background-color:#f4f3f1;background-color:var(--color-background-lighter);border-left:4px solid #4f5b93;border-left:4px solid var(--color-key);border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);font-size:.875rem;padding:16px 16px 16px 24px;position:relative}blockquote:before{background:#4f5b93;background:var(--color-key);border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;content:"i";display:block;font-size:12px;font-weight:700;height:24px;left:-14px;line-height:24px;padding:0 4px;position:absolute;text-align:center;top:12px;width:24px}blockquote :last-child{margin-bottom:0}blockquote,fieldset,form,h1,h2,h3,h4,h5,h6,hr,ol,p,ul{margin:0 0 16px}ul ul{margin-bottom:0}hr{border:0;border-bottom:1px dashed #eae8e3;border-bottom:1px dashed var(--color-background-light);clear:both;height:0;padding:0}h1,h2,h3,h4,h5,h6{-webkit-font-smoothing:antialiased;color:#584b4f;color:var(--color-base);font-family:Source Sans Pro,Helvetica Neue,Arial,sans-serif;font-weight:700;line-height:1}h1 a,h1 a:hover,h2 a,h2 a:hover,h3 a,h3 a:hover,h4 a,h4 a:hover,h5 a,h5 a:hover,h6 a,h6 a:hover{text-decoration:none}h1{font-size:2.5rem;letter-spacing:-1px;margin-bottom:32px}h1,h1 a,h1 a:hover{color:#4f5b93;color:var(--color-key)}h1:not(:first-child){margin-top:32px}h2{font-size:2rem;margin-bottom:32px}h2,h2 a,h2 a:hover{color:#4f5b93;color:var(--color-key)}h2:not(:first-child){margin-top:32px}h3{font-size:1.5rem;margin-bottom:24px}h3,h3 a,h3 a:hover{color:#584b4f;color:var(--color-base)}h3:not(:first-child){margin-top:24px}h4{font-size:1.25rem}h4,h4 a,h4 a:hover{color:#4f5b93;color:var(--color-key)}h4:not(:first-child){margin-top:24px}@media (max-width:768px){h1{font-size:2rem}h2{font-size:1.75rem;margin-bottom:32px}}.container{padding:32px}@media (max-width:768px){.container{padding:16px}}.wrapper{margin:auto;max-width:1600px}.wrapper--medium{max-width:1280px}.wrapper--small{margin:auto;max-width:960px}.wrapper--narrow{max-width:640px}.main{width:calc(98% - 400px)}.main,.sidebar{margin-bottom:32px}.sidebar{width:calc(400px - 2%)}@media (max-width:1024px){.main,.sidebar{margin-top:16px;width:auto}}.visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;overflow:hidden;position:absolute!important;width:1px}.grid{-ms-flex-pack:center;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;justify-content:center;margin-left:-2%;width:102%}.grid>*{margin-left:2%;max-width:100%}.grid--4cols>*{-ms-flex-preferred-size:23%;flex-basis:23%}.grid--3cols>*{-ms-flex-preferred-size:31.33%;flex-basis:31.33%}.grid--2cols>*{-ms-flex-preferred-size:48%;flex-basis:48%}@media (max-width:768px){.grid{-ms-flex-direction:column;flex-direction:column}.grid,.grid>*{margin-left:0;width:100%}.grid>*{-ms-flex:0 0 auto;flex:0 0 auto}}.center{text-align:center}.center h1,.center h2,.center h3,.center h4,.center h5,.center h6,.hamburger{display:inline-block}.hamburger{background-color:transparent;border:0;color:inherit;cursor:pointer;font:inherit;height:48px;margin:0;outline:none;overflow:visible;padding:14px 12px;text-transform:none}.hamburger__box{display:inline-block;height:16px;position:relative;width:24px}.hamburger__inner{display:block;margin-top:-2px;top:50%}.hamburger__inner,.hamburger__inner:after,.hamburger__inner:before{background-color:#584b4f;background-color:var(--color-base);border-radius:2px;height:3px;position:absolute;-webkit-transition-duration:.15s;-o-transition-duration:.15s;transition-duration:.15s;-webkit-transition-property:-webkit-transform;transition-property:-webkit-transform;-o-transition-property:transform;transition-property:transform;transition-property:transform,-webkit-transform;-webkit-transition-timing-function:ease;-o-transition-timing-function:ease;transition-timing-function:ease;width:24px}.hamburger__inner:after,.hamburger__inner:before{content:"";display:block}.hamburger__inner:before{top:-6px}.hamburger__inner:after{bottom:-6px}.header{background:#fefefe;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.08);box-shadow:0 1px 0 0 rgba(0,0,0,.08);-webkit-box-shadow:var(--box-shadow-lightest);box-shadow:var(--box-shadow-lightest);padding:0 32px;width:100%}@media (max-width:768px){.header{padding:0 16px}}.header__container{-ms-flex-align:center;-ms-flex-pack:justify;align-items:center;display:-ms-flexbox;display:flex;justify-content:space-between;position:relative;width:100%}.header__logo{display:block;line-height:1;padding:16px 0}.header__logo svg{display:block;height:18px;width:120px}.header__search{margin:0;position:absolute;right:48px;top:7px;z-index:799}.header__search input{width:400px}@media (max-width:768px){.header__search input{width:calc(100vw - 94px)}}.header__menu{position:absolute;right:-12px;top:0;z-index:800}.footer{background:#584b4f;background:var(--color-base);padding:32px;text-align:center;text-shadow:1px 1px 0 rgba(0,0,0,.125)}.footer .links a{color:#eae8e3;color:var(--color-background-light);text-decoration:none}.footer .links a:hover{color:#9ad8bb;color:var(--color-green-light);text-decoration:none}.iframe{height:0;overflow:hidden;padding-bottom:56.25%;position:relative;width:100%}.iframe iframe{height:100%;left:0;position:absolute;top:0;width:100%}.links{margin:0;padding:0}.links li{display:inline-block;margin:0 8px;text-decoration:none}.links li:first-child{margin-left:0}.links li:last-child{margin-right:0}.links a{display:block}.box,.links a,.links a:hover{text-decoration:none}.box{background:#f4f3f1;background:var(--color-background-lighter);border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);color:inherit;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;margin-bottom:24px;margin-top:0;overflow:auto;padding:24px;text-align:left;vertical-align:top}.box:hover{background:#eae8e3;background:var(--color-background-light);-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.15);box-shadow:0 1px 0 0 rgba(0,0,0,.15);-webkit-box-shadow:var(--box-shadow-light);box-shadow:var(--box-shadow-light);text-decoration:none}.box h1,.box h2,.box h3,.box h4,.box h5,.box h6,.box hr,.box ol,.box p,.box ul{margin-bottom:8px}.box h1,.box h2,.box h3,.box h4,.box h5,.box h6{color:#584b4f;color:var(--color-base)}.box :first-child{margin-top:0}.box :last-child{margin-bottom:0}.box__content{-ms-flex-positive:1;color:#584b4f;color:var(--color-base);flex-grow:1;text-decoration:none}.box__content p{font-size:.875rem}.box__content:hover{color:#584b4f;color:var(--color-base);text-decoration:none}.box__content:not(:last-child){margin-bottom:16px}.box__link{display:block;font-size:.75rem;text-decoration:none}.box__link,.box__link [class*=icon]{color:#4f5b93;color:var(--color-key)}.box__link:hover{color:#a2aacd;color:var(--color-key-light);text-decoration:none}code,pre,tt{font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace}code,tt{background-color:rgba(0,0,0,.05);border-radius:4px;font-size:.75rem;margin:0;padding:.3rem .45rem}code br,tt br{display:none}del code{text-decoration:inherit}pre{word-wrap:normal;font-size:.875rem;line-height:1.45;text-align:left}@media (max-width:768px){pre{font-size:.75rem}}pre>code{background:transparent;border:0;font-size:100%;margin:0;padding:0;white-space:pre;word-break:normal}.highlight{margin-bottom:16px}.highlight pre{margin-bottom:0;word-break:normal}.highlight pre,pre{background-color:#f9f9f8;background-color:var(--color-background-lightest);border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.08);box-shadow:0 1px 0 0 rgba(0,0,0,.08);-webkit-box-shadow:var(--box-shadow-lightest);box-shadow:var(--box-shadow-lightest);color:#584b4f;color:var(--color-base);overflow:auto;padding:16px 16px 14px;text-shadow:none!important}pre code,pre tt{word-wrap:normal;background-color:transparent;border:0;display:inline;line-height:inherit;margin:0;max-width:none;overflow:visible;padding:0}pre code:after,pre code:before,pre tt:after,pre tt:before{content:normal}.pl-c{color:#969896}.pl-c1,.pl-s .pl-v{color:#0086b3}.pl-e,.pl-en{color:#795da3}.pl-s .pl-s1,.pl-smi{color:#444}.pl-ent{color:#63a35c}.pl-k{color:#a71d5d}.pl-pds,.pl-s,.pl-s .pl-pse .pl-s1,.pl-sr,.pl-sr .pl-cce,.pl-sr .pl-sra,.pl-sr .pl-sre{color:#183691}.pl-smw,.pl-v{color:#ed6a43}.pl-bu{color:#b52a1d}.pl-c2,.pl-ii{background-color:#b52a1d;color:#f8f8f8}.pl-c2:before{content:"^M"}.pl-sr .pl-cce{color:#63a35c;font-weight:700}.pl-ml{color:#693a17}.pl-mh,.pl-mh .pl-en,.pl-ms{color:#1d3e81;font-weight:700}.pl-mq{color:teal}.pl-mi{color:#333;font-style:italic}.pl-mb{color:#333;font-weight:700}.pl-md{background-color:#ffecec;color:#bd2c00}.pl-mi1{background-color:#eaffea;color:#55a532}.pl-mc{background-color:#ffe3b4;color:#ef9700}.pl-mi2{background-color:grey;color:#d8d8d8}.pl-mdr{color:#795da3;font-weight:700}.pl-mo{color:#1d3e81}.pl-ba{color:#595e62}.pl-sg{color:silver}.pl-corl{color:#183691;text-decoration:underline}.anchor{display:block;float:left;padding-right:2px;position:absolute;text-decoration:none!important;-webkit-transform:translateX(-100%);transform:translateX(-100%)}.anchor:focus{outline:none}.anchor>*{visibility:hidden}:hover>.anchor>*{visibility:visible}.anchor>:before{color:#a2aacd;color:var(--color-key-light);content:"#";font-weight:400!important}.anchor--disable .anchor>*,.anchor.anchor--disable>*{visibility:hidden!important}.searchbox{width:100%}.searchbox,.searchbox:focus{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#eae8e3 url(../assets/search.17d09555.svg) no-repeat 10px;background:var(--color-background-light) url(../assets/search.17d09555.svg) no-repeat 10px center;background-size:16px 16px;border:0;border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.15);box-shadow:0 1px 0 0 rgba(0,0,0,.15);-webkit-box-shadow:var(--box-shadow-light);box-shadow:var(--box-shadow-light);color:#584b4f;color:var(--color-base);font-size:.875rem;line-height:24px;outline:none;padding:6px 8px 6px 32px;-webkit-transition:width .35s cubic-bezier(.23,1,.32,1);-o-transition:width .35s cubic-bezier(.23,1,.32,1);transition:width .35s cubic-bezier(.23,1,.32,1)}.searchbox::-webkit-input-placeholder{color:#afa1a5;color:var(--color-base-light)}.searchbox:-moz-placeholder,.searchbox::-moz-placeholder{color:#afa1a5;color:var(--color-base-light)}.searchbox::-moz-placeholder{opacity:1}.searchbox:-ms-input-placeholder{color:#afa1a5;color:var(--color-base-light)}.searchbox:focus{background-color:#f4f3f1!important;background-color:var(--color-background-lighter)!important;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter)}.searchbox--collapsed:not(:focus){background-color:transparent;border:0;-webkit-box-shadow:none;box-shadow:none;cursor:pointer;margin-right:-12px;width:32px!important}.searchbox--collapsed:not(:focus)::-webkit-search-cancel-button,.searchbox--collapsed:not(:focus)::-webkit-search-decoration{display:none}.searchbox--collapsed:not(:focus)::-webkit-search-results-button,.searchbox--collapsed:not(:focus)::-webkit-search-results-decoration{display:none}.searchbox--collapsed:not(:focus)::-ms-clear{display:none}.searchbox--large,.searchbox--large:focus{padding:8px 12px 8px 40px}.alert{background-color:#f4f3f1;background-color:var(--color-background-lighter);border-left:4px solid #ba3525;border-left:4px solid var(--color-red);border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);font-size:.9em;padding:16px 16px 16px 24px;position:relative}.alert:before{background:#ba3525;background:var(--color-red);border-radius:50%;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;content:"!";display:block;font-size:12px;font-weight:700;height:24px;left:-14px;line-height:22px;padding:0 4px;position:absolute;text-align:center;top:12px;width:24px}.alert a{color:#ba3525;color:var(--color-red)}.alert :last-child{margin-bottom:0}.toc{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;margin-left:-4px;padding:0}.toc li{margin:4px}.toc a{background-color:#584b4f;background-color:var(--color-base);border-radius:4px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);display:-ms-flexbox;display:flex;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-weight:bolder;letter-spacing:normal;padding:.25rem 1rem .15rem}.toc a,.toc a:hover{color:#fff;text-decoration:none}@media (max-width:768px){.toc{font-size:.85rem}}.welcome__intro{background-image:-o-radial-gradient(center,ellipse,#fff 0,#eae8e3 100%);background-image:radial-gradient(ellipse at center,#fff 0,#eae8e3 100%);background-image:-o-radial-gradient(center,ellipse,#fff 0,var(--color-background-light) 100%);background-image:radial-gradient(ellipse at center,#fff 0,var(--color-background-light) 100%);background-position:50% 0;background-size:auto 100%;border-bottom:1px dashed #eae8e3;border-bottom:1px dashed var(--color-background-light);padding:16px 0 136px}.welcome__intro h1{color:#4f5b93;color:var(--color-key);font-size:2rem;margin-bottom:16px}.welcome__logo{display:block;margin:0 auto;max-width:320px}.welcome__logo svg{display:block;height:240px}.welcome__content{display:block;max-width:calc(98% - 320px);padding-top:16px}.welcome__example{display:block;margin:-160px auto auto;max-width:850px}.welcome__example .highlight pre{background:#fff;-webkit-box-shadow:0 0 16px #d6d1c8;box-shadow:0 0 16px #d6d1c8;-webkit-box-shadow:0 0 16px var(--color-background);box-shadow:0 0 16px var(--color-background);padding:32px}.welcome__intro .links a{color:#584b4f;color:var(--color-base);text-decoration:none}.welcome__intro .links a:hover{color:#4f5b93;color:var(--color-key);text-decoration:none}.welcome__team img{border-radius:50%;display:inline-block;max-width:190px}.welcome__team h3{display:block;margin:.2em 0}.welcome__team div.grid>*{margin-bottom:1em}@media (max-width:768px){.welcome__content{max-width:100%;padding:32px 16px 16px}.welcome__logo svg{height:160px}.welcome__intro h1{color:#4f5b93;color:var(--color-key);font-size:1.75rem;margin-bottom:16px;text-align:center}.welcome__intro .links{text-align:center}}.off-canvas-menu{pointer-events:none;position:fixed;right:0;top:0}.off-canvas-menu__content{-webkit-transform:translate3d(105%,0,0);transform:translate3d(105%,0,0)}.component-info{background-color:#f4f3f1;background-color:var(--color-background-lighter);border-radius:4px;bottom:16px;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);font-size:.875rem;padding:24px;position:sticky;top:16px}.component-info,.component-info a,.component-info a [class*=icon]{color:#584b4f;color:var(--color-base)}.component-info a:hover{color:#afa1a5;color:var(--color-base-light);text-decoration:none}.component-info pre{font-size:.75rem;line-height:1}.component-info__title{-ms-flex-align:center;align-items:center;color:#584b4f;color:var(--color-base);display:-ms-flexbox;display:flex;font-size:1.5rem;line-height:1rem;margin-bottom:1rem}.component-info__title a{text-decoration:none}.component-info__title>:not(:last-child){margin-right:8px}.component-info__subtitle{color:#afa1a5;color:var(--color-base-light);font-size:.875rem;font-weight:700;letter-spacing:.1em;line-height:.875rem;margin-bottom:.875rem;text-transform:uppercase}.component-info__info{-ms-flex-pack:start;display:-ms-flexbox;display:flex;-ms-flex-flow:row;flex-flow:row;justify-content:flex-start;list-style:none;padding:0}.component-info__info li{margin-right:16px}.component-info__info li:last-child{margin-right:0}.component-info__info a{font-size:.75rem;text-decoration:none;-o-text-overflow:ellipsis;text-overflow:ellipsis;white-space:nowrap}.component-info__contributors{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;list-style:none;padding:0}.component-info__contributors li{margin:0;padding:0 4px 4px 0}.component-info__contributors img{border-radius:2px;display:block;height:auto;width:40px}.component-info__contributors img,.component-info__participation{-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter)}.component-info__participation{background-color:#f9f9f8;background-color:var(--color-background-lightest);border-radius:4px;padding:8px;text-align:center}.component-info__participation svg{display:block;height:auto!important;margin:auto;max-width:100%}:root{--color-key:#4f5b93;--color-key-light:#a2aacd;--color-base:#584b4f;--color-base-light:#afa1a5;--color-green:#40a977;--color-green-light:#9ad8bb;--color-red:#ba3525;--color-red-light:#e79187;--color-background:#d6d1c8;--color-background-light:#eae8e3;--color-background-lighter:#f4f3f1;--color-background-lightest:#f9f9f8;--box-shadow-light:0 1px 0 0 rgba(0,0,0,.15);--box-shadow-lighter:0 1px 0 0 rgba(0,0,0,.1);--box-shadow-lightest:0 1px 0 0 rgba(0,0,0,.08)}.version-selector{color:#fff;font-size:.875rem;position:relative}.version-selector :last-child{margin-bottom:0}.version-selector__button,.version-selector__version{-webkit-appearance:none;background-color:#584b4f;background-color:var(--color-base);border:0;border-radius:4px;-webkit-box-shadow:none;box-shadow:none;-webkit-box-shadow:0 1px 0 0 rgba(0,0,0,.1);box-shadow:0 1px 0 0 rgba(0,0,0,.1);-webkit-box-shadow:var(--box-shadow-lighter);box-shadow:var(--box-shadow-lighter);color:#fff;cursor:pointer;display:-ms-flexbox;display:flex;font-family:SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace;font-size:.75rem;font-weight:bolder;letter-spacing:normal;margin:0;outline:none;overflow:visible;padding:.25rem .4rem .2rem;text-decoration:none;text-shadow:none;text-transform:none}.version-selector__button{position:relative}.version-selector__button [class=icon-chevron-down]{display:inline-block;margin-left:4px}.version-selector__button [class=icon-chevron-up]{display:none;margin-left:4px}.version-selector__version{background-color:hsla(0,0%,100%,.33);border:1px solid transparent;color:#fff!important;text-decoration:none}.version-selector__version:hover{background-color:hsla(0,0%,100%,.11);border:1px solid hsla(0,0%,100%,.22)}.version-selector__button--dev,.version-selector__version--dev,.version-selector__version--dev:hover{background-color:#ba3525;background-color:var(--color-red)}.version-selector__button--latest,.version-selector__version--latest,.version-selector__version--latest:hover{background-color:#40a977;background-color:var(--color-green)}.version-selector__panel{position:fixed;top:-20000em;visibility:hidden}</style>
<script async src="../assets/main.93d54642.js"></script>
<link href="https://github.com/reactphp/http/releases.atom" type="application/atom+xml" rel="alternate" title="HTTP Changelog">
</head>
<body>
<header class="header">
<div class="wrapper">
<div class="header__container">
<a class="header__logo" href="../">
<svg xmlns="http://www.w3.org/2000/svg" width="320" height="47.29" viewBox="0 428.964 320 47.29"><path fill="#584B4F" d="M30.86 452.385c1.637-2.287 2.455-5 2.455-8.134 0-4.313-1.367-7.87-4.088-10.68-2.723-2.812-6.39-4.216-11.004-4.216h-7.71c-3.79 0-6.49.798-8.1 2.388C.806 433.332 0 435.872 0 439.355v36.512h9.08v-17.245h6.53l9.08 17.245h10.52L24.82 457.12c2.395-.87 4.41-2.447 6.04-4.735zm-8.488-3.334c-1.24 1.33-2.82 1.99-4.734 1.99H9.08v-9.47c0-2.74 1.35-4.112 4.05-4.112h4.508c2 0 3.603.61 4.8 1.83 1.196 1.22 1.797 2.82 1.797 4.802 0 1.982-.623 3.64-1.864 4.964v-.003zm20.348 14.536c0 4.572 1.055 7.766 3.167 9.57 2.114 1.81 5.782 2.71 11.008 2.71h16.46v-8.1H57.548c-2.18 0-3.68-.35-4.51-1.045-.83-.695-1.24-1.96-1.24-3.788v-6.467h14.434l.656-8.1h-15.09v-10.912h21.56v-8.098H42.72v34.23zm57.97-33.442c-.718-.523-1.665-.787-2.84-.787-1.177 0-2.168.285-2.972.85-.807.567-1.537 1.592-2.19 3.073l-14.89 42.585h9.47l2.55-8.03h15.613l2.613 8.03h9.47l-14.893-42.588c-.567-1.572-1.21-2.613-1.93-3.135v.002zM92.1 460.19l5.75-18.42 5.487 18.418H92.1v.002zm53.074 5.455c-1.155 1.678-3.245 2.512-6.27 2.512-3.03 0-5.258-.914-6.697-2.74-1.394-1.83-2.093-5.25-2.093-10.256v-4.052c0-1.783.045-3.2.13-4.243.178-3.27.785-5.576 1.833-6.928 1.48-1.914 3.745-2.873 6.794-2.873 2.613 0 4.532.653 5.75 1.96 1.218 1.308 2.07 3.245 2.547 5.813h8.49c0-5.14-1.557-9.07-4.67-11.79-3.114-2.723-7.153-4.084-12.116-4.084-3.398 0-6.293.564-8.687 1.7-6.097 2.783-9.146 9.686-9.146 20.704v3.918c0 13.982 5.945 20.968 17.833 20.968 5.4 0 9.58-1.59 12.54-4.77 2.964-3.176 4.44-7.73 4.44-13.653h-8.426c-.346 3.53-1.1 6.134-2.25 7.81v.005zm14.667-36.29v8.1h12.412v38.41h9.08v-38.41h12.47v-8.1"/><path fill="#4F5B93" d="M218.89 429.356h-18.03v46.51h9.086v-14.897h8.944c4.876 0 8.647-1.337 11.328-4.016 2.683-2.68 4.02-6.608 4.02-11.788s-1.337-9.112-4.02-11.788c-2.68-2.68-6.454-4.02-11.328-4.02v-.002zm4.538 21.686c-1.15 1.177-2.815 1.768-5 1.768h-8.485v-15.354h8.484c4.483 0 6.73 2.572 6.73 7.71 0 2.744-.578 4.703-1.73 5.88v-.004zm43.93-2.02H250.31v-19.666h-9.088v46.51h9.086v-18.81h17.05v18.81h9.076v-46.51h-9.078m48.63 4.02c-2.683-2.68-6.46-4.02-11.335-4.02h-18.027v46.507h9.085V460.97h8.943c4.877 0 8.654-1.336 11.337-4.014 2.68-2.678 4.013-6.608 4.013-11.788s-1.332-9.112-4.013-11.79v-.003zm-6.795 17.666c-1.154 1.177-2.822 1.768-5 1.768h-8.484v-15.354h8.485c4.483 0 6.734 2.572 6.734 7.71 0 2.744-.583 4.703-1.735 5.88v-.004z"/></svg>
</a>
<form class="header__search">
<input type="search" class="searchbox searchbox--collapsed" data-docsearch placeholder="Search documentation...">
</form>
<div class="header__menu">
<button class="hamburger" data-ctrly="off-canvas-menu" data-off-canvas-menu-control>
<div class="hamburger__box">
<div class="hamburger__inner">
<span class="visually-hidden">Menu</span>
</div>
</div>
</button>
</div>
<nav id="off-canvas-menu" class="off-canvas-menu" aria-hidden="true" tabindex="0">
<div class="off-canvas-menu__content">
<button aria-label="Close menu" class="off-canvas-menu__close" data-ctrly="off-canvas-menu" data-off-canvas-menu-control>
<i class="icon-x" aria-hidden="true"></i>
</button>
<section class="off-canvas-menu__section">
<a class="off-canvas-menu__section-top" href="../">Home</a>
</section>
<section class="off-canvas-menu__section">
<a class="off-canvas-menu__section-top" href="../changelog.html">Changelog</a>
</section>
<section class="off-canvas-menu__section">
<h3 class="off-canvas-menu__section-header">Core Components</h3>
<ul class="off-canvas-menu__list">
<li>
<a class="off-canvas-menu__link" href="../event-loop/">
EventLoop
<span class="off-canvas-menu__version">
v1.5.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../stream/">
Stream
<span class="off-canvas-menu__version">
v1.4.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../promise/">
Promise
<span class="off-canvas-menu__version">
v3.2.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../async/">
Async
<span class="off-canvas-menu__version">
v4.3.0
</span>
</a>
</li>
</ul>
</section>
<section class="off-canvas-menu__section">
<h3 class="off-canvas-menu__section-header">Network Components</h3>
<ul class="off-canvas-menu__list">
<li>
<a class="off-canvas-menu__link" href="../socket/">
Socket
<span class="off-canvas-menu__version">
v1.16.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../datagram/">
Datagram
<span class="off-canvas-menu__version">
v1.10.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../http/">
HTTP
<span class="off-canvas-menu__version">
v1.11.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../dns/">
DNS
<span class="off-canvas-menu__version">
v1.13.0
</span>
</a>
</li>
</ul>
</section>
<section class="off-canvas-menu__section">
<h3 class="off-canvas-menu__section-header">Utility Components</h3>
<ul class="off-canvas-menu__list">
<li>
<a class="off-canvas-menu__link" href="../cache/">
Cache
<span class="off-canvas-menu__version">
v1.2.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../child-process/">
ChildProcess
<span class="off-canvas-menu__version">
v0.6.6
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../promise-timer/">
PromiseTimer
<span class="off-canvas-menu__version">
v1.11.0
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../promise-stream/">
PromiseStream
<span class="off-canvas-menu__version">
v1.7.0
</span>
</a>
</li>
</ul>
</section>
<section class="off-canvas-menu__section">
<h3 class="off-canvas-menu__section-header">Legacy Components</h3>
<ul class="off-canvas-menu__list">
<li>
<a class="off-canvas-menu__link" href="../http-client/">
HttpClient
<span class="off-canvas-menu__version">
v0.5.11
</span>
</a>
</li>
<li>
<a class="off-canvas-menu__link" href="../socket-client/">
SocketClient
<span class="off-canvas-menu__version">
v0.7.0
</span>
</a>
</li>
</ul>
</section>
</div>
</nav>
</div>
</div>
</header>
<div class="container">
<div class="wrapper">
<div class="grid grid--wrap grid--gutter">
<main class="main">
<h1>HTTP Changelog</h1>
<ul class="toc">
<li><a href="#2024" title="Jump to year 2024 (2 releases)">2024</a></li>
<li><a href="#2023" title="Jump to year 2023 (1 release)">2023</a></li>
<li><a href="#2022" title="Jump to year 2022 (3 releases)">2022</a></li>
<li><a href="#2021" title="Jump to year 2021 (3 releases)">2021</a></li>
<li><a href="#2020" title="Jump to year 2020 (5 releases)">2020</a></li>
<li><a href="#2019" title="Jump to year 2019 (2 releases)">2019</a></li>
<li><a href="#2018" title="Jump to year 2018 (3 releases)">2018</a></li>
<li><a href="#2017" title="Jump to year 2017 (10 releases)">2017</a></li>
<li><a href="#2016" title="Jump to year 2016 (1 release)">2016</a></li>
<li><a href="#2015" title="Jump to year 2015 (1 release)">2015</a></li>
<li><a href="#2014" title="Jump to year 2014 (1 release)">2014</a></li>
<li><a href="#2013" title="Jump to year 2013 (1 release)">2013</a></li>
<li><a href="#2012" title="Jump to year 2012 (7 releases)">2012</a></li>
</ul>
<h2>
<a id="2024" class="anchor" href="#2024" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2024
</h2>
<h3>
<a id="1110-2024-11-20" class="anchor" href="#1110-2024-11-20" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.11.0
<small>
(2024-11-20)
<a href="https://github.com/reactphp/http/releases/tag/v1.11.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Improve PHP 8.4+ support by avoiding implicitly nullable types.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2457549358" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/537" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/537/hovercard" href="https://github.com/reactphp/http/pull/537">#537</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Allow underscore character in Uri host.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2256286600" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/524" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/524/hovercard" href="https://github.com/reactphp/http/pull/524">#524</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lulhum/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lulhum">@lulhum</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite to fix expected error code when ext-sockets is not enabled.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2488379954" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/539" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/539/hovercard" href="https://github.com/reactphp/http/pull/539">#539</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="1100-2024-03-27" class="anchor" href="#1100-2024-03-27" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.10.0
<small>
(2024-03-27)
<a href="https://github.com/reactphp/http/releases/tag/v1.10.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Add new PSR-7 implementation and remove dated RingCentral PSR-7 dependency.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2184267361" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/518" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/518/hovercard" href="https://github.com/reactphp/http/pull/518">#518</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2188695275" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/519" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/519/hovercard" href="https://github.com/reactphp/http/pull/519">#519</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2202215182" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/520" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/520/hovercard" href="https://github.com/reactphp/http/pull/520">#520</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2208346242" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/522" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/522/hovercard" href="https://github.com/reactphp/http/pull/522">#522</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<p dir="auto">This changeset allows us to maintain our own PSR-7 implementation and reduce<br>
dependencies on external projects. It also improves performance slightly and<br>
does not otherwise affect our public API. If you want to explicitly install<br>
the old RingCentral PSR-7 dependency, you can still install it like this:</p>
<div class="highlight highlight-source-shell" dir="auto"><pre class="notranslate">composer require ringcentral/psr7</pre></div>
</li>
<li>
<p dir="auto">Feature: Add new <code class="notranslate">Uri</code> class for new PSR-7 implementation.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2205982856" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/521" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/521/hovercard" href="https://github.com/reactphp/http/pull/521">#521</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Validate outgoing HTTP message headers and reject invalid messages.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2210441834" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/523" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/523/hovercard" href="https://github.com/reactphp/http/pull/523">#523</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Full PHP 8.3 compatibility.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2000521784" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/508" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/508/hovercard" href="https://github.com/reactphp/http/pull/508">#508</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Fix: Fix HTTP client to omit <code class="notranslate">Transfer-Encoding: chunked</code> when streaming empty request body.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2149190963" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/516" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/516/hovercard" href="https://github.com/reactphp/http/pull/516">#516</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Fix: Ensure connection close handler is cleaned up for each request.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="2142695237" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/515" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/515/hovercard" href="https://github.com/reactphp/http/pull/515">#515</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
<li>
<p dir="auto">Update test suite and avoid unhandled promise rejections.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1793308354" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/501" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/501/hovercard" href="https://github.com/reactphp/http/pull/501">#501</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1793347406" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/502" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/502/hovercard" href="https://github.com/reactphp/http/pull/502">#502</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2023" class="anchor" href="#2023" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2023
</h2>
<h3>
<a id="190-2023-04-26" class="anchor" href="#190-2023-04-26" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.9.0
<small>
(2023-04-26)
<a href="https://github.com/reactphp/http/releases/tag/v1.9.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<p dir="auto">This is a <strong>SECURITY</strong> and feature release for the 1.x series of ReactPHP's HTTP component.</p>
<ul dir="auto">
<li>
<p dir="auto">Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component<br>
that affects all versions between <code class="notranslate">v0.8.0</code> and <code class="notranslate">v1.8.0</code>. All users are encouraged to upgrade immediately.<br>
(<a title="CVE-2023-26044" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-95x4-j7vc-h8mf/hovercard" href="https://github.com/advisories/GHSA-95x4-j7vc-h8mf">CVE-2023-26044</a> reported and fixed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
<li>
<p dir="auto">Feature: Support HTTP keep-alive for HTTP client (reusing persistent connections).<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1467840829" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/481" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/481/hovercard" href="https://github.com/reactphp/http/pull/481">#481</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1537947965" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/484" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/484/hovercard" href="https://github.com/reactphp/http/pull/484">#484</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1550961639" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/486" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/486/hovercard" href="https://github.com/reactphp/http/pull/486">#486</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1675244588" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/495" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/495/hovercard" href="https://github.com/reactphp/http/pull/495">#495</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<p dir="auto">This feature offers significant performance improvements when sending many<br>
requests to the same host as it avoids recreating the underlying TCP/IP<br>
connection and repeating the TLS handshake for secure HTTPS requests.</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>();
<span class="pl-c">// Up to 300% faster! HTTP keep-alive is enabled by default</span>
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Async</span>\await</span>(<span class="pl-s1"><span class="pl-c1">$</span>browser</span>-><span class="pl-en">get</span>(<span class="pl-s">'<span class="pl-s">https://httpbingo.org/redirect/6</span>'</span>));
<span class="pl-en">assert</span>(<span class="pl-s1"><span class="pl-c1">$</span>response</span> <span class="pl-k">instanceof</span> <span class="pl-v">Psr</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\ResponseInterface);</pre></div>
</li>
<li>
<p dir="auto">Feature: Add <code class="notranslate">Request</code> class to represent outgoing HTTP request message.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1461618701" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/480" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/480/hovercard" href="https://github.com/reactphp/http/pull/480">#480</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Preserve request method and body for <code class="notranslate">307 Temporary Redirect</code> and <code class="notranslate">308 Permanent Redirect</code>.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1130405042" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/442" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/442/hovercard" href="https://github.com/reactphp/http/pull/442">#442</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/dinooo13/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/dinooo13">@dinooo13</a>)</p>
</li>
<li>
<p dir="auto">Feature: Include buffer logic to avoid dependency on reactphp/promise-stream.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1467881041" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/482" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/482/hovercard" href="https://github.com/reactphp/http/pull/482">#482</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite and project setup and report failed assertions.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1447094553" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/478" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/478/hovercard" href="https://github.com/reactphp/http/pull/478">#478</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1551815556" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/487" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/487/hovercard" href="https://github.com/reactphp/http/pull/487">#487</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1607056839" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/491" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/491/hovercard" href="https://github.com/reactphp/http/pull/491">#491</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1406083935" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/475" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/475/hovercard" href="https://github.com/reactphp/http/pull/475">#475</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1453465110" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/479" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/479/hovercard" href="https://github.com/reactphp/http/pull/479">#479</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2022" class="anchor" href="#2022" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2022
</h2>
<h3>
<a id="180-2022-09-29" class="anchor" href="#180-2022-09-29" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.8.0
<small>
(2022-09-29)
<a href="https://github.com/reactphp/http/releases/tag/v1.8.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Support for default request headers.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1284092777" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/461" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/461/hovercard" href="https://github.com/reactphp/http/pull/461">#461</a> by @51imyy)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>();
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-s1"><span class="pl-c1">$</span>browser</span>-><span class="pl-en">withHeader</span>(<span class="pl-s">'<span class="pl-s">User-Agent</span>'</span>, <span class="pl-s">'<span class="pl-s">ACME</span>'</span>);
<span class="pl-s1"><span class="pl-c1">$</span>browser</span>-><span class="pl-en">get</span>(<span class="pl-s1"><span class="pl-c1">$</span>url</span>)-><span class="pl-en">then</span>(…);</pre></div>
</li>
<li>
<p dir="auto">Feature: Forward compatibility with upcoming Promise v3.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1279862509" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/460" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/460/hovercard" href="https://github.com/reactphp/http/pull/460">#460</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="170-2022-08-23" class="anchor" href="#170-2022-08-23" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.7.0
<small>
(2022-08-23)
<a href="https://github.com/reactphp/http/releases/tag/v1.7.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<p dir="auto">This is a <strong>SECURITY</strong> and feature release for the 1.x series of ReactPHP's HTTP component.</p>
<ul dir="auto">
<li>
<p dir="auto">Security fix: This release fixes a medium severity security issue in ReactPHP's HTTP server component<br>
that affects all versions between <code class="notranslate">v0.7.0</code> and <code class="notranslate">v1.6.0</code>. All users are encouraged to upgrade immediately.<br>
Special thanks to Marco Squarcina (TU Wien) for reporting this and working with us to coordinate this release.<br>
(<a title="CVE-2022-36032" data-hovercard-type="advisory" data-hovercard-url="/advisories/GHSA-w3w9-vrf5-8mx8/hovercard" href="https://github.com/advisories/GHSA-w3w9-vrf5-8mx8">CVE-2022-36032</a> reported by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lavish/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lavish">@lavish</a> and fixed by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Improve HTTP server performance by ~20%, reuse syscall values for clock time and socket addresses.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1242249237" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/457" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/457/hovercard" href="https://github.com/reactphp/http/pull/457">#457</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1346720232" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/467" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/467/hovercard" href="https://github.com/reactphp/http/pull/467">#467</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Full PHP 8.2+ compatibility, refactor internal <code class="notranslate">Transaction</code> to avoid assigning dynamic properties.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1276053781" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/459" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/459/hovercard" href="https://github.com/reactphp/http/pull/459">#459</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1338075162" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/466" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/466/hovercard" href="https://github.com/reactphp/http/pull/466">#466</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
<li>
<p dir="auto">Feature / Fix: Allow explicit <code class="notranslate">Content-Length</code> response header on <code class="notranslate">HEAD</code> requests.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1158321040" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/444" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/444/hovercard" href="https://github.com/reactphp/http/pull/444">#444</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrsimonbennett/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrsimonbennett">@mrsimonbennett</a>)</p>
</li>
<li>
<p dir="auto">Minor documentation improvements.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1204419291" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/452" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/452/hovercard" href="https://github.com/reactphp/http/pull/452">#452</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1271212283" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/458" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/458/hovercard" href="https://github.com/reactphp/http/pull/458">#458</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nhedger/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nhedger">@nhedger</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1193713766" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/448" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/448/hovercard" href="https://github.com/reactphp/http/pull/448">#448</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jorrit/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jorrit">@jorrit</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1169613305" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/446" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/446/hovercard" href="https://github.com/reactphp/http/pull/446">#446</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite, update to use new reactphp/async package instead of clue/reactphp-block,<br>
skip memory tests when lowering memory limit fails and fix legacy HHVM build.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1333036871" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/464" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/464/hovercard" href="https://github.com/reactphp/http/pull/464">#464</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1123915823" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/440" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/440/hovercard" href="https://github.com/reactphp/http/pull/440">#440</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1201334718" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/450" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/450/hovercard" href="https://github.com/reactphp/http/pull/450">#450</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="160-2022-02-03" class="anchor" href="#160-2022-02-03" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.6.0
<small>
(2022-02-03)
<a href="https://github.com/reactphp/http/releases/tag/v1.6.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Add factory methods for common HTML/JSON/plaintext/XML response types.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1122815462" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/439" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/439/hovercard" href="https://github.com/reactphp/http/pull/439">#439</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Response</span>\html</span>(<span class="pl-s">"<span class="pl-s"><h1>Hello wörld!</h1></span>\n"</span>);
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Response</span>\json</span>([<span class="pl-s">'<span class="pl-s">message</span>'</span> => <span class="pl-s">'<span class="pl-s">Hello wörld!</span>'</span>]);
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Response</span>\plaintext</span>(<span class="pl-s">"<span class="pl-s">Hello wörld!</span>\n"</span>);
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-en"><span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Response</span>\xml</span>(<span class="pl-s">"<span class="pl-s"><message>Hello wörld!</message></span>\n"</span>);</pre></div>
</li>
<li>
<p dir="auto">Feature: Expose all status code constants via <code class="notranslate">Response</code> class.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1046707387" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/432" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/432/hovercard" href="https://github.com/reactphp/http/pull/432">#432</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\<span class="pl-v">Response</span>(
<span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\Response::<span class="pl-c1">STATUS_OK</span>, <span class="pl-c">// 200 OK</span>
…
);
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\<span class="pl-v">Response</span>(
<span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\Response::<span class="pl-c1">STATUS_NOT_FOUND</span>, <span class="pl-c">// 404 Not Found</span>
…
);</pre></div>
</li>
<li>
<p dir="auto">Feature: Full support for PHP 8.1 release.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1053742757" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/433" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/433/hovercard" href="https://github.com/reactphp/http/pull/433">#433</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1071238894" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/434" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/434/hovercard" href="https://github.com/reactphp/http/pull/434">#434</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature / Fix: Improve protocol handling for HTTP responses with no body.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1044927177" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/429" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/429/hovercard" href="https://github.com/reactphp/http/pull/429">#429</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1045545800" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/430" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/430/hovercard" href="https://github.com/reactphp/http/pull/430">#430</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Internal refactoring and internal improvements for handling requests and responses.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="972985176" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/422" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/422/hovercard" href="https://github.com/reactphp/http/pull/422">#422</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1046699669" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/431" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/431/hovercard" href="https://github.com/reactphp/http/pull/431">#431</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improve documentation, update proxy examples, include error reporting in examples.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="963237744" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/420" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/420/hovercard" href="https://github.com/reactphp/http/pull/420">#420</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="981504239" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/424" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/424/hovercard" href="https://github.com/reactphp/http/pull/424">#424</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1007762475" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/426" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/426/hovercard" href="https://github.com/reactphp/http/pull/426">#426</a>, and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1007774270" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/427" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/427/hovercard" href="https://github.com/reactphp/http/pull/427">#427</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Update test suite to use default loop.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="1111834591" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/438" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/438/hovercard" href="https://github.com/reactphp/http/pull/438">#438</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2021" class="anchor" href="#2021" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2021
</h2>
<h3>
<a id="150-2021-08-04" class="anchor" href="#150-2021-08-04" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.5.0
<small>
(2021-08-04)
<a href="https://github.com/reactphp/http/releases/tag/v1.5.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Update <code class="notranslate">Browser</code> signature to take optional <code class="notranslate">$connector</code> as first argument and<br>
to match new Socket API without nullable loop arguments.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="953931212" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/418" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/418/hovercard" href="https://github.com/reactphp/http/pull/418">#418</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="954214562" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/419" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/419/hovercard" href="https://github.com/reactphp/http/pull/419">#419</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// unchanged</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>();
<span class="pl-c">// deprecated</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-c1">null</span>, <span class="pl-s1"><span class="pl-c1">$</span>connector</span>);
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>connector</span>);
<span class="pl-c">// new</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>connector</span>);
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>connector</span>, <span class="pl-s1"><span class="pl-c1">$</span>loop</span>);</pre></div>
</li>
<li>
<p dir="auto">Feature: Rename <code class="notranslate">Server</code> to <code class="notranslate">HttpServer</code> to avoid class name collisions and<br>
to avoid any ambiguities with regards to the new <code class="notranslate">SocketServer</code> API.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="952329149" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/417" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/417/hovercard" href="https://github.com/reactphp/http/pull/417">#417</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="954214562" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/419" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/419/hovercard" href="https://github.com/reactphp/http/pull/419">#419</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// deprecated</span>
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-s1"><span class="pl-c1">$</span>server</span>-><span class="pl-en">listen</span>(<span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">Server</span>(<span class="pl-c1">8080</span>));
<span class="pl-c">// new</span>
<span class="pl-s1"><span class="pl-c1">$</span>http</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">HttpServer</span>(<span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-s1"><span class="pl-c1">$</span>http</span>-><span class="pl-en">listen</span>(<span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">SocketServer</span>(<span class="pl-s">'<span class="pl-s">127.0.0.1:8080</span>'</span>));</pre></div>
</li>
</ul>
<hr>
<h3>
<a id="140-2021-07-11" class="anchor" href="#140-2021-07-11" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.4.0
<small>
(2021-07-11)
<a href="https://github.com/reactphp/http/releases/tag/v1.4.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<p dir="auto">A major new feature release, see <a href="https://clue.engineering/2021/announcing-reactphp-default-loop" rel="nofollow"><strong>release announcement</strong></a>.</p>
<ul dir="auto">
<li>
<p dir="auto">Feature: Simplify usage by supporting new <a href="https://reactphp.org/event-loop/#loop" rel="nofollow">default loop</a>.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="939936903" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/410" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/410/hovercard" href="https://github.com/reactphp/http/pull/410">#410</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old (still supported)</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>);
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-c">// new (using default loop)</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>();
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>handler</span>);</pre></div>
</li>
</ul>
<hr>
<h3>
<a id="130-2021-04-11" class="anchor" href="#130-2021-04-11" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.3.0
<small>
(2021-04-11)
<a href="https://github.com/reactphp/http/releases/tag/v1.3.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Support persistent connections (<code class="notranslate">Connection: keep-alive</code>).<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="855160796" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/405" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/405/hovercard" href="https://github.com/reactphp/http/pull/405">#405</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<p dir="auto">This shows a noticeable performance improvement especially when benchmarking<br>
using persistent connections (which is the default pretty much everywhere).<br>
Together with other changes in this release, this improves benchmarking<br>
performance by around 100%.</p>
</li>
<li>
<p dir="auto">Feature: Require <code class="notranslate">Host</code> request header for HTTP/1.1 requests.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="854770505" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/404" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/404/hovercard" href="https://github.com/reactphp/http/pull/404">#404</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Minor documentation improvements.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="775410982" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/398" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/398/hovercard" href="https://github.com/reactphp/http/pull/398">#398</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/fritz-gerneth/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/fritz-gerneth">@fritz-gerneth</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="780699892" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/399" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/399/hovercard" href="https://github.com/reactphp/http/pull/399">#399</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="780735384" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/400" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/400/hovercard" href="https://github.com/reactphp/http/pull/400">#400</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pavog/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pavog">@pavog</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite, use GitHub actions for continuous integration (CI).<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="800248810" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/402" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/402/hovercard" href="https://github.com/reactphp/http/pull/402">#402</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2020" class="anchor" href="#2020" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2020
</h2>
<h3>
<a id="120-2020-12-04" class="anchor" href="#120-2020-12-04" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.2.0
<small>
(2020-12-04)
<a href="https://github.com/reactphp/http/releases/tag/v1.2.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Keep request body in memory also after consuming request body.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="703021244" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/395" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/395/hovercard" href="https://github.com/reactphp/http/pull/395">#395</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<p dir="auto">This means consumers can now always access the complete request body as<br>
detailed in the documentation. This allows building custom parsers and more<br>
advanced processing models without having to mess with the default parsers.</p>
</li>
</ul>
<hr>
<h3>
<a id="110-2020-09-11" class="anchor" href="#110-2020-09-11" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.1.0
<small>
(2020-09-11)
<a href="https://github.com/reactphp/http/releases/tag/v1.1.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Support upcoming PHP 8 release, update to reactphp/socket v1.6 and adjust type checks for invalid chunk headers.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="689030748" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/391" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/391/hovercard" href="https://github.com/reactphp/http/pull/391">#391</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Consistently resolve base URL according to HTTP specs.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="665558369" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/379" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/379/hovercard" href="https://github.com/reactphp/http/pull/379">#379</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature / Fix: Expose <code class="notranslate">Transfer-Encoding: chunked</code> response header and fix chunked responses for <code class="notranslate">HEAD</code> requests.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="666229276" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/381" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/381/hovercard" href="https://github.com/reactphp/http/pull/381">#381</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Internal refactoring to remove unneeded <code class="notranslate">MessageFactory</code> and <code class="notranslate">Response</code> classes.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="666160614" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/380" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/380/hovercard" href="https://github.com/reactphp/http/pull/380">#380</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="688337484" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/389" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/389/hovercard" href="https://github.com/reactphp/http/pull/389">#389</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Minor documentation improvements and improve test suite, update to support PHPUnit 9.3.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="683573120" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/385" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/385/hovercard" href="https://github.com/reactphp/http/pull/385">#385</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="690796031" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/393" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/393/hovercard" href="https://github.com/reactphp/http/pull/393">#393</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="100-2020-07-11" class="anchor" href="#100-2020-07-11" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
1.0.0
<small>
(2020-07-11)
<a href="https://github.com/reactphp/http/releases/tag/v1.0.0" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<p dir="auto">A major new feature release, see <a href="https://clue.engineering/2020/announcing-reactphp-http" rel="nofollow"><strong>release announcement</strong></a>.</p>
<ul dir="auto">
<li>First stable LTS release, now following <a href="https://semver.org/" rel="nofollow">SemVer</a>.<br>
We'd like to emphasize that this component is production ready and battle-tested.<br>
We plan to support all long-term support (LTS) releases for at least 24 months,<br>
so you have a rock-solid foundation to build on top of.</li>
</ul>
<p dir="auto">This update involves some major new features and a number of BC breaks due to<br>
some necessary API cleanup. We've tried hard to avoid BC breaks where possible<br>
and minimize impact otherwise. We expect that most consumers of this package<br>
will be affected by BC breaks, but updating should take no longer than a few<br>
minutes. See below for more details:</p>
<ul dir="auto">
<li>
<p dir="auto">Feature: Add async HTTP client implementation.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="652472422" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/368" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/368/hovercard" href="https://github.com/reactphp/http/pull/368">#368</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>);
<span class="pl-s1"><span class="pl-c1">$</span>browser</span>-><span class="pl-en">get</span>(<span class="pl-s1"><span class="pl-c1">$</span>url</span>)-><span class="pl-en">then</span>(<span class="pl-k">function</span> (<span class="pl-smi"><span class="pl-v">Psr</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\<span class="pl-smi">ResponseInterface</span></span> <span class="pl-s1"><span class="pl-c1">$</span>response</span>) {
<span class="pl-k">echo</span> <span class="pl-s1"><span class="pl-c1">$</span>response</span>-><span class="pl-en">getBody</span>();
});</pre></div>
<p dir="auto">The code has been imported as-is from <a href="https://github.com/clue/reactphp-buzz">clue/reactphp-buzz v2.9.0</a>,<br>
with only minor changes to the namespace and we otherwise leave all the existing APIs unchanged.<br>
Upgrading from <a href="https://github.com/clue/reactphp-buzz">clue/reactphp-buzz v2.9.0</a><br>
to this release should be a matter of updating some namespace references only:</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">Clue</span>\<span class="pl-v">React</span>\<span class="pl-v">Buzz</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>);
<span class="pl-c">// new</span>
<span class="pl-s1"><span class="pl-c1">$</span>browser</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Browser</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>);</pre></div>
</li>
<li>
<p dir="auto">Feature / BC break: Add <code class="notranslate">LoopInterface</code> as required first constructor argument to <code class="notranslate">Server</code> and<br>
change <code class="notranslate">Server</code> to accept variadic middleware handlers instead of <code class="notranslate">array</code>.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="644745215" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/361" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/361/hovercard" href="https://github.com/reactphp/http/pull/361">#361</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="644762095" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/362" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/362/hovercard" href="https://github.com/reactphp/http/pull/362">#362</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old</span>
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>([<span class="pl-s1"><span class="pl-c1">$</span>middleware</span>, <span class="pl-s1"><span class="pl-c1">$</span>handler</span>]);
<span class="pl-c">// new</span>
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>middleware</span>, <span class="pl-s1"><span class="pl-c1">$</span>handler</span>);</pre></div>
</li>
<li>
<p dir="auto">Feature / BC break: Move <code class="notranslate">Response</code> class to <code class="notranslate">React\Http\Message\Response</code> and<br>
expose <code class="notranslate">ServerRequest</code> class to <code class="notranslate">React\Http\Message\ServerRequest</code>.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="653929433" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/370" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/370/hovercard" href="https://github.com/reactphp/http/pull/370">#370</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old</span>
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Response</span>(<span class="pl-c1">200</span>, [], <span class="pl-s">'<span class="pl-s">Hello!</span>'</span>);
<span class="pl-c">// new</span>
<span class="pl-s1"><span class="pl-c1">$</span>response</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Message</span>\<span class="pl-v">Response</span>(<span class="pl-c1">200</span>, [], <span class="pl-s">'<span class="pl-s">Hello!</span>'</span>);</pre></div>
</li>
<li>
<p dir="auto">Feature / BC break: Add <code class="notranslate">StreamingRequestMiddleware</code> to stream incoming requests, mark <code class="notranslate">StreamingServer</code> as internal.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="651794172" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/367" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/367/hovercard" href="https://github.com/reactphp/http/pull/367">#367</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<div class="highlight highlight-text-html-php" dir="auto"><pre class="notranslate"><span class="pl-c">// old: advanced StreamingServer is now internal only</span>
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">StreamingServer</span>(<span class="pl-s1"><span class="pl-c1">$</span>handler</span>);
<span class="pl-c">// new: use StreamingRequestMiddleware instead of StreamingServer</span>
<span class="pl-s1"><span class="pl-c1">$</span>server</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Server</span>(
<span class="pl-s1"><span class="pl-c1">$</span>loop</span>,
<span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Http</span>\<span class="pl-v">Middleware</span>\<span class="pl-v">StreamingRequestMiddleware</span>(),
<span class="pl-s1"><span class="pl-c1">$</span>handler</span>
);</pre></div>
</li>
<li>
<p dir="auto">Feature / BC break: Improve default concurrency to 1024 requests and cap default request buffer at 64K.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="654694834" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/371" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/371/hovercard" href="https://github.com/reactphp/http/pull/371">#371</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
<p dir="auto">This improves default concurrency to 1024 requests and caps the default request buffer at 64K.<br>
The previous defaults resulted in just 4 concurrent requests with a request buffer of 8M.<br>
See <a href="index.html#server"><code class="notranslate">Server</code></a> for details on how to override these defaults.</p>
</li>
<li>
<p dir="auto">Feature: Expose ReactPHP in <code class="notranslate">User-Agent</code> client-side request header and in <code class="notranslate">Server</code> server-side response header.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="655011500" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/374" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/374/hovercard" href="https://github.com/reactphp/http/pull/374">#374</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Mark all classes as <code class="notranslate">final</code> to discourage inheriting from it.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="654929305" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/373" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/373/hovercard" href="https://github.com/reactphp/http/pull/373">#373</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
<li>
<p dir="auto">Improve documentation and use fully-qualified class names throughout the documentation and<br>
add ReactPHP core team as authors to <code class="notranslate">composer.json</code> and license file.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="651093348" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/366" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/366/hovercard" href="https://github.com/reactphp/http/pull/366">#366</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="652476750" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/369" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/369/hovercard" href="https://github.com/reactphp/http/pull/369">#369</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="655079414" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/375" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/375/hovercard" href="https://github.com/reactphp/http/pull/375">#375</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite and support skipping all online tests with <code class="notranslate">--exclude-group internet</code>.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="654911352" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/372" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/372/hovercard" href="https://github.com/reactphp/http/pull/372">#372</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="087-2020-07-05" class="anchor" href="#087-2020-07-05" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.7
<small>
(2020-07-05)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.7" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Fix: Fix parsing multipart request body with quoted header parameters (dot net).<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="646133385" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/363" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/363/hovercard" href="https://github.com/reactphp/http/pull/363">#363</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/ebimmel/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/ebimmel">@ebimmel</a>)</p>
</li>
<li>
<p dir="auto">Fix: Fix calculating concurrency when <code class="notranslate">post_max_size</code> ini is unlimited.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="650923195" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/365" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/365/hovercard" href="https://github.com/reactphp/http/pull/365">#365</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improve test suite to run tests on PHPUnit 9 and clean up test suite.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="647980107" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/364" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/364/hovercard" href="https://github.com/reactphp/http/pull/364">#364</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/SimonFrings/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/SimonFrings">@SimonFrings</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="086-2020-01-12" class="anchor" href="#086-2020-01-12" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.6
<small>
(2020-01-12)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.6" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Fix: Fix parsing <code class="notranslate">Cookie</code> request header with comma in its values.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="530559091" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/352" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/352/hovercard" href="https://github.com/reactphp/http/pull/352">#352</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Fiskie/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Fiskie">@Fiskie</a>)</p>
</li>
<li>
<p dir="auto">Fix: Avoid unneeded warning when decoding invalid data on PHP 7.4.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="548477670" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/357" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/357/hovercard" href="https://github.com/reactphp/http/pull/357">#357</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
<li>
<p dir="auto">Add .gitattributes to exclude dev files from exports.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="530763163" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/353" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/353/hovercard" href="https://github.com/reactphp/http/pull/353">#353</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/reedy/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/reedy">@reedy</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2019" class="anchor" href="#2019" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2019
</h2>
<h3>
<a id="085-2019-10-29" class="anchor" href="#085-2019-10-29" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.5
<small>
(2019-10-29)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.5" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Internal refactorings and optimizations to improve request parsing performance.<br>
Benchmarks suggest number of requests/s improved by ~30% for common <code class="notranslate">GET</code> requests.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456296934" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/345" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/345/hovercard" href="https://github.com/reactphp/http/pull/345">#345</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="456649853" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/346" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/346/hovercard" href="https://github.com/reactphp/http/pull/346">#346</a>, <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="498214944" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/349" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/349/hovercard" href="https://github.com/reactphp/http/pull/349">#349</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="499118258" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/350" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/350/hovercard" href="https://github.com/reactphp/http/pull/350">#350</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Add documentation and example for JSON/XML request body and<br>
improve documentation for concurrency and streaming requests and for error handling.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="432871220" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/341" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/341/hovercard" href="https://github.com/reactphp/http/pull/341">#341</a> and <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="434218553" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/342" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/342/hovercard" href="https://github.com/reactphp/http/pull/342">#342</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="084-2019-01-16" class="anchor" href="#084-2019-01-16" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.4
<small>
(2019-01-16)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.4" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Improvement: Internal refactoring to simplify response header logic.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="343679950" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/321" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/321/hovercard" href="https://github.com/reactphp/http/pull/321">#321</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improvement: Assign Content-Length response header automatically only when size is known.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="379770949" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/329" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/329/hovercard" href="https://github.com/reactphp/http/pull/329">#329</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Improvement: Import global functions for better performance.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="380088071" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/330" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/330/hovercard" href="https://github.com/reactphp/http/pull/330">#330</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/WyriHaximus/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/WyriHaximus">@WyriHaximus</a>)</p>
</li>
</ul>
<hr>
<h2>
<a id="2018" class="anchor" href="#2018" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
2018
</h2>
<h3>
<a id="083-2018-04-11" class="anchor" href="#083-2018-04-11" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.3
<small>
(2018-04-11)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.3" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Feature: Do not pause connection stream to detect closed connections immediately.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="311933954" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/315" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/315/hovercard" href="https://github.com/reactphp/http/pull/315">#315</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Keep incoming <code class="notranslate">Transfer-Encoding: chunked</code> request header.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="312096531" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/316" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/316/hovercard" href="https://github.com/reactphp/http/pull/316">#316</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Feature: Reject invalid requests that contain both <code class="notranslate">Content-Length</code> and <code class="notranslate">Transfer-Encoding</code> request headers.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="312429901" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/318" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/318/hovercard" href="https://github.com/reactphp/http/pull/318">#318</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Minor internal refactoring to simplify connection close logic after sending response.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="312197164" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/317" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/317/hovercard" href="https://github.com/reactphp/http/pull/317">#317</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
</ul>
<hr>
<h3>
<a id="082-2018-04-06" class="anchor" href="#082-2018-04-06" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>
0.8.2
<small>
(2018-04-06)
<a href="https://github.com/reactphp/http/releases/tag/v0.8.2" title="Release on GitHub">
<i class="icon-github" aria-hidden="true"></i> <span class="visually-hidden">Release on GitHub</span>
</a>
</small>
</h3>
<ul dir="auto">
<li>
<p dir="auto">Fix: Do not pass <code class="notranslate">$next</code> handler to final request handler.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="304832383" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/308" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/308/hovercard" href="https://github.com/reactphp/http/pull/308">#308</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Fix: Fix awaiting queued handlers when cancelling a queued handler.<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="308741696" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/313" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/313/hovercard" href="https://github.com/reactphp/http/pull/313">#313</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>
</li>
<li>
<p dir="auto">Fix: Fix Server to skip <code class="notranslate">SERVER_ADDR</code> params for Unix domain sockets (UDS).<br>
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="304829243" data-permission-text="Title is private" data-url="https://github.com/reactphp/http/issues/307" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/http/pull/307/hovercard" href="https://github.com/reactphp/http/pull/307">#307</a> by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/clue/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/clue">@clue</a>)</p>