npm @vueuse/core 4.2.0-beta.2
v4.2.0-beta.2

latest releases: 10.9.0, 10.8.0, 10.7.2...
3 years ago

Features

BREAKING CHANGES

  • useWebSocket: rework useWebSocket (#326) (4013107), closes #326
    • the ws option in the return of useWebSocket is not a ref instead of plain WebSocket instance
    • useWebSocket's send will now buffers data before the connection established instead of discarding sliently
    • useWebSocket's returned state is renamed to status
  • Switch from umd to iife build for CDN, fix #329 (8f76f3a), closes #329
    • CDN build switched from umd to iife. Then entry renamed from dist/index.umd.js to dist/index.iife.js.
    • The global names of packages are now extend on VueUse. VueUseShared, VueUseFirebase is no longer appliable.
    • vue-demi is now inlined with CDN build.
    • CDN usage is now like:
<script src="https://unpkg.com/@vueuse/shared"></script>
<script src="https://unpkg.com/@vueuse/core"></script>

Don't miss a new core release

NewReleases is sending notifications on new releases.