Files
apollo/CHANGELOG.md
T
Guillaume Chau 6a94797dfc v4.0.0-beta.7
2023-06-13 16:09:03 +02:00

24 KiB

Changelog

v4.0.0-beta.7

🩹 Fixes

  • ssr: Hydration mismatch with keepPreviousResult (87188c4)

❤️ Contributors

v4.0.0-beta.6

🚀 Enhancements

📖 Documentation

  • ProvideApolloClient (#1442)

🏡 Chore

  • Update graphql to 16 in repo (4dcfa20)
  • Typo in test component file (bfca616)
  • Update lockfile version (2077502)

Tests

❤️ Contributors

v4.0.0-beta.5

🚀 Enhancements

  • UseLazyQuery load returns boolean to make is easier to refetch (dcb1768)
  • ts: Update types to account for changes in TypeScript 4.8 (#1454)
  • Allow global tracking outside of components (5967e16)

🩹 Fixes

  • Don't call variables if query is disabled + fix enabling race conditions, fix #1243, fix #1422 (#1243, #1422)
  • Events not registered in case of immediate trigger, fix #1154 (#1154)
  • @vue/apollo-composable ESM settings, fix #1462 (#1463, #1462)
  • Avoid multiple on error calls without usage of errorPolicy 'all' (#1461)
  • Ssr export paths, fix #1469 (#1469)
  • Initialize currentDocument early, fix #1325 (#1325)
  • ts: Allow null on userLazyQuery load fn, fix #1386 (#1386)
  • ssr: Handle result/error set before serverPrefetch call, fix #1429 (#1429)

📖 Documentation

  • Subscriptions configuration docs updated to describe graphql-ws configuration. (#1449)

🏡 Chore

  • Update lockfile to v6.0 (81ea32c)
  • Update sheep/release-tag (cf7917e)

Tests

🤖 CI

❤️ Contributors

4.0.0-beta.4 (2023-02-22)

Features

4.0.0-beta.3 (2023-02-21)

Bug Fixes

  • ssr: error not bubbling up (18fe206)

4.0.0-beta.2 (2023-02-03)

Bug Fixes

4.0.0-beta.1 (2022-10-05)

Bug Fixes

  • composable: Remove immediate result logic (#1388) (fc98307)

4.0.0-alpha.20 (2022-07-19)

Reverts

  • Revert "fix(options): use beforeUnmount instead of unmounted" (8d51475)

4.0.0-alpha.19 (2022-07-18)

Bug Fixes

  • options: use beforeUnmount instead of unmounted (9726e0a)
  • Root instance not found when using with Vue 2.7 (#1379) (cb0ab57)
  • ssr: mock $apollo after serverPrefetch, fix #1297 (46ea781)

4.0.0-alpha.18 (2022-06-23)

Bug Fixes

4.0.0-alpha.17 (2022-05-03)

Bug Fixes

Features

  • allow providing multiple apolloClients outside of setup/vue context in vue-apollo-composable (#1340) (64491ce)
  • deprecate useResult (0e9fb48)
  • update vue-demi (af9f20f)

4.0.0-alpha.16 (2021-11-28)

Bug Fixes

  • destruction of $apollo in vue-apollo-option (#1273) (e2dad14)
  • duplicate call to catchError, closes #1133 (eaf1da7)
  • improve peerDeps declaration, closes #1263 (3c8545b)
  • useMutation outside setup (#1262) (9b3af01)
  • useQuery: improve error handling with errorPolicy set to 'all' (04ab9f6)
  • useSubscription outside of component (a37a560)

Features

4.0.0-alpha.15 (2021-09-20)

Bug Fixes

  • apollo-client 3.4 FetchMoreQueryOptions, closes #1252 (e0786ac)
  • don't use internal merge strat, closes #1229 (e1026a3)
  • remove $isServer, closes #1241 (1180679)
  • smart apollo: ensure SmartQuery variables still function when watched expression evaluated (#1161), closes #991 (b67ff78)
  • SubscribeToMore: use beforeUnmount (a90840c)
  • types: add throttle and debounce options (#1258) (7ffb5f8), closes vuejs#335
  • useApolloClient: save current client in closure, closes #1249 (fb18286)
  • useQuery: reset error on refetch/fetchMore, closes #1105 (ea123fa)
  • useResult: data => data deep required & non-nullable, closes #1250 (4475805)
  • vue peerDependencies, closes #1234 (a35b04f)

4.0.0-alpha.14 (2021-07-19)

Bug Fixes

Features

4.0.0-alpha.13 (2021-07-04)

Bug Fixes

  • build (f81f2d4)
  • composable: Clear previous error when recieving a result (#1120) (689c284)
  • don't track loading outside of vm, closes #1145 (35940d1)
  • remove ApolloProvider.provide (40ddcb9)
  • useQuery: apply partial result on start (62fa842)

Features

  • composable: Type MutateOverrideOptions (4c51cb4)
  • options & components API for Vue 3 (8a70c95)

4.0.0-alpha.12 (2020-10-17)

Features

4.0.0-alpha.11 (2020-10-17)

Bug Fixes

Features

4.0.0-alpha.10 (2020-07-27)

4.0.0-alpha.9 (2020-07-27)

Bug Fixes

  • Be able to overrid variables in mutate (#946) (1867e73)
  • ts: allow undefined for optional variables (#962) (7495987)
  • Update @vue/composition-api to v0.6.1 (#1000) (e8e8f54)

4.0.0-alpha.8 (2020-04-02)

Bug Fixes

  • ts: Add typings for late variables in useMutation (#925) (576b495)
  • ts: mutate() types (5aaa47b)
  • ts: useMutation types (a9d9501)

4.0.0-alpha.7 (2020-02-16)

Bug Fixes

4.0.0-alpha.6 (2020-01-22)

4.0.0-4.0.0-alpha.6.0 (2020-01-22)

Bug Fixes

  • compare serialized variables to prevent unnecessary fetch (3a473e2)
  • ts: Add full test coverage for TypeScript hook types & fix missing overloads (#895) (32d1f75)
  • useMutation: "mutate" optional arguments (9d64fca)
  • useMutation: useMutation not taking a Ref (0ad08c7)
  • useSbuscription: currentOptions undefined error, closes #903 (fb1565d)

4.0.0-alpha.4 (2019-12-17)

Bug Fixes

  • loading tracking not cleanup correctly on component unmount (dbb1c09)
  • type: useResult type inferring 'any' (#872) (9edcf2f)
  • use onBeforeUnmount (9c4b6b0)

4.0.0-alpha.3 (2019-12-04)

Bug Fixes

  • enabled option for useQuery & useSubscription (947ceb1)
  • useQuery: throttle & debounce not being applied initially (280301f)

4.0.0-alpha.2 (2019-12-04)

Bug Fixes

  • useXXXLoading() oldValue being undefined and triggering watcher (ebea61e)

Features

  • useMutation: overrideOptions (3921587)

4.0.0-alpha.1 (2019-12-02)

Bug Fixes

Features