Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Conversation

@dependabot-preview
Copy link
Contributor

Bumps relay-runtime from 5.0.0 to 6.0.0.

Release notes

Sourced from relay-runtime's releases.

v6.0.0

Commits: facebook/relay@v5.0.0...v6.0.0

Breaking

  • Environment no longer supports a configurable PublishQueue, this is a prerequisite for upcoming changes to support a new connection representation and the Store interface changes (see below): facebook/relay@44edf14
  • Changed the Store interface, adding snapshot() and restore() methods and changing the way that PublishQueue/Store coordinate to revert/rebase optimistic updates: facebook/relay@a5c903d
    • Note: this should have no impact on users who use the default Store implementation; the main impact is to alternate store implementations and consumers thereof.
  • Removed the unused RecordSource interface load() method: facebook/relay@bd15d4e
  • Changed dataFrom prop in ReactRelayQueryRenderer to fetchPolicy, changed 'STORE_THEN_NETWORK' to 'store-and-network'.
  • Changed $key in flow type for plural fragments to plural ($ReadOnlyArray<>)
  • environment.unstable_internal has been removed, since we no longer need to support Relay Compat.
  • Minimum required React version is now 16.9.0

Added

  • Added unreleased relay-experimental package which contains experimental version of Relay Hooks using React Suspense.
  • Added a LocalQueryRenderer that has the same API as QueryRenderer, and only renders from data in the store.
  • @​inline directive and readInlineData() function that enables data masking for functions instead of React components.
  • Added an @​raw_response_type directive on query, mutation and subscription. With the directive, a new flow type will be added to the generated artifact that represents the shape of the server response.
  • New documentation for Client Schema extensions and managing local data was added.

Improved

Fixed

Misc

  • v6.0.0 should now be compatible with React 16.9.0.
  • Experimental: work-in-progress support for a new approach to representing connections, with changes starting in facebook/relay@6f01295. The new connection representation is not feature complete and disabled by a feature flag. The APIs are highly likely to change.
  • Added a new implementation of the RelayRecordsSource (available behind a feature flag)
... (truncated)
Commits
  • b7501c6 v6.0.0 relay-test-utils-internal
  • 8612683 v6.0.0
  • bf78647 Fix broken relay-experimental imports; Add Record: RelayModernRecord to relay...
  • 8319368 Use global state for persisted queries to fix --watch (#2629)
  • 2a18222 Curry printRequireModuleDependency with extension; add relative ./ path (#2846)
  • 968ca9b Update peerDependency for React to 16.9.0
  • 966888c Update Modern-QueryRenderer.md (#2852)
  • df7b25d Add docs for @​inline
  • b4e6278 Enable raw response type generation to OSS compiler
  • 9e91003 fix: use reporter to report changes (#2838)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in the .dependabot/config.yml file in this repo:

  • Update frequency
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Finally, you can contact us by mentioning @dependabot.

Bumps [relay-runtime](https://github.com/facebook/relay) from 5.0.0 to 6.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](facebook/relay@v5.0.0...v6.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 2, 2019
@dependabot-preview
Copy link
Contributor Author

Superseded by #2318.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/relay-runtime-6.0.0 branch October 21, 2019 17:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant