Kalm Versions Save

Moved to https://github.com/kalm/kalm.js

v1.4.0

7 years ago
  • es6 Housecleaning
  • Added overridable catch function for unhandled payloads
  • Updated dependencies, relaxed dev dependency upgrade rules
  • Now using bluebird for Node-land promises (Native promises in browser-land
  • Updated perf graphs
  • BUG #36
  • NTH #35
  • BUG #34

v1.3.0

7 years ago

General

  • House keeping (shorter arrow function form, removed var uses completely, etc)

Debugging

  • Proper debugging output when adapters/encoders fail
  • Added validation for adapters/encoders on register

v1.2.0

7 years ago

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 option rejectForeign (default: true) to auto-disconnect bad/ unhandled requests

v1.1.1

7 years ago

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

7 years ago

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

7 years ago

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 to subscribe
  • 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 to subscribe
  • 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

8 years ago
  • 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

8 years ago
  • UDP Support,
  • Adapters/Encoders registration fixed
  • Socket disconnection on closing

v0.1.0

8 years ago

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)