Commit Graph

933 Commits

Author SHA1 Message Date
Kristaps Fabians Geikins f4c56afb53 fix: ensuring useQuery immediately returns results from cache, to prevent hydration errors 2022-12-09 16:28:08 +02:00
Kristaps Fabians Geikins 31657ada67 package changes for published fork 2022-11-16 13:19:35 +02:00
Kristaps Fabians Geikins d19a090df2 gaa 2022-11-16 13:19:25 +02:00
Kristaps Fabians Geikins abe8089fdd fix: making sure tryFirstResolve/reject are always invoked 2022-11-15 17:26:09 +02:00
Kristaps Fabians Geikins 773260b97e Merge pull request #1 from fabis94/v4
onServerPrefetchFix move to new fork
2022-11-15 16:59:31 +02:00
Kristaps Fabians Geikins 9830ea7607 fix: onServerPrefetch promise refactor 2022-11-11 12:31:50 +02:00
Kristaps Fabians Geikins 7e06de77aa fix: onServerPrefetch getting stuck prevention 2022-11-11 12:29:16 +02:00
Jesper Noordsij 372892855d fix: typo in useResult deprecation message (#1414) 2022-10-05 16:30:15 +02:00
Guillaume Chau d5fab5ec2f v4.0.0-beta.1 2022-10-05 15:35:18 +02:00
mobsean 3b8900b695 docs: subscribeToMore / updateQuery (#1407) 2022-10-05 15:32:23 +02:00
Tatsuyuki Ishi fc983077dc fix(composable): Remove immediate result logic (#1388) 2022-10-05 15:31:51 +02:00
Guillaume Chau 6c07a47d33 v4.0.0-alpha.20 2022-07-19 16:07:28 +02:00
Guillaume Chau 8d51475f40 Revert "fix(options): use beforeUnmount instead of unmounted"
This reverts commit 9726e0a865.
2022-07-19 16:04:45 +02:00
Guillaume Chau ac2cade9cb v4.0.0-alpha.19 2022-07-18 15:33:43 +02:00
Guillaume Chau 6f60cdb65f chore: remove unused import 2022-07-18 14:37:14 +02:00
Guillaume Chau 9726e0a865 fix(options): use beforeUnmount instead of unmounted 2022-07-18 14:33:39 +02:00
Guillaume Chau 46ea78117a fix(ssr): mock $apollo after serverPrefetch, fix #1297 2022-07-18 14:31:19 +02:00
Guillaume Chau fa74bbbd0c docs: fix dollar apollo api ref 2022-07-18 14:27:48 +02:00
Marcel Engelke cb0ab57905 fix: Root instance not found when using with Vue 2.7 (#1379)
* fix: instance root not found

* refactor: const

* style: redundant space

Co-authored-by: Marcel Engelke <marcel.engelke@frederix-hotspot.de>
2022-07-18 14:19:33 +02:00
Guillaume Chau 757e45cac0 v4.0.0-alpha.18 2022-06-23 15:32:02 +02:00
Guillaume Chau b94bdf7e79 fix: change data init, related to #1350 2022-06-23 15:07:31 +02:00
Guillaume Chau c32d5037f1 test: cache update 2022-06-23 15:07:15 +02:00
Guillaume Chau 446333e616 chore: upgrade deps
Vue CLI 5
Cypress 10
2022-06-23 14:25:38 +02:00
Anton a32fe9c469 fix: Make calls of the refetch() & fetchMore() trigger loading state (#1366)
Co-authored-by: Guillaume Chau <guillaume.b.chau@gmail.com>
2022-06-23 13:12:41 +02:00
Daniel Gustaw e959a2ccd4 fix: vue-demi updated (#1373)
* vue-demi updated

* pnpm install

* pnpm lock updated
2022-06-23 13:04:18 +02:00
Guillaume Chau fdbb65f3f8 docs: algolia search 2022-05-31 10:47:12 +02:00
Guillaume Chau 3ad3ab3dda fix: apollo components registered twice, fix #1336 2022-05-12 14:35:11 +02:00
Guillaume Chau 42bded6b1b v4.0.0-alpha.17 2022-05-03 17:12:33 +02:00
Guillaume Chau 120c5554ef chore: less yarn more pnpm 2022-05-03 17:10:22 +02:00
Guillaume Chau 72f8607612 chore: fix missing package for release 2022-05-03 17:05:20 +02:00
Guillaume Chau 2361f28399 docs: migrate to vitepress + improvements 2022-05-03 16:49:24 +02:00
Guillaume Chau dc4be7f113 ci: fix indent 2022-05-03 13:16:51 +02:00
Guillaume Chau 3fe0e46eb1 refactor: migrate to pnpm 2022-05-03 13:16:10 +02:00
Iran-110 2ddf5ae3e6 Allow 'no-cache' fetchPolicy on serve (#1341) 2022-05-03 10:54:47 +02:00
ANDREY KHASANOV f31fa1520c fix: subscriptions array leak (#1248) 2022-05-03 10:54:17 +02:00
Guillaume Chau af9f20f131 feat: update vue-demi 2022-05-03 10:48:58 +02:00
Guillaume Chau 8927037c8c docs: useLazyQuery load params 2022-05-03 10:45:22 +02:00
Dominik Klein cf89b252c2 fix: avoid onServerPrefetch warning (#1281) 2022-05-03 10:44:16 +02:00
CommanderRoot 99c442bf27 refactor: replace deprecated String.prototype.substr() (#1335)
.substr() is deprecated so we replace it with .slice() or .substring() which work similarily but aren't deprecated

Signed-off-by: Tobias Speicher <rootcommander@gmail.com>
2022-05-03 10:43:55 +02:00
Leo Zurbriggen 64491ce1ca feat: allow providing multiple apolloClients outside of setup/vue context in vue-apollo-composable (#1340)
* allow providing multiple apolloClients outside of setup/vue context

* add docs

Co-authored-by: Rico Schmidt <schmidt@joshmartin.ch>
2022-05-03 10:43:12 +02:00
Natalia Tepluhina 61261bccc4 fix: added client options to error policy (#1318) 2022-05-03 10:40:47 +02:00
Neil Chen 082acf90c2 fix: useQuery loading and debounce issues (#1313)
fix #1235
fix #1271
2022-05-03 10:39:28 +02:00
Guillaume Chau 34ed387f7f test: remove useResult 2022-05-02 18:34:20 +02:00
Guillaume Chau 2e65263329 docs: remove references to useResult 2022-05-02 18:34:13 +02:00
Guillaume Chau 9a391cc052 docs: cache updates, fix #1186 2022-05-02 18:24:02 +02:00
Guillaume Chau 829912da9e docs: update sponsors image 2022-05-02 18:04:03 +02:00
Guillaume Chau ff4c6d237e docs: useLazyQuery 2022-05-02 17:52:38 +02:00
Guillaume Chau 0e9fb48384 feat: deprecate useResult 2022-05-02 17:41:48 +02:00
Guillaume Chau d6d4da16d5 fix: $apollo null error if smar obj is destroyed but has throttled/debounced calls 2022-05-02 16:32:53 +02:00
Guillaume Chau a79b7908f6 fix: remove console.log 2022-03-08 14:14:36 +01:00