Skip to content

Commit 0d31f3a

Browse files
committed
v0.4.1 release prep
Fixed changelog GitHub markdown
1 parent 5dbbbbe commit 0d31f3a

File tree

2 files changed

+80
-99
lines changed

2 files changed

+80
-99
lines changed

CHANGELOG.md

Lines changed: 79 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -8,147 +8,128 @@ CHANGELOG
88

99
---
1010

11-
* 0.4.1
12-
* Only enableKeepAlive in App if no WsServer passed allowing user to set their own timeout duration
11+
* 0.4.1 (2017-12-11)
12+
* Only enableKeepAlive in App if no WsServer passed allowing user to set their own timeout duration
13+
* Support Symfony 4
14+
* BF: Plug NOOP controller in connection from router in case of misbehaving client
15+
* BF: Raise error from invalid WAMP payload
1316

1417
* 0.4 (2017-09-14)
15-
16-
* BC: $conn->WebSocket->request replaced with $conn->httpRequest which is a PSR-7 object
17-
* Binary messages now supported via Ratchet\WebSocket\MessageComponentInterface
18-
* Added heartbeat support via ping/pong in WsServer
19-
* BC: No longer support old (and insecure) Hixie76 and Hybi protocols
20-
* BC: No longer support disabling UTF-8 checks
21-
* BC: The Session component implements HttpServerInterface instead of WsServerInterface
22-
* BC: PHP 5.3 no longer supported
23-
* BC: Update to newer version of react/socket dependency
24-
* BC: WAMP topics reduced to 0 subscriptions are deleted, new subs to same name will result in new Topic instance
25-
* Significant performance enhancements
18+
* BC: $conn->WebSocket->request replaced with $conn->httpRequest which is a PSR-7 object
19+
* Binary messages now supported via Ratchet\WebSocket\MessageComponentInterface
20+
* Added heartbeat support via ping/pong in WsServer
21+
* BC: No longer support old (and insecure) Hixie76 and Hybi protocols
22+
* BC: No longer support disabling UTF-8 checks
23+
* BC: The Session component implements HttpServerInterface instead of WsServerInterface
24+
* BC: PHP 5.3 no longer supported
25+
* BC: Update to newer version of react/socket dependency
26+
* BC: WAMP topics reduced to 0 subscriptions are deleted, new subs to same name will result in new Topic instance
27+
* Significant performance enhancements
2628

2729
* 0.3.6 (2017-01-06)
28-
* BF: Keep host and scheme in HTTP request object attatched to connection
29-
* BF: Return correct HTTP response (405) when non-GET request made
30+
* BF: Keep host and scheme in HTTP request object attatched to connection
31+
* BF: Return correct HTTP response (405) when non-GET request made
3032

3133
* 0.3.5 (2016-05-25)
32-
33-
* BF: Unmask responding close frame
34-
* Added write handler for PHP session serializer
34+
* BF: Unmask responding close frame
35+
* Added write handler for PHP session serializer
3536

3637
* 0.3.4 (2015-12-23)
37-
38-
* BF: Edge case where version check wasn't run on message coalesce
39-
* BF: Session didn't start when using pdo_sqlite
40-
* BF: WAMP currie prefix check when using '#'
41-
* Compatibility with Symfony 3
38+
* BF: Edge case where version check wasn't run on message coalesce
39+
* BF: Session didn't start when using pdo_sqlite
40+
* BF: WAMP currie prefix check when using '#'
41+
* Compatibility with Symfony 3
4242

4343
* 0.3.3 (2015-05-26)
44-
45-
* BF: Framing bug on large messages upon TCP fragmentation
46-
* BF: Symfony Router query parameter defaults applied to Request
47-
* BF: WAMP CURIE on all URIs
48-
* OriginCheck rules applied to FlashPolicy
49-
* Switched from PSR-0 to PSR-4
44+
* BF: Framing bug on large messages upon TCP fragmentation
45+
* BF: Symfony Router query parameter defaults applied to Request
46+
* BF: WAMP CURIE on all URIs
47+
* OriginCheck rules applied to FlashPolicy
48+
* Switched from PSR-0 to PSR-4
5049

5150
* 0.3.2 (2014-06-08)
52-
53-
* BF: No messages after closing handshake (fixed rare race condition causing 100% CPU)
54-
* BF: Fixed accidental BC break from v0.3.1
55-
* Added autoDelete parameter to Topic to destroy when empty of connections
56-
* Exposed React Socket on IoServer (allowing FlashPolicy shutdown in App)
57-
* Normalized Exceptions in WAMP
51+
* BF: No messages after closing handshake (fixed rare race condition causing 100% CPU)
52+
* BF: Fixed accidental BC break from v0.3.1
53+
* Added autoDelete parameter to Topic to destroy when empty of connections
54+
* Exposed React Socket on IoServer (allowing FlashPolicy shutdown in App)
55+
* Normalized Exceptions in WAMP
5856

5957
* 0.3.1 (2014-05-26)
60-
61-
* Added query parameter support to Router, set in HTTP request (ws://server?hello=world)
62-
* HHVM compatibility
63-
* BF: React/0.4 support; CPU starvation bug fixes
64-
* BF: Allow App::route to ignore Host header
65-
* Added expected filters to WAMP Topic broadcast method
66-
* Resource cleanup in WAMP TopicManager
58+
* Added query parameter support to Router, set in HTTP request (ws://server?hello=world)
59+
* HHVM compatibility
60+
* BF: React/0.4 support; CPU starvation bug fixes
61+
* BF: Allow App::route to ignore Host header
62+
* Added expected filters to WAMP Topic broadcast method
63+
* Resource cleanup in WAMP TopicManager
6764

6865
* 0.3.0 (2013-10-14)
69-
70-
* Added the `App` class to help making Ratchet so easy to use it's silly
71-
* BC: Require hostname to do HTTP Host header match and do Origin HTTP header check, verify same name by default, helping prevent CSRF attacks
72-
* Added Symfony/2.2 based HTTP Router component to allowing for a single Ratchet server to handle multiple apps -> Ratchet\Http\Router
73-
* BC: Decoupled HTTP from WebSocket component -> Ratchet\Http\HttpServer
74-
* BF: Single sub-protocol selection to conform with RFC6455
75-
* BF: Sanity checks on WAMP protocol to prevent errors
66+
* Added the `App` class to help making Ratchet so easy to use it's silly
67+
* BC: Require hostname to do HTTP Host header match and do Origin HTTP header check, verify same name by default, helping prevent CSRF attacks
68+
* Added Symfony/2.2 based HTTP Router component to allowing for a single Ratchet server to handle multiple apps -> Ratchet\Http\Router
69+
* BC: Decoupled HTTP from WebSocket component -> Ratchet\Http\HttpServer
70+
* BF: Single sub-protocol selection to conform with RFC6455
71+
* BF: Sanity checks on WAMP protocol to prevent errors
7672

7773
* 0.2.8 (2013-09-19)
78-
79-
* React 0.3 support
74+
* React 0.3 support
8075

8176
* 0.2.7 (2013-06-09)
82-
83-
* BF: Sub-protocol negotation with Guzzle 3.6
77+
* BF: Sub-protocol negotation with Guzzle 3.6
8478

8579
* 0.2.6 (2013-06-01)
86-
87-
* Guzzle 3.6 support
80+
* Guzzle 3.6 support
8881

8982
* 0.2.5 (2013-04-01)
90-
91-
* Fixed Hixie-76 handshake bug
83+
* Fixed Hixie-76 handshake bug
9284

9385
* 0.2.4 (2013-03-09)
94-
95-
* Support for Symfony 2.2 and Guzzle 2.3
96-
* Minor bug fixes when handling errors
86+
* Support for Symfony 2.2 and Guzzle 2.3
87+
* Minor bug fixes when handling errors
9788

9889
* 0.2.3 (2012-11-21)
99-
100-
* Bumped dep: Guzzle to v3, React to v0.2.4
101-
* More tests
90+
* Bumped dep: Guzzle to v3, React to v0.2.4
91+
* More tests
10292

10393
* 0.2.2 (2012-10-20)
104-
105-
* Bumped deps to use React v0.2
94+
* Bumped deps to use React v0.2
10695

10796
* 0.2.1 (2012-10-13)
108-
109-
* BF: No more UTF-8 warnings in browsers (no longer sending empty sub-protocol string)
110-
* Documentation corrections
111-
* Using new composer structure
97+
* BF: No more UTF-8 warnings in browsers (no longer sending empty sub-protocol string)
98+
* Documentation corrections
99+
* Using new composer structure
112100

113101
* 0.2 (2012-09-07)
114-
115-
* Ratchet passes every non-binary-frame test from the Autobahn Testsuite
116-
* Major performance improvements
117-
* BC: Renamed "WampServer" to "ServerProtocol"
118-
* BC: New "WampServer" component passes Topic container objects of subscribed Connections
119-
* Option to turn off UTF-8 checks in order to increase performance
120-
* Switched dependency guzzle/guzzle to guzzle/http (no API changes)
121-
* mbstring no longer required
102+
* Ratchet passes every non-binary-frame test from the Autobahn Testsuite
103+
* Major performance improvements
104+
* BC: Renamed "WampServer" to "ServerProtocol"
105+
* BC: New "WampServer" component passes Topic container objects of subscribed Connections
106+
* Option to turn off UTF-8 checks in order to increase performance
107+
* Switched dependency guzzle/guzzle to guzzle/http (no API changes)
108+
* mbstring no longer required
122109

123110
* 0.1.5 (2012-07-12)
124-
125-
* BF: Error where service wouldn't run on PHP <= 5.3.8
126-
* Dependency library updates
111+
* BF: Error where service wouldn't run on PHP <= 5.3.8
112+
* Dependency library updates
127113

128114
* 0.1.4 (2012-06-17)
129-
130-
* Fixed dozens of failing AB tests
131-
* BF: Proper socket buffer handling
115+
* Fixed dozens of failing AB tests
116+
* BF: Proper socket buffer handling
132117

133118
* 0.1.3 (2012-06-15)
134-
135-
* Major refactor inside WebSocket protocol handling, more loosley coupled
136-
* BF: Proper error handling on failed WebSocket connections
137-
* BF: Handle TCP message concatenation
138-
* Inclusion of the AutobahnTestSuite checking WebSocket protocol compliance
139-
* mb_string now a requirement
119+
* Major refactor inside WebSocket protocol handling, more loosley coupled
120+
* BF: Proper error handling on failed WebSocket connections
121+
* BF: Handle TCP message concatenation
122+
* Inclusion of the AutobahnTestSuite checking WebSocket protocol compliance
123+
* mb_string now a requirement
140124

141125
* 0.1.2 (2012-05-19)
142-
143-
* BC/BF: Updated WAMP API to coincide with the official spec
144-
* Tweaks to improve running as a long lived process
126+
* BC/BF: Updated WAMP API to coincide with the official spec
127+
* Tweaks to improve running as a long lived process
145128

146129
* 0.1.1 (2012-05-14)
147-
148-
* Separated interfaces allowing WebSockets to support multiple sub protocols
149-
* BF: remoteAddress variable on connections returns proper value
130+
* Separated interfaces allowing WebSockets to support multiple sub protocols
131+
* BF: remoteAddress variable on connections returns proper value
150132

151133
* 0.1 (2012-05-11)
152-
153-
* First release with components: IoServer, WsServer, SessionProvider, WampServer, FlashPolicy, IpBlackList
154-
* I/O now handled by React, making Ratchet fully asynchronous
134+
* First release with components: IoServer, WsServer, SessionProvider, WampServer, FlashPolicy, IpBlackList
135+
* I/O now handled by React, making Ratchet fully asynchronous

src/Ratchet/ConnectionInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* The version of Ratchet being used
66
* @var string
77
*/
8-
const VERSION = 'Ratchet/0.4';
8+
const VERSION = 'Ratchet/0.4.1';
99

1010
/**
1111
* A proxy object representing a connection to the application

0 commit comments

Comments
 (0)