8000 Update website build · reactphp/reactphp.github.io@ecf9a8b · GitHub
[go: up one dir, main page]

Skip to content

Commit ecf9a8b

Browse files
committed
Update website build
1 parent 289fb90 commit ecf9a8b

39 files changed

+352
-210
lines changed

cache/changelog.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
102102
Socket
103103

104104
<span class="off-canvas-menu__version">
105-
v1.8.0
105+
v1.9.0
106106
</span>
107107
</a>
108108
</li>
@@ -707,7 +707,7 @@ <h3 class="component-info__subtitle">Activity</h3>
707707
<mask id="reactphp-cache-participation-sparkline" 6D40 x="0" y="0" width="320" height="40" >
708708
<polyline
709709
transform="translate(0, 40) scale(1,-1)"
710-
points="0,4 6,2 12,1 18,1 24,1 30,1 36,6 42,1 48,1 54,2 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,1 156,1 162,1 168,1 174,6 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
710+
points="0,1 6,1 12,3 18,4 24,1 30,1 36,2 42,1 48,1 54,1 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,2 156,5 162,1 168,1 174,1 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
711711
fill="transparent"
712712
stroke="#40a977"
713713
stroke-width="2"

cache/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
102102
Socket
103103

104104
<span class="off-canvas-menu__version">
105-
v1.8.0
105+
v1.9.0
106106
</span>
107107
</a>
108108
</li>
@@ -653,7 +653,7 @@ <h3 class="component-info__subtitle">Activity</h3>
653653
<mask id="reactphp-cache-participation-sparkline" x="0" y="0" width="320" height="40" >
654654
<polyline
655655
transform="translate(0, 40) scale(1,-1)"
656-
points="0,4 6,2 12,1 18,1 24,1 30,1 36,6 42,1 48,1 54,2 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,1 156,1 162,1 168,1 174,6 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
656+
points="0,1 6,1 12,3 18,4 24,1 30,1 36,2 42,1 48,1 54,1 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,2 156,5 162,1 168,1 174,1 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
657657
fill="transparent"
658658
stroke="#40a977"
659659
stroke-width="2"

cache/license.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ <h3 class="off-canvas-menu__section-header">Network Components</h3>
101101
Socket
102102

103103
<span class="off-canvas-menu__version">
104-
v1.8.0
104+
v1.9.0
105105
</span>
106106
</a>
107107
</li>
@@ -385,7 +385,7 @@ <h3 class="component-info__subtitle">Activity</h3>
385385
<mask id="reactphp-cache-participation-sparkline" x="0" y="0" width="320" height="40" >
386386
<polyline
387387
transform="translate(0, 40) scale(1,-1)"
388-
points="0,4 6,2 12,1 18,1 24,1 30,1 36,6 42,1 48,1 54,2 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,1 156,1 162,1 168,1 174,6 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
388+
points="0,1 6,1 12,3 18,4 24,1 30,1 36,2 42,1 48,1 54,1 60,1 66,1 72,1 78,1 84,1 90,1 96,1 102,1 108,1 114,1 120,1 126,1 132,1 138,1 144,1 150,2 156,5 162,1 168,1 174,1 180,1 186,1 192,1 198,1 204,1 210,1 216,1 222,1 228,1 234,1 240,1 246,1 252,1 258,1 264,1 270,1 276,1 282,1 288,1 294,1 300,1 306,1"
389389
fill="transparent"
390390
stroke="#40a977"
391391
stroke-width="2"

changelog.atom

+47-38
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,57 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
33
<title type="text">The combined changelog for all ReactPHP components.</title>
4-
<updated>2021-07-11T13:09:04+00:00</updated>
4+
<updated>2021-08-03T12:37:14+00:00</updated>
55
<generator uri="http://framework.zend.com" version="2">Zend_Feed_Writer</generator>
66
<link rel="alternate" type="text/html" href="https://reactphp.org/changelog.html"/>
77
<link rel="self" type="application/atom+xml" href="https://reactphp.org/changelog.atom"/>
88
<id>https://reactphp.org/changelog.html</id>
9+
<entry>
10+
<title type="html"><![CDATA[Socket 1.9.0]]></title>
11+
<summary type="html"><![CDATA[<ul>
12+
<li>
13+
<p>Feature: Add new <code>SocketServer</code> and deprecate <code>Server</code> to avoid class name collisions.<br>
14+
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="953011051" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/263" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/263/hovercard" href="https://github.com/reactphp/socket/pull/263">#263</a> by <a class="user-mention" 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>
15+
<p>The new <code>SocketServer</code> class has been added with an improved constructor signature<br>
16+
as a replacement for the previous <code>Server</code> class in order to avoid any ambiguities.<br>
17+
The previous name has been deprecated and should not be used anymore.<br>
18+
In its most basic form, the deprecated <code>Server</code> can now be considered an alias for new <code>SocketServer</code>.</p>
19+
<div class="highlight highlight-text-html-php"><pre><span class="pl-c">// deprecated</span>
20+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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">0</span>);
21+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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-s">'127.0.0.1:8000'</span>);
22+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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-s">'127.0.0.1:8000'</span>, <span class="pl-c1">null</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>);
23+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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-s">'127.0.0.1:8000'</span>, <span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>);
24+
25+
<span class="pl-c">// new</span>
26+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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">'127.0.0.1:0'</span>);
27+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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">'127.0.0.1:8000'</span>);
28+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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">'127.0.0.1:8000'</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>);
29+
<span class="pl-s1"><span class="pl-c1">$</span>socket</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">'127.0.0.1:8000'</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>, <span class="pl-s1"><span class="pl-c1">$</span>loop</span>);</pre></div>
30+
</li>
31+
<li>
32+
<p>Feature: Update <code>Connector</code> signature to take optional <code>$context</code> as first argument.<br>
33+
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="953760111" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/264" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/264/hovercard" href="https://github.com/reactphp/socket/pull/264">#264</a> by <a class="user-mention" 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>
34+
<p>The new signature has been added to match the new <code>SocketServer</code> and<br>
35+
consistently move the now commonly unneeded loop argument to the last argument.<br>
36+
The previous signature has been deprecated and should not be used anymore.<br>
37+
In its most basic form, both signatures are compatible.</p>
38+
<div class="highlight highlight-text-html-php"><pre> <span class="pl-c">// deprecated</span>
39+
<span class="pl-s1"><span class="pl-c1">$</span>connector</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">Connector</span>(<span class="pl-c1">null</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>);
40+
<span class="pl-s1"><span class="pl-c1">$</span>connector</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">Connector</span>(<span class="pl-s1"><span class="pl-c1">$</span>loop</span>, <span class="pl-s1"><span class="pl-c1">$</span>context</span>);
41+
42+
<span class="pl-c">// new</span>
43+
<span class="pl-s1"><span class="pl-c1">$</span>connector</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">Connector</span>(<span class="pl-s1"><span class="pl-c1">$</span>context</span>);
44+
<span class="pl-s1"><span class="pl-c1">$</span>connector</span> = <span class="pl-k">new</span> <span class="pl-v">React</span>\<span class="pl-v">Socket</span>\<span class="pl-v">Connector</span>(<span class="pl-s1"><span class="pl-c1">$</span>context</span>, <span class="pl-s1"><span class="pl-c1">$</span>loop</span>);</pre></div>
45+
</li>
46+
</ul>]]></summary>
47+
<updated>2021-08-03T12:37:14+00:00</updated>
48+
<link rel="alternate" type="text/html" href="https://github.com/reactphp/socket/releases/tag/v1.9.0"/>
49+
<id>https://github.com/reactphp/socket/releases/tag/v1.9.0</id>
50+
<author>
51+
<name>clue</name>
52+
<uri>https://github.com/clue</uri>
53+
</author>
54+
</entry>
955
<entry>
1056
<title type="html"><![CDATA[PromiseTimer 1.7.0]]></title>
1157
<summary type="html"><![CDATA[<p>A major new feature release, see <a href="https://clue.engineering/2021/announcing-reactphp-default-loop" rel="nofollow"><strong>release announcement</strong></a>.</p>
@@ -252,41 +298,4 @@ configurations.</p>
252298
<uri>https://github.com/clue</uri>
253299
</author>
254300
</entry>
255-
<entry>
256-
<title type="html"><![CDATA[Socket 1.7.0]]></title>
257-
<summary type="html"><![CDATA[<ul>
258-
<li>
259-
<p>Feature: Support falling back to multiple DNS servers from DNS config.<br>
260-
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="929446477" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/257" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/257/hovercard" href="https://github.com/reactphp/socket/pull/257">#257</a> by <a class="user-mention" 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>
261-
<p>If you're using the default <code>Connector</code>, it will now use all DNS servers<br>
262-
configured on your system. If you have multiple DNS servers configured and<br>
263-
connectivity to the primary DNS server is broken, it will now fall back to<br>
264-
your other DNS servers, thus providing improved connectivity and redundancy<br>
265-
for broken DNS configurations.</p>
266-
</li>
267-
<li>
268-
<p>Feature: Use round robin for happy eyeballs DNS responses (load balancing).<br>
269-
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="693271199" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/247" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/247/hovercard" href="https://github.com/reactphp/socket/pull/247">#247</a> by <a class="user-mention" 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>
270-
<p>If you're using the default <code>Connector</code>, it will now randomize the order of<br>
271-
the IP addresses resolved via DNS when connecting. This allows the load to<br>
272-
be distributed more evenly across all returned IP addresses. This can be<br>
273-
used as a very basic DNS load balancing mechanism.</p>
274-
</li>
275-
<li>
276-
<p>Internal improvement to avoid unhandled rejection for future Promise API.<br>
277-
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="930047136" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/258" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/258/hovercard" href="https://github.com/reactphp/socket/pull/258">#25 A1DA 8</a> by <a class="user-mention" 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>
278-
</li>
279-
<li>
280-
<p>Improve test suite, use GitHub actions for continuous integration (CI).<br>
281-
(<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="815389814" data-permission-text="Title is private" data-url="https://github.com/reactphp/socket/issues/254" data-hovercard-type="pull_request" data-hovercard-url="/reactphp/socket/pull/254/hovercard" href="https://github.com/reactphp/socket/pull/254">#254</a> by <a class="user-mention" 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>
282-
</li>
283-
</ul>]]></summary>
284-
<updated>2021-06-25T11:05:36+00:00</updated>
285-
<link rel="alternate" type="text/html" href="https://github.com/reactphp/socket/releases/tag/v1.7.0"/>
286-
<id>https://github.com/reactphp/socket/releases/tag/v1.7.0</id>
287-
<author>
288-
<name>clue</name>
289-
<uri>https://github.com/clue</uri>
290-
</author>
291-
</entry>
292301
</feed>

0 commit comments

Comments
 (0)
0