Skip to content

v13.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@alunyov alunyov released this 08 Dec 20:22
· 2423 commits to main since this release

To install this version, run:

npm install react-relay@dev relay-runtime@dev
npm install --save-dev relay-compiler@dev babel-plugin-relay@dev

Or using yarn:

yarn add relay-runtime@dev react-relay@dev
yarn add --dev relay-compiler@dev babel-plugin-relay@dev

Fixes

  • Evaluate custom scalars first (#3671) [a0160e8]
  • Generate exact imports when using CommonJS and artifactsDirectory (#3675) [bc03126]
  • Update the way we handle different paths in single project config file. [6eea5a8]

Improvements

  • Do not gate required directive behind feature flag [964b2e4]
  • Update compiler installation instructions [b67bb55]
  • Update persisting docs [15aacb0]
  • Add MacOS ARM64 build target to relay-compiler for better M1 Mac support (#3667) [dea3f32]
  • Fixed example of 'Refreshing Fragments' (#3664) [f906565]
  • Move updatable fragment errors into own module [a961cf4]

Experimental

  • Provided Variables
    • Add JS module 'require's into generated artifacts [df7335a]
    • Fix provided variables bug in transform [390bf1a]
    • Renamed provided variable directive [7930ab7]
  • GraphMode
    • Handle more node types [7730a5b]
    • Add utility to insert GraphMode into a MutableRecordSource [03647ab]
    • Support more node types in transform [65bf22f]

Misc

  • Use cosmiconfig instead of relay-config (#3678) [4c5ddec]
  • Remove relay-conifg (#3677) [46a4084]
  • Move validation messages out of graphql-ir [d92b9e5]
  • GitHub Actions: remove redundant tag check [609f32b]
  • Shorten codegen code with object! macro [9157236]
  • Convert more of build_ast.rs to use object! macro [eb45f66]
  • Remove publish_packages, this is moved to GitHub Actions [a4d3c2c]
  • Update itertools to 0.10.3 [f3f3ebb]