Stale-while-revalidate data fetching for Vue
devDependencies
Prevent retrying on error if the component has been unmounted. Resolves #218.
Update swrv
for Vue 3 officially on the master
branch and release 1.0.0
devDependency
to ^3.2.40
and the Vue peerDependencies
to >=3.2.26 < 4
This PR will be merged into the master
branch.
As for package versioning:
1.x
under the swrv@latest
tag on npm.0.10.x
will be available under the swrv@v2-latest
tag on npm (this matches the vue@v2-latest
tag for the [email protected]
version)0.9.6
will be available under the swrv@legacy
tag on npm so anyone that cannot upgrade to Vue 2.7 can install (this matches the vue@legacy
tag for the [email protected]
version)Update swrv
for Vue 2.7
devDependency
to ^2.7.x
and the Vue peerDependencies
to ^2.7.0
@vue/composition-api
peer dependency@vue/cli-*
dependencies to 5.x
test-compat-all.sh
2.7
bumped the minor version to 0.10.x
. We realize that this PR breaks SSR support and the major should actually be bumped; however, with the widespread usage of the beta
branch we don't want to potentially break downstream projects that are already pointing to the 1.x
major version.
0.9.6
release on npm will be tagged with legacy
so anyone that cannot upgrade to Vue 2.7 can install with yarn add swrv@legacy
(this matches the vue@legacy
tag for the [email protected]
version)next
branch the main branch in a future release, it will again bump the major version to 1.x
Releasing alpha (testing) version of #304
Remove staterefs from ref cache on unmount (#231)
Thanks first time contributor @jefrailey!
From #195
Other changes: