Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 149 lines (108 sloc) 4.856 kb
73e624e Changelog describing versions from 0.1.0
Bernard Potocki authored
1 = Changelog
2
afbe65c @mloughran Released version 0.5.1
mloughran authored
3 == 0.5.1 / 2014-04-23
4
5 - new features:
6 - Support for receiving binary messages
7
8 - changed:
9 - Allow additional close codes to be sent by apps
10 - Raise better errors on missing Sec-WebSocket-Key2
11 - Updated http_parser.rb dependency to 0.6.0
12
13 - bug fixes:
14 - Abort if HTTP request URI is invalid
15 - Force close connections that have been sent a close handshake after a timeout
16
17 - improved spec compliance on:
18 - Missing continuation frames
19 - Fragmented control frames
20 - Close behaviour after protocol errors
21
c87a69c @mloughran Changelog for 0.5
mloughran authored
22 == 0.5.0 / 2013-03-05
23
24 - new features:
25 - onclose handler is now passed a hash containing was_clean (set to true in drafts 03 and above when a connection is closed with a closing handshake, either by the server or the client), the close code, and reason (drafts 06 and above). Close code 1005 indicates that no code was supplied, and 1006 that the connection was closed abnormally.
26 - use Connection#support_close_codes? to easily check whether close codes are supported by the WebSocket protocol (drafts 06 and above)
27 - closes connection with 1007 close code if text frame contains invalid UTF8
28 - added Handshake#secure? for checking whether the connection is secure (either ssl or behind an ssl proxy)
29
30 - changed:
31 - Defaults to sending no close code rather than 1000 (consistent with browsers)
32 - Allows sending a 3xxx close code
33 - Renamed Connection#close_websocket to Connection#close (again for consistency with browsers). Old method is available till 0.6.
34 - Sends reasons with internally generated closure (previously only sent code)
35 - Echos close code when replying to close handshake
36
37 == 0.4.0 / 2013-01-22
7436f50 @mloughran Changelog for 0.4 changes
mloughran authored
38
39 - new features:
40 - on_open handler is now passed a handshake object which exposes the request headers, path, and query parameters
41 - Easily access the protocol version via Handshake#protocol_version
42 - Easily access the origin via Handshake#origin
43
44 - changed:
45 - Removed Connection#request - change to using handshake passed to on_open
46
47 - internals:
48 - Uses the http_parser.rb gem
49
04b0770 @mloughran Released version 0.3.8
mloughran authored
50 == 0.3.8 / 2012-07-12
51
52 - bug fixes:
53 - Fixed support for Ruby 1.8.7 which was broken in 0.3.7
54
3896511 @mloughran Released version 0.3.7
mloughran authored
55 == 0.3.7 / 2012-07-11
56
57 - new features:
58 - Supports sending 1009 error code when incoming frame is too large to handle, and added associated exception class WSMessageTooBigError [Martyn Loughran]
59 - Supports overriding the maximum frame size by setting the max_frame_size accessor on the connection object (in bytes). Default unchanged at 10MB. [Martyn Loughran]
60
61 - bug fixes:
62 - Fixes some encoding issues on Ruby 1.9 [Dingding Ye]
63 - Raises a HandshakeError if WS header is empty [Markus Fenske]
64 - Connection#send would mutate passed string to BINARY encoding. The fix still mutates the string by forcing the encoding back to UTF-8 before returning, but if the passed string was encoded as UTF-8 this is equivalent [Martyn Loughran]
65
ca98c11 @mloughran Released version 0.3.6
mloughran authored
66 == 0.3.6 / 2011-12-23
67
68 - new features:
69 - Supports sending ping & pong messages
70 - Supports binding to received ping & pong messages
71
534c99f @mloughran Released 0.3.5 and removed changelog for yanked gems
mloughran authored
72 == 0.3.5 / 2011-10-24
e2b3e5f @mloughran Released version 0.3.3
mloughran authored
73
74 - new features:
75 - Support WebSocket draft 13
76
1e8354d @mloughran Release version 0.3.2
mloughran authored
77 == 0.3.2 / 2011-10-09
78
79 - bugfixes:
80 - Handling of messages with > 2 frames
81 - Encode string passed to onmessage handler as UTF-8 on Ruby 1.9
82 - Add 10MB frame length limit to all draft versions
83
1fc0920 @mloughran Released version 0.3.1
mloughran authored
84 == 0.3.1 / 2011-07-28
85
86 - new features:
87 - Support WebSocket drafts 07 & 08
88
6345692 @mloughran Release version 0.3.0
mloughran authored
89 == 0.3.0 / 2011-05-06
0c94287 @mloughran Added changelog and readme section on error handling
mloughran authored
90
91 - new features:
92 - Support WebSocket drafts 05 & 06
93 - changes:
94 - Accept request headers in a case insensitive manner
95 - Change handling of errors. Previously some application errors were caught
96 internally and were invisible unless an onerror callback was supplied. See
97 readme for details
98
ab1356e @mloughran Updated changelog for 0.2.0 and 0.2.1
mloughran authored
99 == 0.2.1 / 2011-03-01
100
101 - bugfixes:
102 - Performance improvements to draft 76 framing
103 - Limit frame lengths for draft 76
104 - Better error handling for draft 76 handshake
105 - Ruby 1.9 support
106
107 == 0.2.0 / 2010-11-23
108
109 - new features:
110 - Support for WebSocket draft 03
111 - bugfixes:
112 - Handle case when handshake split into two receive_data calls
113 - Stricter regexp matching of frames
114
8887ee0 @igrigorik bump to 0.1.4
authored
115 == 0.1.4 / 2010-08-23
116
117 - new features:
118 - Allow custom ssl certificate to be used by passing :tls_options
119 - Protect against errors caused by non limited frame lengths
120 - Use custom exceptions rather than RuntimeError
121 - bugfixes:
122 - Handle invalid HTTP request with HandshakeError
123
73e624e Changelog describing versions from 0.1.0
Bernard Potocki authored
124 == 0.1.3 / 2010-07-18
125
126 - new features:
127 - onerror callback
128 - bugfixes:
129 - proper handling of zero spaces in key1 or key2(prevent ZeroDivisionError)
130 - convert received data to utf-8 to prevent ruby 1.9 errors
131 - fix handling of null bytes within a frame
132
133 == 0.1.2 / 2010-06-16
134
135 - new features:
136 - none
137 - bugfixes:
138 - allow $ character inside header key
139
140 == 0.1.1 / 2010-06-13
141
142 - new features:
143 - wss/ssl support
144 - bugfixes:
145 - can't & strings
146
147 == 0.1.0 / 2010-06-12
148
149 - initial release
Something went wrong with that request. Please try again.