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
Added
Improvements
- Feat: Warn on deprecated enum values used as arguments (#5277) by jungwoo3490 (commit)
- Add
shard_extra_artifactsfeature 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)