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, andNetworkErrorinterfaces.
- Added more tests.
- Documented all the events.
- Added
veza.Serverandveza.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
ByteLengthinto the headers. - Document more things as private to not show in the documentation.
- Modified
Server#serve's return fromundefinedtothis.
- Removed
veza.Nodein favor ofveza.Serverandveza.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
handshakeTimeoutoption inNode. - Added more typings.
- Added more documentation.
- Added
socket.connecting,socket.connect,socket.destroy,socket.ready,socket.connect, andsocket.ready.
Node#connectTodoes not longer take an argument for the socket'sname, also called "label". The name is now the socket's.
Infinityis not longer an option in timeouts nor retry limits, refer to-1for the same behaviour.- Removed
Queue#nameandQueue#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.
- Added Test Suite (kyranet#9).
- Disconnect previous node if there was one named the same (kyranet#12).
- Rewritten Veza to Strict TypeScript (kyranet#13).
- Nullify the socket when destroyed.
- Fixed "Cannot read property delete of undefined".