react-relay v7.1.0 Release Notes
Release Date: 2019-11-07 // over 4 years ago-
7.1.0
โ Added
- ๐ New warning in RelayPublishQueue if if RelayPublishQueue::run() is called again during a run(): 3823534
๐ Support for the new configuration option in the compiler (aa1453b) writerConfig.writeQueryParameters - that can accept the function:
writeQueryParams: ( dir: CodegenDirectory, filename: string, moduleName: string, params: RequestParameters, ) => void
๐ Fixed
- 0๏ธโฃ Compiler: fix validation of required fields with default values #2903 by @mrtnzlml
- [Allow non-nullable Viewer field in ViewerQueryGenerator #2924 by @janicduplessis
- โ Add exports to relay-runtime to make available in relay-experimental: a0fc101
Misc
- ๐ Renaming/cleanup in the compiler: Moving some parts of the new codegen runner to OSS, removed redundant prefixes.
Experimental
- ๐ Allow an extraOptions object on PreloadOptions: 68e893e
- ๐ Allows passing a raw query to
preloadQuery()
, which makes it usable without the special $Parameters file: edb4670 getModuleIfRequired
replaced withqueryResource
in the EntryPoints: 32f4a71- โ Added new Relay Experimental Docs: 3f7ba11
- โ Added Step-by-step guide to Relay Hooks: 2d1473f
- โ Add support for loading 3D resources in optimistic responses: bef3551