Skip to content

Releases: KSDaemon/wampy.js

v8.0.1

19 Mar 09:29

Choose a tag to compare

This is not a major release in terms of features, but it is still a significant update.

The primary change is that the entire codebase has been fully migrated to TypeScript. Along with that, the build system has been modernized — all legacy tooling (including outdated grunt-based setup) has been removed in favor of a more current stack. The library now ships ESM builds alongside CommonJS.

While there are no major breaking changes in terms of functionality, this is effectively a “fresh” rebuild of the library, so there is a possibility that some edge cases may have been affected.

Additionally, one deprecated function has been removed.

As usual, please refer to the Migration Guide for details on changes and upgrade steps. In most cases, the upgrade should be straightforward.

v7.2.0

19 Jun 20:44

Choose a tag to compare

This is a release with some new features and internal changes! :)

  • wampy-cryptosign plugin, which was a separate repo/package, is now part of the main repo/package and is available out of the box; just import it.
  • Same goes for wampy-cra plugin, which was a separate repo/package, is now part of the main repo/package and is available out of the box; just import it.
  • Support for Event Retention Feature.
  • Support for custom options. Thnx @vovchisko for the implementation.

v7.1.1

28 Jan 11:32

Choose a tag to compare

This is mostly support released but with a bunch of important bug fixes!

  • Fixed correct processing of multiple topic subscriptions but with different options.
  • Fixed RPC registration options during auto reconnection.
  • Fixed unhandled promise rejection (exceptions) during reconnection logic.
  • Latest msgpack and ws dependency updates.
  • Latest security advisor fixes.

v7.1.0

17 Jun 11:37

Choose a tag to compare

Welcome the new Wampy release!

This release includes brand new wampy command line tool that exposes almost the whole API to the cmd!
You can use it for testing WAMP API during development, debugging, or just exploring the new APIs.

Cli tool is charged with rich help descriptions, examples and even shell auto-completion script. All parameters
may be passed as cmd args or via related ENV Vars for convenience. So you can for example export WAMP Router URI
and realm to the environment and provide only wamp action parameters via cmd.

Check the docs for more info!

As usual, the release includes the latest dependencies updates and security fixes and a bit of refactoring and improvements by @lucasrmendonca

v7.0.2

17 Jan 18:25

Choose a tag to compare

What's inside?

  • Fix: missing transpiled version in package build during publishing.
  • More refactoring, improvements, and optimizations. Thnx @lucasrmendonca for your contributions!

v7.0.1

09 Jan 23:12

Choose a tag to compare

What's inside?

  • Fix: reject connection promise if wampy receives ABORT message during WAMP handshake
  • More refactoring, improvements, and optimizations. Thnx @lucasrmendonca for your contributions!

v7.0.0

24 Dec 13:53

Choose a tag to compare

The time has come! Into the New Year with the new version!

v7 is a major release I was working on for a couple of months.

What's new:

  • CBOR Serializer (based on cbor-x lib)
  • Payload Passthru Mode WAMP Advanced Profile feature
  • Cryptosign Authentication (via plugin)
  • New authorization options and flows in general
  • Transitioned to async/await API approach
  • Different errors across whole sources are now standardized and exported
  • MsgPack Serializer now is based on msgpackr lib
  • Allows to subscribe to the same topic URI but with different options so there will be a few server subscriptions and different handlers will be called

Also:

  • Updated all the docs to be in sync with the new API
  • Added v6 → v7 migration guide
  • Published a GitBook as a more convenient way to read the API documentation
  • More tests coverage
  • Some refactoring, improvements and optimizations. Thnx @lucasrmendonca for your contributions!

v7.0.0-rc2

07 Oct 21:43

Choose a tag to compare

v7.0.0-rc2 Pre-release
Pre-release

Refactored error handling. Added Error classes for all errors that wampy can throw.

v7.0.0-rc1

05 Oct 19:45

Choose a tag to compare

v7.0.0-rc1 Pre-release
Pre-release

v7 is a huge rewrite of the whole project.
Maybe 7+ years age method chaining was okay, but for now await/async sugar is everywhere,
and it is pretty neat to use it.

So most of the public methods were rewritten to async/await style and now return promises.

WARNING: v7 is not backward compatible with v6.x!

Please refer to the Migration guide for updating.

v6.4.2

05 Jan 17:39

Choose a tag to compare

This is technical release:

  • Npm audit security fixes
  • Updated dependencies