Packages

@apollo/client

4.3.5 · 19 Oct 2026MIT5.3M / weekRepositoryHomepagenpmAtom feed

Your version

3.7.14

3 May 2023Where it was published

3.14.1 is the newest release of 3.x.

In short

1 deprecated1 fixed

  • deprecated

    Deprecate useFragment returnPartialData option

Release note

Patch Changes

  • deprecated

    Deprecate useFragment returnPartialData option

  • Fix type signature of ServerError.

    In <3.7 HttpLink and BatchHttpLink would return a ServerError.message of e.g. "Unexpected token 'E', \"Error! Foo bar\" is not valid JSON" and a ServerError.result of undefined in the case where a server returned a >= 300 response code with a response body containing a string that could not be parsed as JSON.

    In >=3.7, message became e.g. Response not successful: Received status code 302 and result became the string from the response body, however the type in ServerError.result was not updated to include the string type, which is now properly reflected.