Commit Graph

237 Commits

Author SHA1 Message Date
Guillaume Chau cbe7df7a01 docs: fix highlight 2021-11-18 19:28:45 +01:00
Guillaume Chau ac0b79430e docs: add comment warning
https://github.com/vuejs/vue-apollo/discussions/1283
2021-11-18 14:31:35 +01:00
Erik Gävert e2dad14ec8 fix: destruction of $apollo in vue-apollo-option (#1273) 2021-11-01 11:41:15 +01:00
d18n 9b3af018f5 fix: useMutation outside setup (#1262) 2021-09-21 11:12:02 +02:00
Guillaume Chau e952766bcf v4.0.0-alpha.15 2021-09-20 20:34:50 +02:00
Guillaume Chau a76d25901b test(e2e): fix error policy assertion 2021-09-20 20:32:53 +02:00
Guillaume Chau 1f8d74276b test(types): fix 2021-09-20 20:24:42 +02:00
Guillaume Chau 696fffab77 docs: fix custom containers not working 2021-09-20 20:13:31 +02:00
Guillaume Chau 84d4cd1165 docs: fix edit links 2021-09-20 19:56:47 +02:00
Guillaume Chau ad3f1dd11d docs: update deps 2021-09-20 19:31:38 +02:00
Guillaume Chau 60c12c06f3 docs: update composition api imports, closes #1136 2021-09-20 19:28:43 +02:00
Guillaume Chau ea676f8f17 docs: note about vue-demi 2021-09-20 19:23:19 +02:00
Guillaume Chau ea123fa414 fix(useQuery): reset error on refetch/fetchMore, closes #1105 2021-09-20 19:19:36 +02:00
Guillaume Chau a90840c288 fix(SubscribeToMore): use beforeUnmount 2021-09-20 19:17:57 +02:00
Guillaume Chau e1026a344f fix: don't use internal merge strat, closes #1229 2021-09-20 19:15:14 +02:00
Guillaume Chau fb18286177 fix(useApolloClient): save current client in closure, closes #1249 2021-09-20 19:07:17 +02:00
Guillaume Chau 9761471ce0 docs: update installation 2021-09-20 19:02:18 +02:00
Guillaume Chau 99a3865ceb docs: compatibility nodes 2021-09-20 19:00:16 +02:00
Guillaume Chau 1180679236 fix: remove $isServer, closes #1241 2021-09-20 18:50:13 +02:00
Simon Garner 7ffb5f8c9d fix(types): add throttle and debounce options (#1258)
Fixes vuejs#335

These options were missing from the `VueApolloQueryDefinition` interface.
2021-09-20 18:23:11 +02:00
Andrew Luca 09d66ed801 chore: add repository for all packages.json (#1259)
> If the package.json for your package is not in the root directory (for example if it is part of a monorepo), you can specify the directory in which it lives:
> ```json
> "repository": {
>   "type" : "git",
>   "url" : "https://github.com/facebook/react.git",
>   "directory": "packages/react-dom"
> }
> ```
> — https://docs.npmjs.com/cli/v6/configuring-npm/package-json#repository

I use a lot https://njt.vercel.app/ to jump to different packages information,
and with this PR we can know exactly what package in what folder lives

Made the changes with a script to make it easier 🙂

https://gist.github.com/iamandrewluca/5cc85b56a595056f0099d04ed6dd8a79
2021-09-20 18:21:02 +02:00
Guillaume Chau b67ff78d6a fix(smart apollo): ensure SmartQuery variables still function when watched expression evaluated (#1161), closes #991 2021-09-20 18:19:43 +02:00
Guillaume Chau f4e2a14bba chore: upgrade deps 2021-09-20 18:12:05 +02:00
Guillaume Chau e0786acda0 fix: apollo-client 3.4 FetchMoreQueryOptions, closes #1252 2021-09-20 18:11:09 +02:00
Guillaume Chau a35b04ff05 fix: vue peerDependencies, closes #1234 2021-09-20 18:04:07 +02:00
Guillaume Chau 4475805cb6 fix(useResult): data => data deep required & non-nullable, closes #1250 2021-09-20 17:56:33 +02:00
Thomas Citharel 3792daa586 docs: Remove leftover new in docs (#1236)
createApolloProvider shouldn't be prefixed by new
2021-08-02 17:55:18 +02:00
Guillaume a9d9376546 docs: update 2021-07-19 16:22:50 +02:00
Guillaume 27c12e9f94 v4.0.0-alpha.14 2021-07-19 16:06:52 +02:00
Guillaume f53bcdec5b fix: importing react -_-' 2021-07-19 16:05:17 +02:00
Guillaume 213c4c484e chore: fix build 2021-07-19 16:02:35 +02:00
Guillaume e496ba2604 fix: target es2018, closes #1220 2021-07-19 15:54:58 +02:00
Guillaume 335d538dd3 fix(mixin): use unmounted instead of destroyed 2021-07-19 15:46:36 +02:00
Oliver Hoff 334310d5e6 feat: convert errors into ApolloError (#1225) 2021-07-19 15:45:40 +02:00
TimoStolz 08b6b0e7d9 fix: reference error, when using useQuery (#1218)
(ReferenceError: can't access lexical declaration
'currentOptions' before initialization, occure in
useQuery.ts:358)
2021-07-19 15:44:07 +02:00
OYΞD 07cb7f7b9b docs: Fix setup docs for Vue 3 (#1214)
`h` import from `vue` is the Vue 3 way
2021-07-05 12:37:46 +02:00
Guillaume 9758a32764 docs(useMutation): throws option 2021-07-05 01:05:15 +02:00
Guillaume 60e7ee3b24 v4.0.0-alpha.13 2021-07-05 01:01:14 +02:00
Guillaume f306027fde chore: fix global test script 2021-07-05 00:59:39 +02:00
Guillaume 63775f2465 chore: fix build 2021-07-05 00:47:17 +02:00
Guillaume 5153498346 chore: fix docs build 2021-07-05 00:41:35 +02:00
Guillaume 61a7df9144 tesst: reworked refetch test 2021-07-05 00:32:55 +02:00
Guillaume 8c68dbecf7 Merge branch 'v4' of github.com:vuejs/vue-apollo into v4 2021-07-05 00:14:24 +02:00
Guillaume a308d43ff8 test: refetch + notifyOnNetworkStatusChange 2021-07-05 00:14:19 +02:00
Guillaume d3b035f2b6 chore(composable): dev script 2021-07-05 00:14:08 +02:00
Yannik Rödel 689c284207 fix(composable): Clear previous error when recieving a result (#1120)
Co-authored-by: Yannik Rödel <yannik.roedel@iwelt.de>
2021-07-04 23:43:15 +02:00
Caleb Cox 619b0d1e62 types: Single key result with __typename still counts as single key (#1163)
Previously, a response with a single key and a __typename field would
not be considered as having a single key and could not be
automatically extracted by useQuery.
2021-07-04 23:42:21 +02:00
Guillaume c877bb89c6 chore: fix merge 2021-07-04 23:39:03 +02:00
Caleb Cox 4c51cb4415 feat(composable): Type MutateOverrideOptions 2021-07-04 23:38:14 +02:00
Guillaume 9ddd4fa176 fiox(composable): type fixes 2021-07-04 23:18:38 +02:00