Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 9, 2022

Bumps relay-compiler from 10.1.2 to 14.0.0.

Release notes

Sourced from relay-compiler's releases.

v14.0.0

What's Changed

Breaking Changes

  • [8bb7478a27d5] Remove 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 be precisely 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

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)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 9, 2022
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/relay-compiler-14.0.0 branch 2 times, most recently from 7cab50f to 37b852e Compare July 1, 2022 16:31
Bumps [relay-compiler](https://github.com/facebook/relay/tree/HEAD/packages/relay-compiler) from 10.1.2 to 14.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](https://github.com/facebook/relay/commits/v14.0.0/packages/relay-compiler)

---
updated-dependencies:
- dependency-name: relay-compiler
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/relay-compiler-14.0.0 branch from 37b852e to fa3f8f4 Compare July 15, 2022 12:37
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 28, 2022

Superseded by #802.

@dependabot dependabot bot closed this Jul 28, 2022
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/relay-compiler-14.0.0 branch July 28, 2022 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants