Skip to content
This repository has been archived by the owner on Jun 22, 2021. It is now read-only.

Update Apollo GraphQL packages #44

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 6, 2019

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@apollo/react-hooks 3.0.1 -> 3.1.5 age adoption passing confidence
@apollo/react-testing 3.0.1 -> 3.1.4 age adoption passing confidence
apollo 2.18.0 -> 2.33.4 age adoption passing confidence
apollo-cache-inmemory 1.6.3 -> 1.6.6 age adoption passing confidence
apollo-client 2.6.4 -> 2.6.10 age adoption passing confidence
apollo-link 1.2.12 -> 1.2.14 age adoption passing confidence
apollo-link-context 1.0.18 -> 1.0.20 age adoption passing confidence
apollo-link-http 1.5.15 -> 1.5.17 age adoption passing confidence
apollo-link-ws 1.0.18 -> 1.0.20 age adoption passing confidence
apollo-utilities 1.3.2 -> 1.3.4 age adoption passing confidence
graphql-tag 2.10.1 -> 2.12.4 age adoption passing confidence

Release Notes

apollographql/react-apollo

v3.1.5

Compare Source

v3.1.4

Compare Source

v3.1.3

Compare Source

  • Revert the changes made in #​3497, which have lead to problems with onCompleted being called more often than necessary.

    @​hwillson in 0901f4a

v3.1.2

Compare Source

Bug Fixes

v3.1.1

Compare Source

Improvements
  • Calling startPolling or stopPolling after a component has unmounted is now a no-op (instead of throwing an exception). Polling is automatically stopped when a component is unmounted, so it doesn't need to be called manually.

    @​hwillson in #​3485
  • Allow ignoreResults to be controlled through graphql and withMutation options.

    @​tim-stasse in #​3431
  • Be a bit more defensive when it comes to accessing the internal
    ObservableQuery instance, to avoid attempting to use it after a component
    has unmounted.

    @​jfrolich in #​3490
Bug Fixes
  • A fix has been applied to prevent an unchanging loading state when an error occurs after a refetch, that is the same as the previous error.

    @​jet2jet in #​3477
  • Add back in the removed ChildDataProps and ChildMutateProps types.

    @​hwillson in #​3495
  • Make sure onCompleted is called each time a useLazyQuery based query completes, after the execution function is called.

    @​hwillson in #​3497

v3.1.0

Compare Source

Potentially Breaking Change
  • Change the default query data state from {} to undefined. This change aligns all parts of the React Apollo query cycle so that data is always undefined if there is no data, instead of data being converted into an empty object. This change impacts the initial query response, initial SSR response, data value when errors occur, data value when skipping, etc. All of these areas are now aligned to only ever return a value for data if there really is a value to return (instead of making it seem like there is one by converting to {}).

    @​hwillson in #​3388
Bug Fixes
  • Adds support for the skip option when using useSubscription.

    @​n1ru4l in #​3356
  • Makes sure refetch, fetchMore, updateQuery, startPolling, stopPolling, and subscribeToMore maintain a stable identity when they're passed back alongside query results.

    @​hwillson in #​3422
  • Fixed problematic re-renders that were caused by using fetchMore.updateQuery with notifyOnNetworkStatusChange set to true. When notifyOnNetworkStatusChange is true, re-renders will now wait until updateQuery has completed, to make sure the updated data is used during the render.

    @​hwillson in #​3433
  • Add client to the useMutation result.

    @​joshalling in #​3417
  • Prevent inline onError and onCompleted callbacks from being part of the internal memoization that's used to decide when certain after render units of functionality are run, when using useQuery. This fixes issues related to un-necessary component cleanup, like error disappearing from results when it should be present.

    @​dylanwulf in #​3419
  • useLazyQuery's execution function can now be called multiple times in a row, and will properly submit network requests each time called, when using a fetch policy of network-only.

    @​hwillson in #​3453
  • SSR enhancements to support network-only and cache-and-network fetch policies, along with changes to ensure disabled SSR queries are not fired.

    @​mikebm in #​3435
  • Remove void from the MutationFunction's returned Promise types.

    @​hwillson in #​3458
  • Prevent duplicate onCompleted calls during the same query execution cycle.

    @​hwillson in #​3461
  • Make sure polling is stopped when a component is unmounted.

    @​dqunbp in #​3273
  • Documentation fixes.

    @​SeanRoberts in #​3380
apollographql/apollo-tooling

v2.33.4

Compare Source

v2.33.3

Compare Source

v2.33.2

Compare Source

v2.33.1

Compare Source

v2.33.0

Compare Source

v2.32.13

Compare Source

v2.32.12

Compare Source

v2.32.11

Compare Source

v2.32.10

Compare Source

v2.32.8

Compare Source

v2.32.5

Compare Source

  • apollo@2.32.5
    • Bump version of env-ci #​1754 Issue #​2219

      Due to human error during the release process, the following packages also had their versions bumped, despite having no known significant changes. (Apologies, from that human.)

      • apollo-codegen-core@0.39.3
      • apollo-codegen-flow@0.37.3
      • apollo-codegen-scala@0.38.3
      • apollo-codegen-swift@0.39.3
      • apollo-codegen-typescript@0.39.3
      • apollo-env@0.6.6
      • apollo-graphql@0.6.1
      • apollo-language-server@1.25.2
      • @apollographql/apollo-tools@0.4.9
      • vscode-apollo@1.18.2

v2.32.4

Compare Source

  • This version should not be used as it was published without depended-on packages. Please use apollo@2.32.5 instead.

v2.32.1

Compare Source

  • apollo-codegen-swift
    • Fix issue where a query referencing many fragments caused type checking for queryDocument to time out #​2198

v2.32.0

Compare Source

  • apollo@2.32.0
    • Support the standard HTTP_PROXY, HTTPS_PROXY, and NO_PROXY environment variables for using an HTTP proxy. #​2181

v2.31.2

Compare Source

  • apollo-codegen-swift
    • Fix bug in generated compound type names that lead to structName being inconsistent throughout codegen #​2170

v2.31.1

Compare Source

  • Update CLI default API domain from engine-graphql.apollographql.com to graphql.api.apollographql.com.
    Users that have set up support for corporate proxies or firewalls may need to update configurations.
    • Accept GitLab remote URLs when fetching git info for service:check and service:push #​2104
    • --commitId in service:check and service:push overrides the current commit ID otherwise read through env-ci.
    • service:push now takes --author and --branch matching service:check.

v2.31.0

Compare Source

v2.30.3

Compare Source

v2.30.2

Compare Source

  • apollo-codegen-core
    • Add new unionTypes and interfaceTypes properties to the exported IR JSON (when using the json-modern target), that list all unions and their types, as well as all interfaces and their implementing types #​2050.

v2.30.1

Compare Source

  • apollo-codegen-swift@0.37.7
    • Generate JSON file including fragments when --operationIds option is provided #​2017

v2.30.0

Compare Source

  • apollo@2.30.0
    • Allow flags for --branch and --author in service:check command. This will permit users to group changes using the --branch flag and indicate an author, via a string value using the --author flag.

v2.29.1

Compare Source

** Note: this release is an immediate follow-up to the previous release. apollo-graphql should've been updated but it was unfortunately missed. **

  • apollo-graphql@0.5.0
    • Add support for graphql version ^15 #​1743

v2.29.0

Compare Source

  • apollo@2.29.0
    • Add support for graphql version ^15 #​1743
  • apollo-language-server@1.23.0
    • Fix definition navigation for vscode using localSchemaFile #​1996
    • Add support for graphql version ^15 #​1743
  • vscode-apollo@1.16.4
    • Fix definition navigation for vscode using localSchemaFile #​1996
    • Fix 'Apollo: Show Status' command. #​2004

v2.28.3

Compare Source

  • apollo@2.28.3
    • Don't send a user-specified frontend URL to Apollo's servers; fetch one when needed. Drop --frontend flag. #​1990
  • apollo-language-server@1.22.3
    • Don't send a user-specified frontend URL to Apollo's servers; fetch one when needed. #​1990

v2.28.2

Compare Source

  • apollo@2.28.2
    • Prevent cli from sending some git credentials #​1988

v2.28.1

Compare Source

  • apollo@2.28.1
    • Fix silent codegen errors on syntax errors #​1899
  • apollo-language-server@1.22.1
    • Remove error from the case with old and new api keys present #​1893
    • Add Elixir support for vscode #​1971
  • vscode-apollo@1.61.1
    • Add Elixir support for vscode #​1971

v2.28.0

Compare Source

v2.27.4

Compare Source

v2.27.3

Compare Source

  • apollo@2.27.4
    • Change json-modern target to use legacy IR as base, similar to json target #​1916.
    • Update json-modern IR to expose typeNodes on typesUsed #​1916
  • apollo-codegen-core@0.36.9
    • Change json-modern target to use legacy IR as base, similar to json target #​1916.
    • Update json-modern IR to expose typeNodes on typesUsed #​1916

v2.27.2

Compare Source

  • apollo@2.27.2
    • Setup automatically creating a GitHub release #​1876

v2.27.0

Compare Source

  • apollo@2.27.0
    • downgrade mkdirp to keep node 8 working as expected 63f0773
    • Remove "hidden: true" from --variant in service:push #​1865
    • update ENGINE_API_KEY deprecation message to give alternative #​1866
    • Add json-modern codegen target which adds typeNodes (ast type nodes) to codegen output #​1846
  • apollo-codegen-core@0.36.6
    • Add json-modern target which adds typeNodes (ast type nodes) to codegen output #​1846

v2.26.0

Compare Source

  • apollo@2.26.0
    • Support APOLLO_KEY and deprecate ENGINE_API_KEY for .env support #​1851
    • Support --graph/-v flag for specifying graph manager id without requiring a config file #​1858
    • Support graph@variant parsing under the service.name key in config files, similar to client configs #​1858
    • Update all commands that supported --tag to prefer --variant and indicate a deprecation warning for --tag #​1849
    • Updates of --help messages #​1849
    • Bug fix of some apollo commands that did not work with graph@variant parsing within the apollo.config.js #​1849
    • Improved error messaging when a graph is not specified in either apollo.config.js or within the API key. #​1849
    • Added --ignoreFailures flag to service:check to exit with code 0 with check failures #​1856
    • Make Update "no service found to link..." error more consistent #​1847
    • Fix non-existent service message to use the actual service name that's being looked up #​1834
  • apollo-language-server@1.21.0
    • Support APOLLO_KEY and deprecate ENGINE_API_KEY for .env support #​1851
    • Support graph@variant parsing under the service.name key in config files, similar to client configs #​1858
    • Improved error messaging when a graph is not specified in either apollo.config.js or within the API key. #​1849
    • Make Update "no service found to link..." error more consistent #​1847
    • Fix non-existent service message to use the actual service name that's being looked up #​1834

v2.25.0

Compare Source

  • apollo@2.25.0
    • Add confirmation check when deleting services #​1826

v2.24.0

Compare Source

  • apollo@2.24.0
    • Correctly fail on duplicate operations in client projects #​1812
  • apollo-language-server@1.20.0
    • Correctly fail on duplicate operations in client projects #​1812

v2.23.0

Compare Source

  • apollo
    • Fix rendering of unexpected composition errors throwing a table cell error #​1806
    • Add ability to define schema download output path that doesn't exist yet #​1807

v2.22.1

Compare Source

  • apollo@2.22.1
    • Update shortlinks to use go.apollo.dev instead of bitly #​1790
  • apollo-codegen-flow@0.34.1
  • apollo-codegen-scala@0.35.1
  • apollo-codegen-swift@0.36.1
  • apollo-codegen-typescript@0.36.1

v2.22.0

Compare Source

  • apollo@2.22.0
    • Support disabling literal stripping when extracting queries. 1703

v2.21.3

Compare Source

  • apollo-codegen-swift@0.35.10
    • Add documentation to input structs' constructors #​1619
  • apollo-env@0.6.1
  • apollo-language-server@1.18.0
    • Adds support for ReasonML to the language server #​1488
  • vscode-apollo@1.13.0
    • Adds syntax highlighting for ReasonML #​1488

v2.21.2

Compare Source

v2.21.1

Compare Source

  • apollo@2.21.1
    • Add sdl download ability to client:download-schema #​1470
    • colors: use cyan instead of blue for text highlighting #​1598
    • Fix codegen --watch breaking out of watch mode on validation errors #​1627
  • apollo-env@0.6.0
    • POTENTIALLY BREAKING: Make apollo-env a standard TS package
      #​1611 This PR likely warrants a pre-major version bump so that it isn't accidentally upgraded to for dependents using the ^ range. If this breaks your project, please don't hesitate to let us know and revert back to v0.5.1. This PR removes the handwritten node-fetch types and instead
      just re-exports them. Internally, this drastically simplifies the existence of apollo-env within this monorepo, as it no longer requires a special build step that forces lerna and TS to work around it.
  • vscode-apollo@1.12.1
    • Fix client localSchemaFile for vscode stats command #​1634

v2.21.0

Compare Source

  • apollo@2.21.0
    • Add flag to omit deprecated enum cases for swift codegen #​1595
  • apollo-codegen-swift@0.35.7
    • Add flag to omit deprecated enum cases #​1595
    • Fix code generation for input fields with the value null #​1596

v2.20.0

Compare Source

  • apollo@2.20.0
    • Fix codegen --watch mode not writing changes for files #​1591
    • Fix service:check not outputing url
  • apollo-codegen-swift@0.35.11
    • Fix code generation for empty input objects / arrays #​1589
  • apollo-language-server@1.17.0
    • Improve autocomplete performance by fixing leading option and debounce threshold #​1593
    • Load ENV variables from both .env and .env.local for Vue CLI compatibility #​1525
  • vscode-apollo@1.12.0
    • Fix ctrl+space autocomplete with language-server imrovements #​1593
    • Watch both .env and .env.local for changes #​1525

v2.19.1

Compare Source

  • apollo@2.19.1
    • Support custom frontend and historic parameters for federated service:check
  • apollo-codegen-swift@0.35.10
    • Ensure fields named self don't cause compilation errors in the generated code #​1533
    • Preserve leading/trailing underscores on field names #​1533
    • Allow generated code to be compiled without a module umbrella header #​1248

v2.19.0

Compare Source

  • apollo@2.19.0
    • Improve performance of CLI when running projects by delaying or not calling validation unnecessarily #​1559
    • Use "table" package for tabular output and word wrap support #​1524
    • Use new single step mutation for checking federated service schemas #​1539
    • Add support for localSchemaFile for federated service commands #​1489
  • apollo-codegen-core@0.35.4
    • Improve performance of validation when client fields are present or not #​1559
  • apollo-codegen-swift@0.35.9
    • Switch operations and fragments to default to printing queries as multiline strings rather than including queries as multiline comments
    • Add --suppressSwiftMultilineStringLiterals flag to allow a version which strips unnecessary whitespace.
  • apollo-graphql@0.3.4
    • Use reference-equality, rather than Function.prototype.name string comparison, when omitting validation rules within buildSchemaFromSDL. #​1551
  • apollo-language-server@1.16.0
    • Replace old mutation used for checking partial service schemas to use checkPartialSchema #​1539
    • Remove old federation-info provider #​1489
    • Support using local schema files for checks/pushes of federated services #​1489
  • vscode-apollo@1.11.0
    • Improve performance of validation when client fields are present or not #​1559

v2.18.3

Compare Source

  • apollo
    • fix bad parsing of multiple localSchemaFiles #​1529

v2.18.2

Compare Source

  • apollo-codegen-core@0.35.2

  • apollo-codegen-flow@0.33.27

  • apollo-codegen-scala@0.34.27

  • apollo-codegen-swift@0.35.7

  • apollo-codegen-typescript@0.35.2

  • apollo-language-server@1.15.2

  • apollo@2.18.2

  • apollo

    • Support multiple localSchemaFiles #​1500
  • apollo-codegen-core

    • Replace instanceof checks with their respective predicates #​1518
  • apollo-codegen-flow

    • Replace instanceof checks with their respective predicates #​1518
  • apollo-codegen-scala

    • Replace instanceof checks with their respective predicates #​1518
  • apollo-codegen-swift

    • Replace instanceof checks with their respective predicates #​1518
    • Ensure types and strings are properly escaped in all generated code #​1515
    • Fix warning in Xcode 11 when enums have a none case #​1482
  • apollo-codegen-typescript

    • Replace instanceof checks with their respective predicates #​1518
  • apollo-language-server

    • Replace instanceof checks with their respective predicates #​1518
    • Support multiple localSchemaFiles #​1500

v2.18.1

Compare Source

  • apollo-codegen-core@0.35.1
  • apollo-codegen-flow@0.33.26
  • apollo-codegen-scala@0.34.26
  • apollo-codegen-swift@0.35.6
  • apollo-codegen-typescript@0.35.1
  • apollo-language-server@1.15.1
  • vscode-apollo@1.10.1
  • apollo@2.18.1
    • Shorten client:check and service:check output in CI #​1404
    • service:check add null check for validation config #​1471
apollographql/apollo-client

v1.6.6

Compare Source

v1.6.5

Compare Source

apollographql/apollo-link

v1.2.14

Compare Source

v1.2.13

Compare Source

apollographql/graphql-tag

v2.12.4

Compare Source

  • Allow fragments to be imported by name when using the webpack loader.

    @​dobesv in #​257

v2.12.3

Compare Source

v2.12.2

Compare Source

v2.12.1

Compare Source

  • To accommodate older versions of TypeScript, usage of the import type ... syntax (introduced by #​325) has been removed, fixing issue #​345.

    @​benjamn in #​352

v2.12.0

Compare Source

  • The 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 that graphql-tag doesn't have side effects.

    @​hwillson in #​313

v2.10.4

Compare Source

v2.10.3

Compare Source

v2.10.2

Compare Source


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 you tick the rebase/retry checkbox.

👻 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 WhiteSource Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from b4bdee5 to dd40cfe Compare September 6, 2019 16:33
@renovate renovate bot changed the title Update Apollo GraphQL packages to v3.1.0 Update Apollo GraphQL packages Sep 6, 2019
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 3 times, most recently from a87faaa to 5f802ad Compare September 12, 2019 21:08
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from b66338b to e93d79e Compare September 16, 2019 01:44
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from e354e7a to ce33b60 Compare October 4, 2019 14:19
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 9cf11a9 to d450d98 Compare October 15, 2019 19:49
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 8ec1a27 to 1e9a12a Compare October 21, 2019 16:50
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1e9a12a to 1ed7b39 Compare November 21, 2019 09:58
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1ed7b39 to 8a14f6e Compare December 14, 2019 17:43
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 8a14f6e to 9a9da26 Compare January 18, 2020 14:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 9a9da26 to 37b0bbf Compare February 8, 2020 13:54
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 37b0bbf to 427a47a Compare February 16, 2020 07:53
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 427a47a to 2f22ee7 Compare March 10, 2020 15:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 2f22ee7 to e830bed Compare April 26, 2020 11:00
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from e830bed to 49a02c7 Compare July 1, 2020 22:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 49a02c7 to 0ea0e4c Compare July 10, 2020 20:52
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 0ea0e4c to cb03785 Compare August 26, 2020 02:00
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from cb03785 to a271907 Compare October 26, 2020 03:00
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from a271907 to 1e641d8 Compare November 25, 2020 04:59
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 1e641d8 to 79a5c5e Compare December 9, 2020 05:00
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 79a5c5e to b6a1e00 Compare January 5, 2021 15:49
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from b6a1e00 to 3d51a2f Compare January 24, 2021 10:51
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 3d51a2f to ecaa88f Compare April 26, 2021 13:38
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch 2 times, most recently from 57f5e8c to 76c57ab Compare May 15, 2021 21:14
@renovate renovate bot force-pushed the renovate/apollo-graphql-packages branch from 76c57ab to f4fc023 Compare June 6, 2021 19:43
@codeclimate
Copy link

codeclimate bot commented Jun 6, 2021

Code Climate has analyzed commit f4fc023 and detected 0 issues on this pull request.

View more on Code Climate.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant