Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump relay-runtime from 11.0.2 to 12.0.0 in /ui #4298

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2021

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps relay-runtime from 11.0.2 to 12.0.0.

Release notes

Sourced from relay-runtime's releases.

v12.0.0

Relay Release Notes - 12.0.0

Commits: facebook/relay@v11.0.2...main

About the Release

This is release contains a long list of new fixes and additions to Relay that was added in the last few months: runtime optimizations, react integration updates, logger updates, internal type-safety, documentation updates, and more.

It also contains a few small, but possibly, breaking changes. One of which is related to the Abstract Type Refinement, others to the live query behavior.

The Relay team is continuing work on the new rust-version of the compiler, and VS Code extension. As well as experimenting with the new features: multi-environment runtime support, advanced client-state management APIs. We hope to include these in the upcoming releases.

Thanks to all contributors for your work and support!

Breaking

  • Relay Runtime: Promote type refinement to default feature (no flag). In OSS this flag was false by default, but true in internal configuration [2732db54335].
  • useQueryLoader will not cancel network requests, except for live queries [211d6fec01c].
  • useLazyLoadQuery will not cancel network requests, except for live queries [a75da574223].

Added

  • Add Suspense logging to Relay Network Logger.
  • Add log event for when QueryResource suspends.
  • Add suspense logging when suspending from containers.
  • Add log event for when FragmentResource suspends.
  • Website: First draft of Relay Compiler Playground.
  • React: Support double invoking effects in QueryRenderer.
  • Runtime: Enabled unique subscription root: every response received is now processed in a unique Relay store root.
  • Runtime: Enable batched store updates by default.
  • Runtime: FragmentResource store revision optimization.
  • Add Suspense logging to Relay Network Logger.
  • Add execute.* events to the Relay Logger.
  • Expose various hooks utils from relay-runtime: getPaginationMetadata, getPaginationVariables, getRefetchMetadata, getValueAtPath, type Direction [3b6f70d85fb].

Fixed

  • React: Subscribe on commit in pagination container.
  • React: Actually subscribe on commit in fragment and refetch containers.
  • React: Prevent tearing in refetch container between render and commit.
  • React: Flip useTransition tuple.
  • React: Update relay useTransition tests.
  • Don’t keep unnecessary ref to props in FragmentSpecResolver.
  • Fix memory leak in containers [5a0c4c6320e].
  • Fix Relay Dev Tools network events.
  • Fix throwing promise from RelayModernFragmentSpecResolver.
  • Add improved type safety to useSubscription API.
  • OperationTracker now exposes pending operations affecting owner; display name for suspense promises are more accurate.
  • Do not re-throw errors for incremental payloads that may invalidate the whole query.

... (truncated)

Commits

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 dependabot bot added kind/chore Necessary task pr/dependencies Pull requests that update a dependency file labels Oct 1, 2021
@dependabot dependabot bot requested a review from dhruv0000 October 1, 2021 17:03
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/relay-runtime-12.0.0 branch from a03f2fb to 4ce68d7 Compare October 1, 2021 17:16
@leecalcote
Copy link
Member

@Utkarsh-pro If I recall, we have a an issue with this next version. Is that right?

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/relay-runtime-12.0.0 branch from 4ce68d7 to 764f352 Compare October 4, 2021 16:27
Bumps [relay-runtime](https://github.com/facebook/relay) from 11.0.2 to 12.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](facebook/relay@v11.0.2...v12.0.0)

---
updated-dependencies:
- dependency-name: relay-runtime
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/ui/relay-runtime-12.0.0 branch from 764f352 to 8036b05 Compare October 5, 2021 11:35
@leecalcote leecalcote requested review from tangledbytes and removed request for dhruv0000 October 6, 2021 17:57
@tangledbytes
Copy link
Member

It doesn't look like that the breaking changes effect Meshery... Merging this...

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 6, 2021

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@tangledbytes tangledbytes reopened this Oct 6, 2021
@tangledbytes tangledbytes merged commit e09d6ea into master Oct 6, 2021
@tangledbytes tangledbytes deleted the dependabot/npm_and_yarn/ui/relay-runtime-12.0.0 branch October 6, 2021 18:18
@l5io l5io added the component/ui User Interface label Oct 6, 2021
@github-actions
Copy link

github-actions bot commented Oct 6, 2021

This PR has been labeled with 'component/ui'. 🧰 Here are docs on Contributing to Meshery UI. 🎨 Here is the Meshery UI Figma File File.


        Be sure to join the community, if you haven't yet and please leave a ⭐ star on the project 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/ui User Interface kind/chore Necessary task pr/dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants