commit #
- Standardized parameter names and expected behavior
- Removed
secure
WS option, instead checking ifcert
andkey
are set - Routines.dynamic option
hz
is nowmaxInterval
and is measured in milliseconds - Renamed
provider
internally toserver
for easier understanding - Removed previously deprecated UDP
connectTimeout
option
- Removed
- Added UDP idle timeout behavior
- Added WS idle timeout behavior
- Added WS Agent option for proxying
- frameId counter now goes up to 0xffffffff before cycling instead of 0xffff
- Fixed an issue in Routines.tick where all queues shared the same frameId counter
- Routines.tick option
seed
now correctly sets theframeId
and starts the counter to match the expected pace - Fixed references to Node modules in TS definitions
commit a0e88e3
- Removed SYN/ACK UDP handshake, which removes the socket timeout behaviour for that transport
- Added error event for UDP packet over the safe limit (16384 bytes), previous behaviour was to crash silently
- Routines are no longer event emitters, but have a size function
commit: 47b810d
- Client.remote is now a const instead of a function (breaking change)
- Client.local is now a const instead of a function (breaking change)
- Engines config in package.json now only allows node >=14
- Client reference in subscribe callback is now fully featured instead of a shallow config object.
- Bumped
ws
version - Added integration tests
- Fixed importing when using typescript (breaking change)
- Fixed socket remote info
- Fixed multiple types, including opening
port
value to be a string
commit: #
- Changed default packet framing to be a pure json object
- Removed custom framing
- Added packet message cap
- Fixed multiplexing
- Added more error messages
- Added tests for transport packages
- Added CHANGELOG and LICENSE to all packages
commit: 731491d
- Added more error messages
- Added tests for transport packages
- Added CHANGELOG and LICENSE to all packages
- Added 'framing' option to set packet framing to be a pure json object
commit: af46059
- Added webrtc package and examples
- Added the getChannels method on Client
- Removed home implementation of EventEmitter in favor of Node's
commit: c188225
- Added pre-hook for lint on commit
- Cleaned up Types management and typings file accessibility
- Migrated test suite to Jest and centralized test tooling
- Removed output rollup, and using only tsc with none modules
- Fixed linting (was not targeting .ts files properly)
- Fixed stats events (were previously unreachable, now exposed through client emitter as .*)
- Fixed timeout behavior (only logged, now actually disconnects)
commit: fac8047
- Changed dev tooling from lerna to yarn workspaces
- Changed dev tooling from tslint to eslint + @typescript-eslint
- Housekeeping
commit: a4c687d
- New monorepo structure
- Massive new changes to the interface
- Serialization is now a toggle for json/binary
- Re-written the entire codebase in Typescript
- Transports are no longer bundled and must be installed separately and must be instantiated with options.
- Profiles become routines and must be instantiated with options.
- No more session stores
- No more encryption
commit: 7393d17
- Added package-lock.json file
- Added server reference in the client object
commit: 2c687f6
- Added engines reqs
- Some minor performance tuning
commit: a7b8f95
- Tuned performances
- Added build targets for Node 8.x and 6.x
- UDP client cache (tied with socketTimeout)
- Bumped dependencies
- Proper callback on disconnect
- Dropped support for Node 4.x
commit: f323bcd
- Added realtime profile
- Added JSDoc
- Added parameter validation and error messages
- Better performances (3x with default congestion)
commit: b9f3bdd
- Added support for node 8
commit: 129146f
- Simplified and optimized queue system logic
- Now allowing 0 to be passed as tick value in profiles
- Added warning when non-serialized message are sent and serial config is
null
- Fixed hanging packets on maxBytes just reached
commit: b5209ec
- Migrated the codebase from the original repo
- Implemeted new interface