yarn @apollo/client 3.7.14
v3.7.14

latest releases: 3.11.8, 3.11.7, 0.0.0-pr-12054-20240904112316...
16 months ago

Patch Changes

  • #10764 1b0a61fe5 Thanks @phryneas! - Deprecate useFragment returnPartialData option

  • #10810 a6252774f Thanks @dleavitt! - 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.

Don't miss a new client release

NewReleases is sending notifications on new releases.