Skip to content
This repository has been archived by the owner on Apr 7, 2022. It is now read-only.

Update relay-compiler in / from 1.5.0 to 1.7.0 #305

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependencies[bot]
Copy link

@dependencies dependencies bot commented Dec 1, 2018

Dependencies.io has updated relay-compiler (a npm dependency in /) from "1.5.0" to "1.7.0".

1.7.0

Commits: facebook/relay@v1.6.2...v1.7.0

This release comes with two exciting contributions from external contributors:

Language Plugins

While we at Facebook only support JS and Flow flavored JS and generate optional Flow types, supporting TypeScript had been difficult. #2293 by alloy does the required refactoring to allow other developers to write plugins to add this missing support.

Create React App support

Create React App tries to minimize dependencies, so including Relay's Babel plugin for everyone didn't make much sense. This meant that using Relay with Create React App wasn't possible without ejecting.
This release adds babel-plugin-relay/macro (apalm, #2171) which in the upcoming react-scripts@2.0.0 will make it possible to use Relay without ejecting powered by babel-plugin-macros (http://yarn.pm/babel-plugin-macros).

Added

  • Support for language plugins (alloy, #2293)
  • Support for babel-plugin-macros (apalm, #2171)
  • Updated to babel@7.0.0-beta.56 to extract GraphQL strings for the compiler
  • Pagination and Refetch containers now warn when a request is triggered when they're unmounted. (alunyov)

Fixed

  • Fix double fetching in QueryRenderer in React Concurrent mode (flarnie)
  • Fix rendering sibling QueryRenderers that have the same query and variables
  • relay-compiler is no longer a peerDependency of relay-runtime as it's not needed during deployment. Make sure to keep all Relay packages at the same version! (kassens)

Removed

  • Removed long deprecated RelayNetwork.streamQuery and RelayNetwork.sendSubscription

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant