react-native-relay-graphql-example
react-native-relay-graphql-example copied to clipboard
Bump relay-compiler from 1.5.0 to 14.1.0
Bumps relay-compiler from 1.5.0 to 14.1.0.
Release notes
Sourced from relay-compiler's releases.
v14.1.0
Relay v14.1.0 adds improvements for existing relay features - primarily fixes and feature compatibility for client extensions and
@inline. Thanks to our open source contributors who helped us release the Relay VSCode Extension!Added
[cefab9e1659f] Support for
@requiredand client-edges [90ccda1da4b0] Support@argumentDefinitionsin@inlinefragments (#3935) [8adcfab3ec11] VS Code: Find references of the Resolver field. [b965299349d1] useClientQuery hook [7d5cc3431891] Add support for resolvers without fragments [8db002fa4120] Support custom scalar arguments that are passed as literalsFixed
[a5d67d6bf677] Add resolvers to the dependency graph (Fix missing resolver fragments in incrmental mode and VS Code) [57f96a133177] Improve error message when you mix up
@liveand non-live values. [c4dbd26278fa] Remove.jsand.tsfrom require / import (#4002) [cd1e9ae06d11] Fix MutationHandlers on field with args [7e6dbdd6af74] Ensure only one implemntation on interface [055908fb12a2] VS Code: Fix comment blocks to recognize the embedded language inside of a JS file. (#4001) [6a9b0e560e3d] Performance optimizations in the validate_conflicting_selections [fa5a3baa9a8d] Explicitly enumerate unsupported ReaderNode types [9990e6f0bf79] Disallow default values on resolver fields [d42bb7c5a139] VSCode extension pathToRelay doesn't allow relative paths (#3969) [a86323f43c59] Validate conflicting selections in client fieldsv14.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 theseCLIarguments.- [44d68872f4de] Relay Compiler: Make
languageconfiguration option required. In v13, we have default language asflow(or Javascript with Flow comments) for reading and generating artifacts. Majority of the projects in OSS, however, usetypescript- 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
__typenamein fragments on query.- [20626f2c8501] Make
__typenameselections within concrete linked fields have a string literal type, instead of the typestring.- [48ed515dd734] Removed legacy exported type names from generated files.
typegen_phasehave been removed from the Relay compiler config.Added
- Relay VSCode Extension by
@tbezman/ collaboration with@captbaritone. Starting with #3858.
- Please see: https://github.com/facebook/relay/tree/main/vscode-extension#readme for detailed information and installation instructions.
- 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
- New Experimental APIs for updating local data:
readUpdatableQuery_EXPERIMENTALandreadUpdatableFragment_EXPERIMENTAL- For more details see FAQ: https://relay.dev/docs/guided-tour/updating-data/typesafe-updaters-faq/#what-is-typesafe-updaters
- Experimental: Relay Resolvers
- Relay Resolvers is an experimental Relay feature which enables modeling derived state as client-only fields in Relay’s GraphQL graph. For more details see https://relay.dev/docs/guides/relay-resolvers/
- [901d6570090b] Relay Compiler: Add JavaScript language to Relay Compiler Configuration.
- Please see: https://github.com/facebook/relay/tree/main/packages/relay-compiler for the list of supported compiler configuration options and CLI arguments.
... (truncated)
Commits
eb44a34v14.1.0df32ee1Add docs for disallowing non-ID id fieldse5ffd24Include platform and arch in the compiler error messagef855387v14.0.05e3c7b6Build linux arm64 (#3882)4c8a6dfInit VSCode Extension (#3858)c20ed27Fix loading config files via CLI argument0e057c3Update in the README for v148bb7478Remove compiler CLI arguments8d824cfMake typescript default language- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by relay-bot, a new releaser for relay-compiler since your current version.
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)