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

chore: bump relay-runtime from 13.2.0 to 17.0.0 in /app #3493

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 19, 2024

Bumps relay-runtime from 13.2.0 to 17.0.0.

Release notes

Sourced from relay-runtime's releases.

Version 17.0.0 Release Notes

Since our last release in January of this year, we've made many improvements to Relay. Themes include:

  • Improved correctness checking and validation
  • Additional editor features
  • Experimental features exploring error handling and nullability

Breaking Changes

Schema Validation

Relay compiler now runs spec-compliant schema validation against your schema including client schema extensions and Relay Resolvers. You can opt out of this feature by disabling validation in your Relay compiler config.

// relay.config.json
{
    //...
    "featureFlags": {
       "disable_schema_validation": true
    }
}

[ccc4465e6a47] by Jordan Eldredge

Edge Type Validation

We now validate that the names passed to directives like @prependNode and @appendNode are valid typenames. You can opt out of this validation with the following feature flag in your compiler config:

// relay.config.json
{
    //...
    "featureFlags": {
       "disable_edge_type_name_validation_on_declerative_connection_directives": {
          "kind": "enabled"
       }
    }
}

[53b24361bb4d] by tobias-tengler

Bug fixes

  • [f87e77daecc4]: Fix MockPayloadGenerator for deferred fragments in lists by Fernando Gorodscy
  • [24b557adeb88]: Use default values from mock resolver for Relay 3D payload by Andrey Lunyov
  • [59ff9c18a84b]: Mark resolves as clean again if we reread their fragment and find data unchanged by Jordan Eldredge
  • [0d7a3d04d7a9]: Input fields with defaults shouldn't be required (#4647) by Graeme Coupar
  • [7cc4f2b3d36d]: Check if condition on defer/stream fragments by Fernando Gorodscy
  • [05d64ccfd279]: Update GraphQL parser to consume escaped characters by Monica Tang
  • [448aa67d2a11]: Fix Flow Types in RelayObservable by Jerry Francois

Improvements

Runtime Improvements

This release includes a new implementation of our hooks which are significantly more efficient in terms of memory use. Thanks to Dave McCabe for his work on this huge project.

  • [9f03ea52fd86]: Make new useFragment implementation the default by Andrey Lunyov

Editor Integration Improvements

Huge shout out to community contributor Tobias Tengler for many improvements to our Editor Support via our VSCode extension. Our VSCode extension is powered by the relay-compiler so upgrading to version 17.0.0 of the compiler should unlock a number of great IDE features.

  • [dc2cb85aa820]: Add code action to rename fragment (#4697) by tobias-tengler
  • [68c7ccafb3ef]: Add SchemaDocument go to definition LSP support (#4669) by tobias-tengler
  • [8fd21e75648a]: Attach previous location to duplicate type diagnostic by Jordan Eldredge
  • [dd9d3a03e969]: Support inlay hints by Jordan Eldredge (Requires upgrading to v2.3.0 of our VSCode extension)

... (truncated)

Commits
  • 5402ff5 v17.0.0
  • 8c345e7 make some relay-runtime/store types readonly in preparation for change in Flow
  • 8cce449 A RelayResolverValue generic
  • efab5ab Complete @​alias (#4699)
  • 7fbe4d5 Add IdOf flow type
  • 132935c Gate throwOnFieldError on fragment metadata
  • 2287999 throwOnFieldError fragment directive
  • 202fd25 Remove isNullable from ResolverInfo flow type
  • 498f886 Make isNullable boolean optional
  • e256651 mark nullable fields in normalization node as optional
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

@AntBush
Copy link
Contributor

AntBush commented Aug 26, 2024

@dependabot rebase

@AntBush
Copy link
Contributor

AntBush commented Aug 26, 2024

@dependabot rebase

Bumps [relay-runtime](https://github.com/facebook/relay/tree/HEAD/packages/relay-runtime) from 13.2.0 to 17.0.0.
- [Release notes](https://github.com/facebook/relay/releases)
- [Commits](https://github.com/facebook/relay/commits/v17.0.0/packages/relay-runtime)

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

Signed-off-by: dependabot[bot] <support@github.com>
@AntBush
Copy link
Contributor

AntBush commented Aug 26, 2024

To be addressed in NDT-87

@AntBush AntBush closed this Aug 26, 2024
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 26, 2024

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.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/app/relay-runtime-17.0.0 branch August 26, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant