npm react-relay 13.0.0-rc.2
v13.0.0-rc.2

latest releases: 0.0.0-main-a3109d54, 0.0.0-main-a844636d, 0.0.0-main-bb7c65fa...
2 years ago

To install this version, run:

npm install react-relay@dev relay-runtime@dev
npm install --save-dev relay-compiler@dev babel-plugin-relay@dev

Or using yarn:

yarn add relay-runtime@dev react-relay@dev
yarn add --dev relay-compiler@dev babel-plugin-relay@dev

Fixed

  • [b0c5a84] Remove runtime feature flag for @required
  • Correctly extract module names on windows (#3694)
  • [1b30d82] Use WalkDir to find files if watchman is not available
  • Allow default args on required fields (#3612)
  • Stop @preloadable Typescript code generation from emitting an inline require (#3685)
  • Clean the recordsource in mockClear (#3687)
  • Respect excludes when using glob (#3688)
  • Watch js,jsx files with watchman with typescript (#3684)
  • [863c230] Fix incremental mode bug about undefined operation variable
  • [a1f7aba] Matching compiler config and babel plugin options
  • Fix the links of the GraphQL Cursor Connections spec (#3704)
  • Fix markdown in graphql-subscriptions.md (#3702)
  • [18305a1] Add fb_only feature for subscription/live query transforms
  • [95f1ed8] Update error message for invalid paths in config
  • [b18251f] Update Cargo.toml version when publishing main to NPM (#3709)

Improvements

  • Add default exclude paths for multi-project config (#3693)
  • Add readme files to packages (#3689)
  • [a8b9c2c] add overloads for Flow integration to useFragment
  • [73d39b0] Switch to faster hasher for maps/sets
  • Change 'three' assumptions to 'two' (#3654)

Misc

  • [e72ea12] Store connection_interface on the project_config
  • [e8dfee9] Update type emission docs
  • [8e041d3] Update dependency of fbjs@3.0.2
  • [b9adc81] Run build for the test project in github actions (#3696)
  • [5baad8c] Move ProjectConfig and some other things to relay-config
  • [c49cb86] Upgrade to parking_log 0.11.2 and add feature send_guard
  • [3c45f95] typing for useLazyLoadQuery
  • Rebuild OSS test project to use the new flow-typing (#3691)
  • [d4d5f67] simple cleanup to bubble errors up
  • [3f8e1c6] Fix typo (nullalbe->nullable) and failed markup section formatting
  • [c4321e3] extract generated type code to module
  • Bump algoliasearch-helper from 3.4.4 to 3.6.2 in /website (#3652)
  • [14550c8] update license headers
  • [6de307c] use relative imports inside of relay-runtime
  • [4109d4a] Typegen Config: Rename Phase4 -> Compat, make it default

Experimental

  • Typesafe Updaters: Add support for client schema extension fields. Typesafe updaters is an unreleased, experimental project to provide a more ergonomic, typesafe interface for writing updaters.

    • [3099539] Rename fragments from Updatable_x to Assignable_x
    • [09fd085] Add assignable fragment with abstract type to unit test
    • [59c9bc0] Move transform_assignable_fragment_spreads to its own module
    • [45913fc] Add support for client schema extensions in readUpdatableQuery
    • [9a9dc85] Assert that readUpdatableQuery throws when encountering client schema extensions
    • [24bab36] Rename methods, etc. related to typegen for clarity

Don't miss a new react-relay release

NewReleases is sending notifications on new releases.