Skip to content

Update Apollo GraphQL packages#23

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/apollo-graphql-packages
Closed

Update Apollo GraphQL packages#23
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/apollo-graphql-packages

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented Jul 30, 2019

This PR contains the following updates:

Package Type Update Change
apollo devDependencies minor 2.1.8 -> 2.16.3
apollo-boost dependencies minor 0.1.22 -> 0.4.3
react-apollo dependencies minor 2.3.2 -> 2.5.8

Release Notes

apollographql/apollo-tooling

v2.16.3

Compare Source

v2.16.2

Compare Source

v2.16.1

Compare Source

  • apollo@2.16.1
    • Add ApolloConfig type to exports from apollo #​1413
  • apollo-language-server@1.13.1
    • Add error message for service lookup failure #​1413
  • vscode-apollo@1.8.1
    • Only activate extension on apollo.config.js/ts #​1411
    • Changed the status bar title to be "Apollo" to save space. #​1415

v2.16.0

Compare Source

  • apollo@2.16.0
    • Add service:list and tests #​1358 and header #​1377
    • Update service:list test to use a simulated time to prevent relative dates causing snapshot failures #​1374
    • Update service:check to support --markdown and --json flags for federated schema #​1378
    • Exit status code 1 after composition errors in service:push #​1403
    • Update service:check to include graphCompositionId in query params for UI #​1401
  • apollo-codegen-swift@0.34.0
    • Update Swift codegen to add operation name to generated query classes #​1386
    • Append terminating newline character to generated files #​531
  • apollo-language-server@1.13.0
    • Allow template literal placeholders that span multiple rows#​1299
    • Add support for extracting GraphQL documents from Ruby source files using <<-GRAPHQL...GRAPHQL heredoc. #​1304
  • apollo-tools@0.4.0
    • Handle subscribe in buildServiceDefinition and add type in resolverMap #​1047
  • vscode-apollo@1.8.0
    • Add support for Ruby source files using <<-GRAPHQL...GRAPHQL heredoc. #​1304

v2.15.0

Compare Source

  • apollo@2.15.0
    • Relax graphql version, resolve missing types "Boolean", "String" #​1355
  • apollo-language-server@1.12.0
    • Relax graphql version, resolve missing types "Boolean", "String" #​1355

v2.14.1

Compare Source

v2.14.0

Compare Source

  • apollo@2.14.0
    • Add integration tests to service:check #​1308
    • Add support for federated service to service:check #​1308
  • apollo-language-server@1.11.0
    • Add support for federated service to service:check #​1308
  • vscode-apollo@1.7.4
    • Fix bug causing some editor features to sometimes give stale results #​1361

v2.13.1

Compare Source

  • apollo@2.13.1
    • Remove federation warnings and update types #​1332
  • apollo-graphql@0.3.2
    • buildSchemaFromSDL - support meta fields on abstract types #​1330

v2.13.0

Compare Source

  • apollo@2.13.0
    • update client:push to pass the tag / graphVariant #​1307
  • apollo-language-server@1.10.0
    • Use offset equal to length of tagname when parsing JS documents#​1050
    • Allow template literal placeholders that span multiple rows#​1299

v2.12.5

Compare Source

v2.12.4

Compare Source

  • apollo@2.12.4
    • Update client:push command with new resolver and more output #​1290
  • apollo-language-server@1.9.0
    • update stats window types #​1292
    • Allow configuration of validation rules #​1288
  • vscode-apollo@1.7.0
    • Allow configuration of validation rules #​1288

v2.12.3

Compare Source

v2.12.2

Compare Source

v2.12.1

Compare Source

  • apollo@2.12.1
    • Add debugging logs to apollo client:push and apollo service:push # 1273
    • remove apollo service:info command, since it's undocumented and unused #​1274
  • apollo-language-server@1.8.3
    • Fix __typename addition for InlineFragments #​1286

v2.12.0

Compare Source

v2.11.1

Compare Source

  • apollo@2.11.1
    • Document engine requirements in client:check and client:push #​1077
  • apollo-language-server@1.8.1
    • Fix windows file paths by normalizing all URIs to a consistent format #​1213.
    • Fix positionToOffset to consider windows line endings #​1213.
  • vscode-apollo@1.6.9
    • Add env variable to silence TLS errors #​1212

v2.11.0

Compare Source

  • apollo@2.11.0
    • Leverage updates to apollo-language-server to support federated services #​1251
    • Add service:delete command for deleting federated services #​1251
  • apollo-env@0.5.0
  • apollo-graphql@0.3.0
    • Require graphql@^14.2.1 #​1251
    • Add buildSchemaFromSDL and related utilities for constructing partial schemas
      #​1251
    • Add transformSchema and related utilities for easily transforming schemas
      #​1251
  • apollo-language-server@1.8.0
    • Fix windows file paths by normalizing all URIs to a consistent format #​1213.
    • Fix positionToOffset to consider windows line endings #​1213.
    • Extend Engine API for federated schema uploads and checks #​1251
    • Reorganize files and exports #​1251

v2.10.3

Compare Source

  • apollo@2.10.3
    • Add service:check debuggability #​1250

v2.10.2

Compare Source

  • apollo@2.10.2

v2.10.1

Compare Source

  • apollo@2.10.1
    • Add service:push debuggability #​1244

v2.10.0

Compare Source

  • apollo@2.10.0
    • Add client:download-schema command to download schemas from engine to an output file #​1108

v2.9.0

Compare Source

  • apollo@2.9.0
    • Support local schema files in service:check #​1118
  • apollo-language-server@1.7.0
    • Fix on-hover bugs introduced by replacing visitWithTypeInfo #​1196
    • Add gql extension to the default includes configuration #​1176
    • Simple perf improvements (debouncer + cache) #​1206

v2.8.3

Compare Source

  • apollo@2.8.3
    • Update service:check output for errors and correct pluralization #​1178

v2.8.2

Compare Source

  • apollo@2.8.2
    • Update service:check's --markdown output to include clients affected, number of operations checked, pluralization improvements, and backticks around service and schema variant #​1164
    • Update service:check output to show failures before passes #​1168

v2.8.1

Compare Source

  • apollo@2.8.1
    • Add git info back to checkSchema to fix detail links#​1165
  • apollo-language-server@1.6.2

v2.8.0

Compare Source

  • apollo@2.8.0
    • Add --markdown output option to service:check #​1072
    • Enhance formatting for service:check output #​1146
  • apollo-language-server@1.6.1

v2.7.0

Compare Source

  • apollo@2.7.0
    • Update operation normalization technique to deterministically order fragments within operations. This update affects those users of the operation registry feature of the Apollo Platform. Anyone using the operation registry should re-register their operations with this new version of the apollo CLI via the apollo client:push command. Once all client operations are re-registered, the apollo-server-plugin-operation-manifest plugin within Apollo Server (which reads the manifest published with apollo client:push) should be updated to 0.1.0-alpha.1. #​1158
  • apollo-language-server@1.6.0
    • Stop loadConfig from looking up the tree when a --config location is defined #​1059
    • Refactored/documented/tested loadConfig #​1059
    • Add .vue file support for codegen:generate #​1160

v2.6.2

Compare Source

  • apollo@2.6.2
    • fix remoteUrl(remove slug) for service:check #​1121

v2.6.1

Compare Source

  • apollo@2.6.1
    • JSON flag for service:check output #​1079
  • apollo-env@0.4.0
    • Add environment-aware createHash function to apollo-env #​1110

v2.6.0

Compare Source

  • apollo@2.6.0
    • Use generated Typescript types via client:codegen #​1016
    • Remove default --tag=current for some client commands that used it #​1062
    • Add missing dependency @oclif/errors #​1068
    • Include targetUrl in the output of the service:check command #​1072
    • Import apollo-env utility types directly instead of treating them as globals #​1074
  • apollo-env@0.3.4
    • Import apollo-env utility types directly instead of treating them as globals #​1074
  • apollo-language-server@1.5.3
    • Import apollo-env utility types directly instead of treating them as globals #​1074
  • apollo-codegen-flow@0.32.9
    • Add missing dependencies @babel/generator, common-tags #​1071
  • apollo-codegen-scala@0.33.5
    • The keyword "type" is escaped when generating scala.js via client:codegen #​1066
    • Add missing dependencies @babel/generator, common-tags #​1071
  • apollo-codegen-swift@0.32.9
    • Add missing dependencies @babel/generator, common-tags #​1071
  • apollo-codegen-typescript@0.32.10
    • Add missing dependencies @babel/generator, common-tags #​1071
  • apollo-graphql@0.1.2
    • Expand the graphql peer dependency range of apollo-graphql to also include 0.13.x and 0.12.x in addition to 14.x, since the apollo-graphql package is relied upon by apollo-server-core which specifies those requirements itself. #​1076

v2.5.3

Compare Source

v2.5.2

Compare Source

  • apollo@2.5.2
    • Fix a bug where tagging a build will cause the tool to not be able to figure out where the git repo is #​944
    • Re-enable logging for codegen when in watch mode #​1039
  • apollo-language-server@1.5.1
    • Added a warning when there are 0 files found in a project #​1007
    • Allow relative paths in includes/excludes globs #​1007
  • vscode-apollo@1.5.1
    • Updated marketplace readme, color schemes, and icon to be prettier #​942

v2.5.1

Compare Source

v2.5.0

Compare Source

  • apollo@2.5.0
    • Support validation parameters for service:check #​953
    • Leverage nullability of validation parameters #​1006
    • Unpin graphql version #​1010
  • apollo-language-server@1.5.0
    • Better error handling in ApolloEngineClient #​953
    • Fix language server mis-reporting client identity for schema loading operation #​940
    • Unpin graphql version #​1010
  • vscode-apollo@1.5.0
    • Fix inline graphql highlighting in Vue <script> tags #​981
    • Fix graphql comments not being highlighted correctly #​907

v2.4.4

Compare Source

  • apollo@2.4.4
    • remove schemaDiff and change types from code/exports #​967
  • apollo-codegen-scala@0.33.0
    • Generate additional case-class like APIs for data containers #​943

v2.4.3

Compare Source

v2.4.2

Compare Source

v2.4.1

Compare Source

  • apollo 2.4.1
    • Bump the apollo-engine-reporting version #​950

v2.4.0

Compare Source

  • apollo 2.4.0
    • Fix configuration loading and schema tag support #​925
    • Improve client:check output #​934
  • apollo-language-server 1.4.0
    • Replace checkOperations mutation with new validateOperations mutation #​934
    • Include config files into a project's fileSet #​897
    • Add hook into workspace for communicating out when configs are loaded or when errors are found #​897
    • Add fn to workspace for reloading a project with a given config URI #​897
    • Reload project when config file is changed #​897
    • Update error handling from within the server (send as message). This message can be listened for and handled by the consumer #​897
  • vscode-apollo 1.4.1
    • Update statusBar to reflect new possible "warning" states #​897

v2.3.1

Compare Source

  • apollo@2.3.1
    • Fixed path building issues on Windows #​917

v2.3.0

Compare Source

  • apollo@2.3.0
    • Fixed filesystem issues on Windows #​810
    • Fixed codegen for Scala users #​686
  • vscode-apollo@1.4.0
    • Added a status bar action to show service stats in client projects #​840
    • Added monorepo support for multiple projects open at once #​840
  • apollo-language-server@1.3.0
    • Added listener for getStats to provide service stats for extensions #​840

v2.1.9

Compare Source

  • apollo@2.1.9
    • Add fallback for git branch calculation #​871
apollographql/apollo-client

v0.4.3

Compare Source

v0.4.2

Compare Source

v0.4.1

Compare Source

v0.4.0

Compare Source

v0.3.1

Compare Source

v0.3.0

Compare Source

v0.1.28

Compare Source

v0.1.27

Compare Source

v0.1.26

Compare Source

v0.1.25

Compare Source

v0.1.24

Compare Source

v0.1.23

Compare Source

apollographql/react-apollo

v2.5.8

Compare Source

2.5.8 (2019-06-21)

Bug Fixes
  • Makes the use of apollo-client 2.6.3's ObservableQuery.resetQueryStoreErrors
    method optional, for people who can't update to react-apollo's new
    apollo-client peer dep of 2.6.3.
    @​hwillson in #​3151

v2.5.7

Compare Source

Improvements
  • Make sure MockedProvider is using the proper CJS/ESM bundle, when
    referencing ApolloProvider.

    @​jure in #​3029.
  • Adjust the ApolloContext definition to play a bit more nicely with
    React.createContext types.

    @​JoviDeCroock in #​3018
  • The result of a mutation is now made available to the wrapped component,
    when using the graphql HOC.

    @​andycarrell in #​3008
  • Check equality of stringified variables in the MockLink to improve
    debugging experience used by MockedProvider.

    @​evans in #​3078
Bug Fixes
  • Removed leftover apollo-client@beta peer dep.

    @​brentertz in #​3064
  • Stop setting optional input to null, when using the graphql HOC.

    @​ZhengYuTay in #​3056
  • Fix typescript error caused by query being mandatory in the fetchMore signature.

    @​HsuTing in #​3065
  • Fixes an issue that caused the Query component to get stuck in an always
    loading state, caused by receiving an error (meaning subsequent valid
    responses couldn't be handled). The Query component can now handle an
    error in a response, then continue to handle a valid response afterwards.

    @​hwillson in #​3107
  • Reorder Subscription component code to avoid setting state on unmounted
    component.

    @​jasonpaulos in #​3139
  • Fix component stuck in loading state for network-only fetch policy.

    @​jasonpaulos in #​3126

v2.5.6

Compare Source

Improvements
  • Both the Query component and graphql HOC now accept a
    returnPartialData prop. This is an important new feature, that should
    help 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:

    const GET_MEMBER = gql`
      query GetMember($id: ID!) {
        member(id: $id) {
          id
          name
        }
      }
    `;

    in one component, the results are cached, then you run a superset query like
    the following in another component:

    const GET_MEMBER_WITH_PLANS = gql`
      query GetMemberWithPlans($id: ID!) {
        member(id: $id) {
          id
          name
          plans {
            id
            title
            duration
          }
        }
      }
    `;

    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 to true on the
    second component, the data available to that component will be
    automatically 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

v2.5.4

Compare Source

Bug Fixes
  • Fixes Could not find "client" in the context of ApolloConsumer errors when
    using MockedProvider.

    @​hwillson in #​2907
  • Ensure Query components using a fetchPolicy of no-cache have their
    data preserved when the components tree is re-rendered.

    @​hwillson in #​2914
Improvements

v2.5.3

Compare Source

Bug Fixes
  • Fixed an infinite loop caused by using setState in the
    onError / onCompleted callbacks of the Query component.

    @​chenesan in #​2751
  • Fixed an issue that prevented good results from showing up in a Query
    component, after an error was received, variables were adjusted, and then
    the good data was fetched.

    @​MerzDaniel in #​2718
  • Fixed an issue that prevented Query component updates from firing (under
    certain circumstances) due to the internal lastResult value (that's used
    to help prevent unnecessary re-renders) not being updated.

    @​Glennrs in #​2840
Improvements
  • MockedProvider now accepts a childProps prop that can be used to pass
    props 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 from MockedResponse's,
    when using MockedProvider.

    @​ajmath in #​2523

  • MockedProvider has been updated to stop setting a default resolvers
    value of {}, which means by default Apollo Client 2.5 local resolver
    functionality is not enabled when mocking with MockedProvider. This allows
    @client fields to be passed through the mocked link chain, like people
    were used to before AC 2.5. When using this default mode you will see a
    dev only warning message about this like:

    Found @​client directives in query but no client resolvers were specified.
    You can now pass apollo-link-state resolvers to the ApolloClient
    constructor.

    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 for fetchMore and refetch.

    @​EricMcRay in #​2525

  • The ApolloProvider / ApolloConsumer implementations have been refactored
    to use React 16.3's new context API.

    @​wzrdzl in #​2540

  • All dependencies and devDependencies have been updated to their latest
    versions, and related Typescript changes have been applied.

    @​hwillson in #​2873

v2.5.2

Compare Source

Bug Fixes
  • Export Context type from types.ts instead of walkTree.ts,
    to reenable import { Context } from 'react-apollo' (which has been
    broken since 2.4.0).

    @​benjamn in #​2825
Improvements

v2.5.1

Compare Source

Bug Fixes
  • Make sure 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
  • Ready to be used with Apollo Client 2.5 and its new local state management
    features, as well as many overall code improvements to help reduce the React
    Apollo bundle size.

    #​2758
  • A function can now be set as a MockedResponse result when using
    MockedProvider, 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.1

Compare Source

Improvements
  • Adds a onSubscriptionComplete prop to the Subscription component, that
    can be passed a callback to be called when the subscription observable
    is completed.

    @​sujeetsr in #​2716

  • During server-side rendering, ObservableQuery objects created in
    previous rendering passes will now be preserved in later passes (within
    the same getDataFromTree or getMarkupFromTree call), so that errors
    can be handled properly when using the errorPolicy: "all" option.

    PR #​2753

v2.4.0

Compare Source

Bug Fixes
  • Invoke onCompleted/onError even if Mutation unmounts.

    PR #​2710
Improvements
  • The walkTree function has been deprecated, since there's no way to
    make its behavior consistent with the latest versions of React. To save
    bundle size, walkTree is no longer exported from react-apollo,
    though you can still access it as follows:
    import { walkTree } from 'react-apollo/walkTree';

v2.3.3

Compare Source

Bug Fixes
  • Add react-dom as a peer dependency (since it's used by getDataFromTree
    and renderToStringWithData).

    @​hwillson in #​2660
Improvements
  • Drop react 14.x support, since the 14.x release line is 2 years old now,
    and react-apollo is 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot. View repository job log here.

@malbertSC malbertSC closed this Jul 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants