Skip to content

@alunyov alunyov released this Nov 7, 2019 · 18 commits to master since this release

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

  • 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 with queryResource 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
Assets 2
You can’t perform that action at this time.