Commit Graph

395 Commits

Author SHA1 Message Date
Fabians Geikins 7166f2f2a9 fix: in SSR not returning precached data immediately
Publish Nightlies / build (push) Has been cancelled
2026-02-27 13:12:45 +02:00
Fabians Geikins c2f831acf7 fix: remove forced SSR fetch policy 2026-02-26 18:37:28 +02:00
Guillaume Chau fb027e6adf v4.2.2
Publish Nightlies / build (push) Has been cancelled
E2E composable / Build and test (push) Has been cancelled
E2E options/components / Build and test (push) Has been cancelled
E2E composable + SSR / Build and test (push) Has been cancelled
Main continuous tests / Build and test (push) Has been cancelled
2025-03-11 14:31:15 +01:00
Guillaume Chau 99ca23b11c test(lint): switch to eslint 9 and antfu config 2025-03-08 21:12:47 +01:00
Jeroen de Jong 22f6797c34 fix: useMutations onError Event hook gets triggered too early (#1585)
similar to #1558, except for onError
2025-03-07 16:08:04 +01:00
Guillaume Chau d42188786c chore: update deps + jest to vitest 2025-03-07 16:06:16 +01:00
Mark Florian 7a48882637 docs: fix $skipAll mention (#1573)
The "Special options" documentation mentions `$skip` as a special
option, but that isn't correct. It should be `$skipAll`.
2025-01-09 20:10:52 +01:00
ChatonDeAru (Romain) 365c95467a fix: augment vue rather than @vue/runtime-core (#1576)
This PR removes augmentations of `@vue/runtime-core` in favour of only augmenting `vue` (the new recommendation), which should fix issues when other packages are only augmenting vue (see nuxt/nuxt#28542).
2025-01-09 20:10:35 +01:00
Kristaps Fabians Geikins b57f2befe3 fix: memory leak in SSR caused by global tracking (#1582) 2025-01-09 20:10:11 +01:00
Guillaume Chau 8a5f424e2e v4.2.1 2024-08-23 11:42:25 +02:00
Nick Messing d329d4da69 fix: improved pinia support (#1571) 2024-08-23 11:32:59 +02:00
Guillaume Chau 28f4265e39 v4.2.0 2024-08-19 20:57:19 +02:00
Guillaume Chau d141ed6718 fix: resolveClient throwing too soon, fix #1557 (#1570) 2024-08-19 20:29:21 +02:00
Guillaume Chau c8e5106870 chore: switch some tests to script setup 2024-08-19 20:06:04 +02:00
Guillaume Chau 4679a04279 fix: reuse previous result, fix #1483 (#1569) 2024-08-19 20:04:58 +02:00
Matt Garrett fceb40cd2c fix: (@vue/apollo-option) memory leak in wrapped ssrRender (#1553) 2024-08-14 16:39:44 +02:00
mobsean f0ab70883e fix: useMutations onDone Event hook gets triggered too early (#1559) 2024-08-14 16:14:03 +02:00
Leonardo Santos d1098bee4f feat: add updateQuery to useQuery (#1552) 2024-08-14 16:12:58 +02:00
Alex Liu f2360701ba docs: add github link to documentation (#1549) 2024-08-14 16:05:46 +02:00
Guillaume Chau 68347a6812 v4.1.0 2024-08-14 16:05:27 +02:00
Nick Messing 29d722c5b4 docs(useQuery): document refetch with new variables (#1564) 2024-08-14 15:45:34 +02:00
Nick Messing 6fa46ab122 fix: change teardown to use onScopeDispose (#1545) 2024-03-29 10:03:06 +01:00
Nick Messing dbd1c8d236 test: fix subscription test (#1547) 2024-03-29 09:57:15 +01:00
Guillaume Chau 0f5ae610c5 test: useSubscription 2024-03-19 16:59:06 +01:00
Guillaume Chau 89a0240f0b v4.0.2 2024-03-08 11:56:15 +01:00
Guillaume Chau 08f0fcdeab fix: use shallowRef on result & error 2024-03-08 11:52:05 +01:00
Guillaume Chau fda4c9fb4a docs: remove mentions of fetchResults, fix #1060 2024-01-24 14:34:50 +01:00
Guillaume Chau 3de258d754 v4.0.1 2024-01-24 10:38:25 +01:00
Guillaume Chau 500d6e498a test: build test app in test command 2024-01-24 10:33:51 +01:00
Guillaume Chau 48d0ac2c32 test: split into outsideComponent.cy.ts 2024-01-24 10:24:58 +01:00
Guillaume Chau 330564c7f4 fix(useLazyQuery): load() on server, fix #1495 2024-01-24 10:12:02 +01:00
Dawid Kopys 460a0dbd11 fix: use hasInjectionContext in useApolloClient before calling inject (#1529)
Co-authored-by: Dawid Kopys <dawid.kopys@creativestyle.pl>
2024-01-24 09:41:26 +01:00
Guillaume Chau c795f25708 v4.0.0 2024-01-15 11:31:26 +01:00
Guillaume Chau 062f72a9b7 test: fragment 2024-01-15 10:55:52 +01:00
Guillaume Chau f8568e851e fix: prefetch type 2024-01-15 10:36:46 +01:00
Guillaume Chau ddf9aa038a fix(ApolloMutation): return result in mutate 2024-01-15 10:36:02 +01:00
Guillaume Chau b17817e9c9 fix(options): use exponential backoff on subscribe error retry 2024-01-15 10:26:13 +01:00
Dawid Kopys 72d4df5cce fix: import serializeJs using default import instead of a namespace import (#1485)
Co-authored-by: Dawid Kopys <dawid.kopys@creativestyle.pl>
2024-01-15 10:09:42 +01:00
Yury Savin 2746efa632 feat(useLazyQuery): add interface for lazy query return (#1523)
Co-authored-by: Guillaume Chau <guillaume.b.chau@gmail.com>
2024-01-15 10:04:12 +01:00
Guillaume Chau fb66dcebbb docs: update vitepress + enable detailed search by default 2024-01-15 09:57:04 +01:00
Guillaume Chau 659ba90699 fix: improve esm support, fix #1524 2024-01-15 09:48:39 +01:00
Guillaume Chau dd01cee2e1 v4.0.0-beta.12 2023-11-29 15:02:26 +01:00
Guillaume Chau 0be5d9b444 feat: new context params in event hook handlers
Allow easy access to the client, especially useful with useSubscription().
2023-11-29 14:58:09 +01:00
Hassan c9b648d4bd docs: import createApolloProvider is missing (#1515) 2023-11-29 14:38:51 +01:00
mekraldi 9d8cc79ae9 docs: Added missing createClient import in example when creating Graph… (#1513) 2023-11-29 14:38:37 +01:00
mekraldi d953688119 docs: missing curly brace (#1512) 2023-11-29 14:38:19 +01:00
Guillaume Chau 76f19f6e0c fix: use shallowRef for apollo query 2023-11-29 14:37:33 +01:00
Vitaliy 21fca98911 chore: moved resolutions to the root of the workspace (#1508) 2023-09-14 01:02:55 +02:00
Guillaume Chau d1f732cf79 v4.0.0-beta.11 2023-09-13 11:59:04 +02:00
Guillaume Chau 23c0c98231 fix: remove console.log, console log remained in code #1507 2023-09-13 11:56:38 +02:00