Skip to content

v0.13.0

Compare
Choose a tag to compare
@taion taion released this 28 Apr 17:03
· 74 commits to master since this release
v0.13.0
60a4ad3

This is the same code as v0.13.0-rc.4. These release notes cover all changes since v0.12.2.

  • Breaking: Use <Relay.Renderer>-style API (#135)
    • Routes now take a single render callback instead of separate per-status callbacks, with similar semantics to <Relay.Renderer> (#135)
    • render callback also receives a routerProps object with the router props, even when Relay props are unavailable (#143)
    • <Router> object now requires an environment prop with the Relay environment (#135)
  • Breaking: Drop queryParams and stateParams in favor of an updated prepareParams (#137)
    • prepareParams now receives the router state as the second argument instead of the route (#141)
    • Fix handling of prepareParams for nested routes (#137)
  • Feature: Set route object as function context for route methods (#140)