Changelog History
Page 1
-
v0.7.0 Changes
March 14, 2014March 14 2014
โ Add verification of parsing results in Event. (Prevents a possible denial of service attack when sending improperly formatted but valid JSON. Thanks to @maharifu
๐ Support HTTP streaming for Internet Explorer versions 8+ by using XDomainRequest - Thanks to @lkol
โ Added a possibility to set channel success and failure callbacks on subscribe. - Thanks to @lkol
๐ Rescue symbolizing of channel names. fixes #166 - Thanks to @KazW
๐จ Refactor *.coffee files. Add reconnect() method. - Thanks to @jtomaszewski
โ Add Channel tokens to prevent unauthorized subscriptions to channels. Thanks - @moaa and @elthariel
๐ Fixed a bug where a newline was being outputted in the log regardless of log level - Thanks to @markmalek
Properly handle WSS and WS protocols in the JavaScript client - Thanks to @markee
Defer #on_open to EM.next_tick. fixes #135 - Thanks to @moaa
โ Add subscriber Join/Part events for channels - Thanks to @moaa
Convert controller's
action_name
to a string to get AbstractController::Callbacks (before_action
) working properly [fixes #150] - Thanks to @Pitr
-
v0.6.2 Changes
September 09, 2013September 8 2013
- โก๏ธ Updated Dispatcher#broadcast_message to work with the new ConnectionManager connections hash. - Thanks to @Frustrate @moaa
-
v0.6.1 Changes
September 06, 2013September 6 2013
- ๐ Fixed the loading of event routes when launched in the production environment.
-
v0.6.0 Changes
September 05, 2013September 3 2013
- โ Added the UserManager accessible through the
WebsocketRails.users
method. This allows for triggering events on individual logged in users from anywhere inside of your application without the need to create a channel for that user.
- โ Added the UserManager accessible through the
-
v0.5.0 Changes
September 03, 2013September 2 2013
- ๐ Use window.location.protocol to choose between ws:// and wss:// shcheme. - Thanks to @depili
- Override ConnectionManager#inspect to clean up the output from
rake routes
- โ Added a basic Global UserManager for triggering events on specific users from anywhere inside your app without creating a dedicated user channel.
- ๐ Deprecate the old controller observer system and implement full Rails ๐ AbstractController::Callbacks support. - Thanks to @pitr
- Reload the events.rb event route file each time an event is fired. - Thanks to @moaa
- ๐ง Separated the event route file and WebsocketRails configuration files.
๐ง The events.rb now lives in
config/events.rb
. The configuration should ๐ remain in an initializer located atconfig/initializers/websocket_rails.rb
. - Thanks to @moaa
-
v0.4.9 Changes
July 11, 2013July 9 2013
- โก๏ธ Updated JavaScript client to properly keep track of the connection state.
- โ Added .connection_stale() function to the JavaScript client for easily checking connection state.
-
v0.4.8 Changes
July 06, 2013July 6 2013
- ๐ Fix error with class reloading in development with Rails 4
- โ Added
connection.close!
method to allow for manually disconnecting users from a WebsocketRails controller. - โ Add a way to unsubscribe from channels via the JavaScript client. - Thanks to @Oxynum
- ๐ Fix handling of
on_error
event in the JavaScript client. - Thanks to @imton
-
v0.4.7 Changes
June 06, 2013June 6 2013
- ๐ Fix observer system - Thanks to @pitr
- ๐ Fix spelling mistake in ConnectionAdapters#inspect - Thanks to @bmxpert1
- Prevent duplicate events from being triggered when events are added directly to Redis from an outside process. - Thanks to @moaa
- ๐ฒ Only log event data if it is a Hash or String to drastically reduce ๐ฒ the log file size. - Thanks to @florianguenther
- ๐ Fix the intermittent uninitialized constant ๐ "WebsocketRails::InternalEvents" error in development. - Thanks to @DarkSwoop
-
v0.4.6 Changes
May 09, 2013May 9 2013
- โ Manually load the Faye::WebSocket Thin adapter to support the latest ๐ version of the Faye::WebSocket gem. - Thanks to @Traxmaxx
-
v0.4.5 Changes
May 06, 2013May 5 2013
- ๐ Fix controller class reloading in development. - Thanks to @florianguenther