Improvements (from CHANGELOG.md
)
- The client options (
variables
,context
, etc.) used formutation
calls are now available as the second argument to theonCompleted
andonError
callback functions.
@MrDoomBringer in #10052
What's Changed
- adds a prettier ignore file by @jpvajda in #9809
- Fix documentation code snippets for SubscriptionClient by @jpikora in #9820
- Add a new maintainer (Yours Truly) to README by @MrDoomBringer in #9863
- Remove Ignoring errors sections in link and error handling docs. by @alessbell in #9854
- Update the getting started guide to use the FlyBy API by @rkoron007 in #9851
- Mockprovider docs updates by @jpvajda in #9867
- Updates testing docs to use Testing Library by @alessbell in #9888
- Clarify that id is optional on queries in cache.modify documentation by @MrDoomBringer in #9894
- Add defensive isMounted checks before setting state via useMutation Hook by @alessbell in #9883
- Add onQueryUpdate missing parameters by @capucho in #9898
- Type policy inheritance by @jpvajda in #9905
- Use reactive var hook by @jpvajda in #9906
- Remove jest-fetch-mock in favor of fetch-mock, update tests by @alessbell in #9928
- Minor edits to new useReactiveVar reference by @StephenBarlow in #9932
- Add the new CodeSandbox link by @rkoron007 in #9945
- Pin TypeDoc version in Netlify command by @trevorblades in #9950
- Fix TypeDoc generated file paths by @trevorblades in #9951
- Quick doc change to clarify subscriptions don't work in client schema by @MrDoomBringer in #9944
- Run React 17 + 18 tests on CI by @alessbell in #9942
- Roadmap update by @jpvajda in #9966
- chore: update renovate config and add .npmrc by @alessbell in #9967
- chore: update CONTRIBUTING.md by @alessbell in #9953
- Field policy merge docs by @jpvajda in #9969
- add link to solid.js github repo by @jpvajda in #9981
- Replace crypto-hash with a custom hashing function in tests by @hwillson in #9986
- adds broadcast false details by @jpvajda in #9978
- Use function declaration for
WithApolloClient
example by @charpeni in #9977 - docs: Update code block meta strings to make syntax highlighting work again by @trevorblades in #9985
- Fix updateQuery docs having incorrect function signature by @MrDoomBringer in #10002
- Correct error handling example in docs by @MrDoomBringer in #9996
- updates roadmap by @jpvajda in #10013
- adds solid.js to integrations.md by @jpvajda in #10014
- docs: fix React default import by @henryqdineen in #10036
- docs: remove errant duplicated text by @henryqdineen in #10046
- updates local resolver warning by @jpvajda in #10062
- GitHub Workflows security hardening by @sashashura in #10049
- Pass mutation options to handlers by @MrDoomBringer in #10052
- MissingFieldError once again extends Error by @MrDoomBringer in #10051
- Fix typos by @CompuWiser in #10045
- Documentation update for ApolloQueryResult by @MrDoomBringer in #10055
- docs: Update "Using Apollo with TypeScript" with a description of fetchMore and subscribeToMore by @bignimbus in #10066
- fix: make
react-dom
an optional peer dependency by @brillout in #9933 - adds defer docs by @jpvajda in #10079
- updates defer message by @jpvajda in #10088
- Make it clear that @defer is available by installing beta by @hwillson in #10096
- Better error message when failing to match mock variables by @zinkkrysty in #9921
- Export
Modifier
andModifiers
by @olyop in #8973 - chore(docs): add useFragment_experimental documentation by @alessbell in #10099
- Bump up timeout time for batchLink, query and polling tests by @MrDoomBringer in #10097
- remove obsolete displayName query option by @henryqdineen in #10044
- docs: fixup onResetStore docs, convert to hooks by @henryqdineen in #10047
- changes beta to next by @jpvajda in #10119
- local-state-management AC2 LocalState side note by @MrDoomBringer in #10112
- Fix for ServerError obscured by ServerParseError by @dillontiner in #9997
- Remove conditional require()s from SSR by @MrDoomBringer in #9975
- chore(docs): use optional chaining rather than non-null assertion by @charpeni in #10129
- chore(tests): use node v16.10.0 for jest tests due to memory leaks in 16.11+ by @alessbell in #10140
- docs: Fix typo by @Javokhir12 in #10128
New Contributors
- @jpikora made their first contribution in #9820
- @capucho made their first contribution in #9898
- @charpeni made their first contribution in #9977
- @sashashura made their first contribution in #10049
- @CompuWiser made their first contribution in #10045
- @bignimbus made their first contribution in #10066
- @brillout made their first contribution in #9933
- @zinkkrysty made their first contribution in #9921
- @olyop made their first contribution in #8973
- @dillontiner made their first contribution in #9997
- @Javokhir12 made their first contribution in #10128
Full Changelog: v3.6.9...v.3.6.10