-
Notifications
You must be signed in to change notification settings - Fork 0
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
fix(deps): update apollo graphql packages - abandoned #26
base: master
Are you sure you want to change the base?
Conversation
Netlify BOT Built with commit 7fd9c20 |
cf2fd52
to
5c80e2d
Compare
5c80e2d
to
574b81d
Compare
9a9b704
to
ab2a432
Compare
c2f8760
to
e8d7996
Compare
80d5986
to
b84484f
Compare
b84484f
to
a6b6b3e
Compare
a6b6b3e
to
573f6c5
Compare
573f6c5
to
03317ff
Compare
42e4a62
to
5a2fb46
Compare
5a2fb46
to
98cb9ad
Compare
98cb9ad
to
8b58741
Compare
8b58741
to
4e1991d
Compare
4e1991d
to
3ced4b6
Compare
3ced4b6
to
8e13a93
Compare
8e13a93
to
e694cfd
Compare
e694cfd
to
7fd9c20
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Autoclosing SkippedThis PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error. |
This PR contains the following updates:
1.4.2
->1.6.6
2.4.12
->2.6.10
1.5.9
->1.5.17
2.4.1
->2.5.8
Release Notes
apollographql/apollo-client
v1.6.6
Compare Source
v1.6.5
Compare Source
v1.6.3
Compare Source
v1.6.2
Compare Source
v1.6.1
Compare Source
__typename
exists on the root Query when matching fragments.@benjamn in #4853
v1.6.0
Compare Source
Support
new InMemoryCache({ freezeResults: true })
to help enforce immutability.@benjamn in #4514
Allow
IntrospectionFragmentMatcher
to match fragments against the rootQuery
, asHeuristicFragmentMatcher
does.@rynobax in #4620
Rerential identity (
===
) of arrays in cache results will now be preserved for unchanged data.@benjamn in commit f3091d6a
Avoid adding
__typename
field to@client
selection sets that have been@export
ed as input variables.@benjamn in #4784
v1.5.1
Compare Source
v1.5.0
Compare Source
v1.4.3
Compare Source
apollographql/apollo-link
v1.5.17
Compare Source
v1.5.16
Compare Source
v1.5.15
Compare Source
v1.5.14
Compare Source
v1.5.13
Compare Source
v1.5.12
Compare Source
@mouafa in #921
v1.5.11
Compare Source
v1.5.10
Compare Source
apollographql/react-apollo
v2.5.8
Compare Source
2.5.8 (2019-06-21)
Bug Fixes
apollo-client
2.6.3'sObservableQuery.resetQueryStoreErrors
method optional, for people who can't update to
react-apollo
's newapollo-client
peer dep of 2.6.3.@hwillson in #3151
v2.5.7
Compare Source
Improvements
MockedProvider
is using the proper CJS/ESM bundle, whenreferencing
ApolloProvider
.@jure in #3029.
ApolloContext
definition to play a bit more nicely withReact.createContext
types.@JoviDeCroock in #3018
when using the
graphql
HOC.@andycarrell in #3008
MockLink
to improvedebugging experience used by
MockedProvider
.@evans in #3078
Bug Fixes
apollo-client@beta
peer dep.@brentertz in #3064
null
, when using thegraphql
HOC.@ZhengYuTay in #3056
query
being mandatory in thefetchMore
signature.@HsuTing in #3065
Query
component to get stuck in an alwaysloading state, caused by receiving an error (meaning subsequent valid
responses couldn't be handled). The
Query
component can now handle anerror in a response, then continue to handle a valid response afterwards.
@hwillson in #3107
Subscription
component code to avoid setting state on unmountedcomponent.
@jasonpaulos in #3139
loading
state fornetwork-only
fetch policy.@jasonpaulos in #3126
v2.5.6
Compare Source
Improvements
Both the
Query
component andgraphql
HOC now accept areturnPartialData
prop. This is an important new feature, that shouldhelp address a lot of open Apollo Client / React Apollo issues, so we'll
explain it here with an example. Before this release, if you run a query
that looks like:
in one component, the results are cached, then you run a superset query like
the following in another component:
Apollo Client will not re-use the partial data that was cached from the first
query, when it preps and displays the second component. It can't find a
cache hit for the full second query, so it fires the full query over the
network.
With this release, if you set a
returnPartialData
prop totrue
on thesecond component, the
data
available to that component will beautomatically pre-loaded with the parts of the query that can be found in the
cache, before the full query is fired over the network. This means you can
do things like showing partial data in your components, while the rest of the
data is being loaded over the network.
v2.5.5
Compare Source
Improvements
ApolloContext
).@MrLoh in #2961
v2.5.4
Compare Source
Bug Fixes
Could not find "client" in the context of ApolloConsumer
errors whenusing
MockedProvider
.@hwillson in #2907
Query
components using afetchPolicy
ofno-cache
have theirdata preserved when the components tree is re-rendered.
@hwillson in #2914
Improvements
@afenton90 in #2932
v2.5.3
Compare Source
Bug Fixes
setState
in theonError
/onCompleted
callbacks of theQuery
component.@chenesan in #2751
Query
component, after an error was received, variables were adjusted, and then
the good data was fetched.
@MerzDaniel in #2718
Query
component updates from firing (undercertain circumstances) due to the internal
lastResult
value (that's usedto help prevent unnecessary re-renders) not being updated.
@Glennrs in #2840
Improvements
MockedProvider
now accepts achildProps
prop that can be used to passprops down to a child component.
@miachenmtl in #2482
onCompleted
callbacks now use a destructuring-friendly type definition.@jozanza in #2496
@connection
directives are now properly stripped fromMockedResponse
's,when using
MockedProvider
.@ajmath in #2523
MockedProvider
has been updated to stop setting a defaultresolvers
value of
{}
, which means by default Apollo Client 2.5 local resolverfunctionality is not enabled when mocking with
MockedProvider
. This allows@client
fields to be passed through the mocked link chain, like peoplewere used to before AC 2.5. When using this default mode you will see a
dev only warning message about this like:
This message can be safely ignored. If you want to use
MockedProvider
with AC 2.5's new local resolver functionality, you can pass your local
resolver map into the
MockedProvider
resolvers
prop.@ajmath in #2524
Improvements to the
graphql
HOC generics forfetchMore
andrefetch
.@EricMcRay in #2525
The
ApolloProvider
/ApolloConsumer
implementations have been refactoredto use React 16.3's new context API.
@wzrdzl in #2540
All
dependencies
anddevDependencies
have been updated to their latestversions, and related Typescript changes have been applied.
@hwillson in #2873
v2.5.2
Compare Source
Bug Fixes
Context
type fromtypes.ts
instead ofwalkTree.ts
,to reenable
import { Context } from 'react-apollo'
(which has beenbroken since 2.4.0).
@benjamn in #2825
Improvements
Add
examples/rollup
to enable application-level bundle measurement and demonstrate Rollup configuration best practices.
@benjamn in #2839
Bundle size reductions inspired by
examples/rollup
app.@benjamn in #2842
v2.5.1
Compare Source
Bug Fixes
MockedProvider
enables Apollo Client 2.5's local state handling,and allow custom / mocked resolvers to be passed in as props, and used with
the created test
ApolloClient
instance.@hwillson in #2825
v2.5.0
Compare Source
Improvements
features, as well as many overall code improvements to help reduce the React
Apollo bundle size.
#2758
MockedResponse
result
when usingMockedProvider
, such that every time the mocked result is returned,the function is run to calculate the result. This opens up new testing
possibilities, like being able to verify if a mocked result was actually
requested and received by a test.
@hwillson in #2788
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.