-
Notifications
You must be signed in to change notification settings - Fork 0
Update Apollo GraphQL packages - abandoned #64
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
base: master
Are you sure you want to change the base?
Conversation
263ce51
to
529aa1f
Compare
529aa1f
to
2277e94
Compare
2277e94
to
0c1ebff
Compare
0c1ebff
to
67c7306
Compare
3200d7d
to
b5eb6d7
Compare
b5eb6d7
to
7a1f125
Compare
7a1f125
to
8a99cdd
Compare
8a99cdd
to
bd92d5a
Compare
bd92d5a
to
3a42912
Compare
3a42912
to
f738017
Compare
f738017
to
ebd6607
Compare
ebd6607
to
970fde0
Compare
970fde0
to
0f1bc5c
Compare
0f1bc5c
to
ef934fd
Compare
ef934fd
to
9a84114
Compare
9a84114
to
c4b1841
Compare
c4b1841
to
b720614
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.5.1
->1.6.6
2.5.1
->2.6.10
1.2.11
->1.2.14
1.1.10
->1.1.13
1.5.14
->1.5.17
1.0.17
->1.0.20
1.2.1
->1.3.4
2.10.1
->2.12.6
2.5.2
->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
apollographql/apollo-link
v1.2.14
Compare Source
v1.2.13
Compare Source
v1.2.12
Compare Source
Avoid importing
graphql/language/printer
forgetKey
.@benjamn in #992
Documentation updates.
@jsjoeio in #1044
Bump
apollo-utilities
to reduce total bundle size.@salzhrani in #1044
apollographql/graphql-tag
v2.12.6
Compare Source
graphql
^16.0.0.@brainkim in #530
v2.12.5
Compare Source
src/
directory to npm, enabling source maps.@maclockard in #403
v2.12.4
Compare Source
@dobesv in #257
v2.12.3
Compare Source
tslib
dependency to version 2.1.0.@benjamn in #381
v2.12.2
Compare Source
Object.assign
to attach extra properties togql
.@benjamn in #380
v2.12.1
Compare Source
import type ...
syntax (introduced by #325) has been removed, fixing issue #345.@benjamn in #352
v2.12.0
Compare Source
graphql-tag
repository has been converted to TypeScript, adding type safety and enabling both ECMAScript and CommonJS module exports. While these changes are intended to be as backwards-compatible as possible, we decided to bump the minor version to reflect the significant refactoring.@PowerKiKi and @benjamn in #325
v2.11.0
Compare Source
package.json
sideEffects
changes to clearly identify thatgraphql-tag
doesn't have side effects.@hwillson in #313
v2.10.4
Compare Source
graphql
15.@adriencohen in #299
v2.10.3
Compare Source
index.d.ts
declaration file.@Guillaumez in #289
v2.10.2
Compare Source
index.d.ts
declaration file.@hwillson in #285
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
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.