Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 1, 2025

Bumps react-relay from 16.2.0 to 19.0.0.

Release notes

Sourced from react-relay's releases.

v19.0.0

Version 19.0.0 Release Notes

Relay 19.0.0 includes many documementation improvements, bug fixes, and improved capabilities.

@alias required on conditional fragments

To improve type safety, the @alias directive is now required on all fragments that are only conditionally fetched either due to @skip/@include or fragment type conditions which only conditionally match. You can opt out of this validation on a per-fragment basis with the @dangerously_unaliased_fixme directive.

To enable incremental migration we include a codemod which will automatically add the @dangerously_unaliased_fixme in all required places:

npx relay-compiler codemod mark-dangerous-conditional-fragment-spreads

You can also opt out of this validation entirely via compiler config feature flag:

{
  // ...
  "featureFlags": {
    "enforce_fragment_alias_where_ambiguous": {
      "kind": "disabled"
    }
  }
}

Improved Docs

We've merged ~30 commits to clean up and improve our docs since the last release:

  • Added new pages:
  • Removed outdated or orphaned doc pages
  • Streamlined and fixed issues in existing docs

React 19 Compatible

React 19 is now a valid peer dependency of Relay (#4944) by Krzysztof Karol (commit)

Breaking Changes

  • Relay now defaults to generating ES module imports in its generated js files. You can add "eagerEsModules": false in your relay.config.json to opt back into the old behavior. (commit)
  • Relay's NPM modules nolonger include a pre-bundled module. (#4935) by Iha Shin (commit)

... (truncated)

Commits
  • bb57add v19.0.0
  • 8313b24 relay-compiler: allow bare paths for CommonJS provider references (#4948)
  • 677c1e3 Fix nullable refetchedFragmentRef in checkSameIDAfterRefetch (#4945)
  • 616a78c Repro of issue where @​waterfall queries are not fetched
  • 9ba58eb generate data driven dependencies for static resources used by exec resolver ...
  • 9452851 - fix tests config to unbreak oss
  • 543918e - add ability to configure operationModuleProvider path separately from compo...
  • aeb26c3 Include React 19 in peerDependencies (#4944)
  • 81391e0 Use Omit instead of $Diff for $RelayProps
  • eeac8b2 Pre-suppress react-relay errors ahead of Deploy 0.267.0 to fbsource
  • 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 show <dependency name> 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](https://github.com/facebook/relay/tree/HEAD/packages/react-relay) from 16.2.0 to 19.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](https://github.com/facebook/relay/commits/v19.0.0/packages/react-relay)

---
updated-dependencies:
- dependency-name: react-relay
  dependency-version: 19.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@vercel
Copy link

vercel bot commented Jun 1, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wdp-admin ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 1, 2025 11:11am
wdp-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 1, 2025 11:11am

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 1, 2025

Superseded by #662.

@dependabot dependabot bot closed this Jul 1, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/react-relay-19.0.0 branch July 1, 2025 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants