[b683e8c2c355]: Add validations for custom scalar arguments by Alex Danoff
Enable flag enable_strict_custom_scalars to perform validations when custom scalar types are used, to check that the user doesn't try to pass literal values (strings, ints, etc) in positions where a custom scalar type is expected, as this can break type safety since Relay can't know whether those literals conform to the underlying custom type.
Bug fixes
[b379edf30a6e]: Handle the document type change from Query to Fragment by Andrey Lunyov
[5ffcdbcf0114]: Fix missing validation for global variables in client-edges (#4513) by Andrey Lunyov
[8e0949d6d90a]: Apply fragment renaming to resolver fields by Jordan Eldredge
Improvements
[dfad61878904]: Fix types in RelayMockPayloadGenerator.js by George Zahariev
[24ef22b4946c]: Adopt conditional type for useRefetchableFragment related functions by Sam Zhou
[400cfa841445]: Refactor extra typegen config fields into TypegenOptions struct by Monica Tang
[e694ba8792a6]: Use conditional type to power EntryPointElementConfig by Sam Zhou
[1cc9d937ea1a]: Refactor extra artifact project config fields into extra_artifacts_config by Monica Tang
[cf0fb394dbb6]: Incremental build compatible ResolversSchemaModule by Bhuwan Khattar
[0d429f796e69]: Implement fmt::Display for SchemaChange by Monica Tang
[d48a0e025385]: Fix RelayResolverModel-test by Monica Tang
[ab92df525948]: Use placeholder in connection warning by Jan Kassens
[6519571a092a]: Shallow freeze resolver value by Tianyu Yao
[7f54255c92ea]: Do not mutate a shallowly frozen subtree by Tianyu Yao
[904924c6925b]: Add validations for mutation resolvers by Alex Danoff
[ef84550353b6]: Handle panics in integration tests by Alex Danoff
[5c7555b2c00d]: Expose Sink type from relay-runtime (#4516) by jaroslav-kubicek
[9e0acc1d8c77]: Improve test coverage for recycleNodesInto on deeply frozen data by Tianyu Yao
[6b89a29678ad]: Add normalizeResponse to MultiActorEnvironmentConfig by Bhuwan Khattar
[61c7bffac76f]: Regression test for mutating complex resolver values by Tianyu Yao
[22a3c89f9518]: Import ClientRequest for client only mutations by Alex Danoff
[3017057e77eb]: Only freeze plain JS objects and arrays by Tianyu Yao
[f90edc4cb52a]: Add regression test for fragment spreads with undefined global variables as arguments by Monica Tang
[8011e22b6043]: Add areEqualOwners to check for structural equality of fragment owners. (#4500) by Andrey Lunyov
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 show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@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 react-relay from 16.0.0 to 16.1.0.
Release notes
Sourced from react-relay's releases.
... (truncated)
Commits
19e577e
v16.1.024ef22b
Adopt conditional type for useRefetchableFragment related functionsc618cdc
Set default ENABLE_SHALLOW_FREEZE_RESOLVER_VALUES to truee694ba8
Use conditional type to powerEntryPointElementConfig
d48a0e0
fix RelayResolverModel-test4712bcc
Replace uppercase React import with lowercase one6519571
Shallow freeze resolver value07a90ee
Repro tests for resolver client edges to nullable models70a5ff0
Always pass an args object to resolvers that define runtime args52b2c13
Regression test for freezing complex resplver valuesDependabot 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 show