Bump relay-compiler from 5.0.0 to 9.1.0
Bumps relay-compiler from 5.0.0 to 9.1.0.
Release notes
Sourced from relay-compiler's releases.
v9.0.0
9.0.0
Breaking
- Rename
getModernOperationVariablestogetOperationVariablesAdded
- Added
queuePendingOperationtoRelayModernMockEnvironmentin testing tools. This allows the caller to manually register an operation that should be pending.- Optionally output eager es modules (facebook/relay#2781).
- Expose a way to override isGeneratedFile function via language plugin (facebook/relay#2810).
- Allow language plugin to specify how generated files should be named (facebook/relay#2866).
- Allow language plugin to specify how to check for presence of
graphqlstrings (facebook/relay#2811).- Setup external config for Relay Compiler.
Fixed
- Ensure root record is always created upon store initialization, even before initial query has been processed.
- Fix disposable of optimistic updates: https://github.com/facebook/relay/commit/87ef4ed101018af40d471061ca546b8f5a326486
- Fix various issues in docs.
- Fix loading external config for Relay Compiler (facebook/relay#2999).
Misc
DataChecker::checknow returns the operation fetch time.- Removed
getRelayDefaultMissingFieldHandlers.jsExperimental
- Fix leaking environments when using Relay Hooks (facebook/relay#3014).
- Fix support of Fast Refresh when used with Relay Hooks.
- Fix recycling data for plural fragments; i.e. return an array with the sam object identity if the data hasn’t changed.
- Add support for batched
@stream’ed responses.- Internally renamed
useLegacyPaginationFragmenttousePaginationFragment.- Potentially Breaking
preloadQuerywill error if called during render.- Remove new connection model experimental code.
- We know check for “active” instead of queries in “flight” when determining when to suspend. An operation may be indefinitely in flight (e.g. a live query, or a GraphQL Subscription), but it’s only “active” if it’s actively receiving payloads, e.g. during
@streaming or@defer.v8.0.0
8.0.0
Commits: https://github.com/facebook/relay/compare/v7.1.0...v8.0.0
Breaking
... (truncated)
- Relay Compiler no longer relies on the
graphql-jsschema representation. And consumes only SDL file that represents the schema. This means that all custom implementations relay compiler runners that were depended on the specifics of thegraphql-jsmay not work as expected. Specifically, custom Enum values are no longer available in the relay-compiler - as they cannot be expressed via SDL. Also, custom functionparseValue,parseLiteralandserializethat can be defined for a graphql type viagraphql-jsprimitives are not accessible in the relay compiler: this may break serialization of custom scalars. https://github.com/facebook/relay/commit/860c23cbb445e04fd14e5d05ed53a026d4f63357- Babel plugin no longer produces thunks: https://github.com/facebook/relay/commit/490c89dfea7513e5624bc7b8c66204078d3b5911
Commits
157eb9bv9.1.00ac7714Flow 0.123.0 in xplat/js31d51a2Upgrade babel-eslint in xplat/js7a798d1Add option in Environment to handle stripped nulls in payload (#3061)e1a6761Correctly skip transforming @match when the field doesn't havesupportedar...314ea25Dedupe printingeb65cf4Enables InlineFragment, FragmentSpread and FragmentDefinitionccfc5e3mononoke: add deleted manifest to the warm bookmarks cache05871f3Convert codegen for LinkedField, ScalarField, Condition to interned AST6f56db0Ast definition + basic operation printing without deduping- Additional commits viewable in compare view
Maintainer changes
This version was pushed to npm by rbalicki, 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)@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in the .dependabot/config.yml file in this repo:
- Update frequency
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Codecov Report
Merging #2451 into master will increase coverage by
0.00%. The diff coverage isn/a.
@@ Coverage Diff @@
## master #2451 +/- ##
=======================================
Coverage 93.42% 93.43%
=======================================
Files 236 236
Lines 13196 13196
Branches 1897 1897
=======================================
+ Hits 12329 12330 +1
+ Misses 867 866 -1
| Impacted Files | Coverage Δ | |
|---|---|---|
| lib/atom/gutter.js | 92.85% <0.00%> (+2.38%) |
:arrow_up: |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact),ø = not affected,? = missing dataPowered by Codecov. Last update 2756820...d4fd27a. Read the comment docs.
gggg