mirror of
https://github.com/vuejs/apollo.git
synced 2025-12-08 18:02:09 +00:00
20 KiB
20 KiB
4.0.0-alpha.18 (2022-06-23)
Bug Fixes
- apollo components registered twice, fix #1336 (3ad3ab3)
- change data init, related to #1350 (b94bdf7)
- Make calls of the refetch() & fetchMore() trigger loading state (#1366) (a32fe9c)
- vue-demi updated (#1373) (e959a2c)
4.0.0-alpha.17 (2022-05-03)
Bug Fixes
- $apollo null error if smar obj is destroyed but has throttled/debounced calls (d6d4da1)
- added client options to error policy (#1318) (61261bc)
- avoid onServerPrefetch warning (#1281) (cf89b25)
- remove console.log (a79b790)
- subscriptions array leak (#1248) (f31fa15)
- useQuery loading and debounce issues (#1313) (082acf9), closes #1235 #1271
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
- upgrade dependencies (0595bd3)
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
- importing react -_-' (f53bcde)
- mixin: use unmounted instead of destroyed (335d538)
- reference error, when using useQuery (#1218) (08b6b0e)
- target es2018, closes #1220 (e496ba2)
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
4.0.0-alpha.12 (2020-10-17)
Features
4.0.0-alpha.11 (2020-10-17)
Bug Fixes
- clean imports (97be1e2)
- error log: only import graphq printer, closes #994 (5eb9506)
- more updates to apollo-client 3 (fae0229)
- resolveClient use id arg (4a9e959)
- ssr: code broken by eslint fix (f1279d8)
- support Vue 3 vm.root (#1040) (957aae3)
- unresolved promises in ssr (#940) (#1069) (8a71443)
- useApolloClient: add id arg to resolveClient (72d7402)
- useApolloClient: clientId arg not working, closes #1023 (65d1984)
- useEventHook param is not optional (#1027) (1d2f4f3)
- useQuery: use nextTick to support Vue 3 (#1041) (c9ee0ec)
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
- use getCurrentResult() (d64b0c4)
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
- components: main files (f23d37c)
- deps (f289394)
- enabled (afbb5bd)
- ts error (ab71f87)
- ts: types file name gql.ts to gql.d.ts (#864) (bae6f3c)
- unused import (786dc5b)
- use const (114881d)
- useMutation: allow dyanmic GraphQL document (9a595b4)
- useQuery: do not use finally (1bf9552)
- useQuery: immediate result (b4df941)
- useQuery: isEnabled (e930f0c)
- useQuery: loading status on error (93e6c5b)
- useQuery: resubscribe after error (8fcf54d)
- useQuery: result when error occurs (d7f14b3)
- useSubscription: don't start on server (4c72ff2)
- useSubscription: enabled (52b5188)
- useSubscription: loading status on error (a5dee52)
Features
- @vue/apollo-util pkg + error log utils (f17ae22)
- composition: debounce + throttle (30267b2)
- improved subscribeToMore (6d5ce42)
- useLoading (008e5f3)
- useMutation (c8a7eca)
- useMutation: called ref (bfb5d08)
- useMutation: onDone & onError (74ffbd0)
- useQuery (377f421)
- useQuery: fetchMore (d73eac8)
- useQuery: networkStatus (e57eb7d)
- useQuery: onResult & onError (fac6fea)
- useQuery: prefetch option (151fbd2)
- useQuery: refetch (e77518a)
- useQuery: SSR support (5d3b7dc)
- useSubscription (41b256f)
- useSubscription: onResult, onError (d4b18db)
- wip useLoading (caa9726)