Changelog
Version 14
14.0.1
- #338 Declare correct
wsoptions type
14.0.0
- #335 v14.0.0 Release Notes
- #334 Release next version as 14.0.0
- #333 chore: set min node version
- #330 chore: 🤖 import and improve outdate typings from DT
- #329 Upgrade to ws@8.x
- #327 chore: change CI target for next
Version 13
13.0.1
- #325 chore: bump hoek
13.0.0
- #322 Support node v18 and hapi v21, drop node v12 and hapi v18/19
Version 12
12.0.5
12.0.4
- #313 migrate to new travis format
- #312 upgrade to hapi 20
- #311 switch to validate and other package updates
12.0.3
- #307 Upgrade deprecated
@hapi/call@6.x.x - #306 fix: pass remoteAddress when injecting request
- #305 request.info.remoteAddress is always 127.0.0.1 in request handler
12.0.2
- #304 Prevent beat timeout from disconnecting newly connecting sockets
12.0.1
- #303 Remove unused dep
12.0.0
Version 11
11.2.2
- #285 Unknown authentication strategy
11.2.1
- #289 Update deps
11.2.0
- #284 Add ability to revoke a socket ignoring if it is already closed
- #283 cleanup called twice if there is an onUnsubscribe handler
11.1.0
- #278 Passing remoteAddress and x-forwarded-for is in whitelist when connect
11.0.1
- #279 Fix name
11.0.0
Version 10
10.1.0
- #275 Change module namespace
10.0.2
- #270 Error in the browser with 10.0.1
10.0.1
- #269 Update dependencies
10.0.0
- #265 hapi v18
Version 9
9.1.0
- #263 Document minAuthVerifyInterval and make it less restrictive
- #262 Close the socket when authentication verification fails
- #260 Close the socket when authentication expires
9.0.2
- #256 Cleanup
9.0.1
- #247 Reconnect on error
Version 8
8.1.0
- #243 Add client.onHeartbeatTimeout hook
8.0.0
- #229 Update ws to 5.x.x
Version 7
7.2.0
- #228 Mark NesErrors as coming from nes
7.1.0
- #224 Add socket.info object
- #223 Delay heartbeats until server is started
- #222 Allow isSameSite cookie option to be passed
7.0.4
7.0.3
- #214 Do not replace message for all sockets with override from filter
7.0.2
- #206 Handle ws socket error events
7.0.1
- #198 Better error handling
7.0.0
Version 6
6.5.1
- #202 Fix test
6.5.0
- #201 Update ws
6.4.3
- #179
maximum call stack exceededif web socket gets disconnected while nes is sending packets
6.4.2
- #156 Handle undefined payloads from server in client
6.4.1
- #171 server falls with bad cookie header
6.4.0
- #169 Expose server and connection on socket
6.3.2
- #168 Update deps
6.3.1
- #145 Disable inject() validate
6.3.0
- #144 Verify request Origin
6.2.5
- #142 Reconnection timeout conflicts
6.2.4
6.2.3
- #139 Update deps
6.2.2
- #138 Always call onConnection before onSubscribe
6.2.1
- #136 Reuse pre-stringified hapi response
6.2.0
- #135 Cookie auth fails to register socket
- #134 Per user connection limit
- #133 Timeout sockets if hello takes too long
6.1.2
- #132 Client indicates wasRequested when calling disconnect() on dead socket
6.1.1
- #131 Incorrectly reports wasRequested when internally disconnects
6.1.0
- #129 Include reason disconnected in log object
6.0.2
- #127 Test on node v6
6.0.1
- #126 Handle cases when client._ws is null
6.0.0
- #125 Connect fails to check for previous internal socket when connecting.
Version 5
5.0.3
- #124 Adjust unsub processing timing on server
5.0.2
- #123 Check is socket is still around while disconnecting
5.0.1
- #122 Prevent server from sending data when stopping
5.0.0
- #121 Properly clean up sockets and subscriptions on server stop
Version 4
4.6.0
- #120 Support user filter in eachSocket()
4.5.0
4.4.1
- #117 Race condition between unsubscribe and disconnect when using auth index on sub
4.4.0
4.3.0
4.2.1
4.2.0
- #107 Expose params on unsubscribe callback
4.1.0
- #104 Provide a way to replace auth credentials before an automatic reconnect
4.0.0
- #100 Add required callback to subscription onSubscribe option
Version 3
3.1.2
- #99 Pause heartbeat disconnect while sending
3.1.1
- #98 Server disconnects client after a long message transmission
3.1.0
3.0.0
- #96 Update Iron and increase auto-generated password to 32 characters
Version 2
2.3.1
- #95 Emit error when disconnecting due to missing server heartbeat
2.3.0
- #93 Client requests fail if the request response takes longer than heartbeat timeout
2.2.0
- #92 Return close event reason in onDisconnect
- #90 NesError breaks if passed an error event from onerror.
- #76 Pass the onclose information to onDisconnect
2.1.0
2.0.2
- #87 The update to ws 1.0.x introduces breaking changes
2.0.1
- #86 update ws to 1.0.x
2.0.0
Version 1
1.2.2
- #81 Fix illegal invocation error when using default onError handler.
1.2.1
- #79 Possible to subscribe, unsubscribe, and resubscribe? v1.2.0
1.2.0
- #72 Update to create a es5 client artifact
- #71 Add socket.app
- #70 Decorate request with socket
- #69 ES6 style changes
1.1.2
- #67 Use internal auth endpoint id for lookup
- #66 Plugin route prefix cause mismatch with default internal auth endpoint
1.1.1
- #65 Return auth error message in response
1.1.0
- #64 Implement internal data for filtering messages
- #63 Add message metadata for publish
- #62 Implement eachSocket iterator
- #61 Implement per-subscription lifecycle
- #60 Add onDisconnection callback
- #56 Add disconnection callback
1.0.0
- #46 socket.send()
- #45 Rename onBroadcast to onUpdate
- #44 Max reconnect retries
- #43 Connection timeout
- #22 Add heartbeat
- #19 Allow for custom callback data to Client.connect()
- #8 Request timeout
Version 0
0.4.0
- #42 Remove duplicated statusCode in errors
- #41 Filter headers in responses
- #40 Consistent error transmission
- #38 Prevent client from including a request authorization header
- #34 Prevent client from subscribing multiple times to same path
- #32 Change server onConnect to onConnection and delay until after auth when required
- #30 Block all client requests when channel requires auth
- #29 Fix typo
- #28 Implement unsubscribe on the server
- #27 Expose socket authentication state
- #26 Ability to force disconnect for specific clients
- #25 'data' vs 'message' for incoming data
- #24 Subscriptions are not cleaned on client disconnect
0.3.0
- #21 Drop support for non-protocol messages
- #20 Change default auth method to direct
- #18 Race condition exists in client reconnect logic
- #17 Allow for custom messages
- #16 Turn auth on by default
- #15 Add onConnect callback option
- #14 Add event callback for client connection
- #12 Add browser packaging entry points
- #11 Initial publish/subscribe interface
- #9 Use console.error() when no onError handler
- #6 Re-auth on reconnect
- #5 Allow any authentication method when using token auth
- #4 Allow handler to handle unknown message types
- #3 How will adding additional functionality work?