⬆ ️ deps: Bump @apollo/client from 3.5.7 to 3.5.10
Bumps @apollo/client from 3.5.7 to 3.5.10.
Changelog
Sourced from @apollo/client
's changelog.
Apollo Client 3.5.10 (2022-02-24)
Improvements
Add
GraphQLWsLink
in@apollo/client/link/subscriptions
. This link is similar to the existingWebSocketLink
in@apollo/client/link/ws
, but uses the newergraphql-ws
package and protocol instead of the oldersubscriptions-transport-ws
implementation.@glasser
in #9369Note from
@benjamn
: sinceGraphQLWsLink
is new functionality, we would normally wait for the next minor version (v3.6), but we were asked to expedite this release. These changes are strictly additive/opt-in/backwards-compatible, so shipping them in a patch release (3.5.10) seems safe, if unusual.Apollo Client 3.5.9 (2022-02-15)
Improvements
Interpret
keyFields: [...]
andkeyArgs: [...]
configurations inInMemoryCache
type/field policies asReadonlyArray
s, since they are never mutated internally.@julienfouilhe
in #9339Avoid declaring a global type for the
__DEV__
constant, to avoid conflict with other such global declarations.@benjamn
in #9386Bug Fixes
Fix
useSubscription
executingskip
ped subscription when input changes.@levrik
in #9299Fix partial data appearing in
useQuery().data
whennotifyOnNetworkStatusChange: true
.@brainkim
in #9367Prevent
Promise
s returned byuseLazyQuery
execute functions from causing unhandledPromise
rejection errors if uncaught.@brainkim
in #9380Apollo Client 3.5.8 (2022-01-24)
Bug Fixes
Bug Fixes (by
@brainkim
in #9328)
- Fix
refetch()
not being called whenskip
is true.- Fix the promise returned from the
useLazyQuery()
execution function having stale variables.- Fix the promise returned from the
useLazyQuery()
execution function not rejecting when a query errors.
Commits
-
6ca525a
Bump@apollo/client
npm version to 3.5.10. -
ce90c47
Backport PR #9369 tomain
branch forGraphQLWsLink
(#9453) -
a8da797
chore(deps): update dependency typedoc to v0.22.12 -
9ec9f47
chore(deps): update dependency rollup to v2.67.3 -
7aa411f
chore(deps): update dependency@types/node
to v16.11.25 -
807ccf3
chore(deps): update dependency@testing-library/react
to v12.1.3 -
2b44886
chore(deps): update dependency@babel/parser
to v7.17.3 -
580f9ba
Bump@apollo/client
npm version to 3.5.9. -
792ac32
Backport PR #9386 tomain
branch (#9432) -
88b5109
chore(deps): bump follow-redirects from 1.14.7 to 1.14.8 (#9420) - Additional commits viewable in compare view