Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump relay-test-utils from 12.0.0 to 13.0.0 #3692

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 7, 2022

Bumps relay-test-utils from 12.0.0 to 13.0.0.

Release notes

Sourced from relay-test-utils's releases.

v13.0.0

13.0.0

Breaking Changes

  • relay-compiler is now implemented in Rust and it replaced the JS version from v12.
    • The motivation and details for this change are captured here: https://relay.dev/blog/2021/12/08/introducing-the-new-relay-compiler/
    • A few new features that are supported in the new compiler:
      • TypeScript code generation added to the compiler.
      • New directives:
        • @​required: Improve the ergonomics of handling null values by declaratively telling Relay to either LOG, THROW, or bubble (NONE) null fields.
        • @​no_inline: Disable inlining the fragment when it is used in normalization(query) artifacts. Reduce generated artifacts size if the fragment is used in many places.
      • Support for generic query persisting in the configuration.
    • Breaking changes in the new Relay compiler
      • No field aliases can start with two underscores; these are reserved for internal Relay use.
      • Export query hashes to JSON is removed.
    • The quick instructions on how to use the new compiler are here:
  • Updates in runtime, React APIs, and generated flow types for better integration with Flow: and a first class support for types in flow for graphql tags. It may break some of the components that rely on the structure of the generated Relay flow-types.
  • Statically flow-type the second parameter passed to updaters, optimistic updaters and commitLocalUpdate; it is now derived from the shape of the mutation and is optional. This type had previously been typed as $FlowFixMe (i.e. any); as a result, adding static types here is a breaking change.
  • Removed relay-config.

For more details see:


Changes since RC.2

Added

  • Allow Node interface id field to be configurable. (#3638)
  • [2ea681cc15e] Add FlatbufferSchema.has_type()

Fixed

  • [995bb871389] Add include option to single project config file, and warn if it is used.
  • [504b5a893fd] add serde(alias = "exclude") to SingleProjectConfigFile
  • [f0d7395db58] do not panic if query_type is not defined
  • Update refetching-queries-with-different-data.md (#3714)
  • [e0911d6443a] update doc references to renamed props
  • [e959f5ce37d] fix typo in fetch policies
  • [ed24f9d55f9] fix unused variables lints in relay-runtime
  • [a93d9223121] fix test utils for ResolverFragments

Misc

... (truncated)

Commits
  • a93d922 fix test utils for ResolverFragments
  • 4f1a0b0 Update Cargo.lock (#3719)
  • 204ce14 Docs v13.0.0
  • b6c6b7d v13.0.0
  • ed24f9d fix unused variables lints in relay-runtime
  • 2ea681c Add FlatbufferSchema.has_type()
  • ebfa5b1 autocargo: ctp: depend on pxl instead of re-declaring its crates
  • c3f0292 Allow Node interface id field to be configurable. (#3638)
  • 995bb87 Add include option to single project config file, and warn if it is used.
  • 504b5a8 add serde(alias = "exclude") to SingleProjectConfigFile
  • Additional commits viewable in compare view

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)

Bumps [relay-test-utils](https://github.com/facebook/relay) from 12.0.0 to 13.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](facebook/relay@v12.0.0...v13.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested review from adeira-github-bot and a team as code owners January 7, 2022 02:05
@dependabot dependabot bot added automerge dependencies Pull requests that update a dependency file labels Jan 7, 2022
@vercel vercel bot temporarily deployed to Preview – universe-sx-tailwind-website January 7, 2022 02:05 Inactive
@vercel vercel bot temporarily deployed to Preview – universe-example-relay January 7, 2022 02:05 Inactive
@mrtnzlml
Copy link
Member

mrtnzlml commented Jan 7, 2022

#2119

@mrtnzlml mrtnzlml closed this Jan 7, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 7, 2022

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/relay-test-utils-13.0.0 branch January 7, 2022 03: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.

1 participant