fakeddit
fakeddit copied to clipboard
build(deps-dev): bump babel-plugin-relay from 13.0.1 to 14.1.0
Bumps babel-plugin-relay from 13.0.1 to 14.1.0.
Release notes
Sourced from babel-plugin-relay'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
@required
and client-edges [90ccda1da4b0] Support@argumentDefinitions
in@inline
fragments (#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
@live
and non-live values. [c4dbd26278fa] Remove.js
and.ts
from 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 theseCLI
arguments.- [44d68872f4de] Relay Compiler: Make
language
configuration 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
__typename
in fragments on query.- [20626f2c8501] Make
__typename
selections within concrete linked fields have a string literal type, instead of the typestring
.- [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.
- 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_EXPERIMENTAL
andreadUpdatableFragment_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
eb44a34
v14.1.0bd2e417
codemod away flow exact object type syntax (#3981)f855387
v14.0.02a34b4d
Bump minimist from 1.2.5 to 1.2.6 in /packages/babel-plugin-relay (#3848)8e13c8f
v13.2.03b5e37c
v13.1.1c9c4c46
v13.1.00aa4548
v13.0.32a06405
Fixed Repository Reference in monorepo package.json files (#3467)035b077
v13.0.2- Additional commits viewable in compare view
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)