Closed
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 contains the following updates:
2.1.8->2.16.30.1.22->0.4.32.3.2->2.5.8Release Notes
apollographql/apollo-tooling
v2.16.3Compare Source
v2.16.2Compare Source
v2.16.1Compare Source
apollo@2.16.1ApolloConfigtype to exports fromapollo#1413apollo-language-server@1.13.1vscode-apollo@1.8.1v2.16.0Compare Source
apollo@2.16.0service:listand tests #1358 and header #1377service:listtest to use a simulated time to prevent relative dates causing snapshot failures #1374service:checkto support--markdownand--jsonflags for federated schema #1378service:checkto includegraphCompositionIdin query params for UI #1401apollo-codegen-swift@0.34.0apollo-language-server@1.13.0<<-GRAPHQL...GRAPHQLheredoc. #1304apollo-tools@0.4.0subscribeinbuildServiceDefinitionand add type inresolverMap#1047vscode-apollo@1.8.0<<-GRAPHQL...GRAPHQLheredoc. #1304v2.15.0Compare Source
apollo@2.15.0apollo-language-server@1.12.0v2.14.1Compare Source
v2.14.0Compare Source
apollo@2.14.0service:check#1308service:check#1308apollo-language-server@1.11.0service:check#1308vscode-apollo@1.7.4v2.13.1Compare Source
apollo@2.13.1apollo-graphql@0.3.2v2.13.0Compare Source
apollo@2.13.0client:pushto pass the tag / graphVariant #1307apollo-language-server@1.10.0v2.12.5Compare Source
v2.12.4Compare Source
apollo@2.12.4apollo-language-server@1.9.0vscode-apollo@1.7.0v2.12.3Compare Source
apollo@2.12.3apollo-language-server@1.8.4v2.12.2Compare Source
v2.12.1Compare Source
apollo@2.12.1apollo client:pushandapollo service:push# 1273apollo service:infocommand, since it's undocumented and unused #1274apollo-language-server@1.8.3v2.12.0Compare Source
v2.11.1Compare Source
apollo@2.11.1apollo-language-server@1.8.1vscode-apollo@1.6.9v2.11.0Compare Source
apollo@2.11.0service:deletecommand for deleting federated services #1251apollo-env@0.5.0apollo-graphql@0.3.0#1251
#1251
apollo-language-server@1.8.0v2.10.3Compare Source
apollo@2.10.3v2.10.2Compare Source
apollo@2.10.2v2.10.1Compare Source
apollo@2.10.1v2.10.0Compare Source
apollo@2.10.0client:download-schemacommand to download schemas from engine to an output file #1108v2.9.0Compare Source
apollo@2.9.0apollo-language-server@1.7.0gqlextension to the defaultincludesconfiguration #1176v2.8.3Compare Source
apollo@2.8.3service:checkoutput for errors and correct pluralization #1178v2.8.2Compare Source
apollo@2.8.2service:check's--markdownoutput to include clients affected, number of operations checked, pluralization improvements, and backticks around service and schema variant #1164service:checkoutput to show failures before passes #1168v2.8.1Compare Source
apollo@2.8.1checkSchemato fix detail links#1165apollo-language-server@1.6.2v2.8.0Compare Source
apollo@2.8.0--markdownoutput option toservice:check#1072service:checkoutput #1146apollo-language-server@1.6.1v2.7.0Compare Source
apollo@2.7.0apolloCLI via theapollo client:pushcommand. Once all client operations are re-registered, theapollo-server-plugin-operation-manifestplugin within Apollo Server (which reads the manifest published withapollo client:push) should be updated to0.1.0-alpha.1. #1158apollo-language-server@1.6.0.vuefile support for codegen:generate #1160v2.6.2Compare Source
apollo@2.6.2v2.6.1Compare Source
apollo@2.6.1apollo-env@0.4.0v2.6.0Compare Source
apollo@2.6.0--tag=currentfor some client commands that used it #1062@oclif/errors#1068service:checkcommand #1072apollo-env@0.3.4apollo-language-server@1.5.3apollo-codegen-flow@0.32.9@babel/generator,common-tags#1071apollo-codegen-scala@0.33.5@babel/generator,common-tags#1071apollo-codegen-swift@0.32.9@babel/generator,common-tags#1071apollo-codegen-typescript@0.32.10@babel/generator,common-tags#1071apollo-graphql@0.1.2graphqlpeer dependency range ofapollo-graphqlto also include0.13.xand0.12.xin addition to14.x, since theapollo-graphqlpackage is relied upon byapollo-server-corewhich specifies those requirements itself. #1076v2.5.3Compare Source
v2.5.2Compare Source
apollo@2.5.2apollo-language-server@1.5.1vscode-apollo@1.5.1v2.5.1Compare Source
v2.5.0Compare Source
apollo@2.5.0apollo-language-server@1.5.0vscode-apollo@1.5.0<script>tags #981v2.4.4Compare Source
apollo@2.4.4apollo-codegen-scala@0.33.0v2.4.3Compare Source
v2.4.2Compare Source
v2.4.1Compare Source
apollo2.4.1v2.4.0Compare Source
apollo2.4.0apollo-language-server1.4.0vscode-apollo1.4.1v2.3.1Compare Source
apollo@2.3.1v2.3.0Compare Source
apollo@2.3.0vscode-apollo@1.4.0apollo-language-server@1.3.0getStatsto provide service stats for extensions #840v2.1.9Compare Source
apollo@2.1.9apollographql/apollo-client
v0.4.3Compare Source
v0.4.2Compare Source
v0.4.1Compare Source
v0.4.0Compare Source
v0.3.1Compare Source
v0.3.0Compare Source
v0.1.28Compare Source
v0.1.27Compare Source
v0.1.26Compare Source
v0.1.25Compare Source
v0.1.24Compare Source
v0.1.23Compare Source
apollographql/react-apollo
v2.5.8Compare Source
2.5.8 (2019-06-21)
Bug Fixes
apollo-client2.6.3'sObservableQuery.resetQueryStoreErrorsmethod optional, for people who can't update to
react-apollo's newapollo-clientpeer dep of 2.6.3.@hwillson in #3151
v2.5.7Compare Source
Improvements
MockedProvideris using the proper CJS/ESM bundle, whenreferencing
ApolloProvider.@jure in #3029.
ApolloContextdefinition to play a bit more nicely withReact.createContexttypes.@JoviDeCroock in #3018
when using the
graphqlHOC.@andycarrell in #3008
MockLinkto improvedebugging experience used by
MockedProvider.@evans in #3078
Bug Fixes
apollo-client@betapeer dep.@brentertz in #3064
null, when using thegraphqlHOC.@ZhengYuTay in #3056
querybeing mandatory in thefetchMoresignature.@HsuTing in #3065
Querycomponent to get stuck in an alwaysloading state, caused by receiving an error (meaning subsequent valid
responses couldn't be handled). The
Querycomponent can now handle anerror in a response, then continue to handle a valid response afterwards.
@hwillson in #3107
Subscriptioncomponent code to avoid setting state on unmountedcomponent.
@jasonpaulos in #3139
loadingstate fornetwork-onlyfetch policy.@jasonpaulos in #3126
v2.5.6Compare Source
Improvements
Both the
Querycomponent andgraphqlHOC now accept areturnPartialDataprop. 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
returnPartialDataprop totrueon thesecond component, the
dataavailable 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.5Compare Source
Improvements
ApolloContext).@MrLoh in #2961
v2.5.4Compare Source
Bug Fixes
Could not find "client" in the context of ApolloConsumererrors whenusing
MockedProvider.@hwillson in #2907
Querycomponents using afetchPolicyofno-cachehave theirdata preserved when the components tree is re-rendered.
@hwillson in #2914
Improvements
@afenton90 in #2932
v2.5.3Compare Source
Bug Fixes
setStatein theonError/onCompletedcallbacks of theQuerycomponent.@chenesan in #2751
Querycomponent, after an error was received, variables were adjusted, and then
the good data was fetched.
@MerzDaniel in #2718
Querycomponent updates from firing (undercertain circumstances) due to the internal
lastResultvalue (that's usedto help prevent unnecessary re-renders) not being updated.
@Glennrs in #2840
Improvements
MockedProvidernow accepts achildPropsprop that can be used to passprops down to a child component.
@miachenmtl in #2482
onCompletedcallbacks now use a destructuring-friendly type definition.@jozanza in #2496
@connectiondirectives are now properly stripped fromMockedResponse's,when using
MockedProvider.@ajmath in #2523
MockedProviderhas been updated to stop setting a defaultresolversvalue of
{}, which means by default Apollo Client 2.5 local resolverfunctionality is not enabled when mocking with
MockedProvider. This allows@clientfields 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
MockedProviderwith AC 2.5's new local resolver functionality, you can pass your local
resolver map into the
MockedProviderresolversprop.@ajmath in #2524
Improvements to the
graphqlHOC generics forfetchMoreandrefetch.@EricMcRay in #2525
The
ApolloProvider/ApolloConsumerimplementations have been refactoredto use React 16.3's new context API.
@wzrdzl in #2540
All
dependenciesanddevDependencieshave been updated to their latestversions, and related Typescript changes have been applied.
@hwillson in #2873
v2.5.2Compare Source
Bug Fixes
Contexttype fromtypes.tsinstead ofwalkTree.ts,to reenable
import { Context } from 'react-apollo'(which has beenbroken since 2.4.0).
@benjamn in #2825
Improvements
Add
examples/rollupto enable application-level bundle measurement and demonstrate Rollup configuration best practices.
@benjamn in #2839
Bundle size reductions inspired by
examples/rollupapp.@benjamn in #2842
v2.5.1Compare Source
Bug Fixes
MockedProviderenables 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
ApolloClientinstance.@hwillson in #2825
v2.5.0Compare Source
Improvements
features, as well as many overall code improvements to help reduce the React
Apollo bundle size.
#2758
MockedResponseresultwhen 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
v2.4.1Compare Source
Improvements
Adds a
onSubscriptionCompleteprop to theSubscriptioncomponent, thatcan be passed a callback to be called when the subscription observable
is completed.
@sujeetsr in #2716
During server-side rendering,
ObservableQueryobjects created inprevious rendering passes will now be preserved in later passes (within
the same
getDataFromTreeorgetMarkupFromTreecall), so that errorscan be handled properly when using the
errorPolicy: "all"option.PR #2753
v2.4.0Compare Source
Bug Fixes
onCompleted/onErroreven ifMutationunmounts.PR #2710
Improvements
walkTreefunction has been deprecated, since there's no way tomake its behavior consistent with the latest versions of React. To save
bundle size,
walkTreeis no longer exported fromreact-apollo,though you can still access it as follows:
v2.3.3Compare Source
Bug Fixes
react-domas a peer dependency (since it's used bygetDataFromTreeand
renderToStringWithData).@hwillson in #2660
Improvements
react14.x support, since the 14.x release line is 2 years old now,and
react-apollois no longer tested against it.@hwillson in #2660
Renovate configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻️ Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "
rebase!".👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Renovate Bot. View repository job log here.