Skip to content

v0.9.0

Compare
Choose a tag to compare
@jamesplease jamesplease released this 28 Jan 05:38
· 65 commits to master since this release
  • Breaking change: Space-separated requests no longer return an Array. Instead, an Object is returned.

    // old
    myChannel.request('thingOne thingTwo');
    // => [replyOne, replyTwo]
    
    // new
    myChannel.request('thingOne thingTwo');
    // => { thingOne: replyOne, thingTwo: replyTwo }
  • New feature: Radio.reset() is now a top-level API method that can be used to reset a channel, or all channels. Do note that channels continue to have their own reset method.

  • New feature: Radio.debugLog() is now exposed...go forth and customize how Radio logs potential errors!