vue-socket.io-extended

Socket.io bindings for Vue.js and Vuex (inspired by Vue-Socket.io)

MIT License

Downloads
18.7K
Stars
629
Committers
15

Bot releases are visible (Hide)

vue-socket.io-extended - v5.0.0-alpha.5 Latest Release

Published by github-actions[bot] over 3 years ago

5.0.0-alpha.5 (2021-05-14)

Bug Fixes

vue-socket.io-extended - v4.2.0

Published by github-actions[bot] over 3 years ago

4.2.0 (2021-04-25)

Features

  • mark library as free of side effects to improve tree sharking (75eae17)
vue-socket.io-extended - v5.0.0-alpha.4

Published by github-actions[bot] over 3 years ago

5.0.0-alpha.4 (2021-04-02)

Bug Fixes

  • deps: update dependency @types/socket.io-client to v1.4.36 (c691df9)
  • deps: update vuex to v3.6.2 and fix tests (6e03f74)

Features

  • observer: introduce option, allowing to extract even name from event data. Especially useful for 3rd party APIs. Kudos @amiceli for the feature (b903b08)
vue-socket.io-extended - v4.1.0

Published by github-actions[bot] over 3 years ago

4.1.0 (2021-03-24)

Features

  • observer: introduce eventMapping option, allowing to extract even name from event data. Especially useful for 3rd party APIs. Kudos @amiceli for the feature (b903b08)
vue-socket.io-extended - v4.0.8

Published by github-actions[bot] over 3 years ago

4.0.8 (2021-03-22)

Bug Fixes

  • deps: update vuex to v3.6.2 and fix tests (6e03f74)
vue-socket.io-extended - v4.0.7

Published by github-actions[bot] over 3 years ago

4.0.7 (2021-03-12)

Bug Fixes

  • deps: update dependency @types/socket.io-client to v1.4.36 (c691df9)
vue-socket.io-extended - v5.0.0-alpha.3

Published by github-actions[bot] over 3 years ago

5.0.0-alpha.3 (2021-01-18)

Bug Fixes

  • build: exclude vue-class-component from the build (d978515)

Features

  • dedicated entrypoint for the decorator (df83685)

BREAKING CHANGES

  • Socket decorator is no longer exported out of the root entry point of vue-socket.io-extended, use the separate entrypoint instead:
- import { Socket } from 'vue-socket.io-extended'
+ import Socket from 'vue-socket.io-extended/decorator'
vue-socket.io-extended - v5.0.0-alpha.2

Published by github-actions[bot] almost 4 years ago

5.0.0-alpha.2 (2021-01-17)

Bug Fixes

  • make vue external dependency (33f0452)
  • rollup warning about missing global variable name (vue) (1071b3a)

Features

  • transpile only for browsers with native proxy support due to current Vue 3 limitation (731766a)
vue-socket.io-extended - v5.0.0-alpha.1

Published by github-actions[bot] almost 4 years ago

5.0.0-alpha.1 (2021-01-17)

Features

  • Initial implementation of Vue 3 support (81babd2), closes #507. Kudos @jnt0r for the initiative and the implementation

BREAKING CHANGES

  • Vue 2 is not supported at the moment
vue-socket.io-extended - v4.0.6

Published by github-actions[bot] almost 4 years ago

4.0.6 (2021-01-12)

Bug Fixes

  • deps: update dependency @types/socket.io-client to v1.4.35 (4170d4e)
vue-socket.io-extended - v4.0.5

Published by github-actions[bot] about 4 years ago

4.0.5 (2020-09-29)

Bug Fixes

  • deps: update dependency @types/socket.io-client to v1.4.34 (6d4fe36)
vue-socket.io-extended - v4.0.4

Published by github-actions[bot] about 4 years ago

4.0.4 (2020-07-25)

Bug Fixes

  • deps: update vue-class-component to v7.2.5 (d5b450f)
vue-socket.io-extended - v4.0.3

Published by github-actions[bot] over 4 years ago

4.0.3 (2020-05-18)

Bug Fixes

  • deps: update dependency @types/socket.io-client to v1.4.33 (abb53db)

Other changes

  • chore: init semantic release of the package
vue-socket.io-extended - v4.0.2

Published by probil over 4 years ago

Docs

  • add instructions for quasar framework (#452)
  • fix typo (#439)

Chores

  • update dependency vue to v2.6.11
  • update dependency vue-class-component to v7.2.3
  • update dependency eslint to v7
  • update dependency rollup to v2.9.1
  • update dependency jest to v26.0.1
  • update dependency babel to v7.9.6
  • update dependency @vue/test-utils to v1.0.2
vue-socket.io-extended - v4.0.1

Published by probil almost 5 years ago

Fixes

  • Fix Vue plugin export in UMD build (#419, thanks @mila76 for finding)
vue-socket.io-extended - v4.0.0

Published by probil about 5 years ago

Features

  • Reactive properties this.$socket.connected and this.$socket.disconnected support (Closes #17) Docs
  • ECMAScript / TypeScript @Socket() decorator support (Closes #357) Docs

Bug fixes

  • Proper unsubscribing from dynamic listeners and non-dynamic listeners #408 #407 #400

Breaking changes

  • socket.io-client instance moved from this.$socket to this.socket.client. Please check usages before upgrading
- this.$socket.emit('anything');
+ this.$socket.client.emit('anything');
  • Dynamic socket event listeners API change (no more relies on Proxy API)
- this.$options.sockets.event_name = (payload) => {
-  console.log(payload)
- });
+ this.$socket.$subscribe('event_name', (payload) => {
+  console.log(payload)
+ });
  • If you are using library in CommonJS environment you might need to change the usage:
- const VueSocketIOExt = require('vue-socket.io-extended');
+ const VueSocketIOExt = require('vue-socket.io-extended').default;
const io = require('socket.io-client');

const socket = io('http://socketserver.com:1923');

Vue.use(VueSocketIOExt, socket);

Other changes

  • IE 11 fully supported now
  • No more security vulnerabilities in the dev dependencies
  • Bundle now properly transpiled to ESM
  • Stop polyfilling dead browsers (e.g. IE 10)
  • Twitter feed example now lives in the repo (more examples soon)
vue-socket.io-extended - v3.2.2

Published by probil over 5 years ago

Bug Fixes

  • deps: update dependency camelcase to v5.2.0 (89ea893)
  • deps: update dependency camelcase to v5.3.0 (cefb582)
  • deps: update dependency camelcase to v5.3.1 (f6dc7a4)
  • mixin: fix issue #400, unable to unsubscribe from dynamic listener (d2ccf99) thanks to @jonakirke94

Chores

  • Rebuild with latest dependencies
vue-socket.io-extended - v3.2.1

Published by probil over 5 years ago

Bug Fixes

  • Syntax error in IE11 (closes #253 and #238), thanks to @barrymckay397

Chores

  • Rebuild with latest deps
  • Moved to babel.config.js
vue-socket.io-extended - v3.2.0

Published by probil almost 6 years ago

Bug Fixes

  • core: correct option merging strategy for sockets prop (30b728b), closes #189
  • build: fix error "Error: Farm is ended, no more calls can be done to it" (2b4e5a8)

Features

  • basic TypeScript types (a91c343), closes #52, thanks to @TotomInc
vue-socket.io-extended - v3.1.0

Published by probil about 6 years ago

Features

You can now access default plugin options if you need it (e.g. re-use default eventToActionTransformer function):

import VueSocketIOExt from 'vue-socket.io-extended';
VueSocketIOExt.defaults // -> { actionPrefix: '...', mutationPrefix: '...', ... }
  • options: make default options read-only (2d9c23e)
  • options: move default options to separate file and export it (2ddbfad)
  • options: move export to plugin field (instead of named export) (7f4960b)
Package Rankings
Top 2.02% on Npmjs.org
Top 6.67% on Proxy.golang.org
Badges
Extracted from project README
Stand With Ukraine FOSSA Status
Related Projects