Skip to content

5.0.0

Choose a tag to compare

@github-actions github-actions released this 27 Jun 18:35
· 79 commits to main since this release
319b7c2

Added

  • Add StreamData and StreamMessage types (#37)
  • Add worker_threads streams (#39)
  • Add child_process streams (#34)

Changed

  • BREAKING: Increase minimum Node.js version to ^14.0.0 (#38)
  • BREAKING: Adopt a uniform naming scheme for all classes (#40)
  • BREAKING: Throw an error when constructing a stream in the wrong environment (#40)
    • For example, a WebWorkerPostMessageStream can now only be constructed in a WebWorker. This change may not be breaking in practice because the streams would not work in unintended environments anyway.
  • BREAKING: Add targetOrigin parameter for WindowPostMessageStream (#23)