Skip to content

v0.9.0

Compare
Choose a tag to compare
@kjvalencik kjvalencik released this 26 Jul 13:18
68b1804

Performance

Channel, formerly EventQueue, are now cloneable. Clones share a backing queue to take advantage of an optimization in Node threadsafe functions. Additionally, when specifying Node API 6 or higher (napi-6), calling cx.channel() will return a shared queue (#739).

The change may cause a performance regression in some pathological use cases (#762).

Deprecation

EventQueue and EventQueueError have been renamed to Channel and ChannelError respectively to clarify their function and similarity to Rust channels. The types are available as deprecated aliases (#752).

Docs

  • Document error causes for Channel::try_send docs (#767)
  • Document neon::object (#740)

Fixes

  • Fix usage of a removed API in legacy buffers (#769)