github facebook/relay v21.0.1

4 hours ago

Version 21.0.0 had an issue where it failed to include our new TypeScript types in the published NPM bundle. Thanks to @PHILLIPS71 for the pull request identifying and resolving the issue. This point release resolves that issue and includes a number of other minor improvements which have landed since to v21.0.0 release.

Bug fixes

  • Fix(build): ship TypeScript definition files in gulp dist build (#5287) by Jordan Phillips (commit)

Added

  • Feat(compiler): add --noWatchman CLI flag (#5292) by Jordan Eldredge (commit)

Improvements

  • Feat: Warn on deprecated enum values used as arguments (#5277) by jungwoo3490 (commit)
  • Add shard_extra_artifacts feature flag to shard PHP text artifacts by Tianyu Yao (commit)
  • Allow updatable fragments to be spread at the top level of another fragment by Rajiv Anisetti (commit)

Documentation Improvements

  • Update v21 release notes, compiler CLI docs, and codemods guide by Jordan Eldredge (commit)
  • Document fetchPolicy option for fetchQuery (#5244) by Batrić Perović (commit)
  • Update Film import path to include file extension (#5243) by Meshack Ogeto (commit)
  • Fix the quickstart docs by Evan Yeung (commit)
  • Relay 21 release notes blog post by Jordan Eldredge (commit)

Miscellaneous

  • Implement feature flag to gate rollout of flow modern syntax by Sam Zhou (commit)
  • Use simpler intersect algorithm by Matt Mahoney (commit)
  • Update compiler clock to query result on subscribe by Shashank Kambhampati (commit)

Don't miss a new relay release

NewReleases is sending notifications on new releases.