Skip to content

Releases: Kong/swrv

v0.4.0 composition-api 0.6.x support, backward compatibility

19 Jun 23:30
Compare
Choose a tag to compare

Added fix to watcher for support with 0.6.x and was able to get 0.5.x backwards compatibility support and added tests to CI so the source code and npm versions don't have to split.

Fixes #46

🖖🏻 3️⃣ Vue 3 support

10 Jun 01:46
Compare
Choose a tag to compare

v0.3.2 bugfix

01 May 20:13
Compare
Choose a tag to compare

Fixes #38 where nuxt hydration wasn't working with function keys

v0.3.1 bugfixes, add serverTTL, default TTL to 5min, improve types

30 Apr 14:01
Compare
Choose a tag to compare
  • add serverTTL #36
  • default TTL to 5min so that cache doesn't hang around indefinitely on the server #36
  • improve types #33

Welcome a new contributor @axelhzf, thanks for his great bug reporting and code contributions!

v0.3.0 bugfixes, peer dependency update

07 Apr 20:50
Compare
Choose a tag to compare

Fixed race condition on refs being updated when the cache key is updated #24
Update required peer dependency to be 0.5.0.

0.2.0

06 Mar 20:01
d543cba
Compare
Choose a tag to compare

Changelog:

  • mutate to trigger revalidation on all swrv hooks with associated key.

See #17 for more details

0.1.1

16 Feb 16:57
Compare
Choose a tag to compare

This is a retag of 0.1.0-16, since we should move out of pre-release versioning and move into <1.0.0.

swrv is being used to prototype data fetching in apps internally at kong, but @atinux helped get this release up with a working nuxt demo and wrote most of the code to get it working. Thanks Sébastien! We also have a logo now thanks to @chuca so excited to see swrv start to get some collaborators!

Nuxt Demo:
https://codesandbox.io/s/nuxt-swrv-demo-xdfre