-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Release 3.11 #11922
Merged
Merged
Release 3.11 #11922
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Co-authored-by: Jerel Miller <[email protected]>
…etchPolicy` option specified. (#11626) * Call `nextFetchPolicy` with "variables-changed" even if there is a `fetchPolicy` specified. fixes #11365 * update size-limits * remove `.only` * Clean up Prettier, Size-limit, and Api-Extractor * use `mockFetchQuery` helper in test * fix detail in test-tsconfig.json --------- Co-authored-by: phryneas <[email protected]>
* syntax adjustment for compiler * Add `restart` function to `useSubscription`. * add tests * adjust test timing to accomodate for React 17 * Apply suggestions from code review Co-authored-by: Jerel Miller <[email protected]> * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: Jerel Miller <[email protected]> Co-authored-by: phryneas <[email protected]>
* add `ignoreResults` option to `useSubscription` * more tests * changeset * restore type, add deprecation, tweak tag * Update src/react/hooks/useSubscription.ts * reflect code change in comment * review feedback * Update src/react/types/types.documentation.ts Co-authored-by: Jerel Miller <[email protected]> * add clarification about resetting the return value when switching on `ignoreResults` later * test fixup --------- Co-authored-by: Jerel Miller <[email protected]>
* also wrap `createQueryPreloader` * changeset * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <[email protected]>
* forward `errorPolicy` option from `useSubscription` * more work * add test * ensure errors are instanceOf `ApolloError` * test with more realistic errors * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: phryneas <[email protected]>
…11936) Co-authored-by: Lenz Weber-Tronic <[email protected]>
…11789) * post-process errors received from responses into GraphQLError instances * adjust types, add test * fixing more types * Clean up Prettier, Size-limit, and Api-Extractor * remove runtime components * add eslint rule * Clean up Prettier, Size-limit, and Api-Extractor * adjust some more * adjustments * change patch level --------- Co-authored-by: phryneas <[email protected]>
Co-authored-by: Lenz Weber-Tronic <[email protected]>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* `watchFragment`: forward additional options to `diffOptions` fixes #11924 * chore: bump .size-limits.json * chore: bump .size-limits.json * Clean up Prettier, Size-limit, and Api-Extractor --------- Co-authored-by: Alessia Bellisario <[email protected]> Co-authored-by: alessbell <[email protected]>
* fix: remove deprecated watchFragment option canonizeResults * chore: add changeset * chore: update api-reports
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* correctly test for error equality on jest * adjust tests, change schemafetch error * linting * enforce matching `ApolloError` instances in tests everywhere * size * also always enforce stricter checks for `GraphQLError`
* fix(types): explicitly return `IgnoreModifier` from `optimisticResponse` function * Add changeset * Add test that allows returning `IgnoreModifier` when inferring from a generic TypedDocumentNode mutation --------- Co-authored-by: Lenz Weber-Tronic <[email protected]>
* add React 19 RC to `peerDependencies` * changeset * update react RC dep for tests
* remove unused code path Coverage shows that this code path was never hit - in the case of a `standby` fetchPolicy, `resultData.current` would already have been reset in `useResubscribeIfNecessary` * move code from `toQueryResult` to `setResult` While there are three code paths to `toQueryResult`, the other two are guaranteed to never have an `errors` property * add undocumented `errors` field to types and deprecate it * remove `useHandleSkip` instead, we calculate and memoize an "override result" in `useObservableSubscriptionResult` * remove now-obsolete `originalResult` symbol property * fix typo, chores * adjustment for compiler compat * review feedback * changeset * api-report
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Closed
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR will be used to create prereleases for changes we intend to release as a part of
@apollo/[email protected]
.