Skip to content

v2.0.0

Choose a tag to compare

@adzialocha adzialocha released this 01 Nov 17:09
· 126 commits to master since this release

Updates

  • Feature: Listener wildcard pattern matching #31

Now it is possible to use the on function with pattern matching, for example:

osc.on('/*', message => {
  console.log(message);
})

osc.on('/{foo,bar}/*/param', message => {
  console.log(message);
})
  • Chore: Code and README.md cleanup #32
  • Chore: Use ESDoc Hosting again #30

Breaking changes

  • Chore: Use isomorphic-ws #33

Webpack users don't need to handle the library different anymore, it should work out of the box in Browsers now. WebsocketBrowserPlugin was removed.