Skip to content
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

Bump relay-runtime from 11.0.0 to 14.0.0 in /ui #225

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 1, 2022

Bumps relay-runtime from 11.0.0 to 14.0.0.

Release notes

Sourced from relay-runtime's releases.

v14.0.0

What's Changed

Breaking Changes

  • [8bb7478a27d5] Removed compiler CLI arguments: src, schema, artifactDirectory. This simplifies the public API of the compiler. The error message should print helpful message with possible config file, that can be used instead of these CLI arguments.
  • [44d68872f4de] Relay Compiler: Make language configuration option required. In v13, we have default language as flow (or Javascript with Flow comments) for reading and generating artifacts. Majority of the projects in OSS, however, use typescript - in order to detect which language (typescript, JS, or flow) is used in the project we will use this option.
  • [ed53bb095ddd] New compiler validation: Disallow __typename in fragments on query.
  • [20626f2c8501] Make __typename selections within concrete linked fields have a string literal type, instead of the type string.
  • [48ed515dd734] Removed legacy exported type names from generated files. typegen_phase have been removed from the Relay compiler config.

Added

  • Relay VSCode Extension by @​tbezman / collaboration with @​captbaritone. Starting with #3858.
  • Relay Provided Variables
    • Provided variables allow populating a variable with a user-defined function. Unlike normal variables, provided variables are automatically defined for all operations that use them, allowing developer to avoid tedious updates to all the queries that might reference a fragment using the variable. This is helpful for global values such as configuration flags or device settings (pixel ratio).
    • More: https://relay.dev/docs/api-reference/graphql-and-directives/#provided-variables
  • Experimental: Relay Typesafe Updaters
  • Experimental: Relay Resolvers
  • [901d6570090b] Relay Compiler: Add JavaScript language to Relay Compiler Configuration.
  • [124435968e54] Support for client-only queries.
  • [80a66c9a828a] Support query variables in @inline fragments (#3933).
  • [271a1621ee6b] Support CommonJS for @no_inline (#3923).
  • [9e717658f00d] Add new enum CustomScalarType to represent custom scalar types in the Relay compiler configuration.
  • [e73b95f5e232] Add new option to support compiling a single project (#3868).
  • [2a9f17f2b3db] support sha256 and md5 for local file persister (#3878)
  • [5e3c7b6d4f41] Build linux arm64 (#3882).
  • [23b4cacf1bd2] Expose Relay schema Extensions (#3859).
  • [f199ededc8a2] Relay Compiler: Enable updatable fragments.
  • [58b335e9b3f8] Relay Compiler: Allow single project configs to specify feature flags (#3840).

Fixed

  • [e8c9ffe8ded7] Relay Compiler: make LocalPersister include trailing newline (#3938)
  • [384315d7fd55] Report schema location for invalid types (#3924).
  • [141ef0fc4f1d] Avoid bug where watch mode can get stuck in invalid state (#3922).
  • [c48bda9f14f8] Ignore BOM when lexing (#3908).
  • [6cff97d75557] declarative_connection: allow interfaces or objects.
  • [52af6a65c526] Don't flatten fragment spreads with differing directives
  • [5a9d42e62c02] Fix incorrect type generation with @required on plural fragments.
  • [739009f649cd] remove DEPRECATED_GraphQLSubscriptionConfig type.
  • [928728a3ad9f] Relay Compiler: Detect cyclic @inline fragments.
  • [eb0fc26f8483] Hooks: Fix useMutation inFlight race condition (#3841).
  • [2101a7991ff8] Relay Compiler: Sort locally persisted operations (#3835).
  • [9f0dea4ff305] Relay Compiler: Sort unions conditionally.

... (truncated)

Commits
  • f855387 v14.0.0
  • 704e4f3 Generate client-only query types for client-only queries
  • f4b0658 Test with client-only queries
  • 1244359 Support for client-only queries
  • 383cbeb Disallow console errors/warns in fetchQuery test
  • 3befac0 Test: Live resolver with args and no fragment
  • c6f78e4 Example test with fragment-less in Live Resolver
  • 97ea7b7 Generate resolver function types
  • 20626f2 Make __typename selections within concrete linked fields have a string litera...
  • 90b4226 fix lints in OperationExecutor
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [relay-runtime](https://github.com/facebook/relay/tree/HEAD/packages/relay-runtime) from 11.0.0 to 14.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](https://github.com/facebook/relay/commits/v14.0.0/packages/relay-runtime)

---
updated-dependencies:
- dependency-name: relay-runtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 1, 2022

Dependabot tried to add @dhruv0000 as a reviewer to this PR, but received the following error from GitHub:

POST https://api.github.com/repos/Maxgit3/meshery/pulls/225/requested_reviewers: 422 - Reviews may only be requested from collaborators. One or more of the users or teams you specified is not a collaborator of the Maxgit3/meshery repository. // See: https://docs.github.com/rest/reference/pulls#request-reviewers-for-a-pull-request

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Jul 1, 2022

The following labels could not be found: kind/chore, pr/dependencies.

@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 1, 2022

Superseded by #239.

@dependabot dependabot bot closed this Aug 1, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/ui/relay-runtime-14.0.0 branch August 1, 2022 20:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
0 participants