wampy.js

Feature-rich lightweight WAMP (Web Application Messaging Protocol) Javascript implementation

MIT License

Downloads
2.4K
Stars
290
Committers
16
wampy.js - v7.1.1 Latest Release

Published by KSDaemon 9 months ago

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.
wampy.js - v7.1.0

Published by KSDaemon over 1 year ago

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

wampy.js - v7.0.2

Published by KSDaemon almost 2 years ago

What's inside?

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

Published by KSDaemon almost 2 years ago

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!
wampy.js - v7.0.0

Published by KSDaemon almost 2 years ago

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!
wampy.js - v7.0.0-rc2

Published by KSDaemon about 2 years ago

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

wampy.js - v7.0.0-rc1

Published by KSDaemon about 2 years ago

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.

wampy.js - v6.4.2

Published by KSDaemon almost 3 years ago

This is technical release:

  • Npm audit security fixes
  • Updated dependencies
wampy.js - v6.4.1

Published by KSDaemon about 3 years ago

Forgot to make a prod version. It is highly recommended to upgrade to this version if you have installed 6.4.0

wampy.js - v6.4.0

Published by KSDaemon about 3 years ago

This release includes:

  • Updated dependencies and security audit fixes
  • Added option to disable reconnect limits
  • Added details to success callbacks (see docs)
  • Some docs updates and refactoring
wampy.js - v6.3.1

Published by KSDaemon over 3 years ago

Patch release with security fixes and updated msgpack.

wampy.js - v6.3.0

Published by KSDaemon almost 4 years ago

Actually, it's not a real minor release, but we added publisher identification to subscriber features, so it should be marked explicitly.
Also updated docs to latest 6.x version

wampy.js - v5.0.2

Published by KSDaemon almost 5 years ago

Small update to v5 branch:

  • Fixed msgpack support in browser (thnx @penenin)
wampy.js - v6.2.2

Published by KSDaemon over 5 years ago

This is minor release, providing few fixes and improvements.

  • Fixed _isPlainObject check (thnx @danelowe)
  • Temporary fix for React Native environment (see #107 for details)
wampy.js - v6.2.1

Published by KSDaemon almost 6 years ago

Minor update with some additions and fixes:

  • Pass welcome details to onConnect() and onReconnectSuccess() (thanks to @azamat-sharapov)
  • Updated docs with TLS examples
  • Fixed bug in call() when no payload passed
wampy.js - v6.2.0

Published by KSDaemon over 6 years ago

This release include options for specifying additional HTTP headers and tls.connect options when using in node.js enviroment

wampy.js - v6.1.0

Published by KSDaemon almost 7 years ago

Welcome new release!

6.1.0 version was extended to support more WAMP features and refactored.

This release includes:

  • Progressive results RPC registration (#50)
  • Fixed URI validation (allowing one-leter per part uris) (#54)
  • Dropped bower support
  • Added call trust levels to supported features
  • Added publication trust levels to supported features
  • Allowed to subscribe and call meta api uris (begining with wamp.)
  • Implemented patter-based subscribe
  • Implemented patter-based RPC registration
  • Implemented Shared RPC Registration

Also, thanks to @421p for creating automated integration tests with crossbar in travis.

wampy.js - v6.0.0

Published by KSDaemon over 7 years ago

Welcome new release!

6.0.0 version was extended and refactored, so there are backward incompatible changes. Please refer to migrating guide.

This release include:

  • all API callbacks receive one argument, which is an object, containing all necessary data
  • all API error callbacks receive one argument, which is an object, containing all necessary data
  • Prevent wampy from trying to connect to router on instance creation if no url provided
  • New error message "Serializer with unsupported type provided!"
  • Refactored serializer switching based on server response
  • Fixed attribute naming in invocation exception logic
  • various bugfixes and improvements
wampy.js - v5.0.1

Published by KSDaemon over 7 years ago

Small, but important update.

  • Session request IDs now are incremented by 1 beginning with 1 due to WAMP spec
  • Fixed error, when wampy does not analize server choosed ws protocol
wampy.js - v5.0.0

Published by KSDaemon over 7 years ago

This is huge update! Many improvements, code restructuring and refactoring, including some bugfixes.

Attention! There are some backward incompatibilities. Please read Migrating.md for more info.

  • Registered PRC now can receive 3 arguments (as described in WAMP spec)
  • Fixed window scheme check before it's actually needed (issue #28)
  • Updated to WAMP spec: requestIDs are in range (0 - Number.MAX_SAFE_INTEGER)
  • Fixed error: null value in argList during rpc invocation (issue #29)
  • Detailed docs about error handling during rpc processing (thanks to @samson84)
  • Overall code refactoring and restructuring (thanks to @421p)
  • Added docs about using custom serializers
  • Removed standalone browser version from repo/package