- The reason a connection was closed is now communicated to all pending
promises that are rejected because of a closed connection. (@felixge)
These errors now have a
cause
property, for the originalError
. - Adds support for an
onmessagelost
option that will be invoked if a message is sent to a non-existant promise. This can occur if the promise is collected from the LRU. (@stuk) - Ensures that the service root object for a connection is never evicted from the LRU cache of local promises. (@stuk)
- The
capacity
option takes over for the formermax
option, setting the capacity of the LRU for cached promises.
⚠️ Only treat object literals, descending directly from Object prototype or Error prototype, as pass-by-copy objects. All others are pass by remote reference. This may cause minor compatibility problems. Note that in a future release, all object references will be pass-by-reference by default, and pass-by-copy only explicitly.- Support the marshalling of reference cycles.
- Support Chrome extension message ports, with their
port.onMessage.addListener
interface.
- Pending remote promises are rejected if the underlying connection closes
- Support for bridging NaN, Infinity, -Infinity [email protected]
- Support for bridging all properties of an Error (@thibaultzanini)
- Bridge progress events
- Update dependencies
- Evaluating Testling for continuous integration
- Bridge null and undefined properly
- Bug fixes for remote function calls
- Bug fixes for remote function calls
- Updates for Q 0.9
- Fixes the Queue module dependency
- Fixes a dependency problem in the adapter module
- Uses semantic versioning for dependency ranges
- Factors the adapter into a separate module
- Improves the bridge protocol such that it can transfer functions and error objects.
- Renamed to Q-Connection, from Q-Comm
- Fixes a missing variable scope
- Updated dependencies
- Fixed tests
- Support for Node websocket, since abandoned
- Abandon support for non-CommonJS script or module loading
- Bug fix for improbable random number collisions
- John Barton's work on UUID et cetra
Elided.
- Added example of communicating with an iframe.
- Added "origin" option to simplify communicating between window message ports.
- Q_COMM.Connection now accepts message ports and assimilates them. There are no specialized adapters. That is left as an exercise for other libraries.
- Remote objects can now be directly connected using any W3C message port including web workers and web sockets.
- *Brought message port adapter code into q-comm.js and moved all other communication layers out to separate packages (to be q-comm-socket.io and q-comm-node).
- *Renamed
Peer
toConnection
.
- Added Mozilla Jetpack packaging support. (gozala)
- Alterations to far references
- Upgraded Q for duck-promises
- Removed the socket.io-server "Server" constructor and renamed "SocketServer" to "Server". Creating an object-to-object link and creating a connection are now explicitly separated in all usage.
- Added the local object argument to the socket.io-client connection constructor.
- Added a "swarm" example.
- Upgraded dependency on
q
to v0.2.2 to fix bug in Queue implementation.
- Added missing dependency on
n-util
.
- Removed false dependency on
q-io
.