Skip to content

v0.8.0

Choose a tag to compare

@taion taion released this 12 Nov 14:58
· 161 commits to master since this release

This is a relatively big release with significant breaking API changes.

The main change in this release is to move to a new top-level API made possible by new features in React Router. Now, instead of specifying createElement, you active the Relay integration by using <RelayRouter> or <RelayRoutingContext> as appropriate. This change lets us do a couple of new things:

  • We now support async components resolved via getComponent
  • We have a way to pass additional props like forceFetch to the Relay.RootContainer

There are a couple of smaller fixes included as well:

  • We preserve the signature of query functions, which fixes a bug when using non-shorthand queries against Relay v0.5.0
  • We now pass through readyState to the renderFetched handler as well