composition-api

Composition API hooks for Nuxt 2.

MIT License

Downloads
189.7K
Stars
698
Committers
34

Bot releases are visible (Hide)

composition-api - Release 0.7.4

Published by danielroe over 4 years ago

0.7.4 (2020-05-28)

Bug Fixes

composition-api - Release 0.7.3

Published by danielroe over 4 years ago

0.7.3 (2020-05-27)

Bug Fixes

composition-api - Release 0.7.2

Published by danielroe over 4 years ago

0.7.2 (2020-05-27)

Bug Fixes

  • allow custom globalContext and globalNuxt (#80) (8b8d7eb)
  • reduce chance of $fetch/$fetchState collision (534dc43), closes #74
  • sanitise ssrRefs (fcb4a9d)
composition-api - Release 0.7.1

Published by danielroe over 4 years ago

0.7.1 (2020-05-19)

Bug Fixes

  • register composition api before layouts (93024a8), closes #64 #65
composition-api - Release 0.7.0

Published by danielroe over 4 years ago

0.7.0 (2020-05-14)

⚠ BREAKING CHANGES

  • route, query, from and params are now returned as refs from useContext, which was probably what you wanted anyway.

Bug Fixes

  • make route-related context reactive (91292c8)
composition-api - Release 0.6.3

Published by danielroe over 4 years ago

0.6.3 (2020-05-11)

Features

composition-api - Release 0.6.2

Published by danielroe over 4 years ago

0.6.2 (2020-05-11)

Features

  • use appropriate core-js polyfill for ie11 (5281e66)

Bug Fixes

  • insert composition api plugin before others (2ef608b)
  • reduce meta type definitions (fa9efa3)
  • revert data sanitisation (1a4bbed)
  • sanitise ssrRef data (d86fdb2)
composition-api - Release 0.6.1

Published by danielroe over 4 years ago

0.6.1 (2020-05-10)

Features

  • allow ssrRef to work outside of setup (#46) (6a67c05)

Bug Fixes

  • improve default values for useMeta (f3024e1)
composition-api - Release 0.6.0

Published by danielroe over 4 years ago

0.6.0 (2020-05-09)

⚠ BREAKING CHANGES

  • useHead() no longer exists and instead useMeta can be used directly within setup, as long as a minimal head: {} is defined in the component options.

Note: Work has already begun on composable hooks for vue-meta that will mean we don't need to define a minimal head object: see here.

Features

  • allow automatic injection of head() into components (#43) (f1bda39), closes #41
  • return $fetch and $fetchState from useFetch (c45177f)
composition-api - Release 0.5.0

Published by danielroe over 4 years ago

0.5.0 (2020-05-08)

Features

Bug Fixes

  • address cross-request state pollution (b7248c7)
  • remove no-setup ssrRefs until solution (707fb25)

Performance Improvements

composition-api - Release 0.4.1

Published by danielroe over 4 years ago

0.4.1 (2020-05-08)

Bug Fixes

  • hotfix so ssrRefs work in production (7c15c92), closes #28
composition-api - Release 0.4.0

Published by danielroe over 4 years ago

0.4.0 (2020-05-08)

⚠ BREAKING CHANGES

  • withContext is now deprecated

Features

  • add useContext helper function (9752a61), closes #29
  • add composition api helper to interact with head() (#35) (b7467e2)

Bug Fixes

  • correctly type ssrRef with factory function (7b734ac)
  • make useContext API available (#39) (dc4f028)
composition-api - Release 0.3.2

Published by danielroe over 4 years ago

0.3.2 (2020-05-04)

Bug Fixes

  • purge non-stringifiable values from ssrRefs (ac199b1)
composition-api - Release 0.3.1

Published by danielroe over 4 years ago

0.3.1 (2020-05-04)

Bug Fixes

  • set ssrContext through plugin (3ba85f5)
  • use own onServerPrefetch for useFetch (60e23dd)
composition-api - Release 0.3.0

Published by danielroe over 4 years ago

0.3.0 (2020-05-04)

Features

  • add ssrRef capability for automatic SSR support (#23) (f27fae8)

Reverts

  • Revert "docs: remove live demo link (Now is rate-limiting deploy)" (bbd8661)
composition-api - Release 0.2.3

Published by danielroe over 4 years ago

0.2.3 (2020-05-01)

Bug Fixes

  • respect fetchOnServer option (368f33d)
composition-api - Release 0.2.2

Published by danielroe over 4 years ago

0.2.2 (2020-04-30)

Bug Fixes

  • correctly match $fetch and $fetchState features (e2d0442)
composition-api - Release 0.2.1

Published by danielroe over 4 years ago

0.2.1 (2020-04-30)

Bug Fixes

  • require @vue/composition-api (f81182e)
composition-api - Release 0.2.0

Published by danielroe over 4 years ago

0.2.0 (2020-04-30)

Features

  • enable this to be used as a nuxt module (#13) (9c5dee7)
composition-api - Release 0.1.5

Published by danielroe over 4 years ago

0.1.5 (2020-04-29)

Bug Fixes