Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.

Latest commit

 

History

History
62 lines (41 loc) · 1.93 KB

CHANGELOG.md

File metadata and controls

62 lines (41 loc) · 1.93 KB

1.2:

  • Move to GWT 2.8.0.
  • Move to Java 8.

1.1.2:

  • Fix bug where the sub-protocols parameter was not being passed down to the native WebSocket when opening a WebSocket.

1.1.1:

  • Ensure isSupported() checks for older MozWebSocket. Reported by By Ali Akhtar.

1.1:

  • Support older Mozilla WebSocket variants via MozWebSocket. Reported by By Ali Akhtar.
  • Fix bug where WebSockets were instantiated using window rather than $wnd which does not work in all linkers. Reported by By Ali Akhtar.

1.0:

  • Minor documentation improvements.

0.6:

  • Ensure that the source of the event is the WebSocket.
  • Fix bug to ensure that when the remote side closes the WebSocket, the state is reset correctly.

0.5:

  • Add WebSocket.isConnected() method.
  • Ensure WebSocket.getExtensions(), WebSocket.getProtocol() and WebSocket.getURL() throw an IllegalStateException if the WebSocket is not connected.
  • Ensure WebSocket.getReadyState() returns CLOSED when not connected.
  • Move WebSocket to using WebSocketListener interface as the primary means of notifying library consumers of web socket events. Add an EventBasedWebSocketListener to support the previous event-oriented mechanisms of integrating with the WebSocket library.

0.4:

  • Restore Java 6 compatibility.

0.3:

  • Support receiving ArrayBuffer messages.
  • Implement WebSocket.send(ArrayBuffer) and WebSocket.send(ArrayBufferView).
  • Implement WebSocket.getBinaryType() and WebSocket.setBinaryType().
  • Implement WebSocket.getExtensions().
  • Implement WebSocket.getURL().
  • Add support for WebSocket.close method that allows specification of the code and reason parameters.
  • Implement WebSocket.getProtocol().

0.2:

  • Support WebSocket.isSupported() method that will return true if WebSocket.newWebSocketIfSupported() will not return a null value.
  • Rename WebsocketEvent to WebSocketEvent to maintain consistent casing with the rest of the library.

0.1:

  • Initial release