Releases: knalli/angular-vertxbus
2.0.0-beta.5
- service: fix possible internal npe on de-register (53e5cfb5)
1.1.4
2.0.0-beta.4
Bug Fixes (already 1.1.x)
Features
- service:
- wrapper: add
wrapper.reconnect(true)allowing a reconnect asap (bd0cc4a3)
Breaking Changes
- The arguments of vertxEventBusService.send() have
been restructured.
Instead of send(address, message, timeout, expectReply) it is now
send(address, message, {timeout, expectReply}).
Reasons for this improvement of api:
- Both
addressandmessageare required, but the other ones are only
optional. - Long arguments are not a good api design
- Using default timeout does not require an
undefinedargument or
even a missplacednullor0.
(7534034d)
- new baseline ES5 + polyfill for older browsers
Due switching to BabelJS, the base requirement is an "ES5" environment.
Referring https://babeljs.io/docs/usage/caveats/, you should have es5-shim in
mind in case of supporting such old browsers.
- removal of UMD wrapper
Due ditching UMD and the RequireJS artifact (in pre v2, found in dist/requirejs/),
probably you will have to declare vertxbus yourself. I.e. using RequireJs this will
require an additional dependency for these. As soon as vertxbus & SockJS (since 1.0.0 beta
they are already) will switch from being only injected globally, this module will add support
again. So long, this is more likely the way to deal with both worlds (the artifact have to be
compatible w/o any module loader).
2.0.0-beta.2
2.0.0-beta.1
2.0.0-beta.0
The 2.0.0 release has only internal changes which are so fundamental I've making a big version change.
- No more CoffeeScript, welcome BabelJS (ES6)
- Using ES6 native module pattern, building artifact with browserify (ditching UMD again, because it is now CJS compatible)
- Eliminating
tmp/because of using source files directly in Karma tests (using browserify/babelify on demand preprocessors) - Add Source Maps
This is a pre release so 2.0.0-beta.0 is available via
npm install angular-vertxbus@betabower install angular-vertxbus#^2.0.0-beta
The standard latest version is still the current stable release 1.1.3!
Note: The latest additions of the 1.x releases have not made in the 2.x branch. #50 contains a checklist of these open changes.