Skip to content

Releases: fed135/Kalm

v1.4.0

04 Nov 15:42
Compare
Choose a tag to compare
  • 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

10 Aug 04:38
Compare
Choose a tag to compare

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

10 Aug 04:30
Compare
Choose a tag to compare

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

19 Jun 19:03
Compare
Choose a tag to compare

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

13 Jun 22:03
Compare
Choose a tag to compare

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

10 May 15:41
Compare
Choose a tag to compare

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

19 Apr 03:30
Compare
Choose a tag to compare
  • 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

02 Apr 20:02
Compare
Choose a tag to compare
v0.1.2 Pre-release
Pre-release
  • UDP Support,
  • Adapters/Encoders registration fixed
  • Socket disconnection on closing

v0.1.0

29 Mar 19:13
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release

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)