Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps @apollo/client from 3.13.8 to 4.0.7.

Release notes

Sourced from @​apollo/client's releases.

@​apollo/client@​4.0.7

Patch Changes

@​apollo/client@​4.0.6

Patch Changes

  • #12937 3b0d89b Thanks @​phryneas! - Fix a problem with fetchMore where the loading state wouldn't reset if the result wouldn't result in a data update.

@​apollo/client@​4.0.5

Patch Changes

@​apollo/client@​4.0.4

Patch Changes

  • #12892 db8a04b Thanks @​jerelmiller! - Prevent unhandled rejections from the promise returned by calling the mutate function from the useMutation hook.

  • #12899 5352c12 Thanks @​phryneas! - Fix an issue when invariant is called by external libraries when no dev error message handler is loaded.

  • #12895 71f2517 Thanks @​jerelmiller! - Support skipToken with useQuery to provide a more type-safe way to skip query execution.

    import { skipToken, useQuery } from "@apollo/client/react";
    // Use skipToken in place of skip: true for better type safety
    // for required variables
    const { data } = useQuery(QUERY, id ? { variables: { id } } : skipToken);

    Note: this change is provided as a patch within the 4.0 minor version because the changes to TypeScript validation with required variables in version 4.0 made using the skip option more difficult.

  • #12900 c0d5be7 Thanks @​phryneas! - Use named export equal instead of default from "@wry/equality"

@​apollo/client@​4.0.3

Patch Changes

@​apollo/client@​4.0.2

Patch Changes

@​apollo/client@​4.0.1

Patch Changes

... (truncated)

Changelog

Sourced from @​apollo/client's changelog.

4.0.7

Patch Changes

4.0.6

Patch Changes

  • #12937 3b0d89b Thanks @​phryneas! - Fix a problem with fetchMore where the loading state wouldn't reset if the result wouldn't result in a data update.

4.0.5

Patch Changes

4.0.4

Patch Changes

  • #12892 db8a04b Thanks @​jerelmiller! - Prevent unhandled rejections from the promise returned by calling the mutate function from the useMutation hook.

  • #12899 5352c12 Thanks @​phryneas! - Fix an issue when invariant is called by external libraries when no dev error message handler is loaded.

  • #12895 71f2517 Thanks @​jerelmiller! - Support skipToken with useQuery to provide a more type-safe way to skip query execution.

    import { skipToken, useQuery } from "@apollo/client/react";
    // Use skipToken in place of skip: true for better type safety
    // for required variables
    const { data } = useQuery(QUERY, id ? { variables: { id } } : skipToken);

    Note: this change is provided as a patch within the 4.0 minor version because the changes to TypeScript validation with required variables in version 4.0 made using the skip option more difficult.

  • #12900 c0d5be7 Thanks @​phryneas! - Use named export equal instead of default from "@wry/equality"

4.0.3

Patch Changes

4.0.2

... (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 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)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Oct 1, 2025
@jazzberry-ai
Copy link

jazzberry-ai bot commented Oct 1, 2025

Bug Report

Name Severity Example test case Description
Incorrect data mapping in Graph component after Apollo Client v4 upgrade Medium 1. Upgrade @apollo/client from 3.13.8 to 4.0.7. 2. Navigate to the Graph page. 3. Select a storage unit that has related data. 4. Observe that the graph nodes and edges are not displayed correctly, or are missing properties. The createNode and createEdge functions in frontend/src/components/graph/utils.ts are not compatible with the data structure returned by the GetGraphDocument query. The useMemo hook in frontend/src/pages/graph/graph.tsx extracts Unit and Relations from graphData.Graph and passes them to createNode and createEdge, respectively. However, the createNode function is expecting properties id, type and data and the createEdge function is expecting source and target, leading to incorrect data mapping and rendering of the graph. The createNode function also does not make use of the Name and Attributes properties of the unit.

Comments? Email us.

@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/apollo/client-4.0.7 branch from ac7c5e1 to 93d74a7 Compare October 27, 2025 21:20
@jazzberry-ai
Copy link

jazzberry-ai bot commented Oct 27, 2025

Bug Report

Name Severity Example test case Description
Missing rxjs dependency Medium Run the application. @apollo/client v4 requires rxjs as a peer dependency, but it is not listed as a direct dependency in package.json. This could lead to runtime errors or unexpected behavior.

Comments? Email us.

Bumps [@apollo/client](https://github.com/apollographql/apollo-client) from 3.13.8 to 4.0.7.
- [Release notes](https://github.com/apollographql/apollo-client/releases)
- [Changelog](https://github.com/apollographql/apollo-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/apollographql/apollo-client/compare/v3.13.8...@apollo/[email protected])

---
updated-dependencies:
- dependency-name: "@apollo/client"
  dependency-version: 4.0.7
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/frontend/apollo/client-4.0.7 branch from 93d74a7 to e58cf69 Compare October 27, 2025 22:33
@jazzberry-ai
Copy link

jazzberry-ai bot commented Oct 27, 2025

Bug Report

Name Severity Example test case Description
Incorrect use of useMutation hook in LogoutPage Critical Log out from the application The useMutation hook in frontend/src/pages/auth/logout.tsx is not used correctly. The code destructures the result of useMutation into logout and an empty second element, which prevents the component from handling errors during the logout process. If the logout mutation fails, the user will not be notified, and the application state might be inconsistent.

Comments? Email us.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Oct 28, 2025

Superseded by #667.

@dependabot dependabot bot closed this Oct 28, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/frontend/apollo/client-4.0.7 branch October 28, 2025 17:21
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