lowsky / gh-dashboard-relay

Dashboard for all feature branches - linking to the deployed/running in docker containers and showing their states. Live Version:
https://dashboard-gh.vercel.app/
Apache License 2.0
2 stars 0 forks source link

chore(deps): update dependency babel-plugin-relay to v18.2.0 #2821

Closed renovate[bot] closed 1 week ago

renovate[bot] commented 1 week ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
babel-plugin-relay (source) 18.1.0 -> 18.2.0 age adoption passing confidence

Release Notes

facebook/relay (babel-plugin-relay) ### [`v18.2.0`](https://redirect.github.com/facebook/relay/releases/tag/v18.2.0): Version 18.2.0 Release Notes [Compare Source](https://redirect.github.com/facebook/relay/compare/v18.1.0...v18.2.0) Relay version 18.2.0 comes with several bug fixes and improvements! ##### New compiler capability: Relay Codemods Codemods are tools which enable you to programmatically update your code. These are especially helpful if you want to upgrade an API across your whole codebase without needing to manually change each call site. The Relay compiler, with its understanding of your GraphQL snippets, is well positioned to help with these kinds of tasks. In Relay 18.2.0 we are introducing [Relay Codemods](https://relay.dev/docs/next/guides/codemods/). We currently support two different codemods: - `mark-dangerous-conditional-fragment-spreads` marks places where `@alias` is required to make a fragment spread safe. This can enable you to turn on the `enforce_fragment_alias_where_ambiguous` feature flag. Learn more in the [`@alias` docs](https://relay.dev/docs/next/guides/alias-directive/#enforced-safety). - `remove-unnecessary-required-directives` identifies places where `@required` is unnecessary because it's used on a non-nullable field within a fragment or query that is `@throwOnFieldError`, and removes the `@required` directive. We are looking forward to helping Relay users with more codemods in the future! ##### New experimental hook for pagination with prefetching It is often possible to speed up list pagination by pre-loading one or more pages of results ahead of what the user is currently viewing. Our previous APIs made this difficult to *fetch* the next page of data without also rendering it at the same time. We are currently exploring an **experimental** API to make it easy to manage paginated lists with prefetching. Read more in the docs: [usePrefetchableForwardPaginationFragment](https://relay.dev/docs/next/api-reference/use-prefetchable-forward-pagination-fragment/) ##### Expand places where [@​catch](https://redirect.github.com/catch) can be used The [`@catch`](https://relay.dev/docs/next/guides/catch-directive/) directive can now be used on fragments, queries, mutations and [aliased](https://relay.dev/docs/next/guides/alias-directive/#enforced-safety) inline fragments. This enables more flexibility in controlling how field errors are handled. ##### Bug fixes - \[[`682ac5a`](https://redirect.github.com/facebook/relay/commit/682ac5a)]: Include Relay resolver import type when field is selected on query as well ([#​4820](https://redirect.github.com/facebook/relay/issues/4820)) by Ernie Turner - \[[`d6cb5a2`](https://redirect.github.com/facebook/relay/commit/d6cb5a2)]: Update required-on-non-null validation to also work within [@​catch](https://redirect.github.com/catch) by Gordy French - \[[`356327c`](https://redirect.github.com/facebook/relay/commit/356327c)]: Fix bug in Connections with errors by Evan Yeung - \[[`9571d80`](https://redirect.github.com/facebook/relay/commit/9571d80)]: Fix result type generic for Error to not double-nest by Itamar Kestenbaum - \[[`af35418`](https://redirect.github.com/facebook/relay/commit/af35418)]: Ignore @​dangerously_unaliased_fixme when comparing structs by Jordan Eldredge - \[[`f166d6b`](https://redirect.github.com/facebook/relay/commit/f166d6b)]: Fix dangling resolver artifact by Tianyu Yao ##### Improvements - \[[`81eab03`](https://redirect.github.com/facebook/relay/commit/81eab03)]: Remove unused fieldPath from resolver suspense objects by Jordan Eldredge - \[[`d982b5b`](https://redirect.github.com/facebook/relay/commit/d982b5b)]: Add feature flag to opt in/out of including the path field in [@​required](https://redirect.github.com/required) reader nodes by Jordan Eldredge - \[[`460508a`](https://redirect.github.com/facebook/relay/commit/460508a)]: Remove path from [@​catch](https://redirect.github.com/catch) codegen by Jordan Eldredge - \[[`a88c013`](https://redirect.github.com/facebook/relay/commit/a88c013)]: Derive [@​required](https://redirect.github.com/required) fieldPath at runtime by Jordan Eldredge - \[[`7c9aebb`](https://redirect.github.com/facebook/relay/commit/7c9aebb)]: Add support for [@​catch](https://redirect.github.com/catch) on fragments/queries/mutations and aliased inline fragments ([#​4838](https://redirect.github.com/facebook/relay/issues/4838)) by Jordan Eldredge - \[[`08fef89`](https://redirect.github.com/facebook/relay/commit/08fef89)]: Cleanup resolver cache implementation only used in tests by Jordan Eldredge - \[[`2c3b915`](https://redirect.github.com/facebook/relay/commit/2c3b915)]: Cleanup AVOID_CYCLES_IN_RESOLVER_NOTIFICATION by Jordan Eldredge - \[[`2705e3d`](https://redirect.github.com/facebook/relay/commit/2705e3d)]: Add support for handling field errors on noncompliant lists by Ryan Holdren - \[[`402aa97`](https://redirect.github.com/facebook/relay/commit/402aa97)]: Update message in handlePotentialSnapshotErrors for payload errors by Itamar Kestenbaum - \[[`8421851`](https://redirect.github.com/facebook/relay/commit/8421851)]: Improve error message when directive is used in wrong location by Jordan Eldredge - \[[`3eb627d`](https://redirect.github.com/facebook/relay/commit/3eb627d)]: Add fieldPath to missing data field error logs ([#​4835](https://redirect.github.com/facebook/relay/issues/4835)) by Jordan Eldredge - \[[`bac814f`](https://redirect.github.com/facebook/relay/commit/bac814f)]: Use prefetchable metadata in the prefetchable pagination hook by Tianyu Yao - \[[`d079b29`](https://redirect.github.com/facebook/relay/commit/d079b29)]: Allow [@​required](https://redirect.github.com/required) on connection fields by Jordan Eldredge - \[[`733cc27`](https://redirect.github.com/facebook/relay/commit/733cc27)]: Add schema name to project config by Monica Tang - \[[`ebf028b`](https://redirect.github.com/facebook/relay/commit/ebf028b)]: Use directive location where it makes sense by Gordy French - \[[`d3eb42f`](https://redirect.github.com/facebook/relay/commit/d3eb42f)]: Don't require [@​alias](https://redirect.github.com/alias) on plural fragments spread into plural selections by Jordan Eldredge - \[[`e21e162`](https://redirect.github.com/facebook/relay/commit/e21e162)]: Allow codemod to specify rollout percentage by Gordy French - \[[`e4facf3`](https://redirect.github.com/facebook/relay/commit/e4facf3)]: Allow granular FeatureFlag gating of `@alias` enforcement by Jordan Eldredge - \[[`deb7b09`](https://redirect.github.com/facebook/relay/commit/deb7b09)]: Allow users to return ID built in scalar using DataID by Jordan Eldredge - \[[`3c92504`](https://redirect.github.com/facebook/relay/commit/3c92504)]: Fix slow typegen in adslab by Tianyu Yao - \[[`6e4c120`](https://redirect.github.com/facebook/relay/commit/6e4c120)]: Update error message for clarity by Jordan Eldredge - \[[`5c548bd`](https://redirect.github.com/facebook/relay/commit/5c548bd)]: Allow @​dangerously_unaliased on [@​inline](https://redirect.github.com/inline) fragments by Jordan Eldredge - \[[`2cf6c7f`](https://redirect.github.com/facebook/relay/commit/2cf6c7f)]: Codemod command runs and collects code actions by Gordy French - \[[`ad26284`](https://redirect.github.com/facebook/relay/commit/ad26284)]: Make required-on-non-null-within-throwOnFieldError an LSP warning by Gordy French - \[[`b41ae4c`](https://redirect.github.com/facebook/relay/commit/b41ae4c)]: Support semantic non-nullable RelayResolverValue by Jordan Eldredge - \[[`eba1d97`](https://redirect.github.com/facebook/relay/commit/eba1d97)]: Allow strong resolvers to reference opaque types by Jordan Eldredge ##### Documentation Improvements - \[[`9401e69`](https://redirect.github.com/facebook/relay/commit/9401e69)]: - add new client 3D page in 3D docs by Lynn Yu - \[[`6a51b39`](https://redirect.github.com/facebook/relay/commit/6a51b39)]: - 3D docs starting point by Lynn Yu - \[[`caa040a`](https://redirect.github.com/facebook/relay/commit/caa040a)]: - document all top level functions in relay compiler by Lynn Yu - \[[`1306086`](https://redirect.github.com/facebook/relay/commit/1306086)]: - document all top level structs in relay compiler by Lynn Yu - \[[`86301c7`](https://redirect.github.com/facebook/relay/commit/86301c7)]: - document all modules in relay compiler by Lynn Yu - \[[`bdbe7e0`](https://redirect.github.com/facebook/relay/commit/bdbe7e0)]: Add rust docs for all top level enums in relay compiler by Lynn Yu - \[[`5600502`](https://redirect.github.com/facebook/relay/commit/5600502)]: - document semantic nullability support in resolvers by Lynn Yu - \[[`c3b0dd5`](https://redirect.github.com/facebook/relay/commit/c3b0dd5)]: Docs: Fix fragments tutorial thumbnail typo ([#​4841](https://redirect.github.com/facebook/relay/issues/4841)) by Daniel Stocks - \[[`5b7dc1f`](https://redirect.github.com/facebook/relay/commit/5b7dc1f)]: Add docs for usePrefetchableForwardPaginationFragment by Tianyu Yao - \[[`5cccb7b`](https://redirect.github.com/facebook/relay/commit/5cccb7b)]: - adding docs for abstract types in relay resolvers by Lynn Yu - \[[`ebc4936`](https://redirect.github.com/facebook/relay/commit/ebc4936)]: Minor updates to docs on enabling relay resolvers ([#​4824](https://redirect.github.com/facebook/relay/issues/4824)) by Arthur - \[[`4776175`](https://redirect.github.com/facebook/relay/commit/4776175)]: Update docusaurus to 2.4.3 by Gordy French - \[[`0b4920d`](https://redirect.github.com/facebook/relay/commit/0b4920d)]: - delete old relay doc versions older than 2 years by Lynn Yu - \[[`b8967d2`](https://redirect.github.com/facebook/relay/commit/b8967d2)]: Add documentation for codemods ([#​4826](https://redirect.github.com/facebook/relay/issues/4826)) by gordyf - \[[`7c2b460`](https://redirect.github.com/facebook/relay/commit/7c2b460)]: Update description of dangerously_unaliased_fixme directive by Jordan Eldredge ##### Miscellaneous - \[[`9eb9c94`](https://redirect.github.com/facebook/relay/commit/9eb9c94)]: Update to latest react@experimental ([#​4847](https://redirect.github.com/facebook/relay/issues/4847)) by Lauren Tan - \[[`7e258ca`](https://redirect.github.com/facebook/relay/commit/7e258ca)]: Add [@​relayRequiredVariables](https://redirect.github.com/relayRequiredVariables) to metadata section of generated .graphql files by Jean Zhang - \[[`4360f69`](https://redirect.github.com/facebook/relay/commit/4360f69)]: Deprecate GK relay_enable_load_query_request_deduping by Nithik Balachandran - \[[`15a19e9`](https://redirect.github.com/facebook/relay/commit/15a19e9)]: Update metadata generation for Live Query in Relay compiler by Xiangxin Sun ##### Experimental Changes - \[[`30af003`](https://redirect.github.com/facebook/relay/commit/30af003)]: Add a runtime feature flag for prefixing read-time resolver storageKeys by Evan Yeung - \[[`195d9a2`](https://redirect.github.com/facebook/relay/commit/195d9a2)]: Fix usePrefetchablePagination bug by Tianyu Yao - \[[`57756e6`](https://redirect.github.com/facebook/relay/commit/57756e6)]: Allow reusing fetching options in usePrefetchableForwardPaginationFragment by Tianyu Yao - \[[`023b875`](https://redirect.github.com/facebook/relay/commit/023b875)]: Support dynamic switching of read vs exec time resolvers in reader by Evan Yeung - \[[`53cef9d`](https://redirect.github.com/facebook/relay/commit/53cef9d)]: Update hook to expose data in UNSTABLE_extraVariables by Lynn Yu - \[[`d036d49`](https://redirect.github.com/facebook/relay/commit/d036d49)]: Update normalization artifacts for exec time resolver strong ids by Evan Yeung - \[[`9035b32`](https://redirect.github.com/facebook/relay/commit/9035b32)]: Generate prefetchable pagination ASTs by Tianyu Yao - \[[`dececd1`](https://redirect.github.com/facebook/relay/commit/dececd1)]: Generate metadata for prefetchable pagination by Tianyu Yao - \[[`4a67ddd`](https://redirect.github.com/facebook/relay/commit/4a67ddd)]: Create a separate edge fragment for prefetchable pagination by Tianyu Yao

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment | Name | Status | Preview | Updated (UTC) | | :--- | :----- | :------ | :------ | | **gh-dashboard-relay** | ⬜️ Ignored ([Inspect](https://vercel.com/lowskys-projects/gh-dashboard-relay/4XP7QNn9Sye4wiNZ9R8LgJcJAXDu)) | [Visit Preview](https://gh-dashboard-relay-git-renovate-babel-p-4faa27-lowskys-projects.vercel.app) | Nov 24, 2024 10:49pm |