All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.2.0 (2022-01-29)
- Exported
SendOptions
,BroadcastOptions
, andNetworkError
interfaces.
- Added more tests.
- Documented all the events.
- Added
veza.Server
andveza.Client
. - Added CHANGELOG.md.
- Added SECURITY.md.
- Added PROTOCOL.md.
- Added documentation page, available at veza.js.org.
- Simplified event names to be more intuitive and easier to use.
- Revamped queue to use the old message split method from
veza@0.5.0
. - Updated spec to re-include
ByteLength
into the headers. - Document more things as private to not show in the documentation.
- Modified
Server#serve
's return fromundefined
tothis
.
- Removed
veza.Node
in favor ofveza.Server
andveza.Client
.
- Resolved bug from 0.6.0 where the queue was getting into data racing on extremely edge cases.
- Written more tests.
- Coverage 100%.
- Written more tests.
- And also added a shiny 100% coverage badge.
- Added
handshakeTimeout
option inNode
. - Added more typings.
- Added more documentation.
- Added
socket.connecting
,socket.connect
,socket.destroy
,socket.ready
,socket.connect
, andsocket.ready
.
Node#connectTo
does not longer take an argument for the socket'sname
, also called "label". The name is now the socket's.
Infinity
is not longer an option in timeouts nor retry limits, refer to-1
for the same behaviour.- Removed
Queue#name
andQueue#socket
. They're unnecessary getters.
- Fixed any possible outcome of an HTTP server or client being able to crash a Veza server or socket.
- Fixed reconnections not identifying correctly.
- Rewritten Veza to Strict TypeScript (#13).
- Nullify the socket when destroyed.
- Fixed "Cannot read property delete of undefined".