Closed renovate[bot] closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Updated (UTC) |
---|---|---|---|
gh-dashboard-relay | ✅ Ready (Inspect) | Visit Preview | Oct 4, 2024 10:47pm |
Report too large to display inline
🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎
To accept the risk, merge this PR and you will not be notified again.
Alert | Package | Note | Source | CI |
---|---|---|---|---|
Critical CVE | npm/webpack@5.75.0 |
| ⚠︎ |
Contains a Critical Common Vulnerability and Exposure (CVE).
Remove or replace dependencies that include known critical CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.
Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.
If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.
To ignore an alert, reply with a comment starting with @SocketSecurity ignore
followed by a space separated list of ecosystem/package-name@version
specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0
or ignore all packages with @SocketSecurity ignore-all
@SocketSecurity ignore npm/webpack@5.75.0
This PR contains the following updates:
17.0.0
->18.1.0
Release Notes
facebook/relay (relay-compiler)
### [`v18.1.0`](https://redirect.github.com/facebook/relay/releases/tag/v18.1.0): Version 18.1.0 Release Notes [Compare Source](https://redirect.github.com/facebook/relay/compare/v18.0.0...v18.1.0) Following up from our v18.0.0 release last month, v18.1.0 provides a number of fixes and improvements, adds some new experimental APIs, and ships some long-running experimental features as stable. ##### Relay Resolvers are now stable For the past several years we've been iterating on [Relay Resolvers](https://relay.dev/docs/next/guides/relay-resolvers/introduction/) which provided a structured and typesafe way to model client state and derived data in your GraphQL graph. As of this release, **Relay Resolvers are enabled by default and no-longer experimental**. As part of this stabilization we shipped fixes for Relay Resolvers when used with TypeScript and fixed a few edge cases related to how errors encountered by resolvers are handled. - \[d10786]: Update docs now that resolvers are stable by Jordan Eldredge - \[4e5377]: Remove Relay Resolver compiler feature flag by Jordan Eldredge - \[7b8f1f]: Remove ENABLE_RELAY_RESOLVERS runtime feature flag by Jordan Eldredge - \[1467b6]: Stabilize LiveResolverStore as the new implementation of RelayModernStore ([#4806](https://redirect.github.com/facebook/relay/issues/4806)) by Jordan Eldredge - \[dec5ee]: Avoid running resolver code if root fragment throws with [@required](https://redirect.github.com/required)(action: THROW) ([#4799](https://redirect.github.com/facebook/relay/issues/4799)) by Jordan Eldredge - \[478274]: Ensure we import the type of a resolver for RelayResolverValue fields by Jordan Eldredge - \[852fbc]: Improve edge resolver error messages by Gordy French - \[575f20]: Add satisfies type assertion for typescript ([#4797](https://redirect.github.com/facebook/relay/issues/4797)) by Drew Atkinson - \[2314f4]: Document relay field logger ([#4809](https://redirect.github.com/facebook/relay/issues/4809)) by Jordan Eldredge ##### Improvements to error [@catch](https://redirect.github.com/catch) We released [`@catch`](https://relay.dev/docs/next/guides/catch-directive/) in v18.0.0 and are very excited about the capabilities it enables. Check out Itamar Kestenbaum's GraphQL conf talk about it here: [Build Confidently: How @Catch and Error Handling Pave Way in Field Nullability](https://www.youtube.com/watch?v=\_TSYKAtaK5A). Since that release we've made a few improvements: - Fields within a `@catch` directive that are marked as `@semanticNonNull` in the schema now generate non-nullable TypeScript/Flow types. See [semantic nullability](https://relay.dev/docs/next/guides/semantic-nullability/). - Errors exposed to product code by `@catch` no-longer include the error message. This is because GraphQL error messages are generally not safe to show to users. These error messages can still be accessed by the field logger provided to your Relay Environment. In the future we plan to let users opt into allowing safe error messages through to product code. - \[26b78d]: Take advantage of [@semanticNonNull](https://redirect.github.com/semanticNonNull) within [@catch](https://redirect.github.com/catch) ([#4794](https://redirect.github.com/facebook/relay/issues/4794)) by Jordan Eldredge - \[6a038d]: Replace actual server-side error with generic "server error" message by Itamar Kestenbaum - \[6c8827]: Don't report missing fields within an unmatched inline fragment by Jordan Eldredge - \[2314f4]: Document relay field logger ([#4809](https://redirect.github.com/facebook/relay/issues/4809)) by Jordan Eldredge ##### Compiler Error Reporting We've improved how errors are reported by the Relay compiler to ensure we report as many errors as possible, and each error includes sufficient context. - \[9edbb0]: Report validation errors for all segements of a proejct by Jordan Eldredge - \[adaf8a]: Report location of operation that does not define variable by Jordan Eldredge ##### New "Copy Operation" VSCode command Our VSCode extension now includes a command to quickly copy the full text of a query directly from within your editor. ![Copy operation VSCode command](https://redirect.github.com/user-attachments/assets/25c7bbca-668b-45a1-a9e3-f6b640aaa1d8) - \[8d2380]: Add copy operation command ([#4778](https://redirect.github.com/facebook/relay/issues/4778)) by Tobias Tengler ##### Experimental APIs for reading fragment data outside of React In some cases it can be useful to read a fragment outside of a React hook. However, doing this requires handling a number of concerns. 1. The fragment data may not yet be ready (`@defer` or Relay Resolver suspense). 2. The fragment may error (`@throwOnFieldError`, `@required(action: THROW)`) 3. The fragment's data might change over time. To enable users to read fragment data while correctly handling these cases, we've added two **experimental** APIs: - [`observeFragment`](https://relay.dev/docs/next/api-reference/relay-runtime/api-reference/observe-fragment/): Read a fragment as a stream of states where each state might be loading, error, or value. - [`waitForFragmentData`](https://relay.dev/docs/next/api-reference/wait-for-fragment-data/): Read a fragment as a promise which will resolve when data is available, or reject if an error is encountered. - \[6f0cbe]: Upstream observeFragment and waitForFragmentData to relay-runtime by Jordan Eldredge - \[36eecf]: Documentation for observeFragment and waitForFragmentData by Jordan Eldredge ##### Docs Thanks to members of our community for submitting pull requests to improve our docs: - \[e133fe]: Remove reference to the Google Chrome Extension Store from the installation guide for Relay Developer Tools by Jakub KopÃ…â„¢iva - \[e41490]: Replace story.image for story.thumbnail ([#4793](https://redirect.github.com/facebook/relay/issues/4793)) by Theo Kouzelis - \[e95a5a]: Update mutations-updates.md in Tutorials ([#4765](https://redirect.github.com/facebook/relay/issues/4765)) by Jbee - \[0cf094]: Update error handling and semantic nullability docs to include talks and links ([#4800](https://redirect.github.com/facebook/relay/issues/4800)) by Jordan Eldredge ##### Improvements - \[08c74e]: Validate semantic-non-null interface implementations by Gordy French - \[a5b963]: Renaming missing_field log event types to missing_required_field by Itamar Kestenbaum - \[186c91]: Call cleanup of insertion effects when hidden ([#30954](https://redirect.github.com/facebook/relay/issues/30954)) by rickhanlonii (Meta Employee) - \[ba0b46]: Add logging for normalization by Tianyu Yao - \[792628]: Relay: Allow omitting exists on ExternalFileSourceResult by Nico Reed - \[f1ee92]: Check pruned fields blocklist for undefined fields by Steven Chaitoff - \[23958c]: Make metadata_for_machine keys string constants by Steven Chaitoff - \[8d0302]: Relay: Remove unused code from oss code by Nico Reed - \[6d36d7]: Fix mockClientData with generateDeferredPayload = true by Fernando Gorodscy ##### Experimental We are always continuing to evolve and improve Relay. These changes are part of features or implementations which are either in progress or are being experimented with internally. - \[cb1b4d]: Add feature flag and config option to give custom path for artifacts by Monica Tang - \[4acf3f]: Make usePaginationFragment compatible withConfiguration
📅 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.