Releases: fed135/Kalm
Releases · fed135/Kalm
v1.4.0
v1.3.0
v1.2.0
Performances
- Better throughput via Promisifying encoding process
Async-ready Encoding
- Encoders can return either Promises or the straight result, Kalm will handle both. This allows for asynchronous encoding/decoding. #25
Auto-reject bad requests
- Added new
Client
/Server
optionrejectForeign
(default:true
) to auto-disconnect bad/ unhandled requests
v1.1.1
Error handling
- Wrapped adapter operations in Promises to handle Network errors more gracefully.
Bug fixes
- Fixed Server subscribe options
- Fixed TCP instabilities
- Client use method now fully destroys previous connections and pauses channel timers - these resume once the new socket dispatches a connect event
Optimizations
- Net interface now properly leverage stream operation
v1.0.0
v1.0.0
- Added API docs site
- Added Gitter link
- Cleaner unit/integration tests
- Added more logs
- Optimizations
Breaking Changes
- msgpack is no longer included in Kalm. You can still use it by registering kalm-msgpack
- Channel method and properties name changes
packets
,handlers
- Now only compatible with Node >= 6.0.0
Changelog
Server
- Added
id
property - Added
dump
method - Added
tick
option to synchronize connection emits - Added
socketTimeout
option
Client
- Added resume-on-reconnect feature
- Added
socketTimeout
option - TCP, IPC, UDP optimizations
Adapters
- Added superclass
Store
- Added superclass
Adapter
Encoders
- Added superclass
Store
- Added superclass
Encoder
v0.3.0
Channel
- Batched response support
- Changed packet format to
[channel, [packets]]
- Now supports Numbers as channel names (stringified)
- No more default channel name - property is required
Client
- Renamed
channel
tosubscribe
- Added
unsubscribe
- Added on.
connect
/ on.connection
events - Added on.
disconnect
/ on.disconnection
events - Changed handler parameters to
(payload, reply, channel)
- Added
sendOnce
- Can now output usage statistics to stdout with
options.stats
Server
- Renamed
channel
tosubscribe
- Added
unsubscribe
- Added on.
connect
/ on.connection
events - Added on.
disconnect
/ on.disconnection
events - Added
whisper
Misc
- Removed legacy docs
- Added npmignore
- Added more tests
- Optimizations
- Code-climate styling compliance
- API stability badge
- Updated logo
v0.2.0
- es6 rewrite
- performance bug fix
- #6 reviewed code styling
- #7 added more unit tests and smoke testing
- #8 added benchmarking to CI flow
- #9 added some debug logs
- #10 validated compatibility for webpack and added build script
- #11 added logo and graphs for benchmarks and bytes transferred
- Added channel logic
- Removed middleware loader
- Baked bundling logic
- Tweaked bundling default values
- changed default port from 80 to 3000
- Fixed bug in bundler (return statement on maxPacket reached)
- Fixed deferred ready for Server,
- Fixed ipc and tcp server close (destroying all connections)
v0.1.2
v0.1.0
Base library components:
- Client,
- Server,
- Loaders for custom adapters, encoders and middleware
Extensible components:
- Includes IPC and TCP adapters (stable)
- Includes JSON and MSG-PACK encoders (stable)
- Includes Bundler middleware (stable)